discoverspaces

package
v0.0.0-...-2608902 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2016 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 DiscoverSpacesAPI

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

DiscoverSpacesAPI implements the API used by the discoverspaces worker.

func NewDiscoverSpacesAPI

func NewDiscoverSpacesAPI(st *state.State, resources *common.Resources, authorizer common.Authorizer) (*DiscoverSpacesAPI, error)

NewDiscoverSpacesAPI creates a new instance of the DiscoverSpaces API.

func NewDiscoverSpacesAPIWithBacking

func NewDiscoverSpacesAPIWithBacking(st networkingcommon.NetworkBacking, resources *common.Resources, authorizer common.Authorizer) (*DiscoverSpacesAPI, error)

func (*DiscoverSpacesAPI) AddSubnets

AddSubnets is defined on the API interface.

func (*DiscoverSpacesAPI) CreateSpaces

func (api *DiscoverSpacesAPI) CreateSpaces(args params.CreateSpacesParams) (results params.ErrorResults, err error)

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

func (*DiscoverSpacesAPI) ListSpaces

func (api *DiscoverSpacesAPI) ListSpaces() (results params.DiscoverSpacesResults, err error)

ListSpaces lists all the available spaces and their associated subnets.

func (*DiscoverSpacesAPI) ListSubnets

func (api *DiscoverSpacesAPI) ListSubnets(args params.SubnetsFilters) (results params.ListSubnetsResults, err error)

ListSubnets lists all the available subnets or only those matching all given optional filters.

func (*DiscoverSpacesAPI) ModelConfig

func (api *DiscoverSpacesAPI) ModelConfig() (params.ModelConfigResult, error)

ModelConfig returns the current model's configuration.

Jump to

Keyboard shortcuts

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