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 MachineManagerAPI ¶
type MachineManagerAPI interface { AddMachines(context.Context, []params.AddMachineParams) ([]params.AddMachinesResult, error) DestroyMachinesWithParams(ctx context.Context, force, keep, dryRun bool, maxWait *time.Duration, machines ...string) ([]params.DestroyMachineResult, error) ModelUUID() (string, bool) ProvisioningScript(context.Context, params.ProvisioningScriptParams) (script string, err error) Close() error }
type ModelConfigAPI ¶
Click to show internal directories.
Click to hide internal directories.