juju: github.com/juju/juju/api/common/cloudspec Index | Files

package cloudspec

import "github.com/juju/juju/api/common/cloudspec"

Index

Package Files

cloudspec.go

type CloudSpecAPI Uses

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

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

func NewCloudSpecAPI Uses

func NewCloudSpecAPI(facade base.FacadeCaller, modelTag names.ModelTag) *CloudSpecAPI

NewCloudSpecAPI creates a CloudSpecAPI using the provided FacadeCaller.

func (*CloudSpecAPI) CloudSpec Uses

func (api *CloudSpecAPI) CloudSpec() (environs.CloudSpec, error)

CloudSpec returns the cloud specification for the model associated with the API facade.

func (*CloudSpecAPI) MakeCloudSpec Uses

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.

func (*CloudSpecAPI) WatchCloudSpecChanges Uses

func (api *CloudSpecAPI) WatchCloudSpecChanges() (watcher.NotifyWatcher, error)

WatchCloudSpecChanges returns a NotifyWatcher waiting for the model's cloud to change.

Package cloudspec imports 8 packages (graph) and is imported by 48 packages. Updated 2019-08-23. Refresh now. Tools for package owners.