Documentation ¶
Index ¶
- type Machines
- func (m *Machines) CalculateCost(inputs []machines.CreateMachinesInput) (calculator.Rate, error)
- func (m *Machines) Count(input machines.CountMachinesInput) int
- func (m *Machines) Create(input []machines.CreateMachinesInput) ([]machines.CreateMachinesOutput, error)
- func (m *Machines) List(input machines.ListMachinesInput) (*machines.ListMachinesOutput, error)
- func (m *Machines) Terminate(input machines.TerminateMachinesInput) error
- func (m *Machines) WaitOK(input []machines.WaitMachinesOKInput) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Machines ¶
Machines is a fake implementation of the machines.Machines interface.
func NewMachines ¶
func NewMachines() *Machines
NewMachines initializes a new machines.Machines fake implementation.
func (*Machines) CalculateCost ¶
func (m *Machines) CalculateCost(inputs []machines.CreateMachinesInput) (calculator.Rate, error)
CalculateCost mocks the CalculateCost method.
func (*Machines) Count ¶
func (m *Machines) Count(input machines.CountMachinesInput) int
Count mocks the Count method.
func (*Machines) Create ¶
func (m *Machines) Create(input []machines.CreateMachinesInput) ([]machines.CreateMachinesOutput, error)
Create mocks the Create method.
func (*Machines) List ¶
func (m *Machines) List(input machines.ListMachinesInput) (*machines.ListMachinesOutput, error)
List mocks the List method.
Click to show internal directories.
Click to hide internal directories.