catalog

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2022 License: Apache-2.0 Imports: 31 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Catalog

type Catalog interface {
	GetKeyManager() keymanager.KeyManager
	GetNodeAttestor() nodeattestor.NodeAttestor
	GetSVIDStoreNamed(name string) (svidstore.SVIDStore, bool)
	GetWorkloadAttestors() []workloadattestor.WorkloadAttestor
}

type Config

type Config struct {
	Log          logrus.FieldLogger
	TrustDomain  spiffeid.TrustDomain
	PluginConfig HCLPluginConfigMap
	Metrics      telemetry.Metrics
}

type HCLPluginConfig

type HCLPluginConfig = catalog.HCLPluginConfig

type HCLPluginConfigMap

type HCLPluginConfigMap = catalog.HCLPluginConfigMap

type Repository

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

func Load

func Load(ctx context.Context, config Config) (_ *Repository, err error)

func (*Repository) Close added in v1.3.1

func (repo *Repository) Close()

func (*Repository) Plugins added in v1.0.0

func (repo *Repository) Plugins() map[string]catalog.PluginRepo

func (*Repository) Services added in v1.0.0

func (repo *Repository) Services() []catalog.ServiceRepo

Jump to

Keyboard shortcuts

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