Documentation ¶
Overview ¶
Package webhooks implements experimental addon webhooks.
Index ¶
- type ClusterResourceSet
- func (webhook *ClusterResourceSet) Default(_ context.Context, obj runtime.Object) error
- func (webhook *ClusterResourceSet) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (webhook *ClusterResourceSet) ValidateCreate(_ context.Context, newObj runtime.Object) (admission.Warnings, error)
- func (webhook *ClusterResourceSet) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
- func (webhook *ClusterResourceSet) ValidateUpdate(_ context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
- type ClusterResourceSetBinding
- func (webhook *ClusterResourceSetBinding) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (webhook *ClusterResourceSetBinding) ValidateCreate(_ context.Context, newObj runtime.Object) (admission.Warnings, error)
- func (webhook *ClusterResourceSetBinding) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
- func (webhook *ClusterResourceSetBinding) ValidateUpdate(_ 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 ClusterResourceSet ¶
type ClusterResourceSet struct{}
ClusterResourceSet implements a validation and defaulting webhook for ClusterResourceSet.
func (*ClusterResourceSet) Default ¶
Default implements webhook.Defaulter so a webhook will be registered for the type.
func (*ClusterResourceSet) SetupWebhookWithManager ¶
func (webhook *ClusterResourceSet) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*ClusterResourceSet) ValidateCreate ¶
func (webhook *ClusterResourceSet) ValidateCreate(_ context.Context, newObj runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type.
func (*ClusterResourceSet) ValidateDelete ¶
func (webhook *ClusterResourceSet) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type.
func (*ClusterResourceSet) ValidateUpdate ¶
func (webhook *ClusterResourceSet) ValidateUpdate(_ context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type.
type ClusterResourceSetBinding ¶
type ClusterResourceSetBinding struct{}
ClusterResourceSetBinding implements a validation webhook for ClusterResourceSetBinding.
func (*ClusterResourceSetBinding) SetupWebhookWithManager ¶
func (webhook *ClusterResourceSetBinding) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*ClusterResourceSetBinding) ValidateCreate ¶
func (webhook *ClusterResourceSetBinding) ValidateCreate(_ context.Context, newObj runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type.
func (*ClusterResourceSetBinding) ValidateDelete ¶
func (webhook *ClusterResourceSetBinding) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type.
func (*ClusterResourceSetBinding) ValidateUpdate ¶
func (webhook *ClusterResourceSetBinding) ValidateUpdate(_ context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type.