mock

package
v0.28.11 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2022 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IngestRPC

type IngestRPC struct {
	mock.Mock
}

IngestRPC is an autogenerated mock type for the IngestRPC type

func NewIngestRPC added in v0.26.1

func NewIngestRPC(t mockConstructorTestingTNewIngestRPC) *IngestRPC

NewIngestRPC creates a new instance of IngestRPC. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*IngestRPC) ExecuteScriptAtBlockID

func (_m *IngestRPC) ExecuteScriptAtBlockID(ctx context.Context, script []byte, arguments [][]byte, blockID flow.Identifier) ([]byte, error)

ExecuteScriptAtBlockID provides a mock function with given fields: ctx, script, arguments, blockID

func (*IngestRPC) GetAccount

func (_m *IngestRPC) GetAccount(ctx context.Context, address flow.Address, blockID flow.Identifier) (*flow.Account, error)

GetAccount provides a mock function with given fields: ctx, address, blockID

func (*IngestRPC) GetRegisterAtBlockID added in v0.23.1

func (_m *IngestRPC) GetRegisterAtBlockID(ctx context.Context, owner []byte, key []byte, blockID flow.Identifier) ([]byte, error)

GetRegisterAtBlockID provides a mock function with given fields: ctx, owner, key, blockID

Jump to

Keyboard shortcuts

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