Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockModule
- func (m *MockModule) Commit(arg0 context.Context, arg1 [][]byte, arg2 []byte) ([][]byte, error)
- func (m *MockModule) EXPECT() *MockModuleMockRecorder
- func (m *MockModule) Get(arg0 context.Context, arg1 [][]byte, arg2 []byte) ([][]byte, error)
- func (m *MockModule) GetIDs(arg0 context.Context, arg1 uint64, arg2 []byte) ([][]byte, error)
- func (m *MockModule) GetProofs(arg0 context.Context, arg1 [][]byte, arg2 []byte) ([][]byte, error)
- func (m *MockModule) MaxBlobSize(arg0 context.Context) (uint64, error)
- func (m *MockModule) Submit(arg0 context.Context, arg1 [][]byte, arg2 float64, arg3 []byte) ([][]byte, error)
- func (m *MockModule) Validate(arg0 context.Context, arg1, arg2 [][]byte, arg3 []byte) ([]bool, error)
- type MockModuleMockRecorder
- func (mr *MockModuleMockRecorder) Commit(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) GetIDs(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) GetProofs(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) MaxBlobSize(arg0 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) Submit(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) Validate(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockModule ¶
type MockModule struct {
// contains filtered or unexported fields
}
MockModule is a mock of Module interface.
func NewMockModule ¶
func NewMockModule(ctrl *gomock.Controller) *MockModule
NewMockModule creates a new mock instance.
func (*MockModule) EXPECT ¶
func (m *MockModule) EXPECT() *MockModuleMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockModule) MaxBlobSize ¶
func (m *MockModule) MaxBlobSize(arg0 context.Context) (uint64, error)
MaxBlobSize mocks base method.
type MockModuleMockRecorder ¶
type MockModuleMockRecorder struct {
// contains filtered or unexported fields
}
MockModuleMockRecorder is the mock recorder for MockModule.
func (*MockModuleMockRecorder) Commit ¶
func (mr *MockModuleMockRecorder) Commit(arg0, arg1, arg2 interface{}) *gomock.Call
Commit indicates an expected call of Commit.
func (*MockModuleMockRecorder) Get ¶
func (mr *MockModuleMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockModuleMockRecorder) GetIDs ¶
func (mr *MockModuleMockRecorder) GetIDs(arg0, arg1, arg2 interface{}) *gomock.Call
GetIDs indicates an expected call of GetIDs.
func (*MockModuleMockRecorder) GetProofs ¶
func (mr *MockModuleMockRecorder) GetProofs(arg0, arg1, arg2 interface{}) *gomock.Call
GetProofs indicates an expected call of GetProofs.
func (*MockModuleMockRecorder) MaxBlobSize ¶
func (mr *MockModuleMockRecorder) MaxBlobSize(arg0 interface{}) *gomock.Call
MaxBlobSize indicates an expected call of MaxBlobSize.
func (*MockModuleMockRecorder) Submit ¶
func (mr *MockModuleMockRecorder) Submit(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Submit indicates an expected call of Submit.
func (*MockModuleMockRecorder) Validate ¶
func (mr *MockModuleMockRecorder) Validate(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Validate indicates an expected call of Validate.
Click to show internal directories.
Click to hide internal directories.