Documentation ¶
Index ¶
- type Store
- func (_m *Store) Delete(ctx context.Context, machineID string) error
- func (_m *Store) Get(ctx context.Context, machineID string) (machine.Description, error)
- func (_m *Store) GetFreeMachines(ctx context.Context, pool string) ([]machine.Description, error)
- func (_m *Store) List(ctx context.Context) ([]machine.Description, error)
- func (_m *Store) ListPowerCycle(ctx context.Context) ([]string, error)
- func (_m *Store) Update(ctx context.Context, machineID string, updateCallback store.UpdateCallback) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
Store is an autogenerated mock type for the Store type
func NewStore ¶
NewStore creates a new instance of Store. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Store) GetFreeMachines ¶
GetFreeMachines provides a mock function with given fields: ctx, pool
func (*Store) ListPowerCycle ¶
ListPowerCycle provides a mock function with given fields: ctx
Click to show internal directories.
Click to hide internal directories.