options

package
v0.2.0-alpha.14 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2025 License: MIT Imports: 8 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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