bar

package
v0.0.0-...-a9fa893 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Webhook

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

Webhook describes the data structure for the bar webhook

func (*Webhook) Default

func (w *Webhook) Default(ctx context.Context, obj runtime.Object) error

Default implements webhook.Defaulter so a webhook will be registered for the type.

func (*Webhook) Register

func (w *Webhook) Register(mgr ctrl.Manager, log *logr.Logger) error

Register registers the webhook with the passed manager and log.

func (*Webhook) ValidateCreate

func (w *Webhook) ValidateCreate(ctx context.Context, obj runtime.Object) error

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

func (*Webhook) ValidateDelete

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

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

func (*Webhook) ValidateUpdate

func (w *Webhook) 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