tasks

package
v0.12.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	CancelationNotPossibleErrorType = "CancelationNotPossibleError"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Defaulter

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

func NewDefaulter

func NewDefaulter(cfProcessDefaults config.CFProcessDefaults) *Defaulter

func (*Defaulter) Default

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

func (*Defaulter) SetupWebhookWithManager

func (d *Defaulter) SetupWebhookWithManager(mgr ctrl.Manager) error

type Validator

type Validator struct{}

func NewValidator

func NewValidator() *Validator

func (*Validator) SetupWebhookWithManager

func (v *Validator) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Validator) ValidateCreate

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

func (*Validator) ValidateDelete

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

func (*Validator) ValidateUpdate

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

Jump to

Keyboard shortcuts

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