Documentation ¶
Index ¶
- type Handler
- type Sender
- func (_m *Sender) ClaimIdentity(ctx context.Context, def *core.IdentityClaim, signingIdentity *core.SignerRef, ...) error
- func (_m *Sender) DefineContractAPI(ctx context.Context, httpServerURL string, api *core.ContractAPI, ...) error
- func (_m *Sender) DefineDatatype(ctx context.Context, datatype *core.Datatype, waitConfirm bool) error
- func (_m *Sender) DefineFFI(ctx context.Context, ffi *fftypes.FFI, waitConfirm bool) error
- func (_m *Sender) DefineTokenPool(ctx context.Context, pool *core.TokenPool, waitConfirm bool) error
- func (_m *Sender) Name() string
- func (_m *Sender) PublishContractAPI(ctx context.Context, httpServerURL string, name string, networkName string, ...) (*core.ContractAPI, error)
- func (_m *Sender) PublishFFI(ctx context.Context, name string, version string, networkName string, ...) (*fftypes.FFI, error)
- func (_m *Sender) PublishTokenPool(ctx context.Context, poolNameOrID string, networkName string, waitConfirm bool) (*core.TokenPool, error)
- func (_m *Sender) UpdateIdentity(ctx context.Context, identity *core.Identity, def *core.IdentityUpdate, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶ added in v1.1.0
Handler is an autogenerated mock type for the Handler type
func NewHandler ¶ added in v1.1.2
NewHandler creates a new instance of Handler. 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 (*Handler) HandleDefinitionBroadcast ¶ added in v1.1.0
func (_m *Handler) HandleDefinitionBroadcast(ctx context.Context, state *core.BatchState, msg *core.Message, data core.DataArray, tx *fftypes.UUID) (definitions.HandlerResult, error)
HandleDefinitionBroadcast provides a mock function with given fields: ctx, state, msg, data, tx
type Sender ¶ added in v1.1.0
Sender is an autogenerated mock type for the Sender type
func NewSender ¶ added in v1.1.2
NewSender creates a new instance of Sender. 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 (*Sender) ClaimIdentity ¶ added in v1.1.0
func (_m *Sender) ClaimIdentity(ctx context.Context, def *core.IdentityClaim, signingIdentity *core.SignerRef, parentSigner *core.SignerRef) error
ClaimIdentity provides a mock function with given fields: ctx, def, signingIdentity, parentSigner
func (*Sender) DefineContractAPI ¶ added in v1.1.0
func (_m *Sender) DefineContractAPI(ctx context.Context, httpServerURL string, api *core.ContractAPI, waitConfirm bool) error
DefineContractAPI provides a mock function with given fields: ctx, httpServerURL, api, waitConfirm
func (*Sender) DefineDatatype ¶ added in v1.1.0
func (_m *Sender) DefineDatatype(ctx context.Context, datatype *core.Datatype, waitConfirm bool) error
DefineDatatype provides a mock function with given fields: ctx, datatype, waitConfirm
func (*Sender) DefineFFI ¶ added in v1.1.0
DefineFFI provides a mock function with given fields: ctx, ffi, waitConfirm
func (*Sender) DefineTokenPool ¶ added in v1.1.0
func (_m *Sender) DefineTokenPool(ctx context.Context, pool *core.TokenPool, waitConfirm bool) error
DefineTokenPool provides a mock function with given fields: ctx, pool, waitConfirm
func (*Sender) PublishContractAPI ¶ added in v1.3.0
func (_m *Sender) PublishContractAPI(ctx context.Context, httpServerURL string, name string, networkName string, waitConfirm bool) (*core.ContractAPI, error)
PublishContractAPI provides a mock function with given fields: ctx, httpServerURL, name, networkName, waitConfirm
func (*Sender) PublishFFI ¶ added in v1.3.0
func (_m *Sender) PublishFFI(ctx context.Context, name string, version string, networkName string, waitConfirm bool) (*fftypes.FFI, error)
PublishFFI provides a mock function with given fields: ctx, name, version, networkName, waitConfirm
func (*Sender) PublishTokenPool ¶ added in v1.3.0
func (_m *Sender) PublishTokenPool(ctx context.Context, poolNameOrID string, networkName string, waitConfirm bool) (*core.TokenPool, error)
PublishTokenPool provides a mock function with given fields: ctx, poolNameOrID, networkName, waitConfirm
func (*Sender) UpdateIdentity ¶ added in v1.1.0
func (_m *Sender) UpdateIdentity(ctx context.Context, identity *core.Identity, def *core.IdentityUpdate, signingIdentity *core.SignerRef, waitConfirm bool) error
UpdateIdentity provides a mock function with given fields: ctx, identity, def, signingIdentity, waitConfirm