Documentation ¶
Overview ¶
Package options provides the flags used for the controller manager.
Index ¶
- type KubeControllerManagerOptions
- func (s *KubeControllerManagerOptions) AddFlags(fs *pflag.FlagSet, allControllers []string, ...)
- func (s *KubeControllerManagerOptions) ApplyTo(c *kubecontrollerconfig.Config) error
- func (s KubeControllerManagerOptions) Config(allControllers []string, disabledByDefaultControllers []string) (*kubecontrollerconfig.Config, error)
- func (s *KubeControllerManagerOptions) Validate(allControllers []string, disabledByDefaultControllers []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubeControllerManagerOptions ¶ added in v1.10.8
type KubeControllerManagerOptions struct {
Generic *cmoptions.GenericControllerManagerOptions
}
KubeControllerManagerOptions is the main context object for the controller manager.
func NewKubeControllerManagerOptions ¶ added in v1.10.8
func NewKubeControllerManagerOptions() *KubeControllerManagerOptions
NewKubeControllerManagerOptions creates a new KubeControllerManagerOptions with a default config.
func (*KubeControllerManagerOptions) AddFlags ¶ added in v1.10.8
func (s *KubeControllerManagerOptions) AddFlags(fs *pflag.FlagSet, allControllers []string, disabledByDefaultControllers []string)
AddFlags adds flags for a specific KubeControllerManagerOptions to the specified FlagSet
func (*KubeControllerManagerOptions) ApplyTo ¶ added in v1.10.8
func (s *KubeControllerManagerOptions) ApplyTo(c *kubecontrollerconfig.Config) error
ApplyTo fills up controller manager config with options.
func (KubeControllerManagerOptions) Config ¶ added in v1.10.8
func (s KubeControllerManagerOptions) Config(allControllers []string, disabledByDefaultControllers []string) (*kubecontrollerconfig.Config, error)
Config return a controller manager config objective
Click to show internal directories.
Click to hide internal directories.