Documentation ¶
Index ¶
- type Machine
- type MachineManagerAPI
- func (mm *MachineManagerAPI) AddMachines(args params.AddMachines) (params.AddMachinesResults, error)
- func (mm *MachineManagerAPI) DestroyMachine(args params.Entities) (params.DestroyMachineResults, error)
- func (mm *MachineManagerAPI) ForceDestroyMachine(args params.Entities) (params.DestroyMachineResults, error)
- func (mm *MachineManagerAPI) InstanceTypes(cons params.ModelInstanceTypesConstraints) (params.InstanceTypesResults, error)
- type Model
- type Unit
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MachineManagerAPI ¶
type MachineManagerAPI struct {
// contains filtered or unexported fields
}
MachineManagerAPI provides access to the MachineManager API facade.
func NewMachineManagerAPI ¶
func NewMachineManagerAPI( st *state.State, resources facade.Resources, authorizer facade.Authorizer, ) (*MachineManagerAPI, error)
NewMachineManagerAPI creates a new server-side MachineManager API facade.
func (*MachineManagerAPI) AddMachines ¶
func (mm *MachineManagerAPI) AddMachines(args params.AddMachines) (params.AddMachinesResults, error)
AddMachines adds new machines with the supplied parameters.
func (*MachineManagerAPI) DestroyMachine ¶
func (mm *MachineManagerAPI) DestroyMachine(args params.Entities) (params.DestroyMachineResults, error)
DestroyMachine removes a set of machines from the model.
func (*MachineManagerAPI) ForceDestroyMachine ¶
func (mm *MachineManagerAPI) ForceDestroyMachine(args params.Entities) (params.DestroyMachineResults, error)
ForceDestroyMachine forcibly removes a set of machines from the model.
func (*MachineManagerAPI) InstanceTypes ¶
func (mm *MachineManagerAPI) InstanceTypes(cons params.ModelInstanceTypesConstraints) (params.InstanceTypesResults, error)
InstanceTypes returns instance type information for the cloud and region in which the current model is deployed.
Click to show internal directories.
Click to hide internal directories.