Documentation ¶
Index ¶
Constants ¶
View Source
const TEST_MODE = "TEST_MODE"
Variables ¶
View Source
var ( Cpuprofile = flag.String("cpuprofile", "", "write cpu profile to file") Compress = flag.Bool("compress", false, "compress replies") Tsig = flag.String("tsig", "", "use MD5 hmac tsig: keyname:base64") WebServerPort = flag.Int("web-server-port", 5380, "The web server port") DnsServerPort = flag.Int("server-port", 53, "The DNS server to start into") SetupResolvconf = flag.Bool("default-dns", true, "This DNS server will be the default server for this machine") ConfPath = flag.String("conf-path", "conf/config.json", "The config file path ") SetupService = flag.String("service", "", `Setup as service, starting with machine at boot docker = start as docker service, normal = start as normal service, uninstall = uninstall the service from machine `) Version = flag.Bool("version", false, "Current version") HostMachineHostname = flag.String("host-machine-hostname", "host.docker", "The hostname to get host machine IP") Domain = flag.String("domain", "docker", "Domain utilized to solver containers and services hostnames") Help = flag.Bool("help", false, "This message") )
Functions ¶
func DpsNetwork ¶
func DpsNetwork() bool
func DpsNetworkAutoConnect ¶
func DpsNetworkAutoConnect() bool
func GetRawCurrentVersion ¶
func GetRawCurrentVersion() string
func IsTestVersion ¶
func IsTestVersion() bool
func PublishServicePort ¶
func PublishServicePort() bool
func RegisterContainerNames ¶
func RegisterContainerNames() bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.