daemonconfig

package
v0.6.2-0...-8bcb156 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2014 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DisableNetworkBridge = "none"
)

Variables

This section is empty.

Functions

func GetDefaultNetworkMtu

func GetDefaultNetworkMtu() int

Types

type Config

type Config struct {
	Pidfile                     string
	Root                        string
	AutoRestart                 bool
	Dns                         []string
	EnableIptables              bool
	EnableIpForward             bool
	DefaultIp                   net.IP
	BridgeIface                 string
	BridgeIP                    string
	InterContainerCommunication bool
	GraphDriver                 string
	ExecDriver                  string
	Mtu                         int
	DisableNetwork              bool
}

FIXME: separate runtime configuration from http api configuration

func ConfigFromJob

func ConfigFromJob(job *engine.Job) *Config

ConfigFromJob creates and returns a new DaemonConfig object by parsing the contents of a job's environment.

Jump to

Keyboard shortcuts

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