Documentation ¶
Index ¶
Constants ¶
View Source
const ( RoutingLocalhost = "localhost" RoutingCluster = "cluster" RoutingNA = "n/a" StatusDeployed = "DEPLOYED" StatusNotFound = "NOTFOUND" StatusDeleted = "DELETED" StatusFailed = "FAILED" StatusPendingUpgrade = "PENDING-UPGRADE" StatusPendingInstall = "PENDING-INSTALL" StatusUnchanged = "UNCHANGED" )
Variables ¶
View Source
var KnownHelmChartStatuses = map[string]bool{ StatusDeployed: true, StatusNotFound: true, StatusDeleted: true, StatusFailed: true, StatusPendingUpgrade: true, StatusPendingInstall: true, StatusUnchanged: true, }
Functions ¶
This section is empty.
Types ¶
type AppState ¶
type AppState struct { Branch string `yaml:"branch,omitempty" json:"branch,omitempty"` Status string `yaml:"deployment,omitempty" json:"deployment,omitempty"` Routing string `yaml:"routing,omitempty" json:"routing,omitempty"` Version string `yaml:"version,omitempty" json:"version,omitempty"` Diff string `yaml:"-" json:"-"` Error error `yaml:"-" json:"-"` Force bool `yaml:"-" json:"-"` }
type AppStateMap ¶
type AppStatesByEnvironment ¶
type AppStatesByEnvironment map[string]AppStateMap
type Context ¶
type Context struct { CurrentEnvironment string `yaml:"currentEnvironment" json:"currentEnvironment"` CurrentPlatform string `yaml:"currentPlatform" json:"currentPlatform"` CurrentRelease string `yaml:"currentRelease" json:"currentRelease"` CurrentCluster string `yaml:"currentCluster" json:"currentCluster"` CurrentKubeconfig string `yaml:"currentKubeconfig" json:"currentKubeconfig"` CurrentStack string `yaml:"currentStack" json:"currentStack"` KnownStacks map[string]KnownStack `yaml:"knownStacks"` }
type KnownStack ¶
Click to show internal directories.
Click to hide internal directories.