webhooks

package
v0.0.0-...-02c6b06 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewValidator

func NewValidator(log logr.Logger) admission.Handler

func NewValidatorWithDecoder

func NewValidatorWithDecoder(log logr.Logger, decoder *admission.Decoder) admission.Handler

TODO: refactor testrunValidator corresponding to the controller-runtime changes from v0.14 to v0.15 (see https://github.com/kubernetes-sigs/controller-runtime/blob/v0.15.0/examples/builtins/validatingwebhook.go)

func StartHealthCheck

func StartHealthCheck(ctx context.Context, reader client.Reader, namespace string, deploymentName string, interval metav1.Duration)

StartHealthCheck will start a go routine periodically checking the health of a specified deployment The result of the checks is available to the testRunValidator only

Types

This section is empty.

Jump to

Keyboard shortcuts

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