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) LoadProjects ¶
func (c *Config) LoadProjects()
Click to show internal directories.
Click to hide internal directories.