options

package
v0.0.0-...-e0434a4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 30, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL