Documentation ¶
Index ¶
- func GetConfig(ctx context.Context) *rest.Config
- func GetControllerName(ctx context.Context) string
- func GetNamespacedName(ctx context.Context) types.NamespacedName
- func GetOptions(ctx context.Context) options.Options
- func WithConfig(ctx context.Context, config *rest.Config) context.Context
- func WithControllerName(ctx context.Context, name string) context.Context
- func WithNamespacedName(ctx context.Context, namespacedname types.NamespacedName) context.Context
- func WithOptions(ctx context.Context, opts options.Options) 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 GetNamespacedName ¶
func GetNamespacedName(ctx context.Context) types.NamespacedName
func WithNamespacedName ¶
func WithSettingsOrDie ¶
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.