Documentation ¶
Index ¶
- type App
- type Config
- func (c Config) GetFeatureLabelSelector(group, app string) (map[string]string, error)
- func (c Config) HasFeatureOverwrite(group, app string) (bool, error)
- func (c Config) HasNextEnvironment(name string) bool
- func (c Config) IsAnyEnvironmentManual() bool
- func (c Config) IsEnvironmentAutomated(name string) (bool, error)
- func (c Config) NextEnvironment(name string) (Environment, error)
- func (c Config) PrevEnvironment(name string) (Environment, error)
- type Environment
- type Group
- type PRFlowType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { PRFlow PRFlowType `yaml:"prflow"` StatusTimeout time.Duration `yaml:"status_timeout_minutes"` Environments []Environment `yaml:"environments"` Groups map[string]Group `yaml:"groups"` }
func (Config) GetFeatureLabelSelector ¶ added in v1.1.0
func (Config) HasFeatureOverwrite ¶ added in v1.2.0
func (Config) HasNextEnvironment ¶
func (Config) IsAnyEnvironmentManual ¶ added in v1.0.0
func (Config) IsEnvironmentAutomated ¶
func (Config) NextEnvironment ¶
func (c Config) NextEnvironment(name string) (Environment, error)
func (Config) PrevEnvironment ¶
func (c Config) PrevEnvironment(name string) (Environment, error)
type Environment ¶
type PRFlowType ¶ added in v1.1.0
type PRFlowType string
const ( PRFlowTypePerApp PRFlowType = "per-app" PRFlowTypePerEnv PRFlowType = "per-env" )
Click to show internal directories.
Click to hide internal directories.