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 ReporterServerOptions

type ReporterServerOptions struct {
	RecommendedOptions *utilapiserver.RecommendedOptions
	ReporterHandler    http.Handler
}

func NewReporterServerOptions

func NewReporterServerOptions(reporterHandler http.Handler, processInfo *kubeoptions.ProcessInfo) *ReporterServerOptions

NewReporterServerOptions creates default options.

func (*ReporterServerOptions) AddFlags

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

AddFlags adds flags to the flagset.

func (*ReporterServerOptions) Complete

func (o *ReporterServerOptions) Complete() error

Complete fills in missing options.

func (*ReporterServerOptions) Config

func (o *ReporterServerOptions) Config() (*apiserver.Config, error)

Config returns a configuration.

func (*ReporterServerOptions) Validate

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