mocks

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: Apache-2.0 Imports: 5 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) Get

func (m *MockModule) Get(arg0 context.Context, arg1 uint64, arg2 share.Namespace, arg3 blob.Commitment) (*blob.Blob, error)

Get mocks base method.

func (*MockModule) GetAll

func (m *MockModule) GetAll(arg0 context.Context, arg1 uint64, arg2 []share.Namespace) ([]*blob.Blob, error)

GetAll mocks base method.

func (*MockModule) GetProof

func (m *MockModule) GetProof(arg0 context.Context, arg1 uint64, arg2 share.Namespace, arg3 blob.Commitment) (*blob.Proof, error)

GetProof mocks base method.

func (*MockModule) Included

func (m *MockModule) Included(arg0 context.Context, arg1 uint64, arg2 share.Namespace, arg3 *blob.Proof, arg4 blob.Commitment) (bool, error)

Included mocks base method.

func (*MockModule) Submit

func (m *MockModule) Submit(arg0 context.Context, arg1 []*blob.Blob, arg2 blob.GasPrice) (uint64, error)

Submit mocks base method.

type MockModuleMockRecorder

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

MockModuleMockRecorder is the mock recorder for MockModule.

func (*MockModuleMockRecorder) Get

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

Get indicates an expected call of Get.

func (*MockModuleMockRecorder) GetAll

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

GetAll indicates an expected call of GetAll.

func (*MockModuleMockRecorder) GetProof

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

GetProof indicates an expected call of GetProof.

func (*MockModuleMockRecorder) Included

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

Included indicates an expected call of Included.

func (*MockModuleMockRecorder) Submit

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

Submit indicates an expected call of Submit.

Jump to

Keyboard shortcuts

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