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