multipartymocks

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2026 License: Apache-2.0 Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	mock.Mock
}

Manager is an autogenerated mock type for the Manager type

func NewManager

func NewManager(t interface {
	mock.TestingT
	Cleanup(func())
}) *Manager

NewManager creates a new instance of Manager. 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 (*Manager) ConfigureContract

func (_m *Manager) ConfigureContract(ctx context.Context) error

ConfigureContract provides a mock function with given fields: ctx

func (*Manager) GetNetworkVersion

func (_m *Manager) GetNetworkVersion() int

GetNetworkVersion provides a mock function with given fields:

func (*Manager) LocalNode

func (_m *Manager) LocalNode() multiparty.LocalNode

LocalNode provides a mock function with given fields:

func (*Manager) Name

func (_m *Manager) Name() string

Name provides a mock function with given fields:

func (*Manager) PrepareOperation

func (_m *Manager) PrepareOperation(ctx context.Context, op *core.Operation) (*core.PreparedOperation, error)

PrepareOperation provides a mock function with given fields: ctx, op

func (*Manager) RootOrg

func (_m *Manager) RootOrg() multiparty.RootOrg

RootOrg provides a mock function with given fields:

func (*Manager) RunOperation

RunOperation provides a mock function with given fields: ctx, op

func (*Manager) SubmitBatchPin

func (_m *Manager) SubmitBatchPin(ctx context.Context, batch *core.BatchPersisted, contexts []*fftypes.Bytes32, payloadRef string, idempotentSubmit bool) error

SubmitBatchPin provides a mock function with given fields: ctx, batch, contexts, payloadRef, idempotentSubmit

func (*Manager) SubmitNetworkAction

func (_m *Manager) SubmitNetworkAction(ctx context.Context, signingKey string, action *core.NetworkAction, idempotentSubmit bool) error

SubmitNetworkAction provides a mock function with given fields: ctx, signingKey, action, idempotentSubmit

func (*Manager) TerminateContract

func (_m *Manager) TerminateContract(ctx context.Context, location *fftypes.JSONAny, termination *blockchain.Event) error

TerminateContract provides a mock function with given fields: ctx, location, termination

Jump to

Keyboard shortcuts

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