Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // AcceptedFilters is an acceptable filter flag list // generated for validation. e.g. // acceptedFilters = map[string]bool{ // "type": true, // "name": true, // "id": true, // } AcceptedFilters = func() map[string]bool { ret := make(map[string]bool) for k := range supportedFilters { ret[k] = true } return ret }() )
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 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.,
Click to show internal directories.
Click to hide internal directories.