webhooks

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2021 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebhookHandler

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

func (WebhookHandler) HandleMutatingNsDelete

func (wh WebhookHandler) HandleMutatingNsDelete(ns *corev1.Namespace, dryRun bool) (bool, error)

func (*WebhookHandler) Init

func (wh *WebhookHandler) Init(logger logr.Logger, cli client.Client, namespace string, isOpenshift bool)

func (WebhookHandler) ValidateCreate

func (wh WebhookHandler) ValidateCreate(hc *v1beta1.HyperConverged) error

func (WebhookHandler) ValidateDelete

func (wh WebhookHandler) ValidateDelete(hc *v1beta1.HyperConverged) error

func (WebhookHandler) ValidateUpdate

func (wh WebhookHandler) ValidateUpdate(requested *v1beta1.HyperConverged, exists *v1beta1.HyperConverged) error

ValidateUpdate is the ValidateUpdate webhook implementation. It calls all the resources in parallel, to dry-run the upgrade.

Jump to

Keyboard shortcuts

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