options

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2021 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HubServerOptions

type HubServerOptions struct {
	// No tunnel logging by default
	TunnelLogging bool

	RecommendedOptions *genericoptions.RecommendedOptions

	LoopbackSharedInformerFactory informers.SharedInformerFactory
}

HubServerOptions contains state for master/api server

func NewHubServerOptions

func NewHubServerOptions() *HubServerOptions

NewHubServerOptions returns a new HubServerOptions

func (*HubServerOptions) AddFlags

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

func (*HubServerOptions) Complete

func (o *HubServerOptions) Complete() error

Complete fills in fields required to have valid data

func (*HubServerOptions) Config

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

Config returns config for the api server given HubServerOptions

func (*HubServerOptions) Validate

func (o *HubServerOptions) Validate(args []string) error

Validate validates HubServerOptions

Jump to

Keyboard shortcuts

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