Documentation ¶
Index ¶
- type WebhookHandler
- func (wh WebhookHandler) HandleMutatingNsDelete(ns *corev1.Namespace, dryRun bool) (bool, error)
- func (wh *WebhookHandler) Init(logger logr.Logger, cli client.Client, namespace string, isOpenshift bool)
- func (wh WebhookHandler) ValidateCreate(hc *v1beta1.HyperConverged) error
- func (wh WebhookHandler) ValidateDelete(hc *v1beta1.HyperConverged) error
- func (wh WebhookHandler) ValidateUpdate(requested *v1beta1.HyperConverged, exists *v1beta1.HyperConverged) error
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 (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.
Click to show internal directories.
Click to hide internal directories.