Documentation ¶
Index ¶
- Constants
- func NewDefaultComponentConfig() (fireflyctrlmgrconfig.FireflyControllerManagerConfiguration, error)
- type FireflyControllerManagerOptions
- func (s *FireflyControllerManagerOptions) ApplyTo(c *fireflycontrollerconfig.Config) error
- func (s FireflyControllerManagerOptions) Config(allControllers []string, disabledByDefaultControllers []string) (*fireflycontrollerconfig.Config, error)
- func (s *FireflyControllerManagerOptions) Flags(allControllers []string, disabledByDefaultControllers []string) cliflag.NamedFlagSets
- func (s *FireflyControllerManagerOptions) 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.FireflyControllerManagerConfiguration, error)
Types ¶
type FireflyControllerManagerOptions ¶
type FireflyControllerManagerOptions struct { Generic *cmoptions.GenericControllerManagerConfigurationOptions SecureServing *apiserveroptions.SecureServingOptionsWithLoopback Authentication *apiserveroptions.DelegatingAuthenticationOptions Authorization *apiserveroptions.DelegatingAuthorizationOptions Metrics *metrics.Options Logs *logs.Options Master string Kubeconfig string }
FireflyControllerManagerOptions is the main context object for the firefly-controller-manager.
func NewFireflyControllerManagerOptions ¶
func NewFireflyControllerManagerOptions() (*FireflyControllerManagerOptions, error)
NewFireflyControllerManagerOptions creates a new FireflyControllerManagerOptions with a default config.
func (*FireflyControllerManagerOptions) ApplyTo ¶
func (s *FireflyControllerManagerOptions) ApplyTo(c *fireflycontrollerconfig.Config) error
ApplyTo fills up controller manager config with options.
func (FireflyControllerManagerOptions) Config ¶
func (s FireflyControllerManagerOptions) Config(allControllers []string, disabledByDefaultControllers []string) (*fireflycontrollerconfig.Config, error)
Config return a controller manager config objective
func (*FireflyControllerManagerOptions) Flags ¶
func (s *FireflyControllerManagerOptions) 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.