Documentation ¶
Index ¶
- type Manager
- func (_m *Manager) ConfigureContract(ctx context.Context) error
- func (_m *Manager) GetNetworkVersion() int
- func (_m *Manager) LocalNode() multiparty.LocalNode
- func (_m *Manager) Name() string
- func (_m *Manager) PrepareOperation(ctx context.Context, op *core.Operation) (*core.PreparedOperation, error)
- func (_m *Manager) RootOrg() multiparty.RootOrg
- func (_m *Manager) RunOperation(ctx context.Context, op *core.PreparedOperation) (fftypes.JSONObject, core.OpPhase, error)
- func (_m *Manager) SubmitBatchPin(ctx context.Context, batch *core.BatchPersisted, contexts []*fftypes.Bytes32, ...) error
- func (_m *Manager) SubmitNetworkAction(ctx context.Context, signingKey string, action *core.NetworkAction, ...) error
- func (_m *Manager) TerminateContract(ctx context.Context, location *fftypes.JSONAny, termination *blockchain.Event) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
Manager is an autogenerated mock type for the Manager type
func NewManager ¶ added in v1.1.2
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 ¶
ConfigureContract provides a mock function with given fields: ctx
func (*Manager) GetNetworkVersion ¶
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) 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, core.OpPhase, 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, 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