catalog

package
v0.0.0-...-8f69376 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2018 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

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

type ManagedDataStore struct {
	datastore.DataStore
	// contains filtered or unexported fields
}

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 (*ManagedKeyManager) Config

type ManagedNodeAttestor

type ManagedNodeAttestor struct {
	nodeattestor.NodeAttestor
	// contains filtered or unexported fields
}

func (*ManagedNodeAttestor) Config

type ManagedNodeResolver

type ManagedNodeResolver struct {
	noderesolver.NodeResolver
	// contains filtered or unexported fields
}

func (*ManagedNodeResolver) Config

type ManagedUpstreamCA

type ManagedUpstreamCA struct {
	upstreamca.UpstreamCA
	// contains filtered or unexported fields
}

func (*ManagedUpstreamCA) Config

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) Reload

func (c *ServerCatalog) Reload(ctx context.Context) error

func (*ServerCatalog) Run

func (c *ServerCatalog) Run(ctx context.Context) error

func (*ServerCatalog) Stop

func (c *ServerCatalog) Stop()

func (*ServerCatalog) UpstreamCAs

func (c *ServerCatalog) UpstreamCAs() []*ManagedUpstreamCA

Jump to

Keyboard shortcuts

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