package network

import "github.com/dotcloud/docker/daemon/network"

Index

Types

type Address

type Address struct {
	Addr      string
	PrefixLen int
}

Address represents an IP address

type IPAM

type IPAM struct {
	Driver string       `json:"driver"`
	Config []IPAMConfig `json:"config"`
}

IPAM represents IP Address Management

type IPAMConfig

type IPAMConfig struct {
	Subnet     string            `json:"subnet,omitempty"`
	IPRange    string            `json:"ip_range,omitempty"`
	Gateway    string            `json:"gateway,omitempty"`
	AuxAddress map[string]string `json:"auxiliary_address,omitempty"`
}

IPAMConfig represents IPAM configurations

type Settings

type Settings struct {
	Bridge                 string
	EndpointID             string
	SandboxID              string
	Gateway                string
	GlobalIPv6Address      string
	GlobalIPv6PrefixLen    int
	HairpinMode            bool
	IPAddress              string
	IPPrefixLen            int
	IPv6Gateway            string
	LinkLocalIPv6Address   string
	LinkLocalIPv6PrefixLen int
	MacAddress             string
	Networks               []string
	Ports                  nat.PortMap
	SandboxKey             string
	SecondaryIPAddresses   []Address
	SecondaryIPv6Addresses []Address
}

Settings stores configuration details about the daemon network config TODO Windows. Many of these fields can be factored out.,

Source Files

settings.go

Version
v1.9.0-rc2
Published
Oct 22, 2015
Platform
js/wasm
Imports
1 packages
Last checked
8 minutes ago

Tools for package owners.