mocks

package
v0.34.1-corto Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2026 License: Apache-2.0 Imports: 9 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) Deposit

func (m *MockModule) Deposit(ctx context.Context, amount types.Coin, cfg *txclient.TxConfig) error

Deposit mocks base method.

func (*MockModule) Download

func (m *MockModule) Download(ctx context.Context, blobID fibre.BlobID) (*fibre1.GetBlobResult, error)

Download mocks base method.

func (*MockModule) EXPECT

func (m *MockModule) EXPECT() *MockModuleMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockModule) PendingWithdrawals

func (m *MockModule) PendingWithdrawals(ctx context.Context, signer string) ([]fibre0.PendingWithdrawal, error)

PendingWithdrawals mocks base method.

func (*MockModule) QueryEscrowAccount

func (m *MockModule) QueryEscrowAccount(ctx context.Context, signer string) (*fibre0.EscrowAccount, error)

QueryEscrowAccount mocks base method.

func (*MockModule) Submit

func (m *MockModule) Submit(ctx context.Context, ns share.Namespace, data []byte, options *txclient.TxConfig) (*fibre1.SubmitResult, error)

Submit mocks base method.

func (*MockModule) Upload

func (m *MockModule) Upload(ctx context.Context, ns share.Namespace, data []byte, options *txclient.TxConfig) (*fibre1.UploadResult, error)

Upload mocks base method.

func (*MockModule) Withdraw

func (m *MockModule) Withdraw(ctx context.Context, amount types.Coin, cfg *txclient.TxConfig) error

Withdraw mocks base method.

type MockModuleMockRecorder

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

MockModuleMockRecorder is the mock recorder for MockModule.

func (*MockModuleMockRecorder) Deposit

func (mr *MockModuleMockRecorder) Deposit(ctx, amount, cfg any) *gomock.Call

Deposit indicates an expected call of Deposit.

func (*MockModuleMockRecorder) Download

func (mr *MockModuleMockRecorder) Download(ctx, blobID any) *gomock.Call

Download indicates an expected call of Download.

func (*MockModuleMockRecorder) PendingWithdrawals

func (mr *MockModuleMockRecorder) PendingWithdrawals(ctx, signer any) *gomock.Call

PendingWithdrawals indicates an expected call of PendingWithdrawals.

func (*MockModuleMockRecorder) QueryEscrowAccount

func (mr *MockModuleMockRecorder) QueryEscrowAccount(ctx, signer any) *gomock.Call

QueryEscrowAccount indicates an expected call of QueryEscrowAccount.

func (*MockModuleMockRecorder) Submit

func (mr *MockModuleMockRecorder) Submit(ctx, ns, data, options any) *gomock.Call

Submit indicates an expected call of Submit.

func (*MockModuleMockRecorder) Upload

func (mr *MockModuleMockRecorder) Upload(ctx, ns, data, options any) *gomock.Call

Upload indicates an expected call of Upload.

func (*MockModuleMockRecorder) Withdraw

func (mr *MockModuleMockRecorder) Withdraw(ctx, amount, cfg any) *gomock.Call

Withdraw indicates an expected call of Withdraw.

Jump to

Keyboard shortcuts

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