Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PagerDutyCaller ¶
PagerDutyCaller is an autogenerated mock type for the PagerDutyCaller type
func NewPagerDutyCaller ¶
func NewPagerDutyCaller(t mockConstructorTestingTNewPagerDutyCaller) *PagerDutyCaller
NewPagerDutyCaller creates a new instance of PagerDutyCaller. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*PagerDutyCaller) EXPECT ¶
func (_m *PagerDutyCaller) EXPECT() *PagerDutyCaller_Expecter
type PagerDutyCaller_Expecter ¶
type PagerDutyCaller_Expecter struct {
// contains filtered or unexported fields
}
func (*PagerDutyCaller_Expecter) NotifyV1 ¶
func (_e *PagerDutyCaller_Expecter) NotifyV1(ctx interface{}, message interface{}) *PagerDutyCaller_NotifyV1_Call
NotifyV1 is a helper method to define mock.On call
- ctx context.Context
- message pagerduty.MessageV1
type PagerDutyCaller_NotifyV1_Call ¶
PagerDutyCaller_NotifyV1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NotifyV1'
func (*PagerDutyCaller_NotifyV1_Call) Return ¶
func (_c *PagerDutyCaller_NotifyV1_Call) Return(_a0 error) *PagerDutyCaller_NotifyV1_Call
func (*PagerDutyCaller_NotifyV1_Call) Run ¶
func (_c *PagerDutyCaller_NotifyV1_Call) Run(run func(ctx context.Context, message pagerduty.MessageV1)) *PagerDutyCaller_NotifyV1_Call
Click to show internal directories.
Click to hide internal directories.