package network
import "github.com/dotcloud/docker/daemon/network"
Index ¶
- Variables
- func FilterNetworks(nws []libnetwork.Network, filter filters.Args) ([]libnetwork.Network, error)
- type Settings
Variables ¶
var ( // AcceptedFilters is an acceptable filters for validation AcceptedFilters = map[string]bool{ "driver": true, "type": true, "name": true, "id": true, "label": true, } )
Functions ¶
func FilterNetworks ¶
func FilterNetworks(nws []libnetwork.Network, filter filters.Args) ([]libnetwork.Network, error)
FilterNetworks filters network list according to user specified filter and returns user chosen networks
Types ¶
type Settings ¶
type Settings struct { Bridge string SandboxID string HairpinMode bool LinkLocalIPv6Address string LinkLocalIPv6PrefixLen int Networks map[string]*networktypes.EndpointSettings Service *clustertypes.ServiceConfig Ports nat.PortMap SandboxKey string SecondaryIPAddresses []networktypes.Address SecondaryIPv6Addresses []networktypes.Address IsAnonymousEndpoint bool }
Settings stores configuration details about the daemon network config TODO Windows. Many of these fields can be factored out.,
Source Files ¶
- Version
- v1.12.0-rc2
- Published
- Jun 17, 2016
- Platform
- js/wasm
- Imports
- 7 packages
- Last checked
- 2 minutes ago –
Tools for package owners.