definitionsmocks

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler added in v1.1.0

type Handler struct {
	mock.Mock
}

Handler is an autogenerated mock type for the Handler type

func NewHandler added in v1.1.2

func NewHandler(t interface {
	mock.TestingT
	Cleanup(func())
}) *Handler

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

type Sender struct {
	mock.Mock
}

Sender is an autogenerated mock type for the Sender type

func NewSender added in v1.1.2

func NewSender(t interface {
	mock.TestingT
	Cleanup(func())
}) *Sender

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

func (_m *Sender) DefineFFI(ctx context.Context, ffi *fftypes.FFI, waitConfirm bool) error

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) Name added in v1.1.0

func (_m *Sender) Name() string

Name provides a mock function with given fields:

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

Jump to

Keyboard shortcuts

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