Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerHealthStatus ¶
type ContainerHealthStatus int32
ContainerHealthStatus is an enumeration of container health check status
const ( // ContainerHealthUnknown is the initial status of container health ContainerHealthUnknown ContainerHealthStatus = iota // ContainerHealthy represents the status of container health check when returned healthy ContainerHealthy // ContainerUnhealthy represents the status of container health check when returned unhealthy ContainerUnhealthy )
func (ContainerHealthStatus) BackendStatus ¶ added in v0.6.0
func (healthStatus ContainerHealthStatus) BackendStatus() string
BackendStatus returns the container health status recognized by backend
func (*ContainerHealthStatus) MarshalJSON ¶ added in v0.6.0
func (healthStatus *ContainerHealthStatus) MarshalJSON() ([]byte, error)
MarshalJSON overrides the logic for JSON-encoding the ContainerHealthStatus type
func (ContainerHealthStatus) String ¶ added in v0.6.0
func (healthStatus ContainerHealthStatus) String() string
String returns the readable description of the container health status
func (*ContainerHealthStatus) UnmarshalJSON ¶ added in v0.6.0
func (healthStatus *ContainerHealthStatus) UnmarshalJSON(b []byte) error
UnmarshalJSON overrides the logic for parsing the JSON-encoded container health data
Click to show internal directories.
Click to hide internal directories.