Documentation ¶
Index ¶
- type Queuer
- func (_m *Queuer) AddEvidence(ctx types.Context, id uint64, evidence *consensustypes.Evidence) error
- func (_m *Queuer) AddSignature(ctx types.Context, id uint64, signData *consensustypes.SignData) error
- func (_m *Queuer) ChainInfo() (string, string)
- func (_m *Queuer) GetAll(_a0 types.Context) ([]consensustypes.QueuedSignedMessageI, error)
- func (_m *Queuer) GetMsgByID(ctx types.Context, id uint64) (consensustypes.QueuedSignedMessageI, error)
- func (_m *Queuer) GetPublicAccessData(ctx types.Context, id uint64) (*consensustypes.PublicAccessData, error)
- func (_m *Queuer) Put(_a0 types.Context, _a1 consensustypes.ConsensusMsg, _a2 *consensus.PutOptions) (uint64, error)
- func (_m *Queuer) Remove(_a0 types.Context, _a1 uint64) error
- func (_m *Queuer) SetPublicAccessData(ctx types.Context, id uint64, data *consensustypes.PublicAccessData) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Queuer ¶
Queuer is an autogenerated mock type for the Queuer type
func NewQueuer ¶
func NewQueuer(t mockConstructorTestingTNewQueuer) *Queuer
NewQueuer creates a new instance of Queuer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Queuer) AddEvidence ¶
func (_m *Queuer) AddEvidence(ctx types.Context, id uint64, evidence *consensustypes.Evidence) error
AddEvidence provides a mock function with given fields: ctx, id, evidence
func (*Queuer) AddSignature ¶
func (_m *Queuer) AddSignature(ctx types.Context, id uint64, signData *consensustypes.SignData) error
AddSignature provides a mock function with given fields: ctx, id, signData
func (*Queuer) GetAll ¶
func (_m *Queuer) GetAll(_a0 types.Context) ([]consensustypes.QueuedSignedMessageI, error)
GetAll provides a mock function with given fields: _a0
func (*Queuer) GetMsgByID ¶
func (_m *Queuer) GetMsgByID(ctx types.Context, id uint64) (consensustypes.QueuedSignedMessageI, error)
GetMsgByID provides a mock function with given fields: ctx, id
func (*Queuer) GetPublicAccessData ¶
func (_m *Queuer) GetPublicAccessData(ctx types.Context, id uint64) (*consensustypes.PublicAccessData, error)
GetPublicAccessData provides a mock function with given fields: ctx, id
func (*Queuer) Put ¶
func (_m *Queuer) Put(_a0 types.Context, _a1 consensustypes.ConsensusMsg, _a2 *consensus.PutOptions) (uint64, error)
Put provides a mock function with given fields: _a0, _a1, _a2
func (*Queuer) SetPublicAccessData ¶
func (_m *Queuer) SetPublicAccessData(ctx types.Context, id uint64, data *consensustypes.PublicAccessData) error
SetPublicAccessData provides a mock function with given fields: ctx, id, data