v1

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 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) error

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

func (*ManagedClusterWebhook) ValidateDelete

func (r *ManagedClusterWebhook) ValidateDelete(_ context.Context, obj runtime.Object) error

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