Documentation ¶
Index ¶
- Variables
- type State
- func ErrorInstanceState(name string, err error, desiredReplicas int) (State, error)
- func NotReadyInstanceState(name string, currentReplicas int, desiredReplicas int) (State, error)
- func ReadyInstanceState(name string, replicas int) (State, error)
- func UnrecoverableInstanceState(name string, message string, desiredReplicas int) (State, error)
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 int `json:"currentReplicas"` DesiredReplicas int `json:"desiredReplicas"` Status string `json:"status"` Message string `json:"message,omitempty"` }
func ErrorInstanceState ¶
func NotReadyInstanceState ¶
Click to show internal directories.
Click to hide internal directories.