Documentation ¶
Index ¶
- func AllocateIP(ip_net, ip string) (string, error)
- func AllocateIPRange(ip_start, ip_end string) []string
- func DeleteNetWork(ip_net string) error
- func GetHostName() string
- func InspectContainer(socketurl string, id string) (types.ContainerJSON, error)
- func IpResourceCleanUP()
- func ListContainers(socketurl string) ([]types.Container, error)
- func ReleaseIP(ip_net, ip string) error
- func StartServer()
- type Config
- type MyIPAMHandler
- func (iph *MyIPAMHandler) GetCapabilities() (response *ipam.CapabilitiesResponse, err error)
- func (iph *MyIPAMHandler) GetDefaultAddressSpaces() (response *ipam.AddressSpacesResponse, err error)
- func (iph *MyIPAMHandler) ReleaseAddress(request *ipam.ReleaseAddressRequest) (err error)
- func (iph *MyIPAMHandler) ReleasePool(request *ipam.ReleasePoolRequest) (err error)
- func (iph *MyIPAMHandler) RequestAddress(request *ipam.RequestAddressRequest) (response *ipam.RequestAddressResponse, err error)
- func (iph *MyIPAMHandler) RequestPool(request *ipam.RequestPoolRequest) (response *ipam.RequestPoolResponse, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllocateIP ¶
func AllocateIPRange ¶
func DeleteNetWork ¶
func GetHostName ¶
func GetHostName() string
func InspectContainer ¶
func InspectContainer(socketurl string, id string) (types.ContainerJSON, error)
func IpResourceCleanUP ¶
func IpResourceCleanUP()
func StartServer ¶
func StartServer()
Types ¶
type MyIPAMHandler ¶
type MyIPAMHandler struct { }
func (*MyIPAMHandler) GetCapabilities ¶
func (iph *MyIPAMHandler) GetCapabilities() (response *ipam.CapabilitiesResponse, err error)
func (*MyIPAMHandler) GetDefaultAddressSpaces ¶
func (iph *MyIPAMHandler) GetDefaultAddressSpaces() (response *ipam.AddressSpacesResponse, err error)
func (*MyIPAMHandler) ReleaseAddress ¶
func (iph *MyIPAMHandler) ReleaseAddress(request *ipam.ReleaseAddressRequest) (err error)
func (*MyIPAMHandler) ReleasePool ¶
func (iph *MyIPAMHandler) ReleasePool(request *ipam.ReleasePoolRequest) (err error)
func (*MyIPAMHandler) RequestAddress ¶
func (iph *MyIPAMHandler) RequestAddress(request *ipam.RequestAddressRequest) (response *ipam.RequestAddressResponse, err error)
func (*MyIPAMHandler) RequestPool ¶
func (iph *MyIPAMHandler) RequestPool(request *ipam.RequestPoolRequest) (response *ipam.RequestPoolResponse, err error)
Click to show internal directories.
Click to hide internal directories.