v1

package
v0.13.2 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 22 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ManagedClusterWebhook

type ManagedClusterWebhook struct {
	// contains filtered or unexported fields
}

func (*ManagedClusterWebhook) Default

func (*ManagedClusterWebhook) Init

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

func (*ManagedClusterWebhook) SetExternalKubeClientSet

func (r *ManagedClusterWebhook) SetExternalKubeClientSet(client kubernetes.Interface)

SetExternalKubeClientSet is function to enable the webhook injecting to kube admssion

func (*ManagedClusterWebhook) SetupWebhookWithManager

func (r *ManagedClusterWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*ManagedClusterWebhook) ValidateCreate

func (r *ManagedClusterWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*ManagedClusterWebhook) ValidateDelete

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*ManagedClusterWebhook) ValidateUpdate

func (r *ManagedClusterWebhook) 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