v1

package
v0.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2023 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Index

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) Init

func (r *ManifestWorkWebhook) Init(mgr ctrl.Manager) error

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL