Help us shape the future of Go! Take the 2026 Go Developer Survey

cmd

package
v2.28.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GardenWebhookSwitchOptions

func GardenWebhookSwitchOptions() *webhookcmd.SwitchOptions

GardenWebhookSwitchOptions are the webhookcmd.SwitchOptions for the admission webhooks.

Types

type Config added in v2.17.0

type Config struct {
	// AllowApplicationLoadBalancerController configures if the application load balancer controller can be used in the ControlPlaneConfig.
	AllowApplicationLoadBalancerController bool
}

Config is a completed admission configuration.

func (*Config) ApplyAllowApplicationLoadBalancerController added in v2.17.0

func (c *Config) ApplyAllowApplicationLoadBalancerController(cfg *bool)

ApplyAllowApplicationLoadBalancerController sets the values of this Config in the given config.AllowApplicationLoadBalancerController.

type ConfigOptions added in v2.17.0

type ConfigOptions struct {
	// AllowApplicationLoadBalancerController configures if the application load balancer controller can be used in the ControlPlaneConfig.
	AllowApplicationLoadBalancerController bool
	// contains filtered or unexported fields
}

ConfigOptions are command line options that can be set for admission webhooks.

func (*ConfigOptions) AddFlags added in v2.17.0

func (c *ConfigOptions) AddFlags(fs *pflag.FlagSet)

AddFlags implements Flagger.AddFlags.

func (*ConfigOptions) Complete added in v2.17.0

func (c *ConfigOptions) Complete() error

Complete implements RESTCompleter.Complete.

func (*ConfigOptions) Completed added in v2.17.0

func (c *ConfigOptions) Completed() *Config

Completed returns the completed Config. Only call this if `Complete` was successful.

Jump to

Keyboard shortcuts

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