addresser

package
v0.0.0-...-a002913 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2015 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

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

API provides access to the InstancePoller API facade.

func NewAPI

func NewAPI(caller base.APICaller) *API

NewAPI creates a new client-side Addresser facade.

func (*API) CanDeallocateAddresses

func (api *API) CanDeallocateAddresses() (bool, error)

CanDeallocateAddresses checks if the current environment can deallocate IP addresses.

func (*API) CleanupIPAddresses

func (api *API) CleanupIPAddresses() error

CleanupIPAddresses releases and removes the dead IP addresses. If not all IP addresses could be released and removed a params.ErrTryAgain is returned.

func (*API) WatchIPAddresses

func (api *API) WatchIPAddresses() (watcher.EntityWatcher, error)

WatchIPAddresses returns a EntityWatcher for observing the tags of IP addresses with changes in life cycle. The initial event will contain the tags of any IP addresses which are no longer Alive.

Jump to

Keyboard shortcuts

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