ipamplugin

package
v2.5.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 21, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ipam

type Ipam struct {
	// contains filtered or unexported fields
}

func NewIpam

func NewIpam(weave *api.Client) *Ipam

func (*Ipam) Allocate

func (i *Ipam) Allocate(args *skel.CmdArgs) (types.Result, error)

func (*Ipam) CmdAdd

func (i *Ipam) CmdAdd(args *skel.CmdArgs) error

func (*Ipam) CmdDel

func (i *Ipam) CmdDel(args *skel.CmdArgs) error

func (*Ipam) DiscoverDelete

func (i *Ipam) DiscoverDelete(discoverapi.DiscoveryType, interface{}) error

func (*Ipam) DiscoverNew

func (i *Ipam) DiscoverNew(discoverapi.DiscoveryType, interface{}) error

func (*Ipam) GetCapabilities

func (i *Ipam) GetCapabilities() (RequiresMACAddress bool, RequiresRequestReplay bool, err error)

func (*Ipam) GetDefaultAddressSpaces

func (i *Ipam) GetDefaultAddressSpaces() (string, string, error)

func (*Ipam) IsBuiltIn

func (i *Ipam) IsBuiltIn() bool

func (*Ipam) Release

func (i *Ipam) Release(args *skel.CmdArgs) error

func (*Ipam) ReleaseAddress

func (i *Ipam) ReleaseAddress(poolID string, address net.IP) error

func (*Ipam) ReleasePool

func (i *Ipam) ReleasePool(poolID string) error

func (*Ipam) RequestAddress

func (i *Ipam) RequestAddress(poolID string, address net.IP, options map[string]string) (ip *net.IPNet, _ map[string]string, err error)

func (*Ipam) RequestPool

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL