mocks

package
v0.20.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

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) GetEDS added in v0.6.2

func (m *MockModule) GetEDS(arg0 context.Context, arg1 uint64) (*rsmt2d.ExtendedDataSquare, error)

GetEDS mocks base method.

func (*MockModule) GetNamespaceData added in v0.20.4

func (m *MockModule) GetNamespaceData(arg0 context.Context, arg1 uint64, arg2 share0.Namespace) (shwap.NamespaceData, error)

GetNamespaceData mocks base method.

func (*MockModule) GetRange added in v0.15.0

func (m *MockModule) GetRange(arg0 context.Context, arg1 uint64, arg2, arg3 int) (*share.GetRangeResult, error)

GetRange mocks base method.

func (*MockModule) GetSamples added in v0.20.4

func (m *MockModule) GetSamples(arg0 context.Context, arg1 *header.ExtendedHeader, arg2 []shwap.SampleCoords) ([]shwap.Sample, error)

GetSamples mocks base method.

func (*MockModule) GetShare

func (m *MockModule) GetShare(arg0 context.Context, arg1 uint64, arg2, arg3 int) (share0.Share, error)

GetShare mocks base method.

func (*MockModule) SharesAvailable

func (m *MockModule) SharesAvailable(arg0 context.Context, arg1 uint64) error

SharesAvailable mocks base method.

type MockModuleMockRecorder

type MockModuleMockRecorder struct {
	// contains filtered or unexported fields
}

MockModuleMockRecorder is the mock recorder for MockModule.

func (*MockModuleMockRecorder) GetEDS added in v0.6.2

func (mr *MockModuleMockRecorder) GetEDS(arg0, arg1 interface{}) *gomock.Call

GetEDS indicates an expected call of GetEDS.

func (*MockModuleMockRecorder) GetNamespaceData added in v0.20.4

func (mr *MockModuleMockRecorder) GetNamespaceData(arg0, arg1, arg2 interface{}) *gomock.Call

GetNamespaceData indicates an expected call of GetNamespaceData.

func (*MockModuleMockRecorder) GetRange added in v0.15.0

func (mr *MockModuleMockRecorder) GetRange(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetRange indicates an expected call of GetRange.

func (*MockModuleMockRecorder) GetSamples added in v0.20.4

func (mr *MockModuleMockRecorder) GetSamples(arg0, arg1, arg2 interface{}) *gomock.Call

GetSamples indicates an expected call of GetSamples.

func (*MockModuleMockRecorder) GetShare

func (mr *MockModuleMockRecorder) GetShare(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetShare indicates an expected call of GetShare.

func (*MockModuleMockRecorder) SharesAvailable

func (mr *MockModuleMockRecorder) SharesAvailable(arg0, arg1 interface{}) *gomock.Call

SharesAvailable indicates an expected call of SharesAvailable.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL