Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadGlobalConfig ¶ added in v0.2.0
ReadGlobalConfig tries to reads the global config.
Types ¶
type Config ¶
type Config struct { Env []string `json:"env"` Image string `json:"image"` Host string `json:"host"` Domains []string `json:"domains"` Links []string `json:"links"` Port int `json:"port"` Path string `json:"path"` }
Config represents application configuration.
func ReadConfig ¶
ReadConfig tries to reads the given path or create a default config.
type Docker ¶ added in v0.2.0
type Docker struct {
Host string `json:"host"`
}
Docker represents docker configuration.
type GlobalConfig ¶ added in v0.2.0
type GlobalConfig struct { Docker *Docker `json:"docker"` Proxy *Proxy `json:"proxy"` TLD string `json:"tld"` }
GlobalConfig represents global configuration.
func (*GlobalConfig) Default ¶ added in v0.2.0
func (g *GlobalConfig) Default()
Default sets the default global config.
Click to show internal directories.
Click to hide internal directories.