Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AttachmentStore ¶
AttachmentStore stores the load balancer IP address for a network id.
func (*AttachmentStore) ClearAttachments ¶
func (store *AttachmentStore) ClearAttachments()
ClearAttachments clears all the mappings of network to load balancer IP Address.
func (*AttachmentStore) GetIPForNetwork ¶
func (store *AttachmentStore) GetIPForNetwork(networkID string) (net.IP, bool)
GetIPForNetwork return the load balancer IP address for the given network.
func (*AttachmentStore) ResetAttachments ¶
func (store *AttachmentStore) ResetAttachments(attachments map[string]string) error
ResetAttachments clears any existing load balancer IP to network mapping and sets the mapping to the given attachments.
type EndpointSettings ¶
type EndpointSettings struct { *networktypes.EndpointSettings IPAMOperational bool // DesiredMacAddress is the configured value, it's copied from MacAddress (the // API param field) when the container is created. DesiredMacAddress string }
EndpointSettings is a package local wrapper for networktypes.EndpointSettings which stores Endpoint state that needs to be persisted to disk but not exposed in the api.
type Settings ¶
type Settings struct { Bridge string SandboxID string SandboxKey string HairpinMode bool LinkLocalIPv6Address string LinkLocalIPv6PrefixLen int Networks map[string]*EndpointSettings Service *clustertypes.ServiceConfig Ports nat.PortMap SecondaryIPAddresses []networktypes.Address SecondaryIPv6Addresses []networktypes.Address HasSwarmEndpoint 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.