Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RefreshEnvs ¶
func RefreshEnvs() error
RefreshEnvs refreshes the list of environments as detected from the kubernetes cluster
Types ¶
type Environment ¶
type Environment struct { Name string `json:"name"` Branch string `json:"branch,omitempty"` Protected bool `json:"protected,omitempty"` Prod bool `json:"prod,omitempty"` Approval bool `json:"approval,omitempty"` Apps []string `json:"apps"` Jobs []string `json:"jobs"` }
Environment describes an environment backed by a kubernetes namespace
func Environments ¶
func Environments() (ret []Environment)
Environments returns a snapshot of all of the known environments
Click to show internal directories.
Click to hide internal directories.