mocks

package
v1.9.4 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 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 Processor

type Processor struct {
	mock.Mock
}

Processor is an autogenerated mock type for the Processor type

func NewProcessor

func NewProcessor(t interface {
	mock.TestingT
	Cleanup(func())
},
) *Processor

NewProcessor creates a new instance of Processor. 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 (*Processor) ExternalAccount

func (_m *Processor) ExternalAccount() chain.ExternalAccount

ExternalAccount provides a mock function with given fields:

func (*Processor) GetBatchSendEvents added in v1.8.0

func (_m *Processor) GetBatchSendEvents(_a0 context.Context, _a1 string) ([]chain.BatchSendEvent, error)

GetBatchSendEvents provides a mock function with given fields: _a0, _a1

func (*Processor) GetChainReferenceID added in v1.5.5

func (_m *Processor) GetChainReferenceID() string

GetChainReferenceID provides a mock function with given fields:

func (*Processor) GetSendToPalomaEvents added in v1.8.0

func (_m *Processor) GetSendToPalomaEvents(_a0 context.Context, _a1 string) ([]chain.SendToPalomaEvent, error)

GetSendToPalomaEvents provides a mock function with given fields: _a0, _a1

func (*Processor) GravityRelayBatches added in v1.8.0

func (_m *Processor) GravityRelayBatches(_a0 context.Context, _a1 []chain.GravityBatchWithSignatures) error

GravityRelayBatches provides a mock function with given fields: _a0, _a1

func (*Processor) GravitySignBatches added in v1.8.0

func (_m *Processor) GravitySignBatches(_a0 context.Context, _a1 ...types.OutgoingTxBatch) ([]chain.SignedGravityOutgoingTxBatch, error)

GravitySignBatches provides a mock function with given fields: _a0, _a1

func (*Processor) HealthCheck added in v0.7.0

func (_m *Processor) HealthCheck(ctx context.Context) error

HealthCheck provides a mock function with given fields: ctx

func (*Processor) IsRightChain

func (_m *Processor) IsRightChain(ctx context.Context) error

IsRightChain provides a mock function with given fields: ctx

func (*Processor) ProcessMessages

func (_m *Processor) ProcessMessages(_a0 context.Context, _a1 queue.TypeName, _a2 []chain.MessageWithSignatures) error

ProcessMessages provides a mock function with given fields: _a0, _a1, _a2

func (*Processor) ProvideEvidence added in v0.4.0

func (_m *Processor) ProvideEvidence(_a0 context.Context, _a1 queue.TypeName, _a2 []chain.MessageWithSignatures) error

ProvideEvidence provides a mock function with given fields: _a0, _a1, _a2

func (*Processor) SignMessages

func (_m *Processor) SignMessages(ctx context.Context, messages ...chain.QueuedMessage) ([]chain.SignedQueuedMessage, error)

SignMessages provides a mock function with given fields: ctx, messages

func (*Processor) SubmitBatchSendToEthClaims added in v1.8.0

func (_m *Processor) SubmitBatchSendToEthClaims(_a0 context.Context, _a1 []chain.BatchSendEvent, _a2 string) error

SubmitBatchSendToEthClaims provides a mock function with given fields: _a0, _a1, _a2

func (*Processor) SubmitSendToPalomaClaims added in v1.8.0

func (_m *Processor) SubmitSendToPalomaClaims(_a0 context.Context, _a1 []chain.SendToPalomaEvent, _a2 string) error

SubmitSendToPalomaClaims provides a mock function with given fields: _a0, _a1, _a2

func (*Processor) SupportedQueues

func (_m *Processor) SupportedQueues() []string

SupportedQueues provides a mock function with given fields:

Jump to

Keyboard shortcuts

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