cmd

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 License: Apache-2.0, MIT Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

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