mock

package
v0.0.0-...-aa75306 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockMachineRepository

type MockMachineRepository struct {
	// contains filtered or unexported fields
}

MockMachineRepository is a mock of MachineRepository interface

func NewMockMachineRepository

func NewMockMachineRepository(ctrl *gomock.Controller) *MockMachineRepository

NewMockMachineRepository creates a new mock instance

func (*MockMachineRepository) DeleteMachine

func (m *MockMachineRepository) DeleteMachine(ctx context.Context, machine *models.Machine) error

DeleteMachine mocks base method

func (*MockMachineRepository) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockMachineRepository) GetMachines

func (m *MockMachineRepository) GetMachines(ctx context.Context) ([]*models.Machine, error)

GetMachines mocks base method

func (*MockMachineRepository) RegisterMachine

func (m *MockMachineRepository) RegisterMachine(ctx context.Context, machine *models.Machine) error

RegisterMachine mocks base method

func (*MockMachineRepository) UpdateMachine

func (m *MockMachineRepository) UpdateMachine(ctx context.Context, machine *models.Machine) error

UpdateMachine mocks base method

type MockMachineRepositoryMockRecorder

type MockMachineRepositoryMockRecorder struct {
	// contains filtered or unexported fields
}

MockMachineRepositoryMockRecorder is the mock recorder for MockMachineRepository

func (*MockMachineRepositoryMockRecorder) DeleteMachine

func (mr *MockMachineRepositoryMockRecorder) DeleteMachine(ctx, machine interface{}) *gomock.Call

DeleteMachine indicates an expected call of DeleteMachine

func (*MockMachineRepositoryMockRecorder) GetMachines

func (mr *MockMachineRepositoryMockRecorder) GetMachines(ctx interface{}) *gomock.Call

GetMachines indicates an expected call of GetMachines

func (*MockMachineRepositoryMockRecorder) RegisterMachine

func (mr *MockMachineRepositoryMockRecorder) RegisterMachine(ctx, machine interface{}) *gomock.Call

RegisterMachine indicates an expected call of RegisterMachine

func (*MockMachineRepositoryMockRecorder) UpdateMachine

func (mr *MockMachineRepositoryMockRecorder) UpdateMachine(ctx, machine interface{}) *gomock.Call

UpdateMachine indicates an expected call of UpdateMachine

Jump to

Keyboard shortcuts

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