github.com/mhy12345/docker@v1.12.3/daemon/network/settings.go (about)

     1  package network
     2  
     3  import (
     4  	clustertypes "github.com/docker/docker/daemon/cluster/provider"
     5  	networktypes "github.com/docker/engine-api/types/network"
     6  	"github.com/docker/go-connections/nat"
     7  )
     8  
     9  // Settings stores configuration details about the daemon network config
    10  // TODO Windows. Many of these fields can be factored out.,
    11  type Settings struct {
    12  	Bridge                 string
    13  	SandboxID              string
    14  	HairpinMode            bool
    15  	LinkLocalIPv6Address   string
    16  	LinkLocalIPv6PrefixLen int
    17  	Networks               map[string]*networktypes.EndpointSettings
    18  	Service                *clustertypes.ServiceConfig
    19  	Ports                  nat.PortMap
    20  	SandboxKey             string
    21  	SecondaryIPAddresses   []networktypes.Address
    22  	SecondaryIPv6Addresses []networktypes.Address
    23  	IsAnonymousEndpoint    bool
    24  }