Discover Packages
github.com/replicatedhq/replicated-sdk
pkg
appstate
types
package
Version:
v0.0.1-alpha.17
Opens a new window with list of versions in this module.
Published: Jun 16, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type AppInformersArgs struct {
AppSlug string `json:"app_id"`
Sequence int64 `json:"sequence"`
LabelSelector string `json:"label_selector"`
}
type AppStatus struct {
AppSlug string `json:"appSlug"`
ResourceStates ResourceStates `json:"resourceStates" hash:"set"`
UpdatedAt time .Time `json:"updatedAt" hash:"ignore"`
State State `json:"state"`
Sequence int64 `json:"sequence"`
}
type ResourceState struct {
Kind string `json:"kind"`
Name string `json:"name"`
Namespace string `json:"namespace"`
State State `json:"state"`
}
var (
StateReady State = "ready"
StateUpdating State = "updating"
StateDegraded State = "degraded"
StateUnavailable State = "unavailable"
StateMissing State = "missing"
StateUnknown State = "unknown"
StateNone State = "none"
)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.