Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppStatus ¶
type AppStatus struct { AppID string `json:"app_id"` ResourceStates ResourceStates `json:"resource_states" hash:"set"` UpdatedAt time.Time `json:"updated_at" hash:"ignore"` }
type ResourceState ¶
type ResourceStates ¶
type ResourceStates []ResourceState
func (ResourceStates) Len ¶
func (a ResourceStates) Len() int
func (ResourceStates) Less ¶
func (a ResourceStates) Less(i, j int) bool
func (ResourceStates) Swap ¶
func (a ResourceStates) Swap(i, j int)
type State ¶
type State string
var ( StateReady State = "ready" StateDegraded State = "degraded" StateMissing State = "missing" StatusInformerRegexp = regexp.MustCompile(`^(?:([^\/]+)\/)?([^\/]+)\/([^\/]+)$`) )
type StatusInformer ¶
type StatusInformerString ¶
type StatusInformerString string
func (StatusInformerString) Parse ¶
func (s StatusInformerString) Parse() (i StatusInformer, err error)
Click to show internal directories.
Click to hide internal directories.