Help us shape the future of Go! Take the 2026 Go Developer Survey

config

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2017 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Pipeline []map[string]map[string]interface{} `yml:"pipeline"`

	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