initializer

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var New = func() Initializer {
	return &defaultInitializer{}
}

Functions

This section is empty.

Types

type Initializer

type Initializer interface {
	// GetNamespace retrieves the namespace this program should work in.
	GetNamespace() string
	// CreateClientSet creates a client set from a kubernetes rest config.
	CreateClientSet() (kubernetes.Interface, error)
	// CreateCesRegistry creates a client for accessing ces configuration.
	CreateCesRegistry() (registry.Registry, error)
}

Initializer is used for populating this program with configuration values.

Jump to

Keyboard shortcuts

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