package options
import "k8s.io/kubernetes/cmd/kube-controller-manager/app/options"
Package options provides the flags used for the controller manager.
Index ¶
- type KubeControllerManagerOptions
- func NewKubeControllerManagerOptions() *KubeControllerManagerOptions
- func (s *KubeControllerManagerOptions) AddFlags(fs *pflag.FlagSet, allControllers []string, disabledByDefaultControllers []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
Types ¶
type KubeControllerManagerOptions ¶
type KubeControllerManagerOptions struct { Generic *cmoptions.GenericControllerManagerOptions }
KubeControllerManagerOptions is the main context object for the controller manager.
func NewKubeControllerManagerOptions ¶
func NewKubeControllerManagerOptions() *KubeControllerManagerOptions
NewKubeControllerManagerOptions creates a new KubeControllerManagerOptions with a default config.
func (*KubeControllerManagerOptions) AddFlags ¶
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 ¶
func (s *KubeControllerManagerOptions) ApplyTo(c *kubecontrollerconfig.Config) error
ApplyTo fills up controller manager config with options.
func (KubeControllerManagerOptions) Config ¶
func (s KubeControllerManagerOptions) Config(allControllers []string, disabledByDefaultControllers []string) (*kubecontrollerconfig.Config, error)
Config return a controller manager config objective
func (*KubeControllerManagerOptions) Validate ¶
func (s *KubeControllerManagerOptions) Validate(allControllers []string, disabledByDefaultControllers []string) error
Validate is used to validate the options and config before launching the controller manager
Source Files ¶
options.go
- Version
- v1.12.0-alpha.0
- Published
- May 17, 2018
- Platform
- js/wasm
- Imports
- 12 packages
- Last checked
- 1 minute ago –
Tools for package owners.