Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeployerAPI ¶
type DeployerAPI struct { *common.Remover *common.PasswordChanger *common.LifeGetter *common.APIAddresser *common.UnitsWatcher *common.StatusSetter // contains filtered or unexported fields }
DeployerAPI provides access to the Deployer API facade.
func NewDeployerAPI ¶
func NewDeployerAPI(ctx facade.Context) (*DeployerAPI, error)
NewDeployerAPI creates a new server-side DeployerAPI facade.
func (*DeployerAPI) ConnectionInfo ¶
func (d *DeployerAPI) ConnectionInfo() (result params.DeployerConnectionValues, err error)
ConnectionInfo returns all the address information that the deployer task needs in one call.
func (*DeployerAPI) ModelUUID ¶
func (d *DeployerAPI) ModelUUID() params.StringResult
ModelUUID returns the model UUID that this facade is deploying into. It is implemented here directly as a result of removing it from embedded APIAddresser *without* bumping the facade version. It should be blanked when this facade version is next incremented.
func (*DeployerAPI) SetStatus ¶
func (d *DeployerAPI) SetStatus(args params.SetStatus) (params.ErrorResults, error)
SetStatus sets the status of the specified entities.
Click to show internal directories.
Click to hide internal directories.