Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompletedConfig ¶
type CompletedConfig struct {
*Config
}
CompletedConfig same as Config, just to swap private object.
func (*CompletedConfig) New ¶
func (c *CompletedConfig) New(name string) (ratelimiter.PreparedServer, error)
type Config ¶
type Config struct { ControlPlaneConfig *controlplane.CompletedConfig SecureServing *apiserver.SecureServingInfo InsecureServing *apiserver.DeprecatedInsecureServingInfo Authentication apiserver.AuthenticationInfo Authorization apiserver.AuthorizationInfo Debugging *componentbaseconfig.DebuggingConfiguration Client kubernetes.Interface InformerFactory informers.SharedInformerFactory GatewayClientset gatewayclientset.Interface RateLimiter limiter.RateLimiter }
Config has all the context to run a rate limiter
func (*Config) Complete ¶
func (c *Config) Complete() CompletedConfig
Complete fills in any fields not set that are required to have valid data. It's mutating the receiver.
Click to show internal directories.
Click to hide internal directories.