Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GardenWebhookSwitchOptions ¶
func GardenWebhookSwitchOptions() *extensionscmdwebhook.SwitchOptions
GardenWebhookSwitchOptions are the extensionscmdwebhook.SwitchOptions for the admission webhooks.
Types ¶
type AdmissionOptions ¶
type AdmissionOptions struct { // MaxAllowedCIDRs is the maximum number of allowed CIDRs per cluster MaxAllowedCIDRs int }
AdmissionOptions are command line options that can be set for admission controller.
func (*AdmissionOptions) AddFlags ¶
func (a *AdmissionOptions) AddFlags(fs *pflag.FlagSet)
AddFlags implements Flagger.AddFlags.
func (*AdmissionOptions) Apply ¶
func (a *AdmissionOptions) Apply(config *controllerconfig.Config)
Apply sets the values of this Config in the given config.ControllerConfiguration.
func (*AdmissionOptions) Complete ¶
func (a *AdmissionOptions) Complete() error
Complete implements Completer.Complete.
func (*AdmissionOptions) Completed ¶
func (a *AdmissionOptions) Completed() *AdmissionOptions
Completed returns the completed Config. Only call this if `Complete` was successful.
Click to show internal directories.
Click to hide internal directories.