spaces

package
v0.0.0-...-4bd6544 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2016 License: AGPL-3.0 Imports: 4 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 {
	base.ClientFacade
	// contains filtered or unexported fields
}

API provides access to the InstancePoller API facade.

func NewAPI

func NewAPI(caller base.APICallCloser) *API

NewAPI creates a new client-side Spaces facade.

func (*API) CreateSpace

func (api *API) CreateSpace(name string, subnetIds []string, public bool) error

CreateSpace creates a new Juju network space, associating the specified subnets with it (optional; can be empty).

func (*API) ListSpaces

func (api *API) ListSpaces() ([]params.Space, error)

ListSpaces lists all available spaces and their associated subnets.

Jump to

Keyboard shortcuts

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