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 {
BuiltInOptions *kubeoptions.BuiltInAuthenticationOptions
PassOnGroups []string
DropGroups []string
}
Authentication wraps BuiltInAuthenticationOptions so we can minimize the dependencies on apiserver auth machinery, specifically by overriding the ApplyTo so we can remove those config dependencies not relevant to the subset of auth methods we enable in the proxy.
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) AdditionalAuthEnabled ¶ added in v0.10.0
func (c *Authentication) AdditionalAuthEnabled() bool
When configured to enable auth other than ClientCert, this returns true.
func (*Authentication) ApplyTo ¶ added in v0.9.0
func (c *Authentication) ApplyTo(authenticationInfo *genericapiserver.AuthenticationInfo, servingInfo *genericapiserver.SecureServingInfo, rootShardConfig *rest.Config) error
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
ShardsKubeconfig string
ProfilerAddress string
CorsAllowedOriginList []string
}
func NewOptions ¶
func NewOptions() *Options
Click to show internal directories.
Click to hide internal directories.