Documentation ¶
Index ¶
- type Builder
- func (b *Builder) Build() (Runtime, error)
- func (b *Builder) CaManagers() core_ca.Managers
- func (b *Builder) Clusters() poller.ClusterStatusPoller
- func (b *Builder) ComponentManager() component.Manager
- func (b *Builder) Config() kuma_cp.Config
- func (b *Builder) ConfigManager() config_manager.ConfigManager
- func (b *Builder) DNSResolver() dns.DNSResolver
- func (b *Builder) DataSourceLoader() datasource.Loader
- func (b *Builder) Extensions() context.Context
- func (i Builder) GetInstanceId() string
- func (b *Builder) LeaderInfo() component.LeaderInfo
- func (b *Builder) ReadOnlyResourceManager() core_manager.ReadOnlyResourceManager
- func (b *Builder) ResourceManager() core_manager.ResourceManager
- func (b *Builder) ResourceStore() core_store.ResourceStore
- func (b *Builder) SecretStore() store.SecretStore
- func (b *Builder) WithCaManager(name string, cam core_ca.Manager) *Builder
- func (b *Builder) WithCaManagers(cam core_ca.Managers) *Builder
- func (b *Builder) WithClusters(clusters poller.ClusterStatusPoller) *Builder
- func (b *Builder) WithComponentManager(cm component.Manager) *Builder
- func (b *Builder) WithConfigManager(configm config_manager.ConfigManager) *Builder
- func (b *Builder) WithDNSResolver(dns dns.DNSResolver) *Builder
- func (b *Builder) WithDataSourceLoader(loader datasource.Loader) *Builder
- func (b *Builder) WithExtensions(ext context.Context) *Builder
- func (b *Builder) WithLeaderInfo(leadInfo component.LeaderInfo) *Builder
- func (b *Builder) WithReadOnlyResourceManager(rom core_manager.ReadOnlyResourceManager) *Builder
- func (b *Builder) WithResourceManager(rm core_manager.ResourceManager) *Builder
- func (b *Builder) WithResourceStore(rs core_store.ResourceStore) *Builder
- func (b *Builder) WithSecretStore(ss store.SecretStore) *Builder
- func (b *Builder) WithXdsContext(xds core_xds.XdsContext) *Builder
- func (b *Builder) XdsContext() core_xds.XdsContext
- type BuilderContext
- type Runtime
- type RuntimeContext
- type RuntimeInfo
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 (*Builder) CaManagers ¶
func (*Builder) Clusters ¶
func (b *Builder) Clusters() poller.ClusterStatusPoller
func (*Builder) ComponentManager ¶
func (*Builder) ConfigManager ¶
func (b *Builder) ConfigManager() config_manager.ConfigManager
func (*Builder) DNSResolver ¶
func (b *Builder) DNSResolver() dns.DNSResolver
func (*Builder) DataSourceLoader ¶
func (b *Builder) DataSourceLoader() datasource.Loader
func (*Builder) Extensions ¶
func (Builder) GetInstanceId ¶
func (i Builder) GetInstanceId() string
func (*Builder) LeaderInfo ¶
func (b *Builder) LeaderInfo() component.LeaderInfo
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) SecretStore ¶
func (b *Builder) SecretStore() store.SecretStore
func (*Builder) WithCaManager ¶
func (*Builder) WithClusters ¶
func (b *Builder) WithClusters(clusters poller.ClusterStatusPoller) *Builder
func (*Builder) WithComponentManager ¶
func (*Builder) WithConfigManager ¶
func (b *Builder) WithConfigManager(configm config_manager.ConfigManager) *Builder
func (*Builder) WithDNSResolver ¶
func (b *Builder) WithDNSResolver(dns dns.DNSResolver) *Builder
func (*Builder) WithDataSourceLoader ¶
func (b *Builder) WithDataSourceLoader(loader datasource.Loader) *Builder
func (*Builder) WithLeaderInfo ¶
func (b *Builder) WithLeaderInfo(leadInfo component.LeaderInfo) *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) WithSecretStore ¶
func (b *Builder) WithSecretStore(ss store.SecretStore) *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 SecretStore() store.SecretStore ResourceManager() core_manager.ResourceManager XdsContext() core_xds.XdsContext Config() kuma_cp.Config DataSourceLoader() datasource.Loader Extensions() context.Context DNSResolver() dns.DNSResolver Clusters() poller.ClusterStatusPoller ConfigManager() config_manager.ConfigManager LeaderInfo() component.LeaderInfo }
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 SecretStore() store.SecretStore CaManagers() ca.Managers Extensions() context.Context DNSResolver() dns.DNSResolver Clusters() poller.ClusterStatusPoller ConfigManager() config_manager.ConfigManager LeaderInfo() component.LeaderInfo }
type RuntimeInfo ¶
type RuntimeInfo interface {
GetInstanceId() string
}
Click to show internal directories.
Click to hide internal directories.