Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	base.ClientFacade
	// contains filtered or unexported fields
}

Client provides access to the machinemanager, used to add machines to state.

func NewClient

func NewClient(st base.APICallCloser) *Client

NewClient returns a new machinemanager client.

func (*Client) AddMachines

func (client *Client) AddMachines(machineParams []params.AddMachineParams) ([]params.AddMachinesResult, error)

AddMachines adds new machines with the supplied parameters, creating any requested disks.