const ( NetworkDefault = "default" NetworkHost = "host" NetworkNone = "none" NetworkBridge = "bridge" NetworkNat = "nat" )
This section is empty.
ValidateFilters validates the list of filter args with the available filters.
ValidateIPAM checks whether the network's IPAM passed as argument is valid. It returns a joinError of the list of errors found.
type Address struct { Addr string PrefixLen int }
Address represents an IP address
type ConfigReference struct { Network string }
ConfigReference specifies the source which provides a network's configuration
ConnectOptions represents the data to be used to connect a container to the network.
CreateOptions holds options to create a network.
CreateRequest is the request message sent to the server for network create call.
type CreateResponse struct { ID string `json:"Id"` Warning string `json:"Warning"` }
CreateResponse NetworkCreateResponse
OK response to NetworkCreate operation ΒΆswagger:model CreateResponse
type DisconnectOptions struct { Container string Force bool }
DisconnectOptions represents the data to be used to disconnect a container from the network.
type EndpointIPAMConfig struct { IPv4Address string `json:",omitempty"` IPv6Address string `json:",omitempty"` LinkLocalIPs []string `json:",omitempty"` }
EndpointIPAMConfig represents IPAM configurations for the endpoint
Copy makes a copy of the endpoint ipam config
IsInRange checks whether static IP addresses are valid in a specific network.
Validate checks whether cfg is valid.
EndpointResource contains network resources allocated and used for a container in a network.
EndpointSettings stores the network endpoint details
Copy makes a deep copy of `EndpointSettings`
IPAM represents IP Address Management
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
Inspect is the body of the "get network" http response message.
type InspectOptions struct { Scope string Verbose bool }
InspectOptions holds parameters to inspect network.
ListOptions holds parameters to filter the list of networks with.
type NetworkSubnet interface { Contains(addr net.IP) bool IsStatic() bool }
NetworkSubnet describes a user-defined subnet for a specific network. It's only used to validate if an EndpointIPAMConfig is valid for a specific 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
PeerInfo represents one peer of an overlay network
type PruneReport struct { NetworksDeleted []string }
PruneReport contains the response for Engine API: POST "/networks/prune"
ServiceInfo represents service parameters with the list of service's tasks
Summary is used as response when listing networks. It currently is an alias for Inspect, but may diverge in the future, as not all information may be included when listing networks.
Task carries the information about one backend task
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4