Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPDriver ¶
type IPDriver interface { GetIPAddr(host, containerID, requestIP string) (*types.IPInfo, error) //GetIPAddr get available ip resource for contaienr ReleaseIPAddr(host string, containerID string, ipInfo *types.IPInfo) error //ReleaseIPAddr release ip address for container GetHostInfo(host string) (*types.HostInfo, error) //Get host info from driver }
IPDriver driver for applying/releasing ip source
Click to show internal directories.
Click to hide internal directories.