config

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 17, 2018 License: MIT Imports: 7 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Address     string `json:"address"`
	Path        string `json:"path"`
	SecretToken string `json:"secret_token"`
	Settings    []Setting
}

func GetConfig

func GetConfig() *Config

type Setting

type Setting struct {
	Event       string   `json:"event"`
	BuildName   string   `json:"build_name"`
	BuildStage  string   `json:"build_stage"`
	BuildStatus string   `json:"build_status"`
	Command     []string `json:"command"`
	ProjectName string   `json:"project_name"`
	Ref         string   `json:"ref"`
}

Jump to

Keyboard shortcuts

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