catalog

package
v0.11.3 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2021 License: Apache-2.0 Imports: 21 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuiltIns

func BuiltIns() []catalog.Plugin

func KnownPlugins

func KnownPlugins() []catalog.PluginClient

func KnownServices

func KnownServices() []catalog.ServiceClient

Types

type Catalog

type Catalog interface {
	GetKeyManager() KeyManager
	GetNodeAttestor() NodeAttestor
	GetWorkloadAttestors() []WorkloadAttestor
}

type Config

type Config struct {
	Log          logrus.FieldLogger
	GlobalConfig GlobalConfig
	PluginConfig HCLPluginConfigMap
	HostServices []catalog.HostServiceServer
	Metrics      *telemetry.MetricsImpl
}

type GlobalConfig

type GlobalConfig = catalog.GlobalConfig

type HCLPluginConfig

type HCLPluginConfig = catalog.HCLPluginConfig

type HCLPluginConfigMap

type HCLPluginConfigMap = catalog.HCLPluginConfigMap

type KeyManager

type KeyManager struct {
	keymanager.KeyManager
}

type NodeAttestor

type NodeAttestor struct {
	catalog.PluginInfo
	nodeattestor.NodeAttestor
}

type Plugins

type Plugins struct {
	KeyManager        KeyManager
	NodeAttestor      NodeAttestor
	WorkloadAttestors []WorkloadAttestor `catalog:"min=1"`
}

func (*Plugins) GetKeyManager

func (p *Plugins) GetKeyManager() KeyManager

func (*Plugins) GetNodeAttestor

func (p *Plugins) GetNodeAttestor() NodeAttestor

func (*Plugins) GetWorkloadAttestors

func (p *Plugins) GetWorkloadAttestors() []WorkloadAttestor

type Repository

type Repository struct {
	Catalog
	catalog.Closer
}

func Load

func Load(ctx context.Context, config Config) (*Repository, error)

type WorkloadAttestor

type WorkloadAttestor struct {
	catalog.PluginInfo
	workloadattestor.WorkloadAttestor
}

Jump to

Keyboard shortcuts

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