multipartymocks

package
v1.1.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

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 (*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

func (_m *Manager) RunOperation(ctx context.Context, op *core.PreparedOperation) (fftypes.JSONObject, bool, error)

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) error

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

func (*Manager) SubmitNetworkAction

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

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

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