Documentation ¶
Index ¶
Constants ¶
View Source
const ( // A seed webhook is applied only to those shoot namespaces that have the correct Seed provider label. SeedKind = "seed" // A shoot webhook is applied only to those shoot namespaces that have the correct Shoot provider label. ShootKind = "shoot" // A backup webhook is applied only to those shoot namespaces that have the correct Backup provider label. BackupKind = "backup" // WebhookModeService is a constant for the webhook mode indicating that the controller is running inside of the Kubernetes cluster it // is serving. WebhookModeService = "service" // WebhookModeURL is a constant for the webhook mode indicating that the controller is running outside of the Kubernetes cluster it // is serving. If this is set then a URL is required for configuration. WebhookModeURL = "url" )
Variables ¶
This section is empty.
Functions ¶
func GenerateCertificates ¶
GenerateCertificates generates the certificates that are required for a webhook. It returns the ca bundle, and it stores the server certificate and key locally on the file system.
Types ¶
type FactoryAggregator ¶
FactoryAggregator aggregates various Factory functions.
func NewFactoryAggregator ¶
func NewFactoryAggregator(m []func(manager.Manager) (*Webhook, error)) FactoryAggregator
NewFactoryAggregator creates a new FactoryAggregator and registers the given functions.
Click to show internal directories.
Click to hide internal directories.