mock

package
v0.33.10-temp-script-i... Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 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 Communicator added in v0.32.0

type Communicator struct {
	mock.Mock
}

Communicator is an autogenerated mock type for the Communicator type

func NewCommunicator added in v0.32.0

func NewCommunicator(t mockConstructorTestingTNewCommunicator) *Communicator

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

func (*Communicator) CallAvailableNode added in v0.32.0

func (_m *Communicator) CallAvailableNode(nodes flow.IdentityList, call func(*flow.Identity) error, shouldTerminateOnError func(*flow.Identity, error) bool) error

CallAvailableNode provides a mock function with given fields: nodes, call, shouldTerminateOnError

Jump to

Keyboard shortcuts

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