Documentation ¶
Index ¶
- type Ipam
- func (i *Ipam) Allocate(args *skel.CmdArgs) (types.Result, error)
- func (i *Ipam) CmdAdd(args *skel.CmdArgs) error
- func (i *Ipam) CmdDel(args *skel.CmdArgs) error
- func (i *Ipam) DiscoverDelete(discoverapi.DiscoveryType, interface{}) error
- func (i *Ipam) DiscoverNew(discoverapi.DiscoveryType, interface{}) error
- func (i *Ipam) GetCapabilities() (RequiresMACAddress bool, RequiresRequestReplay bool, err error)
- func (i *Ipam) GetDefaultAddressSpaces() (string, string, error)
- func (i *Ipam) IsBuiltIn() bool
- func (i *Ipam) Release(args *skel.CmdArgs) error
- func (i *Ipam) ReleaseAddress(poolID string, address net.IP) error
- func (i *Ipam) ReleasePool(poolID string) error
- func (i *Ipam) RequestAddress(poolID string, address net.IP, options map[string]string) (ip *net.IPNet, _ map[string]string, err error)
- func (i *Ipam) RequestPool(addressSpace, pool, subPool string, options map[string]string, v6 bool) (poolname string, subnet *net.IPNet, data map[string]string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ipam ¶ added in v1.5.0
type Ipam struct {
// contains filtered or unexported fields
}
func (*Ipam) DiscoverDelete ¶ added in v1.5.0
func (i *Ipam) DiscoverDelete(discoverapi.DiscoveryType, interface{}) error
func (*Ipam) DiscoverNew ¶ added in v1.5.0
func (i *Ipam) DiscoverNew(discoverapi.DiscoveryType, interface{}) error
func (*Ipam) GetCapabilities ¶
func (*Ipam) GetDefaultAddressSpaces ¶ added in v1.5.0
func (*Ipam) ReleaseAddress ¶ added in v1.5.0
func (*Ipam) ReleasePool ¶ added in v1.5.0
func (*Ipam) RequestAddress ¶ added in v1.5.0
Click to show internal directories.
Click to hide internal directories.