Documentation ¶
Index ¶
- type AuthorizationOptions
- func (o *AuthorizationOptions) AddFlags(fs *pflag.FlagSet)
- func (o *AuthorizationOptions) ApplyTo(c *genericserver.AuthorizationInfo, ...) error
- func (o *AuthorizationOptions) ToAuthorizationConfig(versionedInformerFactory informers.SharedInformerFactory) kubeauthorizer.Config
- func (o *AuthorizationOptions) Validate() []error
- type RateLimitOptions
- type SecureServingOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorizationOptions ¶
type AuthorizationOptions struct {
*options.BuiltInAuthorizationOptions
}
AuthorizationOptions wraps BuiltInAuthorizationOptions and mask some unused options It only use subset of master's authorization builtin options
func NewAuthorizationOptions ¶
func NewAuthorizationOptions() *AuthorizationOptions
func (*AuthorizationOptions) AddFlags ¶
func (o *AuthorizationOptions) AddFlags(fs *pflag.FlagSet)
func (*AuthorizationOptions) ApplyTo ¶
func (o *AuthorizationOptions) ApplyTo( c *genericserver.AuthorizationInfo, versionedInformerFactory informers.SharedInformerFactory, ) error
func (*AuthorizationOptions) ToAuthorizationConfig ¶
func (o *AuthorizationOptions) ToAuthorizationConfig( versionedInformerFactory informers.SharedInformerFactory, ) kubeauthorizer.Config
func (*AuthorizationOptions) Validate ¶
func (o *AuthorizationOptions) Validate() []error
type RateLimitOptions ¶
type RateLimitOptions struct { ShardingCount int LimitStore string Identity string K8sStoreSyncPeriod time.Duration componentbaseconfig.LeaderElectionConfiguration EnableControlPlane bool }
func (*RateLimitOptions) AddFlags ¶
func (c *RateLimitOptions) AddFlags(fs *pflag.FlagSet)
type SecureServingOptions ¶
type SecureServingOptions struct {
SecurePort int
}
func NewSecureServingOptions ¶
func NewSecureServingOptions() *SecureServingOptions
func (*SecureServingOptions) AddFlags ¶
func (s *SecureServingOptions) AddFlags(fs *pflag.FlagSet)
func (*SecureServingOptions) ApplyTo ¶
func (s *SecureServingOptions) ApplyTo( secureServingInfo **server.SecureServingInfo, controlPlaneSecureServingOptions *options.SecureServingOptions, ) error
func (*SecureServingOptions) ValidateWith ¶
func (s *SecureServingOptions) ValidateWith(controlPlaneSecureServingOptions *options.SecureServingOptions, enableControlPlane bool) []error
Click to show internal directories.
Click to hide internal directories.