Documentation
¶
Index ¶
- Constants
- type Catalog
- type Config
- type ManagedDataStore
- type ManagedKeyManager
- type ManagedNodeAttestor
- type ManagedNodeResolver
- type ManagedUpstreamCA
- type ServerCatalog
- func (c *ServerCatalog) DataStores() []*ManagedDataStore
- func (c *ServerCatalog) KeyManagers() []*ManagedKeyManager
- func (c *ServerCatalog) NodeAttestors() []*ManagedNodeAttestor
- func (c *ServerCatalog) NodeResolvers() []*ManagedNodeResolver
- func (c *ServerCatalog) Reload(ctx context.Context) error
- func (c *ServerCatalog) Run(ctx context.Context) error
- func (c *ServerCatalog) Stop()
- func (c *ServerCatalog) UpstreamCAs() []*ManagedUpstreamCA
Constants ¶
View Source
const ( DataStoreType = "DataStore" NodeAttestorType = "NodeAttestor" NodeResolverType = "NodeResolver" UpstreamCAType = "UpstreamCA" KeyManagerType = "KeyManager" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Catalog ¶
type Catalog interface {
DataStores() []*ManagedDataStore
NodeAttestors() []*ManagedNodeAttestor
NodeResolvers() []*ManagedNodeResolver
UpstreamCAs() []*ManagedUpstreamCA
KeyManagers() []*ManagedKeyManager
}
type Config ¶
type Config struct {
GlobalConfig *common.GlobalConfig
PluginConfigs common.PluginConfigMap
Log logrus.FieldLogger
}
type ManagedDataStore ¶
func NewManagedDataStore ¶
func NewManagedDataStore(p datastore.DataStore, config common.PluginConfig) *ManagedDataStore
func (*ManagedDataStore) Config ¶
func (p *ManagedDataStore) Config() common.PluginConfig
type ManagedKeyManager ¶
type ManagedKeyManager struct {
keymanager.KeyManager
// contains filtered or unexported fields
}
func NewManagedKeyManager ¶
func NewManagedKeyManager(p keymanager.KeyManager, config common.PluginConfig) *ManagedKeyManager
func (*ManagedKeyManager) Config ¶
func (p *ManagedKeyManager) Config() common.PluginConfig
type ManagedNodeAttestor ¶
type ManagedNodeAttestor struct {
nodeattestor.NodeAttestor
// contains filtered or unexported fields
}
func NewManagedNodeAttestor ¶
func NewManagedNodeAttestor(p nodeattestor.NodeAttestor, config common.PluginConfig) *ManagedNodeAttestor
func (*ManagedNodeAttestor) Config ¶
func (p *ManagedNodeAttestor) Config() common.PluginConfig
type ManagedNodeResolver ¶
type ManagedNodeResolver struct {
noderesolver.NodeResolver
// contains filtered or unexported fields
}
func NewManagedNodeResolver ¶
func NewManagedNodeResolver(p noderesolver.NodeResolver, config common.PluginConfig) *ManagedNodeResolver
func (*ManagedNodeResolver) Config ¶
func (p *ManagedNodeResolver) Config() common.PluginConfig
type ManagedUpstreamCA ¶
type ManagedUpstreamCA struct {
upstreamca.UpstreamCA
// contains filtered or unexported fields
}
func NewManagedUpstreamCA ¶
func NewManagedUpstreamCA(p upstreamca.UpstreamCA, config common.PluginConfig) *ManagedUpstreamCA
func (*ManagedUpstreamCA) Config ¶
func (p *ManagedUpstreamCA) Config() common.PluginConfig
type ServerCatalog ¶
type ServerCatalog struct {
// contains filtered or unexported fields
}
func New ¶
func New(c *Config) *ServerCatalog
func (*ServerCatalog) DataStores ¶
func (c *ServerCatalog) DataStores() []*ManagedDataStore
func (*ServerCatalog) KeyManagers ¶
func (c *ServerCatalog) KeyManagers() []*ManagedKeyManager
func (*ServerCatalog) NodeAttestors ¶
func (c *ServerCatalog) NodeAttestors() []*ManagedNodeAttestor
func (*ServerCatalog) NodeResolvers ¶
func (c *ServerCatalog) NodeResolvers() []*ManagedNodeResolver
func (*ServerCatalog) Stop ¶
func (c *ServerCatalog) Stop()
func (*ServerCatalog) UpstreamCAs ¶
func (c *ServerCatalog) UpstreamCAs() []*ManagedUpstreamCA
Click to show internal directories.
Click to hide internal directories.