deployer

package
v0.0.0-...-8ff1004 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2019 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 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(
	st *state.State,
	resources facade.Resources,
	authorizer facade.Authorizer,
) (*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) SetStatus

func (d *DeployerAPI) SetStatus(args params.SetStatus) (params.ErrorResults, error)

SetStatus sets the status of the specified entities.

Jump to

Keyboard shortcuts

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