sdsv3

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Attestor

type Attestor interface {
	Attest(ctx context.Context) ([]*common.Selector, error)
}

type Config

type Config struct {
	Attestor                    Attestor
	Manager                     Manager
	DefaultAllBundlesName       string
	DefaultBundleName           string
	DefaultSVIDName             string
	DisableSPIFFECertValidation bool
}

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func New

func New(config Config) *Handler

func (*Handler) FetchSecrets

func (*Handler) StreamSecrets

type Manager

type Manager interface {
	SubscribeToCacheChanges(ctx context.Context, key cache.Selectors) (cache.Subscriber, error)
	FetchWorkloadUpdate(selectors []*common.Selector) *cache.WorkloadUpdate
}

Jump to

Keyboard shortcuts

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