Documentation ¶
Index ¶
- func StartHealthCheck(ctx context.Context, reader client.Reader, namespace string, ...)
- type TestRunCustomValidator
- func (v *TestRunCustomValidator) ValidateCreate(ctx context.Context, obj runtime.Object) (warnings admission.Warnings, err error)
- func (v *TestRunCustomValidator) ValidateDelete(ctx context.Context, obj runtime.Object) (warnings admission.Warnings, err error)
- func (v *TestRunCustomValidator) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (warnings admission.Warnings, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 ¶
type TestRunCustomValidator ¶
func (*TestRunCustomValidator) ValidateCreate ¶
func (*TestRunCustomValidator) ValidateDelete ¶
func (*TestRunCustomValidator) ValidateUpdate ¶
Click to show internal directories.
Click to hide internal directories.