Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAddCommand ¶
NewAddCommand returns a command that adds a machine to a model.
func NewListMachinesCommand ¶
NewListMachineCommand returns a command that lists the machines in a model.
func NewRemoveCommand ¶
NewRemoveCommand returns a command used to remove a specified machine.
func NewShowMachineCommand ¶
NewShowMachineCommand returns a command that shows details on the specified machine[s].
Types ¶
type AddMachineAPI ¶
type AddMachineAPI interface { AddMachines([]params.AddMachineParams) ([]params.AddMachinesResult, error) Close() error ForceDestroyMachines(machines ...string) error ModelUUID() (string, bool) ProvisioningScript(params.ProvisioningScriptParams) (script string, err error) }
type MachineManagerAPI ¶
type MachineManagerAPI interface { AddMachines([]params.AddMachineParams) ([]params.AddMachinesResult, error) BestAPIVersion() int Close() error }
type ModelConfigAPI ¶
type RemoveMachineAPI ¶
type RemoveMachineAPI interface { DestroyMachines(machines ...string) ([]params.DestroyMachineResult, error) ForceDestroyMachines(machines ...string) ([]params.DestroyMachineResult, error) Close() error }
Click to show internal directories.
Click to hide internal directories.