options

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2022 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authentication added in v0.9.0

type Authentication struct {
	ClientCert apiserveroptions.ClientCertAuthenticationOptions

	PassOnGroups []string
	DropGroups   []string
}

Authentication wraps ClientCertAuthenticationOptions so we don't pull in more auth machinery than we need with DelegatingAuthenticationOptions

func NewAuthentication added in v0.9.0

func NewAuthentication() *Authentication

NewAuthentication creates a default Authentication

func (*Authentication) AddFlags added in v0.9.0

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

AddFlags delegates to ClientCertAuthenticationOptions

func (*Authentication) ApplyTo added in v0.9.0

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

ApplyTo sets up the x509 Authenticator if the client-ca-file option was passed

func (*Authentication) Validate added in v0.9.0

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

type Options

type Options struct {
	SecureServing   apiserveroptions.SecureServingOptionsWithLoopback
	Authentication  Authentication
	MappingFile     string
	RootDirectory   string
	RootKubeconfig  string
	ProfilerAddress string
}

func NewOptions

func NewOptions() *Options

func (*Options) AddFlags

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

func (*Options) Complete

func (o *Options) Complete() error

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