Documentation
¶
Index ¶
- type Submitter
- type Submitter_Expecter
- type Submitter_Submit_Call
- func (_c *Submitter_Submit_Call) Return() *Submitter_Submit_Call
- func (_c *Submitter_Submit_Call) Run(run func(start time.Time, name string, messages *types.Payload)) *Submitter_Submit_Call
- func (_c *Submitter_Submit_Call) RunAndReturn(run func(time.Time, string, *types.Payload)) *Submitter_Submit_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Submitter ¶
Submitter is an autogenerated mock type for the Submitter type
func NewSubmitter ¶
NewSubmitter creates a new instance of Submitter. 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 (*Submitter) EXPECT ¶
func (_m *Submitter) EXPECT() *Submitter_Expecter
type Submitter_Expecter ¶
type Submitter_Expecter struct {
// contains filtered or unexported fields
}
func (*Submitter_Expecter) Submit ¶
func (_e *Submitter_Expecter) Submit(start interface{}, name interface{}, messages interface{}) *Submitter_Submit_Call
Submit is a helper method to define mock.On call
- start time.Time
- name string
- messages *types.Payload
type Submitter_Submit_Call ¶
Submitter_Submit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Submit'
func (*Submitter_Submit_Call) Return ¶
func (_c *Submitter_Submit_Call) Return() *Submitter_Submit_Call
func (*Submitter_Submit_Call) Run ¶
func (_c *Submitter_Submit_Call) Run(run func(start time.Time, name string, messages *types.Payload)) *Submitter_Submit_Call
func (*Submitter_Submit_Call) RunAndReturn ¶
func (_c *Submitter_Submit_Call) RunAndReturn(run func(time.Time, string, *types.Payload)) *Submitter_Submit_Call
Click to show internal directories.
Click to hide internal directories.