Documentation ¶
Index ¶
Constants ¶
View Source
const (
// WebhookName is the name of the webhook.
WebhookName = "cloudprovider"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Args ¶
type Args struct { Provider string Mutator extensionswebhook.Mutator EnableObjectSelector bool }
Args are the requirements to create a cloudprovider webhook.
type Ensurer ¶
type Ensurer interface {
EnsureCloudProviderSecret(ctx context.Context, gctx extensionscontextwebhook.GardenContext, new, old *corev1.Secret) error
}
Ensurer ensures that the cloudprovider secret conforms to the provider requirements.
Click to show internal directories.
Click to hide internal directories.