runtime

package
v0.0.0-...-4760111 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

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

Builder represents a multi-step initialization process.

func BuilderFor

func BuilderFor(cfg kuma_cp.Config) *Builder

func (*Builder) Build

func (b *Builder) Build() (Runtime, error)

func (*Builder) CaManagers

func (b *Builder) CaManagers() core_ca.Managers

func (*Builder) ComponentManager

func (b *Builder) ComponentManager() component.Manager

func (*Builder) Config

func (b *Builder) Config() kuma_cp.Config

func (*Builder) DataSourceLoader

func (b *Builder) DataSourceLoader() datasource.Loader

func (*Builder) Extensions

func (b *Builder) Extensions() context.Context

func (*Builder) ReadOnlyResourceManager

func (b *Builder) ReadOnlyResourceManager() core_manager.ReadOnlyResourceManager

func (*Builder) ResourceManager

func (b *Builder) ResourceManager() core_manager.ResourceManager

func (*Builder) ResourceStore

func (b *Builder) ResourceStore() core_store.ResourceStore

func (*Builder) SecretManager

func (b *Builder) SecretManager() secret_manager.SecretManager

func (*Builder) WithCaManager

func (b *Builder) WithCaManager(name string, cam core_ca.Manager) *Builder

func (*Builder) WithCaManagers

func (b *Builder) WithCaManagers(cam core_ca.Managers) *Builder

func (*Builder) WithComponentManager

func (b *Builder) WithComponentManager(cm component.Manager) *Builder

func (*Builder) WithDataSourceLoader

func (b *Builder) WithDataSourceLoader(loader datasource.Loader) *Builder

func (*Builder) WithExtensions

func (b *Builder) WithExtensions(ext context.Context) *Builder

func (*Builder) WithReadOnlyResourceManager

func (b *Builder) WithReadOnlyResourceManager(rom core_manager.ReadOnlyResourceManager) *Builder

func (*Builder) WithResourceManager

func (b *Builder) WithResourceManager(rm core_manager.ResourceManager) *Builder

func (*Builder) WithResourceStore

func (b *Builder) WithResourceStore(rs core_store.ResourceStore) *Builder

func (*Builder) WithSecretManager

func (b *Builder) WithSecretManager(sm secret_manager.SecretManager) *Builder

func (*Builder) WithXdsContext

func (b *Builder) WithXdsContext(xds core_xds.XdsContext) *Builder

func (*Builder) XdsContext

func (b *Builder) XdsContext() core_xds.XdsContext

type BuilderContext

type BuilderContext interface {
	ComponentManager() component.Manager
	ResourceStore() core_store.ResourceStore
	XdsContext() core_xds.XdsContext
	Config() kuma_cp.Config
	SecretManager() secret_manager.SecretManager
	DataSourceLoader() datasource.Loader
	Extensions() context.Context
}

BuilderContext provides access to Builder's interim state.

type Runtime

type Runtime interface {
	RuntimeInfo
	RuntimeContext
	component.Manager
}

Runtime represents initialized application state.

type RuntimeContext

type RuntimeContext interface {
	Config() kuma_cp.Config
	XDS() core_xds.XdsContext
	ResourceManager() core_manager.ResourceManager
	ResourceStore() core_store.ResourceStore
	ReadOnlyResourceManager() core_manager.ReadOnlyResourceManager
	SecretManager() secret_manager.SecretManager
	CaManagers() ca.Managers
	Extensions() context.Context
}

type RuntimeInfo

type RuntimeInfo interface {
	GetInstanceId() string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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