catalog

package
v1.4.7 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2023 License: Apache-2.0 Imports: 49 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Catalog

type Catalog interface {
	GetDataStore() datastore.DataStore
	GetNodeAttestorNamed(name string) (nodeattestor.NodeAttestor, bool)
	GetNodeResolverNamed(name string) (noderesolver.NodeResolver, bool)
	GetKeyManager() keymanager.KeyManager
	GetNotifiers() []notifier.Notifier
	GetUpstreamAuthority() (upstreamauthority.UpstreamAuthority, bool)
}

type Config

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

	Metrics          telemetry.Metrics
	IdentityProvider *identityprovider.IdentityProvider
	AgentStore       *agentstore.AgentStore
	HealthChecker    health.Checker
}

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