config

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 29, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Scm          map[string]interface{} `yml:"scm"`
	Build        map[string]interface{} `yml:"build"`
	Deploy       map[string]interface{} `yml:"deploy"`
	Environments map[string]interface{} `yml:"environments"`
}

func ReadConfig

func ReadConfig(filename string) (*Config, error)

func (*Config) GetEnvironment

func (c *Config) GetEnvironment(env string) map[string]interface{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL