spireregistration

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package spireregistration administers only explicitly owned workload entries. It is used by the isolated control plane, never by connector executors.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnavailable = xerror.Unavailable(xerror.DataSource).Detail("workload registration reconciliation unavailable")
	ErrConflict    = xerror.Unavailable(xerror.DataSource).Detail("workload registration ownership conflict")
)

Functions

This section is empty.

Types

type Client

type Client struct {
	Binary   string
	Socket   string
	Parent   spiffeid.ID
	Selector string
}

func (Client) Check

func (c Client) Check(ctx context.Context) error

Check verifies the pinned SPIRE server's own dependency health without changing registrations.

func (Client) Ensure

func (c Client) Ensure(ctx context.Context, id string, subject spiffeid.ID) error

func (Client) Revoke

func (c Client) Revoke(ctx context.Context, id string, subject spiffeid.ID) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL