Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockMachineRepository
- func (m *MockMachineRepository) DeleteMachine(ctx context.Context, machine *models.Machine) error
- func (m *MockMachineRepository) EXPECT() *MockMachineRepositoryMockRecorder
- func (m *MockMachineRepository) GetMachines(ctx context.Context) ([]*models.Machine, error)
- func (m *MockMachineRepository) RegisterMachine(ctx context.Context, machine *models.Machine) error
- func (m *MockMachineRepository) UpdateMachine(ctx context.Context, machine *models.Machine) error
- type MockMachineRepositoryMockRecorder
- func (mr *MockMachineRepositoryMockRecorder) DeleteMachine(ctx, machine interface{}) *gomock.Call
- func (mr *MockMachineRepositoryMockRecorder) GetMachines(ctx interface{}) *gomock.Call
- func (mr *MockMachineRepositoryMockRecorder) RegisterMachine(ctx, machine interface{}) *gomock.Call
- func (mr *MockMachineRepositoryMockRecorder) UpdateMachine(ctx, machine interface{}) *gomock.Call
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 ¶
DeleteMachine mocks base method
func (*MockMachineRepository) EXPECT ¶
func (m *MockMachineRepository) EXPECT() *MockMachineRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockMachineRepository) GetMachines ¶
GetMachines mocks base method
func (*MockMachineRepository) RegisterMachine ¶
RegisterMachine mocks base method
func (*MockMachineRepository) UpdateMachine ¶
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