Documentation ¶
Index ¶
- Variables
- type State
- func ErrorInstanceState(name string, err error, desiredReplicas int32) (State, error)
- func NotReadyInstanceState(name string, currentReplicas int32, desiredReplicas int32) State
- func ReadyInstanceState(name string, replicas int32) State
- func UnrecoverableInstanceState(name string, message string, desiredReplicas int32) State
Constants ¶
This section is empty.
Variables ¶
View Source
var NotReady = "not-ready"
View Source
var Ready = "ready"
View Source
var Unrecoverable = "unrecoverable"
Functions ¶
This section is empty.
Types ¶
type State ¶
type State struct { Name string `json:"name"` CurrentReplicas int32 `json:"currentReplicas"` DesiredReplicas int32 `json:"desiredReplicas"` Status string `json:"status"` Message string `json:"message,omitempty"` }
func ErrorInstanceState ¶
func NotReadyInstanceState ¶
func ReadyInstanceState ¶
Click to show internal directories.
Click to hide internal directories.