package
0.19.1
Repository: https://github.com/devtron-labs/common-lib.git
Documentation: pkg.go.dev

# Functions

GetHealthCheckFunc returns built-in health check function or nil if health check is not supported.
GetResourceHealth returns the health of a k8s resource.
IsWorse returns whether or not the new health status code is a worse condition than the current.
No description provided by the author

# Constants

Degrade status is used if resource status indicates failure or resource could not reach healthy state within some timeout.
Resource is 100% healthy.
Indicates that resource is missing in the cluster.
Progressing health status means that resource is not healthy but still have a chance to reach healthy state.
Assigned to resources that are suspended or paused.
Indicates that health assessment failed and actual health status is unknown.

# Structs

Holds health assessment results.

# Interfaces

Implements custom health assessment that overrides built-in assessment.

# Type aliases

Represents resource health status.