Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRegistryConfiguration ¶
func NewRegistryConfiguration() (*registryconfig.RegistryConfiguration, error)
NewRegistryConfiguration will create a new RegistryConfiguration with default values
Types ¶
type Options ¶
type Options struct { Log *log.Options Debug *apiserveroptions.DebugOptions SecureServing *apiserveroptions.SecureServingOptions Component *controlleroptions.ComponentOptions RegistryAPIClient *controlleroptions.APIServerClientOptions BusinessAPIClient *controlleroptions.APIServerClientOptions AuthAPIClient *controlleroptions.APIServerClientOptions // The Registry will load its initial configuration from this file. // The path may be absolute or relative; relative paths are under the Registry's current working directory. RegistryConfig string Registry *RegistryOptions }
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.
type RegistryOptions ¶
type RegistryOptions struct {
DefaultSystemChartGroups []string
}
RegistryOptions contains configuration items related to registry attributes.
func NewRegistryOptions ¶
func NewRegistryOptions() *RegistryOptions
NewRegistryOptions creates a RegistryOptions object with default parameters.
func (*RegistryOptions) AddFlags ¶
func (o *RegistryOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags for console to the specified FlagSet object.
func (*RegistryOptions) ApplyFlags ¶
func (o *RegistryOptions) ApplyFlags() []error
ApplyFlags parsing parameters from the command line or configuration file to the options instance.
func (*RegistryOptions) ApplyTo ¶
func (o *RegistryOptions) ApplyTo(cfg *registrycontrollerconfig.RegistryDefaultConfiguration) error
ApplyTo fills up Debugging config with options.