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 AggregatorServerOptions

type AggregatorServerOptions struct {
	RecommendedOptions *utilapiserver.RecommendedOptions
	AggregatorHandler  http.Handler
}

func NewAggregatorServerOptions

func NewAggregatorServerOptions(aggregatorHandler http.Handler, processInfo *kubeoptions.ProcessInfo) *AggregatorServerOptions

NewAggregatorServerOptions creates default options.

func (*AggregatorServerOptions) AddFlags

func (o *AggregatorServerOptions) AddFlags(fs *pflag.FlagSet)

AddFlags adds flags to the flagset.

func (*AggregatorServerOptions) Complete

func (o *AggregatorServerOptions) Complete() error

Complete fills in missing options.

func (*AggregatorServerOptions) Config

Config returns a configuration.

func (*AggregatorServerOptions) Validate

func (o *AggregatorServerOptions) 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