readiness

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckJobFailed

func CheckJobFailed(job *batchv1.Job) bool

CheckJobFailed checks if a Kubernetes Job has failed.

Types

type CheckResult

type CheckResult []string

func Aggregate

func Aggregate(results ...CheckResult) CheckResult

func CheckDeployment

func CheckDeployment(dp *appsv1.Deployment) CheckResult

CheckDeployment checks the readiness of a deployment.

func CheckGateway

func CheckGateway(gateway *gatewayv1.Gateway) CheckResult

CheckGateway checks the readiness of a Kubernetes Gateway.

func CheckIngress

func CheckIngress(ingress *networkingv1.Ingress) CheckResult

CheckIngress checks the readiness of a Kubernetes Ingress.

func CheckJob

func CheckJob(job *batchv1.Job) CheckResult

CheckJob checks the completion status of a Kubernetes Job.

func NewFailedResult

func NewFailedResult(err error) CheckResult

func NewNotReadyResult

func NewNotReadyResult(message string) CheckResult

func NewReadyResult

func NewReadyResult() CheckResult

func (CheckResult) IsReady

func (r CheckResult) IsReady() bool

func (CheckResult) Message

func (r CheckResult) Message() string

Jump to

Keyboard shortcuts

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