webhook

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRisingWaveMutatingWebhook

func NewRisingWaveMutatingWebhook() webhook.CustomDefaulter

func NewRisingWavePodTemplateMutatingWebhook

func NewRisingWavePodTemplateMutatingWebhook() webhook.CustomDefaulter

func NewRisingWavePodTemplateValidatingWebhook

func NewRisingWavePodTemplateValidatingWebhook() webhook.CustomValidator

func NewRisingWaveValidatingWebhook

func NewRisingWaveValidatingWebhook() webhook.CustomValidator

func SetupWebhooksWithManager

func SetupWebhooksWithManager(mgr ctrl.Manager) error

Setup webhooks with manager.

Types

type RisingWaveMutatingWebhook

type RisingWaveMutatingWebhook struct {
}

func (*RisingWaveMutatingWebhook) Default

Default implements admission.CustomDefaulter.

type RisingWavePodTemplateMutatingWebhook

type RisingWavePodTemplateMutatingWebhook struct {
}

func (*RisingWavePodTemplateMutatingWebhook) Default

type RisingWavePodTemplateValidatingWebhook

type RisingWavePodTemplateValidatingWebhook struct {
}

func (*RisingWavePodTemplateValidatingWebhook) ValidateCreate

ValidateCreate implements admission.CustomValidator.

func (*RisingWavePodTemplateValidatingWebhook) ValidateDelete

ValidateDelete implements admission.CustomValidator.

func (*RisingWavePodTemplateValidatingWebhook) ValidateUpdate

ValidateUpdate implements admission.CustomValidator.

type RisingWaveValidatingWebhook

type RisingWaveValidatingWebhook struct {
}

func (*RisingWaveValidatingWebhook) ValidateCreate

func (h *RisingWaveValidatingWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) error

ValidateCreate implements admission.CustomValidator.

func (*RisingWaveValidatingWebhook) ValidateDelete

func (h *RisingWaveValidatingWebhook) ValidateDelete(ctx context.Context, obj runtime.Object) error

ValidateDelete implements admission.CustomValidator.

func (*RisingWaveValidatingWebhook) ValidateUpdate

func (h *RisingWaveValidatingWebhook) ValidateUpdate(ctx context.Context, oldObj runtime.Object, newObj runtime.Object) error

ValidateUpdate implements admission.CustomValidator.

Jump to

Keyboard shortcuts

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