mock

package
v0.38.0-cdp-pruner Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2025 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LinkGenerator

type LinkGenerator struct {
	mock.Mock
}

LinkGenerator is an autogenerated mock type for the LinkGenerator type

func NewLinkGenerator

func NewLinkGenerator(t interface {
	mock.TestingT
	Cleanup(func())
}) *LinkGenerator

NewLinkGenerator creates a new instance of LinkGenerator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (_m *LinkGenerator) AccountLink(address string) (string, error)

AccountLink provides a mock function with given fields: address

func (_m *LinkGenerator) BlockLink(id flow.Identifier) (string, error)

BlockLink provides a mock function with given fields: id

func (_m *LinkGenerator) CollectionLink(id flow.Identifier) (string, error)

CollectionLink provides a mock function with given fields: id

func (_m *LinkGenerator) ExecutionResultLink(id flow.Identifier) (string, error)

ExecutionResultLink provides a mock function with given fields: id

func (_m *LinkGenerator) PayloadLink(id flow.Identifier) (string, error)

PayloadLink provides a mock function with given fields: id

func (_m *LinkGenerator) TransactionLink(id flow.Identifier) (string, error)

TransactionLink provides a mock function with given fields: id

func (_m *LinkGenerator) TransactionResultLink(id flow.Identifier) (string, error)

TransactionResultLink provides a mock function with given fields: id

Jump to

Keyboard shortcuts

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