bucket

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: AGPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupController

func SetupController(mgr ctrl.Manager) error

SetupController adds a controller that reconciles managed resources.

func SetupControllerWithConnecter

func SetupControllerWithConnecter(mgr ctrl.Manager, name string, recorder event.Recorder, c managed.ExternalConnecter, creationGracePeriod time.Duration) error

func SetupWebhook

func SetupWebhook(mgr ctrl.Manager) error

SetupWebhook adds a webhook for managed resources.

Types

type Validator

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

Validator validates admission requests.

func (*Validator) ValidateCreate

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

ValidateCreate implements admission.CustomValidator.

func (*Validator) ValidateDelete

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

ValidateDelete implements admission.CustomValidator.

func (*Validator) ValidateUpdate

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

ValidateUpdate implements admission.CustomValidator.

Jump to

Keyboard shortcuts

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