Documentation ¶
Index ¶
- type Manager
- func (_m *Manager) AddContractAPIListener(ctx context.Context, apiName string, eventPath string, ...) (*core.ContractListener, error)
- func (_m *Manager) AddContractListener(ctx context.Context, listener *core.ContractListenerInput) (*core.ContractListener, error)
- func (_m *Manager) ConstructContractListenerSignature(ctx context.Context, listener *core.ContractListenerInput) (*core.ContractListenerSignatureOutput, error)
- func (_m *Manager) DeleteContractAPI(ctx context.Context, apiName string) error
- func (_m *Manager) DeleteContractListenerByNameOrID(ctx context.Context, nameOrID string) error
- func (_m *Manager) DeleteFFI(ctx context.Context, id *fftypes.UUID) error
- func (_m *Manager) DeployContract(ctx context.Context, req *core.ContractDeployRequest, waitConfirm bool) (interface{}, error)
- func (_m *Manager) GenerateFFI(ctx context.Context, generationRequest *fftypes.FFIGenerationRequest) (*fftypes.FFI, error)
- func (_m *Manager) GetContractAPI(ctx context.Context, httpServerURL string, apiName string) (*core.ContractAPI, error)
- func (_m *Manager) GetContractAPIInterface(ctx context.Context, apiName string) (*fftypes.FFI, error)
- func (_m *Manager) GetContractAPIListeners(ctx context.Context, apiName string, eventPath string, filter ffapi.AndFilter) ([]*core.ContractListener, *ffapi.FilterResult, error)
- func (_m *Manager) GetContractAPIs(ctx context.Context, httpServerURL string, filter ffapi.AndFilter) ([]*core.ContractAPI, *ffapi.FilterResult, error)
- func (_m *Manager) GetContractListenerByNameOrID(ctx context.Context, nameOrID string) (*core.ContractListener, error)
- func (_m *Manager) GetContractListenerByNameOrIDWithStatus(ctx context.Context, nameOrID string) (*core.ContractListenerWithStatus, error)
- func (_m *Manager) GetContractListeners(ctx context.Context, filter ffapi.AndFilter) ([]*core.ContractListener, *ffapi.FilterResult, error)
- func (_m *Manager) GetFFI(ctx context.Context, name string, version string) (*fftypes.FFI, error)
- func (_m *Manager) GetFFIByID(ctx context.Context, id *fftypes.UUID) (*fftypes.FFI, error)
- func (_m *Manager) GetFFIByIDWithChildren(ctx context.Context, id *fftypes.UUID) (*fftypes.FFI, error)
- func (_m *Manager) GetFFIEvents(ctx context.Context, id *fftypes.UUID) ([]*fftypes.FFIEvent, error)
- func (_m *Manager) GetFFIMethods(ctx context.Context, id *fftypes.UUID) ([]*fftypes.FFIMethod, error)
- func (_m *Manager) GetFFIWithChildren(ctx context.Context, name string, version string) (*fftypes.FFI, error)
- func (_m *Manager) GetFFIs(ctx context.Context, filter ffapi.AndFilter) ([]*fftypes.FFI, *ffapi.FilterResult, error)
- func (_m *Manager) InvokeContract(ctx context.Context, req *core.ContractCallRequest, waitConfirm bool) (interface{}, error)
- func (_m *Manager) InvokeContractAPI(ctx context.Context, apiName string, methodPath string, ...) (interface{}, error)
- func (_m *Manager) Name() string
- func (_m *Manager) PrepareOperation(ctx context.Context, op *core.Operation) (*core.PreparedOperation, error)
- func (_m *Manager) ResolveContractAPI(ctx context.Context, httpServerURL string, api *core.ContractAPI) error
- func (_m *Manager) ResolveFFI(ctx context.Context, ffi *fftypes.FFI) error
- func (_m *Manager) ResolveFFIReference(ctx context.Context, ref *fftypes.FFIReference) error
- func (_m *Manager) RunOperation(ctx context.Context, op *core.PreparedOperation) (fftypes.JSONObject, core.OpPhase, 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) AddContractAPIListener ¶ added in v1.0.0
func (_m *Manager) AddContractAPIListener(ctx context.Context, apiName string, eventPath string, listener *core.ContractListener) (*core.ContractListener, error)
AddContractAPIListener provides a mock function with given fields: ctx, apiName, eventPath, listener
func (*Manager) AddContractListener ¶ added in v0.14.0
func (_m *Manager) AddContractListener(ctx context.Context, listener *core.ContractListenerInput) (*core.ContractListener, error)
AddContractListener provides a mock function with given fields: ctx, listener
func (*Manager) ConstructContractListenerSignature ¶ added in v1.3.1
func (_m *Manager) ConstructContractListenerSignature(ctx context.Context, listener *core.ContractListenerInput) (*core.ContractListenerSignatureOutput, error)
ConstructContractListenerSignature provides a mock function with given fields: ctx, listener
func (*Manager) DeleteContractAPI ¶ added in v1.3.0
DeleteContractAPI provides a mock function with given fields: ctx, apiName
func (*Manager) DeleteContractListenerByNameOrID ¶ added in v0.14.0
DeleteContractListenerByNameOrID provides a mock function with given fields: ctx, nameOrID
func (*Manager) DeleteFFI ¶ added in v1.3.0
DeleteFFI provides a mock function with given fields: ctx, id
func (*Manager) DeployContract ¶ added in v1.1.2
func (_m *Manager) DeployContract(ctx context.Context, req *core.ContractDeployRequest, waitConfirm bool) (interface{}, error)
DeployContract provides a mock function with given fields: ctx, req, waitConfirm
func (*Manager) GenerateFFI ¶ added in v0.13.1
func (_m *Manager) GenerateFFI(ctx context.Context, generationRequest *fftypes.FFIGenerationRequest) (*fftypes.FFI, error)
GenerateFFI provides a mock function with given fields: ctx, generationRequest
func (*Manager) GetContractAPI ¶
func (_m *Manager) GetContractAPI(ctx context.Context, httpServerURL string, apiName string) (*core.ContractAPI, error)
GetContractAPI provides a mock function with given fields: ctx, httpServerURL, apiName
func (*Manager) GetContractAPIInterface ¶ added in v1.0.0
func (_m *Manager) GetContractAPIInterface(ctx context.Context, apiName string) (*fftypes.FFI, error)
GetContractAPIInterface provides a mock function with given fields: ctx, apiName
func (*Manager) GetContractAPIListeners ¶ added in v1.0.0
func (_m *Manager) GetContractAPIListeners(ctx context.Context, apiName string, eventPath string, filter ffapi.AndFilter) ([]*core.ContractListener, *ffapi.FilterResult, error)
GetContractAPIListeners provides a mock function with given fields: ctx, apiName, eventPath, filter
func (*Manager) GetContractAPIs ¶
func (_m *Manager) GetContractAPIs(ctx context.Context, httpServerURL string, filter ffapi.AndFilter) ([]*core.ContractAPI, *ffapi.FilterResult, error)
GetContractAPIs provides a mock function with given fields: ctx, httpServerURL, filter
func (*Manager) GetContractListenerByNameOrID ¶ added in v0.14.0
func (_m *Manager) GetContractListenerByNameOrID(ctx context.Context, nameOrID string) (*core.ContractListener, error)
GetContractListenerByNameOrID provides a mock function with given fields: ctx, nameOrID
func (*Manager) GetContractListenerByNameOrIDWithStatus ¶ added in v1.1.0
func (_m *Manager) GetContractListenerByNameOrIDWithStatus(ctx context.Context, nameOrID string) (*core.ContractListenerWithStatus, error)
GetContractListenerByNameOrIDWithStatus provides a mock function with given fields: ctx, nameOrID
func (*Manager) GetContractListeners ¶ added in v0.14.0
func (_m *Manager) GetContractListeners(ctx context.Context, filter ffapi.AndFilter) ([]*core.ContractListener, *ffapi.FilterResult, error)
GetContractListeners provides a mock function with given fields: ctx, filter
func (*Manager) GetFFIByID ¶
GetFFIByID provides a mock function with given fields: ctx, id
func (*Manager) GetFFIByIDWithChildren ¶
func (_m *Manager) GetFFIByIDWithChildren(ctx context.Context, id *fftypes.UUID) (*fftypes.FFI, error)
GetFFIByIDWithChildren provides a mock function with given fields: ctx, id
func (*Manager) GetFFIEvents ¶ added in v1.1.3
GetFFIEvents provides a mock function with given fields: ctx, id
func (*Manager) GetFFIMethods ¶ added in v1.1.3
func (_m *Manager) GetFFIMethods(ctx context.Context, id *fftypes.UUID) ([]*fftypes.FFIMethod, error)
GetFFIMethods provides a mock function with given fields: ctx, id
func (*Manager) GetFFIWithChildren ¶ added in v1.0.0
func (_m *Manager) GetFFIWithChildren(ctx context.Context, name string, version string) (*fftypes.FFI, error)
GetFFIWithChildren provides a mock function with given fields: ctx, name, version
func (*Manager) GetFFIs ¶
func (_m *Manager) GetFFIs(ctx context.Context, filter ffapi.AndFilter) ([]*fftypes.FFI, *ffapi.FilterResult, error)
GetFFIs provides a mock function with given fields: ctx, filter
func (*Manager) InvokeContract ¶
func (_m *Manager) InvokeContract(ctx context.Context, req *core.ContractCallRequest, waitConfirm bool) (interface{}, error)
InvokeContract provides a mock function with given fields: ctx, req, waitConfirm
func (*Manager) InvokeContractAPI ¶
func (_m *Manager) InvokeContractAPI(ctx context.Context, apiName string, methodPath string, req *core.ContractCallRequest, waitConfirm bool) (interface{}, error)
InvokeContractAPI provides a mock function with given fields: ctx, apiName, methodPath, req, waitConfirm
func (*Manager) PrepareOperation ¶ added in v0.14.0
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) ResolveContractAPI ¶ added in v1.1.0
func (_m *Manager) ResolveContractAPI(ctx context.Context, httpServerURL string, api *core.ContractAPI) error
ResolveContractAPI provides a mock function with given fields: ctx, httpServerURL, api
func (*Manager) ResolveFFI ¶ added in v1.1.0
ResolveFFI provides a mock function with given fields: ctx, ffi
func (*Manager) ResolveFFIReference ¶ added in v1.1.3
ResolveFFIReference provides a mock function with given fields: ctx, ref
func (*Manager) RunOperation ¶ added in v0.14.0
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