webhook

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BundleDeployment added in v0.17.0

type BundleDeployment struct {
	Client          client.Client
	SystemNamespace string
}

func (*BundleDeployment) SetupWebhookWithManager added in v0.17.0

func (b *BundleDeployment) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*BundleDeployment) ValidateCreate added in v0.17.0

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

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

func (*BundleDeployment) ValidateDelete added in v0.17.0

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

func (*BundleDeployment) ValidateUpdate added in v0.17.0

func (b *BundleDeployment) ValidateUpdate(ctx context.Context, _ runtime.Object, newObj runtime.Object) (admission.Warnings, error)

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

type ConfigMap

type ConfigMap struct {
	Client client.Client
}

func (*ConfigMap) SetupWebhookWithManager

func (w *ConfigMap) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*ConfigMap) ValidateCreate

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

func (*ConfigMap) ValidateDelete

func (w *ConfigMap) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)

func (*ConfigMap) ValidateUpdate

func (w *ConfigMap) ValidateUpdate(_ context.Context, _, _ runtime.Object) (admission.Warnings, error)

Jump to

Keyboard shortcuts

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