ipamplugin

package
v1.9.3 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2017 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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 NewIpam

func NewIpam(weave *api.Client) *Ipam

func (*Ipam) Allocate added in v1.5.0

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

func (*Ipam) CmdAdd added in v1.5.0

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

func (*Ipam) CmdDel added in v1.5.0

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

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) GetDefaultAddressSpaces added in v1.5.0

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

func (*Ipam) Release added in v1.5.0

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

func (*Ipam) ReleaseAddress added in v1.5.0

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

func (*Ipam) ReleasePool added in v1.5.0

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

func (*Ipam) RequestAddress added in v1.5.0

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

func (*Ipam) RequestPool added in v1.5.0

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