Documentation ¶
Index ¶
- type ControllerManagerOptions
- func (s *ControllerManagerOptions) ApplyTo(c *controllermanagerconfig.Config, userAgent string) error
- func (s *ControllerManagerOptions) Config() (*controllermanagerconfig.Config, error)
- func (s *ControllerManagerOptions) Flags() (nfs cliflag.NamedFlagSets)
- func (s *ControllerManagerOptions) Validate() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControllerManagerOptions ¶
type ControllerManagerOptions struct { GenericComponent *options.GenericComponentOptions Controllers []string Master string Kubeconfig string }
ControllerManagerOptions is the main context object for the advanced-statefulset-controller-manager.
func NewControllerManagerOptions ¶
func NewControllerManagerOptions() *ControllerManagerOptions
NewControllerManagerOptions creates a new ControllerManagerOptions with a default config.
func (*ControllerManagerOptions) ApplyTo ¶
func (s *ControllerManagerOptions) ApplyTo(c *controllermanagerconfig.Config, userAgent string) error
ApplyTo fills up controller manager config with options.
func (*ControllerManagerOptions) Config ¶
func (s *ControllerManagerOptions) Config() (*controllermanagerconfig.Config, error)
Config configures configuration.
func (*ControllerManagerOptions) Flags ¶
func (s *ControllerManagerOptions) Flags() (nfs cliflag.NamedFlagSets)
func (*ControllerManagerOptions) Validate ¶
func (s *ControllerManagerOptions) Validate() error
Validate is used to validate the options and config before launching the controller manager
Click to show internal directories.
Click to hide internal directories.