Documentation ¶
Index ¶
- type Config
- func (c *Config) EnvsWithFeature(feature string) []Env
- func (c *Config) Feature(feature string) string
- func (c *Config) FeatureList(feature string) []string
- func (c *Config) GenericFeature(feature string) interface{}
- func (c *Config) HasEnvsWithFeature(feature string) bool
- func (c *Config) HasFeature(feature string) bool
- type Env
- func (e *Env) Feature(feature string) string
- func (e *Env) FeatureList(feature string) []string
- func (e *Env) GenericFeature(feature string) interface{}
- func (f *Env) GetDependsOn() string
- func (f *Env) GetDependsOnArray() []string
- func (e *Env) HasDependencies() bool
- func (e *Env) HasFeature(feature string) bool
- type Group
- type Resource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Name string `yaml:"name"` // Supporting both JSON and YAML. Envs []Env `yaml:"envs"` Groups []Group `yaml:"groups"` Resources []Resource `yaml:"resources"` Features map[interface{}]interface{} `yaml:"features"` }
func LoadFromFile ¶
func (*Config) EnvsWithFeature ¶
func (*Config) FeatureList ¶
func (*Config) GenericFeature ¶
func (*Config) HasEnvsWithFeature ¶
func (*Config) HasFeature ¶
type Env ¶
type Env struct { Name string `yaml:"name"` DependsOn []string `yaml:"depends_on"` Features map[interface{}]interface{} `yaml:"features"` }
func (*Env) FeatureList ¶
func (*Env) GenericFeature ¶
func (*Env) GetDependsOn ¶
func (*Env) GetDependsOnArray ¶
func (*Env) HasDependencies ¶
func (*Env) HasFeature ¶
Click to show internal directories.
Click to hide internal directories.