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 *trebuchet.ExtraConfig) error
ApplyTo adds ConfigFileOptions to the server configuration.
func (*ConfigFileOptions) Validate ¶
func (o *ConfigFileOptions) Validate() []error
type TrebuchetOptions ¶
type TrebuchetOptions struct { LoggingOptions options.LoggerOptions ConfigFileOptions *ConfigFileOptions }
func NewTrebuchetOptions ¶
func NewTrebuchetOptions() *TrebuchetOptions
func (*TrebuchetOptions) AddFlags ¶
func (o *TrebuchetOptions) AddFlags(fs ctrl.FlagSet)
func (*TrebuchetOptions) ApplyTo ¶
func (o *TrebuchetOptions) ApplyTo(config *trebuchet.ExtraConfig) error
ApplyTo adds CreatorOptions to the server configuration.
func (*TrebuchetOptions) Validate ¶
func (o *TrebuchetOptions) Validate() []error
type TrebuchetServerOptions ¶
type TrebuchetServerOptions struct { RecommendedOptions *utilapiserver.RecommendedOptions TrebuchetOptions *TrebuchetOptions }
func NewTrebuchetServerOptions ¶
func NewTrebuchetServerOptions(processInfo *kubeoptions.ProcessInfo) *TrebuchetServerOptions
NewTrebuchetServerOptions creates default options.
func (*TrebuchetServerOptions) AddFlags ¶
func (o *TrebuchetServerOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags to the flagset.
func (*TrebuchetServerOptions) Complete ¶
func (o *TrebuchetServerOptions) Complete() error
Complete fills in missing options.
func (*TrebuchetServerOptions) Config ¶
func (o *TrebuchetServerOptions) Config() (*apiserver.Config, error)
Config returns a configuration.
func (*TrebuchetServerOptions) Validate ¶
func (o *TrebuchetServerOptions) Validate() error
Validate validates the apiserver options.
Click to show internal directories.
Click to hide internal directories.