Documentation
¶
Index ¶
- type Config
- func (c Config) HasNextEnvironment(envName string) bool
- func (c Config) IsAnyEnvironmentManual() bool
- func (c Config) IsEnvironmentAutomated(name string) (bool, error)
- func (c Config) NextEnvironment(envName string) (Environment, error)
- func (c Config) PrevEnvironment(envName string) (Environment, error)
- type Environment
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { PRFlow string `yaml:"prflow"` Environments []Environment `yaml:"environments"` }
func (Config) HasNextEnvironment ¶
func (Config) IsAnyEnvironmentManual ¶ added in v1.0.0
func (Config) IsEnvironmentAutomated ¶
func (Config) NextEnvironment ¶
func (c Config) NextEnvironment(envName string) (Environment, error)
func (Config) PrevEnvironment ¶
func (c Config) PrevEnvironment(envName string) (Environment, error)
type Environment ¶
Click to show internal directories.
Click to hide internal directories.