Documentation ¶
Index ¶
- type Sequencer
- type Sequencer_Expecter
- type Sequencer_Sequence_Call
- func (_c *Sequencer_Sequence_Call) Return(_a0 *api.MessageRecord[messaging.Message], _a1 error) *Sequencer_Sequence_Call
- func (_c *Sequencer_Sequence_Call) Run(run func(ctx context.Context, src *url.URL, dst *url.URL, num uint64, ...)) *Sequencer_Sequence_Call
- func (_c *Sequencer_Sequence_Call) RunAndReturn(...) *Sequencer_Sequence_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sequencer ¶
Sequencer is an autogenerated mock type for the Sequencer type
func NewSequencer ¶
func NewSequencer(t mockConstructorTestingTNewSequencer) *Sequencer
NewSequencer creates a new instance of Sequencer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Sequencer) EXPECT ¶
func (_m *Sequencer) EXPECT() *Sequencer_Expecter
type Sequencer_Expecter ¶
type Sequencer_Expecter struct {
// contains filtered or unexported fields
}
func (*Sequencer_Expecter) Sequence ¶
func (_e *Sequencer_Expecter) Sequence(ctx interface{}, src interface{}, dst interface{}, num interface{}, opts interface{}) *Sequencer_Sequence_Call
Sequence is a helper method to define mock.On call
- ctx context.Context
- src *url.URL
- dst *url.URL
- num uint64
- opts private.SequenceOptions
type Sequencer_Sequence_Call ¶
Sequencer_Sequence_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Sequence'
func (*Sequencer_Sequence_Call) Return ¶
func (_c *Sequencer_Sequence_Call) Return(_a0 *api.MessageRecord[messaging.Message], _a1 error) *Sequencer_Sequence_Call
func (*Sequencer_Sequence_Call) Run ¶
func (_c *Sequencer_Sequence_Call) Run(run func(ctx context.Context, src *url.URL, dst *url.URL, num uint64, opts private.SequenceOptions)) *Sequencer_Sequence_Call
func (*Sequencer_Sequence_Call) RunAndReturn ¶
func (_c *Sequencer_Sequence_Call) RunAndReturn(run func(context.Context, *url.URL, *url.URL, uint64, private.SequenceOptions) (*api.MessageRecord[messaging.Message], error)) *Sequencer_Sequence_Call
Click to show internal directories.
Click to hide internal directories.