Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigFileOptions ¶
type ConfigFileOptions struct {
ConfigFile string
}
func (*ConfigFileOptions) AddFlags ¶
func (o *ConfigFileOptions) AddFlags(fs ctrl.FlagSet)
func (*ConfigFileOptions) ApplyTo ¶
func (o *ConfigFileOptions) ApplyTo(config *creator.ExtraConfig) error
ApplyTo adds ConfigFileOptions to the server configuration.
func (*ConfigFileOptions) Validate ¶
func (o *ConfigFileOptions) Validate() []error
type CreatorOptions ¶
type CreatorOptions struct { LoggingOptions options.LoggerOptions ConfigFileOptions *ConfigFileOptions }
func NewCreatorOptions ¶
func NewCreatorOptions() *CreatorOptions
func (*CreatorOptions) AddFlags ¶
func (o *CreatorOptions) AddFlags(fs ctrl.FlagSet)
func (*CreatorOptions) ApplyTo ¶
func (o *CreatorOptions) ApplyTo(config *creator.ExtraConfig) error
ApplyTo adds CreatorOptions to the server configuration.
func (*CreatorOptions) Validate ¶
func (o *CreatorOptions) Validate() []error
type CreatorServerOptions ¶
type CreatorServerOptions struct { RecommendedOptions *utilapiserver.RecommendedOptions CreatorOptions *CreatorOptions }
func NewCreatorServerOptions ¶
func NewCreatorServerOptions(processInfo *kubeoptions.ProcessInfo) *CreatorServerOptions
NewCreatorServerOptions creates default options.
func (*CreatorServerOptions) AddFlags ¶
func (o *CreatorServerOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags to the flagset.
func (*CreatorServerOptions) Complete ¶
func (o *CreatorServerOptions) Complete() error
Complete fills in missing options.
func (*CreatorServerOptions) Config ¶
func (o *CreatorServerOptions) Config() (*apiserver.Config, error)
Config returns a configuration.
func (*CreatorServerOptions) Validate ¶
func (o *CreatorServerOptions) Validate() error
Validate validates the apiserver options.
Click to show internal directories.
Click to hide internal directories.