options

package
v0.0.0-...-0f541f5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2022 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// FireflyControllerManagerUserAgent is the userAgent name when starting firefly-controller managers.
	FireflyControllerManagerUserAgent = "firefly-controller-manager"
)

Variables

This section is empty.

Functions

Types

type FireflyControllerManagerOptions

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

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

func (*FireflyControllerManagerOptions) Validate

func (s *FireflyControllerManagerOptions) Validate(allControllers []string, disabledByDefaultControllers []string) error

Validate is used to validate the options and config before launching the controller manager

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL