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: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KeyManagerType       = "KeyManager"
	NodeAttestorType     = "NodeAttestor"
	WorkloadAttestorType = "WorkloadAttestor"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentCatalog

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

func New

func New(c *Config) *AgentCatalog

func (*AgentCatalog) KeyManagers

func (c *AgentCatalog) KeyManagers() []*ManagedKeyManager

func (*AgentCatalog) NodeAttestors

func (c *AgentCatalog) NodeAttestors() []*ManagedNodeAttestor

func (*AgentCatalog) Reload

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

func (*AgentCatalog) Run

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

func (*AgentCatalog) Stop

func (c *AgentCatalog) Stop()

func (*AgentCatalog) WorkloadAttestors

func (c *AgentCatalog) WorkloadAttestors() []*ManagedWorkloadAttestor

type Catalog

type Catalog interface {
	KeyManagers() []*ManagedKeyManager
	NodeAttestors() []*ManagedNodeAttestor
	WorkloadAttestors() []*ManagedWorkloadAttestor
}

type Config

type Config struct {
	GlobalConfig  *common.GlobalConfig
	PluginConfigs common.PluginConfigMap
	Log           logrus.FieldLogger
}

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 ManagedWorkloadAttestor

type ManagedWorkloadAttestor struct {
	workloadattestor.WorkloadAttestor
	// contains filtered or unexported fields
}

func (*ManagedWorkloadAttestor) Config

Jump to

Keyboard shortcuts

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