options

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2022 License: Apache-2.0 Imports: 10 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

	SecureServing  genericapiserveroptions.SecureServingOptions
	Authentication genericapiserveroptions.DelegatingAuthenticationOptions
	Authorization  virtualworkspacesoptions.Authorization

	Logs logs.Options

	VirtualWorkspaces virtualworkspacesoptions.Options
}

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