options

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: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DebuggingOptions

type DebuggingOptions struct {
	*componentbaseconfig.DebuggingConfiguration
}

DebuggingOptions holds the Debugging options.

func RecommendedDebuggingOptions

func RecommendedDebuggingOptions() *DebuggingOptions

RecommendedDebuggingOptions returns the currently recommended debugging options. These are subject to change between releases as we add options and decide which features should be exposed or not by default.

func (*DebuggingOptions) AddFlags

func (o *DebuggingOptions) AddFlags(fs *pflag.FlagSet)

AddFlags adds flags related to debugging for controller manager to the specified FlagSet.

func (*DebuggingOptions) Validate

func (o *DebuggingOptions) Validate() []error

Validate checks validation of DebuggingOptions.

type Options

type Options struct {
	ControlPlane *controleplaneoptions.ControlPlaneOptions

	// ClientConnection specifies the kubeconfig file and client connection
	// settings for the proxy server to use when communicating with the apiserver.
	ClientConnection componentbaseconfig.ClientConnectionConfiguration
	// LimitServer defines the configuration of leader election client.
	LimitServer options.RateLimitOptions

	SecureServing *options.SecureServingOptions
	// TODO: remove insecure serving mode
	InsecureServing *apiserveroptions.DeprecatedInsecureServingOptions
	Authentication  *apiserveroptions.DelegatingAuthenticationOptions
	Authorization   *options.AuthorizationOptions

	Debugging *DebuggingOptions

	Master string

	ShardingIndex int
}

func NewOptions

func NewOptions() *Options

func (*Options) ApplyTo

func (o *Options) ApplyTo(c *limitconfig.Config) error

func (*Options) Config

func (o *Options) Config() (*limitconfig.Config, error)

func (*Options) Flags

func (o *Options) Flags() cliflag.NamedFlagSets

func (*Options) Validate

func (o *Options) Validate() []error

Jump to

Keyboard shortcuts

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