webhook

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupSpinAppExecutorWebhookWithManager

func SetupSpinAppExecutorWebhookWithManager(mgr ctrl.Manager) error

func SetupSpinAppWebhookWithManager

func SetupSpinAppWebhookWithManager(mgr ctrl.Manager) error

Types

type SpinAppDefaulter

type SpinAppDefaulter struct {
	Client client.Client
}

SpinAppDefaulter mutates SpinApps

func (*SpinAppDefaulter) Default

func (d *SpinAppDefaulter) Default(ctx context.Context, obj runtime.Object) error

Default implements webhook.Defaulter

type SpinAppExecutorDefaulter

type SpinAppExecutorDefaulter struct {
	Client client.Client
}

SpinAppExecutorDefaulter mutates SpinApps

func (*SpinAppExecutorDefaulter) Default

Default implements webhook.Defaulter

type SpinAppExecutorValidator

type SpinAppExecutorValidator struct {
	Client client.Client
}

SpinAppExecutorValidator validates SpinApps

func (*SpinAppExecutorValidator) ValidateCreate

ValidateCreate implements webhook.Validator

func (*SpinAppExecutorValidator) ValidateDelete

ValidateDelete implements webhook.Validator

func (*SpinAppExecutorValidator) ValidateUpdate

func (v *SpinAppExecutorValidator) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)

ValidateUpdate implements webhook.Validator

type SpinAppValidator

type SpinAppValidator struct {
	Client client.Client
}

SpinAppValidator validates SpinApps

func (*SpinAppValidator) ValidateCreate

func (v *SpinAppValidator) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)

ValidateCreate implements webhook.Validator

func (*SpinAppValidator) ValidateDelete

func (v *SpinAppValidator) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)

ValidateDelete implements webhook.Validator

func (*SpinAppValidator) ValidateUpdate

func (v *SpinAppValidator) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)

ValidateUpdate implements webhook.Validator

Jump to

Keyboard shortcuts

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