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
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.
Click to show internal directories.
Click to hide internal directories.