fake

package
v0.0.0-...-a4d1c61 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Machines

type Machines struct {
	*mock.Mock
}

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

Create mocks the Create method.

func (*Machines) List

List mocks the List method.

func (*Machines) Terminate

func (m *Machines) Terminate(input machines.TerminateMachinesInput) error

Terminate mocks the Terminate method.

func (*Machines) WaitOK

func (m *Machines) WaitOK(input []machines.WaitMachinesOKInput) error

WaitOK mocks the WaitOK method.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL