Documentation ¶
Index ¶
- Constants
- func NewDefaultComponentConfig() (fireflyctrlmgrconfig.ControllerManagerConfiguration, error)
- type ControllerManagerOptions
- func (s *ControllerManagerOptions) ApplyTo(c *fireflycontrollerconfig.Config) error
- func (s ControllerManagerOptions) Config(allControllers []string, disabledByDefaultControllers []string) (*fireflycontrollerconfig.Config, error)
- func (s *ControllerManagerOptions) Flags(allControllers []string, disabledByDefaultControllers []string) cliflag.NamedFlagSets
- func (s *ControllerManagerOptions) Validate(allControllers []string, disabledByDefaultControllers []string) error
Constants ¶
View Source
const (
// FireflyControllerManagerUserAgent is the userAgent name when starting firefly-controller managers.
FireflyControllerManagerUserAgent = "firefly-controller-manager"
)
Variables ¶
This section is empty.
Functions ¶
func NewDefaultComponentConfig ¶
func NewDefaultComponentConfig() (fireflyctrlmgrconfig.ControllerManagerConfiguration, error)
Types ¶
type ControllerManagerOptions ¶
type ControllerManagerOptions struct { Generic *cmoptions.GenericControllerManagerConfigurationOptions SecureServing *apiserveroptions.SecureServingOptionsWithLoopback Authentication *apiserveroptions.DelegatingAuthenticationOptions Authorization *apiserveroptions.DelegatingAuthorizationOptions Metrics *metrics.Options Logs *logs.Options Master string Kubeconfig string ClusterpediaKubeconfig string }
FireflyControllerManagerOptions is the main context object for the firefly-controller-manager.
func NewControllerManagerOptions ¶
func NewControllerManagerOptions() (*ControllerManagerOptions, error)
NewControllerManagerOptions creates a new ControllerManagerOptions with a default config.
func (*ControllerManagerOptions) ApplyTo ¶
func (s *ControllerManagerOptions) ApplyTo(c *fireflycontrollerconfig.Config) error
ApplyTo fills up controller manager config with options.
func (ControllerManagerOptions) Config ¶
func (s ControllerManagerOptions) Config(allControllers []string, disabledByDefaultControllers []string) (*fireflycontrollerconfig.Config, error)
Config return a controller manager config objective
func (*ControllerManagerOptions) Flags ¶
func (s *ControllerManagerOptions) Flags(allControllers []string, disabledByDefaultControllers []string) cliflag.NamedFlagSets
Flags returns flags for a specific APIServer by section name
Click to show internal directories.
Click to hide internal directories.