Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockGetter
- func (m *MockGetter) EXPECT() *MockGetterMockRecorder
- func (m *MockGetter) GetEDS(arg0 context.Context, arg1 *header.ExtendedHeader) (*rsmt2d.ExtendedDataSquare, error)
- func (m *MockGetter) GetShare(arg0 context.Context, arg1 *header.ExtendedHeader, arg2, arg3 int) ([]byte, error)
- func (m *MockGetter) GetSharesByNamespace(arg0 context.Context, arg1 *header.ExtendedHeader, arg2 share.Namespace) (share.NamespacedShares, error)
- type MockGetterMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockGetter ¶
type MockGetter struct {
// contains filtered or unexported fields
}
MockGetter is a mock of Getter interface.
func NewMockGetter ¶
func NewMockGetter(ctrl *gomock.Controller) *MockGetter
NewMockGetter creates a new mock instance.
func (*MockGetter) EXPECT ¶
func (m *MockGetter) EXPECT() *MockGetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGetter) GetEDS ¶
func (m *MockGetter) GetEDS(arg0 context.Context, arg1 *header.ExtendedHeader) (*rsmt2d.ExtendedDataSquare, error)
GetEDS mocks base method.
func (*MockGetter) GetShare ¶
func (m *MockGetter) GetShare(arg0 context.Context, arg1 *header.ExtendedHeader, arg2, arg3 int) ([]byte, error)
GetShare mocks base method.
func (*MockGetter) GetSharesByNamespace ¶
func (m *MockGetter) GetSharesByNamespace(arg0 context.Context, arg1 *header.ExtendedHeader, arg2 share.Namespace) (share.NamespacedShares, error)
GetSharesByNamespace mocks base method.
type MockGetterMockRecorder ¶
type MockGetterMockRecorder struct {
// contains filtered or unexported fields
}
MockGetterMockRecorder is the mock recorder for MockGetter.
func (*MockGetterMockRecorder) GetEDS ¶
func (mr *MockGetterMockRecorder) GetEDS(arg0, arg1 interface{}) *gomock.Call
GetEDS indicates an expected call of GetEDS.
func (*MockGetterMockRecorder) GetShare ¶
func (mr *MockGetterMockRecorder) GetShare(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetShare indicates an expected call of GetShare.
func (*MockGetterMockRecorder) GetSharesByNamespace ¶
func (mr *MockGetterMockRecorder) GetSharesByNamespace(arg0, arg1, arg2 interface{}) *gomock.Call
GetSharesByNamespace indicates an expected call of GetSharesByNamespace.
Click to show internal directories.
Click to hide internal directories.