injection

package
v0.32.10 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetControllerName

func GetControllerName(ctx context.Context) string

func WaitForConfigMap added in v0.32.0

func WaitForConfigMap(ctx context.Context, name string, informer cache.SharedIndexInformer) (*v1.ConfigMap, error)

WaitForConfigMap waits until all registered configMaps are created or the passed-through context is canceled

func WithControllerName

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

func WithOptionsOrDie added in v0.32.0

func WithOptionsOrDie(ctx context.Context, opts ...options.Injectable) 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