Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthChecker ¶
type HealthChecker interface {
Check(obj unstructured.Unstructured) (HealthStatus, error)
}
func NewHealthChecker ¶
func NewHealthChecker() HealthChecker
type HealthStatus ¶
type HealthStatus struct { Status HealthStatusCode `json:"status,omitempty"` Message string `json:"message,omitempty"` }
type HealthStatusCode ¶
type HealthStatusCode string
Represents resource health status
const ( HealthStatusProgressing HealthStatusCode = "Progressing" HealthStatusHealthy HealthStatusCode = "Healthy" HealthStatusUnhealthy HealthStatusCode = "Unhealthy" HealthStatusUnknown HealthStatusCode = "Unknown" )
Click to show internal directories.
Click to hide internal directories.