Documentation ¶
Index ¶
- Constants
- Variables
- func AddShootWebhookToManager(mgr manager.Manager) (*extensionswebhook.Webhook, error)
- func AddToManager(mgr manager.Manager) (*extensionswebhook.Webhook, error)
- func AddToManagerWithOptions(mgr manager.Manager, _ AddOptions, name, target string) (*extensionswebhook.Webhook, error)
- type AddOptions
Constants ¶
View Source
const ( // WebhookName is the name of the node webhook. WebhookName = "node" // WebhookNameShoot is the name of the node webhook for shoot clusters. WebhookNameShoot = "node-shoot" )
Variables ¶
View Source
var ( // DefaultAddOptions are the default AddOptions for AddToManager. DefaultAddOptions = AddOptions{} )
Functions ¶
func AddShootWebhookToManager ¶ added in v1.51.0
func AddShootWebhookToManager(mgr manager.Manager) (*extensionswebhook.Webhook, error)
AddShootWebhookToManager creates a shoot webhook with the default options and adds it to the manager.
func AddToManager ¶
func AddToManager(mgr manager.Manager) (*extensionswebhook.Webhook, error)
AddToManager creates a webhook with the default options and adds it to the manager.
func AddToManagerWithOptions ¶
func AddToManagerWithOptions(mgr manager.Manager, _ AddOptions, name, target string) (*extensionswebhook.Webhook, error)
AddToManagerWithOptions creates a webhook with the given options and adds it to the manager.
Types ¶
type AddOptions ¶
type AddOptions struct{}
AddOptions are options to apply when adding the local exposure webhook to the manager.
Click to show internal directories.
Click to hide internal directories.