Documentation ¶
Index ¶
- type ManifestWorkWebhook
- func (r *ManifestWorkWebhook) Init(mgr ctrl.Manager) error
- func (r *ManifestWorkWebhook) SetExternalKubeClientSet(client kubernetes.Interface)
- func (r *ManifestWorkWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *ManifestWorkWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (r *ManifestWorkWebhook) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
- func (r *ManifestWorkWebhook) 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 ManifestWorkWebhook ¶
type ManifestWorkWebhook struct {
// contains filtered or unexported fields
}
func (*ManifestWorkWebhook) SetExternalKubeClientSet ¶
func (r *ManifestWorkWebhook) SetExternalKubeClientSet(client kubernetes.Interface)
SetExternalKubeClientSet is function to enable the webhook injecting to kube admission
func (*ManifestWorkWebhook) SetupWebhookWithManager ¶
func (r *ManifestWorkWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*ManifestWorkWebhook) ValidateCreate ¶
func (r *ManifestWorkWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*ManifestWorkWebhook) ValidateDelete ¶
func (r *ManifestWorkWebhook) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*ManifestWorkWebhook) ValidateUpdate ¶
func (r *ManifestWorkWebhook) 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.