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