Documentation ¶
Index ¶
- type ClusterWebhook
- func (r *ClusterWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *ClusterWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (r *ClusterWebhook) ValidateDelete(_ context.Context, obj runtime.Object) (admission.Warnings, error)
- func (r *ClusterWebhook) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterWebhook ¶
type ClusterWebhook struct {
// contains filtered or unexported fields
}
func (*ClusterWebhook) SetupWebhookWithManager ¶
func (r *ClusterWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*ClusterWebhook) ValidateCreate ¶
func (r *ClusterWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*ClusterWebhook) ValidateDelete ¶
func (r *ClusterWebhook) ValidateDelete(_ context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*ClusterWebhook) ValidateUpdate ¶
func (r *ClusterWebhook) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
Click to show internal directories.
Click to hide internal directories.