injection

package
v0.30.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfig

func GetConfig(ctx context.Context) *rest.Config

func GetControllerName

func GetControllerName(ctx context.Context) string

func GetOptions

func GetOptions(ctx context.Context) options.Options

func WithConfig

func WithConfig(ctx context.Context, config *rest.Config) context.Context

func WithControllerName

func WithControllerName(ctx context.Context, name string) context.Context

func WithOptions

func WithOptions(ctx context.Context, opts options.Options) context.Context

func WithSettingsOrDie added in v0.24.0

func WithSettingsOrDie(ctx context.Context, kubernetesInterface kubernetes.Interface, settings ...settings.Injectable) context.Context

WithSettingsOrDie injects the settings into the context for all configMaps passed through the registrations NOTE: Settings are resolved statically into the global context.Context at startup. This was changed from updating them dynamically at runtime due to the necessity of having to build logic around re-queueing to ensure that settings are properly reloaded for things like feature gates

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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