Help us shape the future of Go! Take the 2026 Go Developer Survey

webhook

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bundle

type Bundle struct {
	Client          client.Client
	SystemNamespace string
}

func (*Bundle) SetupWebhookWithManager

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

func (*Bundle) ValidateCreate

func (b *Bundle) ValidateCreate(ctx context.Context, obj runtime.Object) error

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

func (*Bundle) ValidateDelete

func (b *Bundle) ValidateDelete(_ context.Context, _ runtime.Object) error

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

func (*Bundle) ValidateUpdate

func (b *Bundle) ValidateUpdate(ctx context.Context, oldObj runtime.Object, newObj runtime.Object) 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) error

func (*ConfigMap) ValidateDelete

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

func (*ConfigMap) ValidateUpdate

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

Jump to

Keyboard shortcuts

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