package network
import "github.com/docker/engine-api/types/network"
Index ¶
- type Address
- type EndpointIPAMConfig
- type EndpointSettings
- type IPAM
- type IPAMConfig
- type NetworkingConfig
Types ¶
type Address ¶
Address represents an IP address
type EndpointIPAMConfig ¶
type EndpointIPAMConfig struct { IPv4Address string `json:",omitempty"` IPv6Address string `json:",omitempty"` LinkLocalIPs []string `json:",omitempty"` }
EndpointIPAMConfig represents IPAM configurations for the endpoint
type EndpointSettings ¶
type EndpointSettings struct { // Configurations IPAMConfig *EndpointIPAMConfig Links []string Aliases []string // Operational data NetworkID string EndpointID string Gateway string IPAddress string IPPrefixLen int IPv6Gateway string GlobalIPv6Address string GlobalIPv6PrefixLen int MacAddress string }
EndpointSettings stores the network endpoint details
type IPAM ¶
type IPAM struct { Driver string Options map[string]string //Per network IPAM driver options Config []IPAMConfig }
IPAM represents IP Address Management
type IPAMConfig ¶
type IPAMConfig struct { Subnet string `json:",omitempty"` IPRange string `json:",omitempty"` Gateway string `json:",omitempty"` AuxAddress map[string]string `json:"AuxiliaryAddresses,omitempty"` }
IPAMConfig represents IPAM configurations
type NetworkingConfig ¶
type NetworkingConfig struct { EndpointsConfig map[string]*EndpointSettings // Endpoint configs for each connecting network }
NetworkingConfig represents the container's networking configuration for each of its interfaces Carries the networking configs specified in the `docker run` and `docker network connect` commands
Source Files ¶
- Version
- v0.4.0 (latest)
- Published
- Jul 27, 2016
- Platform
- linux/amd64
- Last checked
- 6 days ago –
Tools for package owners.