Documentation ¶
Index ¶
- func GetControllerName(ctx context.Context) string
- func WaitForConfigMap(ctx context.Context, name string, informer cache.SharedIndexInformer) (*v1.ConfigMap, error)
- func WithControllerName(ctx context.Context, name string) context.Context
- func WithOptionsOrDie(ctx context.Context, opts ...options.Injectable) context.Context
- func WithSettingsOrDie(ctx context.Context, kubernetesInterface kubernetes.Interface, ...) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetControllerName ¶
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 WithOptionsOrDie ¶ added in v0.32.0
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.
Click to show internal directories.
Click to hide internal directories.