# Functions
NewAddToManagerOptions creates new AddToManagerOptions with the given server name, server, and switch options.
NewSwitchOptions creates new SwitchOptions with the given initial pairs.
Switch binds the given name to the given AddToManager function.
# Constants
CertDirFlag is the name of the command line flag to specify the directory that contains the webhook server key and certificate.
DisableFlag is the name of the command line flag to disable individual webhooks.
HostFlag is the name of the command line flag to specify the webhook config host for 'url' mode.
ModeFlag is the name of the command line flag to specify the webhook config mode, either 'service' or 'url'.
NameFlag is the name of the command line flag to specify the webhook config name.
NamespaceFlag is the name of the command line flag to specify the webhook config namespace for 'service' mode.
PortFlag is the name of the command line flag to specify the webhook server port.
Webhook config modes.
ServiceSelectorsFlag is the name of the command line flag to specify the webhook config service selectors as JSON for 'service' mode.
Webhook config modes.
# Structs
AddToManagerConfig is a completed AddToManager configuration.
AddToManagerOptions are options to create an `AddToManager` function from ServerOptions and SwitchOptions.
NameToFactory binds a specific name to a webhook's factory function.
ServerConfig is a completed webhook server configuration.
ServerOptions are command line options that can be set for ServerConfig.
SwitchConfig is the completed configuration of SwitchOptions.
SwitchOptions are options to build an AddToManager function that filters the disabled webhooks.