Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authentication ¶
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 ¶
func NewAuthentication() *Authentication
NewAuthentication creates a default Authentication
func (*Authentication) AddFlags ¶
func (c *Authentication) AddFlags(fs *pflag.FlagSet)
AddFlags delegates to ClientCertAuthenticationOptions
func (*Authentication) ApplyTo ¶
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 ¶
func (c *Authentication) Validate() []error
type Options ¶
type Options struct { SecureServing apiserveroptions.SecureServingOptionsWithLoopback Authentication Authentication Proxy proxyoptions.Options Logs *logs.Options RootKubeconfig string RootDirectory string }
func NewOptions ¶
func NewOptions() *Options
Click to show internal directories.
Click to hide internal directories.