Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpsServerOptions ¶
type OpsServerOptions struct { RecommendedOptions *utilapiserver.RecommendedOptions OpsHandler http.Handler }
func NewOpsServerOptions ¶
func NewOpsServerOptions(opsHandler http.Handler, processInfo *kubeoptions.ProcessInfo) *OpsServerOptions
NewOpsServerOptions creates default options.
func (*OpsServerOptions) AddFlags ¶
func (o *OpsServerOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags to the flagset.
func (*OpsServerOptions) Complete ¶
func (o *OpsServerOptions) Complete() error
Complete fills in missing options.
func (*OpsServerOptions) Config ¶
func (o *OpsServerOptions) Config() (*apiserver.Config, error)
Config returns a configuration.
func (*OpsServerOptions) Validate ¶
func (o *OpsServerOptions) Validate() error
Validate validates the apiserver options.
Click to show internal directories.
Click to hide internal directories.