Documentation
¶
Index ¶
Constants ¶
View Source
const (
// WebhookName is the webhook name.
WebhookName = "network"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AddArgs ¶
type AddArgs struct {
// NetworkProvider is the network provider for this webhook
NetworkProvider string
// CloudProvider is the cloud provider of this webhook.
CloudProvider string
// Types is a list of resource types.
Types []runtime.Object
// Mutator is a mutator to be used by the admission handler.
Mutator webhook.Mutator
}
AddArgs are arguments for adding a controlplane webhook to a manager.
type MutateFn ¶
type MutateFn func(new, old *extensionsv1alpha1.Network) error
Click to show internal directories.
Click to hide internal directories.