Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPAMConfig ¶
type IPAMConfig struct { IPAMConfig hb.IPAMConfig IPv6Allocator *ipallocator.Range IPv4Allocator *ipallocator.Range AllocatorMutex sync.RWMutex }
IPAMConfig is the IPAM configuration used for a particular IPAM type.
type IPAMConfigRep ¶
type IPAMConfigRep struct { RequestPoolResponse *lnAPI.RequestPoolResponse `json:",omitempty"` IPAMConfig *IPAMRep `json:",omitempty"` }
IPAMConfigRep is used for IPAM configuration reply messages.
type IPAMReq ¶
type IPAMReq struct { ContainerID string `json:",omitempty"` IP *net.IP `json:",omitempty"` RequestPoolRequest *lnAPI.RequestPoolRequest `json:",omitempty"` RequestAddressRequest *lnAPI.RequestAddressRequest `json:",omitempty"` ReleaseAddressRequest *lnAPI.ReleaseAddressRequest `json:",omitempty"` }
IPAMReq is used for IPAM request operation.
type IPConfig ¶
type IPConfig struct { // Gateway for this IP configuration. Gateway net.IP // IP of the configuration. IP net.IPNet // Routes for this IP configuration. Routes []Route }
IPConfig is our network representation of an IP configuration.
Click to show internal directories.
Click to hide internal directories.