Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockBlockController
- type MockBlockControllerMockRecorder
- type MockCheckpointController
- func (m *MockCheckpointController) CheckpointLoad(arg0 context.Context, arg1 model.ID) (model.Checkpoint, error)
- func (m *MockCheckpointController) CheckpointSave(arg0 context.Context, arg1 model.Checkpoint) (model.Checkpoint, error)
- func (m *MockCheckpointController) EXPECT() *MockCheckpointControllerMockRecorder
- type MockCheckpointControllerMockRecorder
- type MockRequestController
- type MockRequestControllerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBlockController ¶
type MockBlockController struct {
// contains filtered or unexported fields
}
MockBlockController is a mock of BlockController interface
func NewMockBlockController ¶
func NewMockBlockController(ctrl *gomock.Controller) *MockBlockController
NewMockBlockController creates a new mock instance
func (*MockBlockController) BlockLoad ¶
func (m *MockBlockController) BlockLoad(arg0 context.Context, arg1 model.ID) (model.TransferBlock, error)
BlockLoad mocks base method
func (*MockBlockController) BlockSave ¶
func (m *MockBlockController) BlockSave(arg0 context.Context, arg1 model.TransferBlock) error
BlockSave mocks base method
func (*MockBlockController) EXPECT ¶
func (m *MockBlockController) EXPECT() *MockBlockControllerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockBlockControllerMockRecorder ¶
type MockBlockControllerMockRecorder struct {
// contains filtered or unexported fields
}
MockBlockControllerMockRecorder is the mock recorder for MockBlockController
func (*MockBlockControllerMockRecorder) BlockLoad ¶
func (mr *MockBlockControllerMockRecorder) BlockLoad(arg0, arg1 interface{}) *gomock.Call
BlockLoad indicates an expected call of BlockLoad
func (*MockBlockControllerMockRecorder) BlockSave ¶
func (mr *MockBlockControllerMockRecorder) BlockSave(arg0, arg1 interface{}) *gomock.Call
BlockSave indicates an expected call of BlockSave
type MockCheckpointController ¶
type MockCheckpointController struct {
// contains filtered or unexported fields
}
MockCheckpointController is a mock of CheckpointController interface
func NewMockCheckpointController ¶
func NewMockCheckpointController(ctrl *gomock.Controller) *MockCheckpointController
NewMockCheckpointController creates a new mock instance
func (*MockCheckpointController) CheckpointLoad ¶
func (m *MockCheckpointController) CheckpointLoad(arg0 context.Context, arg1 model.ID) (model.Checkpoint, error)
CheckpointLoad mocks base method
func (*MockCheckpointController) CheckpointSave ¶
func (m *MockCheckpointController) CheckpointSave(arg0 context.Context, arg1 model.Checkpoint) (model.Checkpoint, error)
CheckpointSave mocks base method
func (*MockCheckpointController) EXPECT ¶
func (m *MockCheckpointController) EXPECT() *MockCheckpointControllerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockCheckpointControllerMockRecorder ¶
type MockCheckpointControllerMockRecorder struct {
// contains filtered or unexported fields
}
MockCheckpointControllerMockRecorder is the mock recorder for MockCheckpointController
func (*MockCheckpointControllerMockRecorder) CheckpointLoad ¶
func (mr *MockCheckpointControllerMockRecorder) CheckpointLoad(arg0, arg1 interface{}) *gomock.Call
CheckpointLoad indicates an expected call of CheckpointLoad
func (*MockCheckpointControllerMockRecorder) CheckpointSave ¶
func (mr *MockCheckpointControllerMockRecorder) CheckpointSave(arg0, arg1 interface{}) *gomock.Call
CheckpointSave indicates an expected call of CheckpointSave
type MockRequestController ¶
type MockRequestController struct {
// contains filtered or unexported fields
}
MockRequestController is a mock of RequestController interface
func NewMockRequestController ¶
func NewMockRequestController(ctrl *gomock.Controller) *MockRequestController
NewMockRequestController creates a new mock instance
func (*MockRequestController) EXPECT ¶
func (m *MockRequestController) EXPECT() *MockRequestControllerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRequestController) TransferFetch ¶
func (m *MockRequestController) TransferFetch(arg0 context.Context, arg1 model.ID) (model.TransferRequest, error)
TransferFetch mocks base method
func (*MockRequestController) TransferKeep ¶
func (m *MockRequestController) TransferKeep(arg0 context.Context, arg1 model.TransferRequest) error
TransferKeep mocks base method
type MockRequestControllerMockRecorder ¶
type MockRequestControllerMockRecorder struct {
// contains filtered or unexported fields
}
MockRequestControllerMockRecorder is the mock recorder for MockRequestController
func (*MockRequestControllerMockRecorder) TransferFetch ¶
func (mr *MockRequestControllerMockRecorder) TransferFetch(arg0, arg1 interface{}) *gomock.Call
TransferFetch indicates an expected call of TransferFetch
func (*MockRequestControllerMockRecorder) TransferKeep ¶
func (mr *MockRequestControllerMockRecorder) TransferKeep(arg0, arg1 interface{}) *gomock.Call
TransferKeep indicates an expected call of TransferKeep