config

package
v0.0.0-...-43b7830 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL