quarantine

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2021 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QuarantineHandler

type QuarantineHandler struct {
	Client  client.Client
	Decoder *admission.Decoder
	Log     logr.Logger
	Object  *v1alpha1.Quarantine
}

QuarantineHandler represents struct for validating a quarantine resource

func (*QuarantineHandler) Handle

Handle handles admission requests.

func (*QuarantineHandler) ValidateCreate

func (h *QuarantineHandler) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*QuarantineHandler) ValidateDelete

func (h *QuarantineHandler) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*QuarantineHandler) ValidateUpdate

func (h *QuarantineHandler) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

Jump to

Keyboard shortcuts

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