config

package
v3.5.1 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2025 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CLIConfig

type CLIConfig struct {
	// Embed the public managercfg.Config to expose the configuration fields.
	*managercfg.Config
	// contains filtered or unexported fields
}

CLIConfig collects all configuration that the controller manager takes from the environment.

func NewCLIConfig

func NewCLIConfig() *CLIConfig

func (*CLIConfig) FlagSet

func (c *CLIConfig) FlagSet() *pflag.FlagSet

func (*CLIConfig) Validate

func (c *CLIConfig) Validate() error

Validate validates the config. It should be used to validate the config variables' interdependencies. When a single variable is to be validated, *FromFlagValue function should be implemented.

type OptionalNamespacedName

type OptionalNamespacedName = mo.Option[k8stypes.NamespacedName]

Jump to

Keyboard shortcuts

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