Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterControllerOptions ¶
type ClusterControllerOptions struct {
*clusterconfig.ClusterControllerConfiguration
}
ClusterControllerOptions holds the ClusterController options.
func NewClusterControllerOptions ¶
func NewClusterControllerOptions() *ClusterControllerOptions
NewClusterControllerOptions creates a new Options with a default config.
func (*ClusterControllerOptions) AddFlags ¶
func (o *ClusterControllerOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags related to ClusterController for controller manager to the specified FlagSet.
func (*ClusterControllerOptions) ApplyFlags ¶
func (o *ClusterControllerOptions) ApplyFlags() []error
ApplyFlags parsing parameters from the command line or configuration file to the options instance.
func (*ClusterControllerOptions) ApplyTo ¶
func (o *ClusterControllerOptions) ApplyTo(cfg *clusterconfig.ClusterControllerConfiguration) error
ApplyTo fills up ClusterController config with options.
func (*ClusterControllerOptions) Validate ¶
func (o *ClusterControllerOptions) Validate() []error
Validate checks validation of ClusterControllerOptions.
type FeatureOptions ¶
func NewFeatureOptions ¶
func NewFeatureOptions() *FeatureOptions
func (*FeatureOptions) AddFlags ¶
func (o *FeatureOptions) AddFlags(fs *pflag.FlagSet)
func (*FeatureOptions) ApplyFlags ¶
func (o *FeatureOptions) ApplyFlags() []error
type MachineControllerOptions ¶
type MachineControllerOptions struct {
*machineconfig.MachineControllerConfiguration
}
MachineControllerOptions holds the MachineController options.
func NewMachineControllerOptions ¶
func NewMachineControllerOptions() *MachineControllerOptions
NewMachineControllerOptions creates a new Options with a default config.
func (*MachineControllerOptions) AddFlags ¶
func (o *MachineControllerOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags related to MachineController for controller manager to the specified FlagSet.
func (*MachineControllerOptions) ApplyFlags ¶
func (o *MachineControllerOptions) ApplyFlags() []error
ApplyFlags parsing parameters from the command line or configuration file to the options instance.
func (*MachineControllerOptions) ApplyTo ¶
func (o *MachineControllerOptions) ApplyTo(cfg *machineconfig.MachineControllerConfiguration) error
ApplyTo fills up MachineController config with options.
func (*MachineControllerOptions) Validate ¶
func (o *MachineControllerOptions) Validate() []error
Validate checks validation of MachineControllerOptions.
type Options ¶
type Options struct { Log *log.Options Debug *apiserveroptions.DebugOptions SecureServing *apiserveroptions.SecureServingOptions Component *controlleroptions.ComponentOptions ApplicationAPIClient *controlleroptions.APIServerClientOptions PlatformAPIClient *controlleroptions.APIServerClientOptions Registry *apiserveroptions.RegistryOptions FeatureOptions *FeatureOptions ClusterController *ClusterControllerOptions MachineController *MachineControllerOptions }
Options is the main context object for the TKE controller manager.
func NewOptions ¶
func NewOptions(serverName string, allControllers []string, disabledByDefaultControllers []string) *Options
NewOptions creates a new Options with a default config.
func (*Options) AddFlags ¶
AddFlags adds flags for a specific server to the specified FlagSet object.
func (*Options) ApplyFlags ¶
ApplyFlags parsing parameters from the command line or configuration file to the options instance.