Documentation
¶
Index ¶
- func BuiltIns() []catalog.Plugin
- func KnownPlugins() []catalog.PluginClient
- func KnownServices() []catalog.ServiceClient
- type Catalog
- type Config
- type DataStore
- type GlobalConfig
- type HCLPluginConfig
- type HCLPluginConfigMap
- type Notifier
- type Plugins
- func (p *Plugins) GetDataStore() datastore.DataStore
- func (p *Plugins) GetKeyManager() keymanager.KeyManager
- func (p *Plugins) GetNodeAttestorNamed(name string) (nodeattestor.NodeAttestor, bool)
- func (p *Plugins) GetNodeResolverNamed(name string) (noderesolver.NodeResolver, bool)
- func (p *Plugins) GetNotifiers() []Notifier
- func (p *Plugins) GetUpstreamAuthority() (*UpstreamAuthority, bool)
- type Repository
- type UpstreamAuthority
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KnownPlugins ¶
func KnownPlugins() []catalog.PluginClient
func KnownServices ¶
func KnownServices() []catalog.ServiceClient
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
GetUpstreamAuthority() (*UpstreamAuthority, bool)
}
type Config ¶
type Config struct {
Log logrus.FieldLogger
GlobalConfig *GlobalConfig
PluginConfig HCLPluginConfigMap
Metrics telemetry.Metrics
IdentityProvider hostservices.IdentityProviderServer
AgentStore hostservices.AgentStoreServer
MetricsService common_services.MetricsServiceServer
}
type GlobalConfig ¶
type GlobalConfig = catalog.GlobalConfig
type HCLPluginConfig ¶
type HCLPluginConfig = catalog.HCLPluginConfig
type HCLPluginConfigMap ¶
type HCLPluginConfigMap = catalog.HCLPluginConfigMap
type Plugins ¶
type Plugins struct {
// DataStore is not filled directly by the catalog plugins
DataStore DataStore `catalog:"-"`
NodeAttestors map[string]nodeattestor.NodeAttestor
NodeResolvers map[string]noderesolver.NodeResolver
UpstreamAuthority *UpstreamAuthority
KeyManager keymanager.KeyManager
Notifiers []Notifier
}
func (*Plugins) GetDataStore ¶
func (*Plugins) GetKeyManager ¶
func (p *Plugins) GetKeyManager() keymanager.KeyManager
func (*Plugins) GetNodeAttestorNamed ¶
func (p *Plugins) GetNodeAttestorNamed(name string) (nodeattestor.NodeAttestor, bool)
func (*Plugins) GetNodeResolverNamed ¶
func (p *Plugins) GetNodeResolverNamed(name string) (noderesolver.NodeResolver, bool)
func (*Plugins) GetNotifiers ¶
func (*Plugins) GetUpstreamAuthority ¶ added in v0.10.0
func (p *Plugins) GetUpstreamAuthority() (*UpstreamAuthority, bool)
type Repository ¶
type UpstreamAuthority ¶ added in v0.10.0
type UpstreamAuthority struct {
catalog.PluginInfo
upstreamauthority.UpstreamAuthority
}
Click to show internal directories.
Click to hide internal directories.