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/environscloudspec.CloudSpec.
func NewCloudSpecAPI ¶
func NewCloudSpecAPI(facade base.FacadeCaller, modelTag names.ModelTag) *CloudSpecAPI
NewCloudSpecAPI creates a CloudSpecAPI using the provided FacadeCaller.
func (*CloudSpecAPI) CloudSpec ¶
func (api *CloudSpecAPI) CloudSpec() (environscloudspec.CloudSpec, error)
CloudSpec returns the cloud specification for the model associated with the API facade.
func (*CloudSpecAPI) MakeCloudSpec ¶
func (api *CloudSpecAPI) MakeCloudSpec(pSpec *params.CloudSpec) (environscloudspec.CloudSpec, error)
MakeCloudSpec creates an environscloudspec.CloudSpec from a params.CloudSpec that has been returned from the apiserver.
func (*CloudSpecAPI) WatchCloudSpecChanges ¶
func (api *CloudSpecAPI) WatchCloudSpecChanges() (watcher.NotifyWatcher, error)
WatchCloudSpecChanges returns a NotifyWatcher waiting for the model's cloud to change.
Click to show internal directories.
Click to hide internal directories.