Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockModule
- func (m *MockModule) EXPECT() *MockModuleMockRecorder
- func (m *MockModule) GetShare(arg0 context.Context, arg1 *da.DataAvailabilityHeader, arg2, arg3 int) ([]byte, error)
- func (m *MockModule) GetShares(arg0 context.Context, arg1 *da.DataAvailabilityHeader) ([][][]byte, error)
- func (m *MockModule) GetSharesByNamespace(arg0 context.Context, arg1 *da.DataAvailabilityHeader, arg2 namespace.ID) ([][]byte, error)
- func (m *MockModule) ProbabilityOfAvailability(arg0 context.Context) float64
- func (m *MockModule) SharesAvailable(arg0 context.Context, arg1 *da.DataAvailabilityHeader) error
- type MockModuleMockRecorder
- func (mr *MockModuleMockRecorder) GetShare(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) GetShares(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) GetSharesByNamespace(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) ProbabilityOfAvailability(arg0 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) SharesAvailable(arg0, arg1 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) GetShare ¶
func (m *MockModule) GetShare(arg0 context.Context, arg1 *da.DataAvailabilityHeader, arg2, arg3 int) ([]byte, error)
GetShare mocks base method.
func (*MockModule) GetShares ¶
func (m *MockModule) GetShares(arg0 context.Context, arg1 *da.DataAvailabilityHeader) ([][][]byte, error)
GetShares mocks base method.
func (*MockModule) GetSharesByNamespace ¶
func (m *MockModule) GetSharesByNamespace(arg0 context.Context, arg1 *da.DataAvailabilityHeader, arg2 namespace.ID) ([][]byte, error)
GetSharesByNamespace mocks base method.
func (*MockModule) ProbabilityOfAvailability ¶
func (m *MockModule) ProbabilityOfAvailability(arg0 context.Context) float64
ProbabilityOfAvailability mocks base method.
func (*MockModule) SharesAvailable ¶
func (m *MockModule) SharesAvailable(arg0 context.Context, arg1 *da.DataAvailabilityHeader) error
SharesAvailable mocks base method.
type MockModuleMockRecorder ¶
type MockModuleMockRecorder struct {
// contains filtered or unexported fields
}
MockModuleMockRecorder is the mock recorder for MockModule.
func (*MockModuleMockRecorder) GetShare ¶
func (mr *MockModuleMockRecorder) GetShare(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetShare indicates an expected call of GetShare.
func (*MockModuleMockRecorder) GetShares ¶
func (mr *MockModuleMockRecorder) GetShares(arg0, arg1 interface{}) *gomock.Call
GetShares indicates an expected call of GetShares.
func (*MockModuleMockRecorder) GetSharesByNamespace ¶
func (mr *MockModuleMockRecorder) GetSharesByNamespace(arg0, arg1, arg2 interface{}) *gomock.Call
GetSharesByNamespace indicates an expected call of GetSharesByNamespace.
func (*MockModuleMockRecorder) ProbabilityOfAvailability ¶
func (mr *MockModuleMockRecorder) ProbabilityOfAvailability(arg0 interface{}) *gomock.Call
ProbabilityOfAvailability indicates an expected call of ProbabilityOfAvailability.
func (*MockModuleMockRecorder) SharesAvailable ¶
func (mr *MockModuleMockRecorder) SharesAvailable(arg0, arg1 interface{}) *gomock.Call
SharesAvailable indicates an expected call of SharesAvailable.