options

package
v0.33.2 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2026 License: Apache-2.0 Imports: 20 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authentication added in v0.29.2

type Authentication struct {
	ClientCAFile string

	// EmbeddedAuthenticator is an optional authenticator delegating to the
	// parent server's authentication chain. Set by the shard server when
	// the cache server runs embedded.
	EmbeddedAuthenticator authenticator.Request
}

func NewAuthentication added in v0.29.2

func NewAuthentication() *Authentication

func (*Authentication) AddFlags added in v0.29.2

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

func (*Authentication) ApplyTo added in v0.29.2

func (o *Authentication) ApplyTo(authenticationInfo *genericapiserver.AuthenticationInfo, servingInfo *genericapiserver.SecureServingInfo) error

func (*Authentication) Validate added in v0.29.2

func (o *Authentication) Validate() []error

type Authorization added in v0.29.2

type Authorization struct {
	AlwaysAllowPaths  []string
	AlwaysAllowGroups []string
}

func NewAuthorization added in v0.29.2

func NewAuthorization() *Authorization

func (*Authorization) AddFlags added in v0.29.2

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

func (*Authorization) ApplyTo added in v0.29.2

func (o *Authorization) ApplyTo(config *genericapiserver.Config) error

func (*Authorization) Validate added in v0.29.2

func (o *Authorization) Validate() []error

type CompletedOptions

type CompletedOptions struct {
	// contains filtered or unexported fields
}

func (*CompletedOptions) Validate

func (o *CompletedOptions) Validate() []error

type Options

type Options struct {
	ServerRunOptions *genericoptions.ServerRunOptions
	Etcd             *genericoptions.EtcdOptions
	SecureServing    *genericoptions.SecureServingOptionsWithLoopback
	Authentication   *Authentication
	Authorization    *Authorization
	APIEnablement    *genericoptions.APIEnablementOptions
	EmbeddedEtcd     etcdoptions.Options
	Logs             *logs.Options
	SyntheticDelay   time.Duration
}

func NewOptions

func NewOptions(rootDir string) *Options

NewOptions creates a new Options with default parameters.

func (*Options) AddFlags

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

func (*Options) Complete

func (o *Options) Complete() (*CompletedOptions, error)

Jump to

Keyboard shortcuts

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