Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockModule
- func (m *MockModule) Deposit(ctx context.Context, amount types.Coin, cfg *txclient.TxConfig) error
- func (m *MockModule) Download(ctx context.Context, blobID fibre.BlobID) (*fibre1.GetBlobResult, error)
- func (m *MockModule) EXPECT() *MockModuleMockRecorder
- func (m *MockModule) PendingWithdrawals(ctx context.Context, signer string) ([]fibre0.PendingWithdrawal, error)
- func (m *MockModule) QueryEscrowAccount(ctx context.Context, signer string) (*fibre0.EscrowAccount, error)
- func (m *MockModule) Submit(ctx context.Context, ns share.Namespace, data []byte, ...) (*fibre1.SubmitResult, error)
- func (m *MockModule) Upload(ctx context.Context, ns share.Namespace, data []byte, ...) (*fibre1.UploadResult, error)
- func (m *MockModule) Withdraw(ctx context.Context, amount types.Coin, cfg *txclient.TxConfig) error
- type MockModuleMockRecorder
- func (mr *MockModuleMockRecorder) Deposit(ctx, amount, cfg any) *gomock.Call
- func (mr *MockModuleMockRecorder) Download(ctx, blobID any) *gomock.Call
- func (mr *MockModuleMockRecorder) PendingWithdrawals(ctx, signer any) *gomock.Call
- func (mr *MockModuleMockRecorder) QueryEscrowAccount(ctx, signer any) *gomock.Call
- func (mr *MockModuleMockRecorder) Submit(ctx, ns, data, options any) *gomock.Call
- func (mr *MockModuleMockRecorder) Upload(ctx, ns, data, options any) *gomock.Call
- func (mr *MockModuleMockRecorder) Withdraw(ctx, amount, cfg any) *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) 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.
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.