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

config

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2014 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const DEFAULT_CONFIG = "/etc/dockership/dockership.conf"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Global struct {
		UseShortRevisions bool `default:"true"`
		GithubToken       string
		EtcdServers       []string `gcfg:"EtcdServer"`
	}
	HTTP struct {
		Listen             string `default:":8080"`
		GithubID           string
		GithubSecret       string
		GithubOrganization string
		GithubRedirectURL  string
	}
	Projects     map[string]*core.Project     `gcfg:"Project"`
	Environments map[string]*core.Environment `gcfg:"Environment"`
}

func (*Config) LinkProjectsAndEnviroments added in v0.1.0

func (c *Config) LinkProjectsAndEnviroments()

func (*Config) LoadEnvironments added in v0.1.0

func (c *Config) LoadEnvironments()

func (*Config) LoadFile

func (c *Config) LoadFile(filename string) error

func (*Config) LoadProjects

func (c *Config) LoadProjects()

Jump to

Keyboard shortcuts

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