ipamplugin

package
v2.6.5+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2020 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 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) GetCapabilities

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

func (*Ipam) GetDefaultAddressSpaces added in v1.5.0

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

func (*Ipam) IsBuiltIn

func (i *Ipam) IsBuiltIn() bool

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