blueprintwebhook

package
v0.0.0-...-f651028 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupWebhook

func SetupWebhook(mgr ctrl.Manager) error

SetupWebhook adds a webhook for v1alpha1.Blueprint managed resources.

Types

type Defaulter

type Defaulter struct {
	Log logr.Logger
}

func (*Defaulter) Default

func (d *Defaulter) Default(_ context.Context, obj runtime.Object) error

type Validator

type Validator struct {
	Log logr.Logger
}

func (*Validator) ValidateCreate

func (v *Validator) ValidateCreate(_ context.Context, obj runtime.Object) error

func (*Validator) ValidateDelete

func (v *Validator) ValidateDelete(_ context.Context, _ runtime.Object) error

func (*Validator) ValidateUpdate

func (v *Validator) ValidateUpdate(_ context.Context, _, newObj runtime.Object) error

Jump to

Keyboard shortcuts

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