payerreport

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIPayerReportStore

type MockIPayerReportStore struct {
	mock.Mock
}

MockIPayerReportStore is an autogenerated mock type for the IPayerReportStore type

func NewMockIPayerReportStore

func NewMockIPayerReportStore(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockIPayerReportStore

NewMockIPayerReportStore creates a new instance of MockIPayerReportStore. 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 (*MockIPayerReportStore) CreateAttestation

func (_m *MockIPayerReportStore) CreateAttestation(ctx context.Context, attestation *payerreport.PayerReportAttestation, payerEnvelope *envelopes.PayerEnvelope) error

CreateAttestation provides a mock function with given fields: ctx, attestation, payerEnvelope

func (*MockIPayerReportStore) CreatePayerReport

func (_m *MockIPayerReportStore) CreatePayerReport(ctx context.Context, report *payerreport.PayerReport, payerEnvelope *envelopes.PayerEnvelope) (*payerreport.ReportID, error)

CreatePayerReport provides a mock function with given fields: ctx, report, payerEnvelope

func (*MockIPayerReportStore) EXPECT

func (*MockIPayerReportStore) FetchReport

FetchReport provides a mock function with given fields: ctx, id

func (*MockIPayerReportStore) FetchReports

FetchReports provides a mock function with given fields: ctx, query

func (*MockIPayerReportStore) ForceSetReportSubmitted added in v1.0.0

func (_m *MockIPayerReportStore) ForceSetReportSubmitted(ctx context.Context, id payerreport.ReportID, reportIndex int32) error

ForceSetReportSubmitted provides a mock function with given fields: ctx, id, reportIndex

func (*MockIPayerReportStore) GetAdvisoryLocker added in v1.0.0

GetAdvisoryLocker provides a mock function with given fields: ctx

func (*MockIPayerReportStore) GetLatestSequenceID added in v1.0.0

func (_m *MockIPayerReportStore) GetLatestSequenceID(ctx context.Context, originatorNodeID int32) (int64, error)

GetLatestSequenceID provides a mock function with given fields: ctx, originatorNodeID

func (*MockIPayerReportStore) Queries

func (_m *MockIPayerReportStore) Queries() *queries.Queries

Queries provides a mock function with no fields

func (*MockIPayerReportStore) SetReportAttestationApproved added in v0.5.1

func (_m *MockIPayerReportStore) SetReportAttestationApproved(ctx context.Context, id payerreport.ReportID) error

SetReportAttestationApproved provides a mock function with given fields: ctx, id

func (*MockIPayerReportStore) SetReportAttestationRejected added in v0.5.1

func (_m *MockIPayerReportStore) SetReportAttestationRejected(ctx context.Context, id payerreport.ReportID) error

SetReportAttestationRejected provides a mock function with given fields: ctx, id

func (*MockIPayerReportStore) SetReportSettled added in v0.5.1

func (_m *MockIPayerReportStore) SetReportSettled(ctx context.Context, id payerreport.ReportID) error

SetReportSettled provides a mock function with given fields: ctx, id

func (*MockIPayerReportStore) SetReportSubmissionRejected added in v1.0.0

func (_m *MockIPayerReportStore) SetReportSubmissionRejected(ctx context.Context, id payerreport.ReportID) error

SetReportSubmissionRejected provides a mock function with given fields: ctx, id

func (*MockIPayerReportStore) SetReportSubmitted added in v0.5.1

func (_m *MockIPayerReportStore) SetReportSubmitted(ctx context.Context, id payerreport.ReportID, reportIndex int32) error

SetReportSubmitted provides a mock function with given fields: ctx, id, reportIndex

func (*MockIPayerReportStore) StoreReport added in v0.5.1

func (_m *MockIPayerReportStore) StoreReport(ctx context.Context, report *payerreport.PayerReport) (int64, error)

StoreReport provides a mock function with given fields: ctx, report

func (*MockIPayerReportStore) StoreSyncedAttestation

func (_m *MockIPayerReportStore) StoreSyncedAttestation(ctx context.Context, envelope *envelopes.OriginatorEnvelope, payerID int32) error

StoreSyncedAttestation provides a mock function with given fields: ctx, envelope, payerID

func (*MockIPayerReportStore) StoreSyncedReport

func (_m *MockIPayerReportStore) StoreSyncedReport(ctx context.Context, envelope *envelopes.OriginatorEnvelope, payerID int32, domainSeparator common.Hash) error

StoreSyncedReport provides a mock function with given fields: ctx, envelope, payerID, domainSeparator

type MockIPayerReportStore_CreateAttestation_Call

type MockIPayerReportStore_CreateAttestation_Call struct {
	*mock.Call
}

MockIPayerReportStore_CreateAttestation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateAttestation'

func (*MockIPayerReportStore_CreateAttestation_Call) Return

func (*MockIPayerReportStore_CreateAttestation_Call) Run

type MockIPayerReportStore_CreatePayerReport_Call

type MockIPayerReportStore_CreatePayerReport_Call struct {
	*mock.Call
}

MockIPayerReportStore_CreatePayerReport_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreatePayerReport'

func (*MockIPayerReportStore_CreatePayerReport_Call) Return

func (*MockIPayerReportStore_CreatePayerReport_Call) Run

type MockIPayerReportStore_Expecter

type MockIPayerReportStore_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockIPayerReportStore_Expecter) CreateAttestation

func (_e *MockIPayerReportStore_Expecter) CreateAttestation(ctx interface{}, attestation interface{}, payerEnvelope interface{}) *MockIPayerReportStore_CreateAttestation_Call

CreateAttestation is a helper method to define mock.On call

  • ctx context.Context
  • attestation *payerreport.PayerReportAttestation
  • payerEnvelope *envelopes.PayerEnvelope

func (*MockIPayerReportStore_Expecter) CreatePayerReport

func (_e *MockIPayerReportStore_Expecter) CreatePayerReport(ctx interface{}, report interface{}, payerEnvelope interface{}) *MockIPayerReportStore_CreatePayerReport_Call

CreatePayerReport is a helper method to define mock.On call

  • ctx context.Context
  • report *payerreport.PayerReport
  • payerEnvelope *envelopes.PayerEnvelope

func (*MockIPayerReportStore_Expecter) FetchReport

func (_e *MockIPayerReportStore_Expecter) FetchReport(ctx interface{}, id interface{}) *MockIPayerReportStore_FetchReport_Call

FetchReport is a helper method to define mock.On call

  • ctx context.Context
  • id payerreport.ReportID

func (*MockIPayerReportStore_Expecter) FetchReports

func (_e *MockIPayerReportStore_Expecter) FetchReports(ctx interface{}, query interface{}) *MockIPayerReportStore_FetchReports_Call

FetchReports is a helper method to define mock.On call

  • ctx context.Context
  • query *payerreport.FetchReportsQuery

func (*MockIPayerReportStore_Expecter) ForceSetReportSubmitted added in v1.0.0

func (_e *MockIPayerReportStore_Expecter) ForceSetReportSubmitted(ctx interface{}, id interface{}, reportIndex interface{}) *MockIPayerReportStore_ForceSetReportSubmitted_Call

ForceSetReportSubmitted is a helper method to define mock.On call

  • ctx context.Context
  • id payerreport.ReportID
  • reportIndex int32

func (*MockIPayerReportStore_Expecter) GetAdvisoryLocker added in v1.0.0

func (_e *MockIPayerReportStore_Expecter) GetAdvisoryLocker(ctx interface{}) *MockIPayerReportStore_GetAdvisoryLocker_Call

GetAdvisoryLocker is a helper method to define mock.On call

  • ctx context.Context

func (*MockIPayerReportStore_Expecter) GetLatestSequenceID added in v1.0.0

func (_e *MockIPayerReportStore_Expecter) GetLatestSequenceID(ctx interface{}, originatorNodeID interface{}) *MockIPayerReportStore_GetLatestSequenceID_Call

GetLatestSequenceID is a helper method to define mock.On call

  • ctx context.Context
  • originatorNodeID int32

func (*MockIPayerReportStore_Expecter) Queries

Queries is a helper method to define mock.On call

func (*MockIPayerReportStore_Expecter) SetReportAttestationApproved added in v0.5.1

func (_e *MockIPayerReportStore_Expecter) SetReportAttestationApproved(ctx interface{}, id interface{}) *MockIPayerReportStore_SetReportAttestationApproved_Call

SetReportAttestationApproved is a helper method to define mock.On call

  • ctx context.Context
  • id payerreport.ReportID

func (*MockIPayerReportStore_Expecter) SetReportAttestationRejected added in v0.5.1

func (_e *MockIPayerReportStore_Expecter) SetReportAttestationRejected(ctx interface{}, id interface{}) *MockIPayerReportStore_SetReportAttestationRejected_Call

SetReportAttestationRejected is a helper method to define mock.On call

  • ctx context.Context
  • id payerreport.ReportID

func (*MockIPayerReportStore_Expecter) SetReportSettled added in v0.5.1

func (_e *MockIPayerReportStore_Expecter) SetReportSettled(ctx interface{}, id interface{}) *MockIPayerReportStore_SetReportSettled_Call

SetReportSettled is a helper method to define mock.On call

  • ctx context.Context
  • id payerreport.ReportID

func (*MockIPayerReportStore_Expecter) SetReportSubmissionRejected added in v1.0.0

func (_e *MockIPayerReportStore_Expecter) SetReportSubmissionRejected(ctx interface{}, id interface{}) *MockIPayerReportStore_SetReportSubmissionRejected_Call

SetReportSubmissionRejected is a helper method to define mock.On call

  • ctx context.Context
  • id payerreport.ReportID

func (*MockIPayerReportStore_Expecter) SetReportSubmitted added in v0.5.1

func (_e *MockIPayerReportStore_Expecter) SetReportSubmitted(ctx interface{}, id interface{}, reportIndex interface{}) *MockIPayerReportStore_SetReportSubmitted_Call

SetReportSubmitted is a helper method to define mock.On call

  • ctx context.Context
  • id payerreport.ReportID
  • reportIndex int32

func (*MockIPayerReportStore_Expecter) StoreReport added in v0.5.1

func (_e *MockIPayerReportStore_Expecter) StoreReport(ctx interface{}, report interface{}) *MockIPayerReportStore_StoreReport_Call

StoreReport is a helper method to define mock.On call

  • ctx context.Context
  • report *payerreport.PayerReport

func (*MockIPayerReportStore_Expecter) StoreSyncedAttestation

func (_e *MockIPayerReportStore_Expecter) StoreSyncedAttestation(ctx interface{}, envelope interface{}, payerID interface{}) *MockIPayerReportStore_StoreSyncedAttestation_Call

StoreSyncedAttestation is a helper method to define mock.On call

  • ctx context.Context
  • envelope *envelopes.OriginatorEnvelope
  • payerID int32

func (*MockIPayerReportStore_Expecter) StoreSyncedReport

func (_e *MockIPayerReportStore_Expecter) StoreSyncedReport(ctx interface{}, envelope interface{}, payerID interface{}, domainSeparator interface{}) *MockIPayerReportStore_StoreSyncedReport_Call

StoreSyncedReport is a helper method to define mock.On call

  • ctx context.Context
  • envelope *envelopes.OriginatorEnvelope
  • payerID int32
  • domainSeparator common.Hash

type MockIPayerReportStore_FetchReport_Call

type MockIPayerReportStore_FetchReport_Call struct {
	*mock.Call
}

MockIPayerReportStore_FetchReport_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FetchReport'

func (*MockIPayerReportStore_FetchReport_Call) Return

func (*MockIPayerReportStore_FetchReport_Call) Run

type MockIPayerReportStore_FetchReports_Call

type MockIPayerReportStore_FetchReports_Call struct {
	*mock.Call
}

MockIPayerReportStore_FetchReports_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FetchReports'

func (*MockIPayerReportStore_FetchReports_Call) Return

func (*MockIPayerReportStore_FetchReports_Call) Run

type MockIPayerReportStore_ForceSetReportSubmitted_Call added in v1.0.0

type MockIPayerReportStore_ForceSetReportSubmitted_Call struct {
	*mock.Call
}

MockIPayerReportStore_ForceSetReportSubmitted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ForceSetReportSubmitted'

func (*MockIPayerReportStore_ForceSetReportSubmitted_Call) Return added in v1.0.0

func (*MockIPayerReportStore_ForceSetReportSubmitted_Call) Run added in v1.0.0

func (*MockIPayerReportStore_ForceSetReportSubmitted_Call) RunAndReturn added in v1.0.0

type MockIPayerReportStore_GetAdvisoryLocker_Call added in v1.0.0

type MockIPayerReportStore_GetAdvisoryLocker_Call struct {
	*mock.Call
}

MockIPayerReportStore_GetAdvisoryLocker_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAdvisoryLocker'

func (*MockIPayerReportStore_GetAdvisoryLocker_Call) Return added in v1.0.0

func (*MockIPayerReportStore_GetAdvisoryLocker_Call) Run added in v1.0.0

func (*MockIPayerReportStore_GetAdvisoryLocker_Call) RunAndReturn added in v1.0.0

type MockIPayerReportStore_GetLatestSequenceID_Call added in v1.0.0

type MockIPayerReportStore_GetLatestSequenceID_Call struct {
	*mock.Call
}

MockIPayerReportStore_GetLatestSequenceID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLatestSequenceID'

func (*MockIPayerReportStore_GetLatestSequenceID_Call) Return added in v1.0.0

func (*MockIPayerReportStore_GetLatestSequenceID_Call) Run added in v1.0.0

func (*MockIPayerReportStore_GetLatestSequenceID_Call) RunAndReturn added in v1.0.0

type MockIPayerReportStore_Queries_Call

type MockIPayerReportStore_Queries_Call struct {
	*mock.Call
}

MockIPayerReportStore_Queries_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Queries'

func (*MockIPayerReportStore_Queries_Call) Return

func (*MockIPayerReportStore_Queries_Call) Run

func (*MockIPayerReportStore_Queries_Call) RunAndReturn

type MockIPayerReportStore_SetReportAttestationApproved_Call added in v0.5.1

type MockIPayerReportStore_SetReportAttestationApproved_Call struct {
	*mock.Call
}

MockIPayerReportStore_SetReportAttestationApproved_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetReportAttestationApproved'

func (*MockIPayerReportStore_SetReportAttestationApproved_Call) Return added in v0.5.1

func (*MockIPayerReportStore_SetReportAttestationApproved_Call) Run added in v0.5.1

func (*MockIPayerReportStore_SetReportAttestationApproved_Call) RunAndReturn added in v0.5.1

type MockIPayerReportStore_SetReportAttestationRejected_Call added in v0.5.1

type MockIPayerReportStore_SetReportAttestationRejected_Call struct {
	*mock.Call
}

MockIPayerReportStore_SetReportAttestationRejected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetReportAttestationRejected'

func (*MockIPayerReportStore_SetReportAttestationRejected_Call) Return added in v0.5.1

func (*MockIPayerReportStore_SetReportAttestationRejected_Call) Run added in v0.5.1

func (*MockIPayerReportStore_SetReportAttestationRejected_Call) RunAndReturn added in v0.5.1

type MockIPayerReportStore_SetReportSettled_Call added in v0.5.1

type MockIPayerReportStore_SetReportSettled_Call struct {
	*mock.Call
}

MockIPayerReportStore_SetReportSettled_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetReportSettled'

func (*MockIPayerReportStore_SetReportSettled_Call) Return added in v0.5.1

func (*MockIPayerReportStore_SetReportSettled_Call) Run added in v0.5.1

func (*MockIPayerReportStore_SetReportSettled_Call) RunAndReturn added in v0.5.1

type MockIPayerReportStore_SetReportSubmissionRejected_Call added in v1.0.0

type MockIPayerReportStore_SetReportSubmissionRejected_Call struct {
	*mock.Call
}

MockIPayerReportStore_SetReportSubmissionRejected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetReportSubmissionRejected'

func (*MockIPayerReportStore_SetReportSubmissionRejected_Call) Return added in v1.0.0

func (*MockIPayerReportStore_SetReportSubmissionRejected_Call) Run added in v1.0.0

func (*MockIPayerReportStore_SetReportSubmissionRejected_Call) RunAndReturn added in v1.0.0

type MockIPayerReportStore_SetReportSubmitted_Call added in v0.5.1

type MockIPayerReportStore_SetReportSubmitted_Call struct {
	*mock.Call
}

MockIPayerReportStore_SetReportSubmitted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetReportSubmitted'

func (*MockIPayerReportStore_SetReportSubmitted_Call) Return added in v0.5.1

func (*MockIPayerReportStore_SetReportSubmitted_Call) Run added in v0.5.1

func (*MockIPayerReportStore_SetReportSubmitted_Call) RunAndReturn added in v0.5.1

type MockIPayerReportStore_StoreReport_Call added in v0.5.1

type MockIPayerReportStore_StoreReport_Call struct {
	*mock.Call
}

MockIPayerReportStore_StoreReport_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StoreReport'

func (*MockIPayerReportStore_StoreReport_Call) Return added in v0.5.1

func (*MockIPayerReportStore_StoreReport_Call) Run added in v0.5.1

func (*MockIPayerReportStore_StoreReport_Call) RunAndReturn added in v0.5.1

type MockIPayerReportStore_StoreSyncedAttestation_Call

type MockIPayerReportStore_StoreSyncedAttestation_Call struct {
	*mock.Call
}

MockIPayerReportStore_StoreSyncedAttestation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StoreSyncedAttestation'

func (*MockIPayerReportStore_StoreSyncedAttestation_Call) Return

func (*MockIPayerReportStore_StoreSyncedAttestation_Call) Run

type MockIPayerReportStore_StoreSyncedReport_Call

type MockIPayerReportStore_StoreSyncedReport_Call struct {
	*mock.Call
}

MockIPayerReportStore_StoreSyncedReport_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StoreSyncedReport'

func (*MockIPayerReportStore_StoreSyncedReport_Call) Return

func (*MockIPayerReportStore_StoreSyncedReport_Call) Run

type MockIPayerReportVerifier

type MockIPayerReportVerifier struct {
	mock.Mock
}

MockIPayerReportVerifier is an autogenerated mock type for the IPayerReportVerifier type

func NewMockIPayerReportVerifier

func NewMockIPayerReportVerifier(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockIPayerReportVerifier

NewMockIPayerReportVerifier creates a new instance of MockIPayerReportVerifier. 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 (*MockIPayerReportVerifier) EXPECT

func (*MockIPayerReportVerifier) GetPayerMap added in v1.0.0

GetPayerMap provides a mock function with given fields: ctx, report

func (*MockIPayerReportVerifier) VerifyReport added in v1.0.0

VerifyReport provides a mock function with given fields: ctx, prevReport, newReport

type MockIPayerReportVerifier_Expecter

type MockIPayerReportVerifier_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockIPayerReportVerifier_Expecter) GetPayerMap added in v1.0.0

func (_e *MockIPayerReportVerifier_Expecter) GetPayerMap(ctx interface{}, report interface{}) *MockIPayerReportVerifier_GetPayerMap_Call

GetPayerMap is a helper method to define mock.On call

  • ctx context.Context
  • report *payerreport.PayerReport

func (*MockIPayerReportVerifier_Expecter) VerifyReport added in v1.0.0

func (_e *MockIPayerReportVerifier_Expecter) VerifyReport(ctx interface{}, prevReport interface{}, newReport interface{}) *MockIPayerReportVerifier_VerifyReport_Call

VerifyReport is a helper method to define mock.On call

  • ctx context.Context
  • prevReport *payerreport.PayerReport
  • newReport *payerreport.PayerReport

type MockIPayerReportVerifier_GetPayerMap_Call added in v1.0.0

type MockIPayerReportVerifier_GetPayerMap_Call struct {
	*mock.Call
}

MockIPayerReportVerifier_GetPayerMap_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPayerMap'

func (*MockIPayerReportVerifier_GetPayerMap_Call) Return added in v1.0.0

func (*MockIPayerReportVerifier_GetPayerMap_Call) Run added in v1.0.0

func (*MockIPayerReportVerifier_GetPayerMap_Call) RunAndReturn added in v1.0.0

type MockIPayerReportVerifier_VerifyReport_Call added in v1.0.0

type MockIPayerReportVerifier_VerifyReport_Call struct {
	*mock.Call
}

MockIPayerReportVerifier_VerifyReport_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VerifyReport'

func (*MockIPayerReportVerifier_VerifyReport_Call) Return added in v1.0.0

func (*MockIPayerReportVerifier_VerifyReport_Call) Run added in v1.0.0

Jump to

Keyboard shortcuts

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