cloudspec

package
v0.0.0-...-6cf1bc9 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2016 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudSpecAPI

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

CloudSpecAPI provides common client-side API functions to call into apiserver/common/cloudspec.CloudSpec.

func NewCloudSpecAPI

func NewCloudSpecAPI(facade base.FacadeCaller) *CloudSpecAPI

NewCloudSpecAPI creates a CloudSpecAPI using the provided FacadeCaller.

func (*CloudSpecAPI) CloudSpec

func (api *CloudSpecAPI) CloudSpec(tag names.ModelTag) (environs.CloudSpec, error)

CloudSpec returns the cloud specification for the model with the given tag.

func (*CloudSpecAPI) MakeCloudSpec

func (api *CloudSpecAPI) MakeCloudSpec(pSpec *params.CloudSpec) (environs.CloudSpec, error)

MakeCloudSpec creates an environs.CloudSpec from a params.CloudSpec that has been returned from the apiserver.

Jump to

Keyboard shortcuts

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