options

package
v0.2.0-alpha.6 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GarbageCollectorControllerOptions

type GarbageCollectorControllerOptions struct {
	*genericconfig.GarbageCollectorControllerConfiguration
}

GarbageCollectorControllerOptions holds the GarbageCollectorController options.

func (*GarbageCollectorControllerOptions) AddFlags

AddFlags adds flags related to GarbageCollectorController for controller manager to the specified FlagSet.

func (*GarbageCollectorControllerOptions) ApplyTo

ApplyTo fills up GarbageCollectorController config with options.

func (*GarbageCollectorControllerOptions) Validate

func (o *GarbageCollectorControllerOptions) Validate() []error

Validate checks validation of GarbageCollectorController.

type GenericControllerManagerConfigurationOptions

type GenericControllerManagerConfigurationOptions struct {
	*genericconfig.GenericControllerManagerConfiguration
}

GenericControllerManagerConfigurationOptions holds the options which are generic.

func (*GenericControllerManagerConfigurationOptions) AddFlags

func (o *GenericControllerManagerConfigurationOptions) AddFlags(
	fss *cliflag.NamedFlagSets,
	allControllers []string,
	disabledControllers []string,
	controllerAliasesmap map[string]string,
)

AddFlags adds flags related to ChainController for controller manager to the specified FlagSet.

func (*GenericControllerManagerConfigurationOptions) ApplyTo

func (o *GenericControllerManagerConfigurationOptions) ApplyTo(
	cfg *genericconfig.GenericControllerManagerConfiguration,
	allControllers []string,
	disabledControllers []string,
	controllerAliases map[string]string,
) error

func (*GenericControllerManagerConfigurationOptions) Validate

func (o *GenericControllerManagerConfigurationOptions) Validate(allControllers []string, disabledControllers []string, controllerAliases map[string]string) []error

Validate checks validation of GenericControllerManagerConfigurationOptions.

type MySQLOptions

type MySQLOptions struct {
	*genericconfig.MySQLConfiguration
}

MySQLOptions holds the MySQL options.

func (*MySQLOptions) AddFlags

func (o *MySQLOptions) AddFlags(fs *pflag.FlagSet)

AddFlags adds flags related to MySQL for controller manager to the specified FlagSet.

func (*MySQLOptions) ApplyTo

ApplyTo fills up MySQL config with options.

func (*MySQLOptions) Validate

func (o *MySQLOptions) Validate() []error

Validate checks validation of MySQL.

Jump to

Keyboard shortcuts

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