Documentation
¶
Index ¶
- func CheckJobFailed(job *batchv1.Job) bool
- type CheckResult
- func Aggregate(results ...CheckResult) CheckResult
- func CheckDeployment(dp *appsv1.Deployment) CheckResult
- func CheckGateway(gateway *gatewayv1.Gateway) CheckResult
- func CheckIngress(ingress *networkingv1.Ingress) CheckResult
- func CheckJob(job *batchv1.Job) CheckResult
- func NewFailedResult(err error) CheckResult
- func NewNotReadyResult(message string) CheckResult
- func NewReadyResult() CheckResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckJobFailed ¶
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
Click to show internal directories.
Click to hide internal directories.