daemonconfig

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: May 7, 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
	DnsSearch                   []string
	EnableIptables              bool
	EnableIpForward             bool
	DefaultIp                   net.IP
	BridgeIface                 string
	BridgeIP                    string
	InterContainerCommunication bool
	GraphDriver                 string
	ExecDriver                  string
	Mtu                         int
	DisableNetwork              bool
	EnableSelinuxSupport        bool
	Context                     map[string][]string
}

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