Documentation ¶
Index ¶
Constants ¶
View Source
const Global = "global"
Variables ¶
This section is empty.
Functions ¶
func WriteWorkWorkYaml ¶
func WriteWorkWorkYaml(rootDir string, ww *WorkWorkYaml) error
Types ¶
type Environment ¶
func NewEnvironment ¶
func NewEnvironment(name string, urls map[string]string) Environment
type WorkWorkYaml ¶
type WorkWorkYaml struct { GlobalUrls Urls `yaml:"urls"` Environments []Environment `yaml:"environments"` }
func ReadWorkWorkYaml ¶
func ReadWorkWorkYaml(rootDir string) (*WorkWorkYaml, error)
func (WorkWorkYaml) GetEnvironment ¶
func (f WorkWorkYaml) GetEnvironment(env string) (*Environment, error)
Click to show internal directories.
Click to hide internal directories.