releaseplan

package
v0.0.0-...-92700c2 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2024 License: Apache-2.0 Imports: 9 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) (warnings admission.Warnings, err 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) (warnings admission.Warnings, err 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) (warnings admission.Warnings, err 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