wiring

package
v0.0.0-...-6b9c677 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceContext

type ServiceContext struct {
	Recorder     *record.EventRecorder
	KubeConfig   *rest.Config
	Config       config.ConfigurationProviderInterface
	Log          *logging.InternalLogger
	Store        *store.Operator
	ConfigSchema config.Validator
}

type WithInitialization

type WithInitialization interface {
	InitializeWithContext(sc *ServiceContext) error
}

WithInitialization allows to inject a context granting access to standard services like logging, key-value storage, kubeconfig or configuration provider

Jump to

Keyboard shortcuts

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