options

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2024 License: Apache-2.0 Imports: 12 Imported by: 4

Documentation

Index

Constants

View Source
const DefaultRootPathPrefix string = "/services"

DefaultRootPathPrefix is basically constant forever, or we risk a breaking change. The kubectl plugin for example will use this prefix to generate the root path, and because we don't control kubectl plugin updates, we cannot change this prefix.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Output io.Writer

	KubeconfigFile   string
	Context          string
	RootPathPrefix   string
	ShardExternalURL string

	Cache          cacheoptions.Cache
	SecureServing  genericapiserveroptions.SecureServingOptions
	Authentication genericapiserveroptions.DelegatingAuthenticationOptions
	Authorization  corevwoptions.Authorization
	Audit          genericapiserveroptions.AuditOptions

	Logs *logs.Options

	CoreVirtualWorkspaces corevwoptions.Options

	ProfilerAddress string
}

func NewOptions

func NewOptions() *Options

func (*Options) AddFlags

func (o *Options) AddFlags(flags *pflag.FlagSet)

func (*Options) Validate

func (o *Options) Validate() error

Jump to

Keyboard shortcuts

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