Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeNotifier
- func (fake *FakeNotifier) Creator(arg1 map[string]interface{}, arg2 config.BaseInfo) (notifiers.Notifier, error)
- func (fake *FakeNotifier) CreatorArgsForCall(i int) (map[string]interface{}, config.BaseInfo)
- func (fake *FakeNotifier) CreatorCallCount() int
- func (fake *FakeNotifier) CreatorCalls(stub func(map[string]interface{}, config.BaseInfo) (notifiers.Notifier, error))
- func (fake *FakeNotifier) CreatorReturns(result1 notifiers.Notifier, result2 error)
- func (fake *FakeNotifier) CreatorReturnsOnCall(i int, result1 notifiers.Notifier, result2 error)
- func (fake *FakeNotifier) Id() string
- func (fake *FakeNotifier) IdCallCount() int
- func (fake *FakeNotifier) IdCalls(stub func() string)
- func (fake *FakeNotifier) IdReturns(result1 string)
- func (fake *FakeNotifier) IdReturnsOnCall(i int, result1 string)
- func (fake *FakeNotifier) Invocations() map[string][][]interface{}
- func (fake *FakeNotifier) Name() string
- func (fake *FakeNotifier) NameCallCount() int
- func (fake *FakeNotifier) NameCalls(stub func() string)
- func (fake *FakeNotifier) NameReturns(result1 string)
- func (fake *FakeNotifier) NameReturnsOnCall(i int, result1 string)
- func (fake *FakeNotifier) Notify(arg1 models.Incident) error
- func (fake *FakeNotifier) NotifyArgsForCall(i int) models.Incident
- func (fake *FakeNotifier) NotifyCallCount() int
- func (fake *FakeNotifier) NotifyCalls(stub func(models.Incident) error)
- func (fake *FakeNotifier) NotifyReturns(result1 error)
- func (fake *FakeNotifier) NotifyReturnsOnCall(i int, result1 error)
- type FakeNotifierSubscriber
- func (fake *FakeNotifierSubscriber) Invocations() map[string][][]interface{}
- func (fake *FakeNotifierSubscriber) NotifySubscriber(arg1 models.Incident, arg2 []string) error
- func (fake *FakeNotifierSubscriber) NotifySubscriberArgsForCall(i int) (models.Incident, []string)
- func (fake *FakeNotifierSubscriber) NotifySubscriberCallCount() int
- func (fake *FakeNotifierSubscriber) NotifySubscriberCalls(stub func(models.Incident, []string) error)
- func (fake *FakeNotifierSubscriber) NotifySubscriberReturns(result1 error)
- func (fake *FakeNotifierSubscriber) NotifySubscriberReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeNotifier ¶
type FakeNotifier struct { CreatorStub func(map[string]interface{}, config.BaseInfo) (notifiers.Notifier, error) IdStub func() string NameStub func() string NotifyStub func(models.Incident) error // contains filtered or unexported fields }
func (*FakeNotifier) CreatorArgsForCall ¶
func (fake *FakeNotifier) CreatorArgsForCall(i int) (map[string]interface{}, config.BaseInfo)
func (*FakeNotifier) CreatorCallCount ¶
func (fake *FakeNotifier) CreatorCallCount() int
func (*FakeNotifier) CreatorCalls ¶
func (*FakeNotifier) CreatorReturns ¶
func (fake *FakeNotifier) CreatorReturns(result1 notifiers.Notifier, result2 error)
func (*FakeNotifier) CreatorReturnsOnCall ¶
func (fake *FakeNotifier) CreatorReturnsOnCall(i int, result1 notifiers.Notifier, result2 error)
func (*FakeNotifier) Id ¶
func (fake *FakeNotifier) Id() string
func (*FakeNotifier) IdCallCount ¶
func (fake *FakeNotifier) IdCallCount() int
func (*FakeNotifier) IdCalls ¶
func (fake *FakeNotifier) IdCalls(stub func() string)
func (*FakeNotifier) IdReturns ¶
func (fake *FakeNotifier) IdReturns(result1 string)
func (*FakeNotifier) IdReturnsOnCall ¶
func (fake *FakeNotifier) IdReturnsOnCall(i int, result1 string)
func (*FakeNotifier) Invocations ¶
func (fake *FakeNotifier) Invocations() map[string][][]interface{}
func (*FakeNotifier) Name ¶
func (fake *FakeNotifier) Name() string
func (*FakeNotifier) NameCallCount ¶
func (fake *FakeNotifier) NameCallCount() int
func (*FakeNotifier) NameCalls ¶
func (fake *FakeNotifier) NameCalls(stub func() string)
func (*FakeNotifier) NameReturns ¶
func (fake *FakeNotifier) NameReturns(result1 string)
func (*FakeNotifier) NameReturnsOnCall ¶
func (fake *FakeNotifier) NameReturnsOnCall(i int, result1 string)
func (*FakeNotifier) NotifyArgsForCall ¶
func (fake *FakeNotifier) NotifyArgsForCall(i int) models.Incident
func (*FakeNotifier) NotifyCallCount ¶
func (fake *FakeNotifier) NotifyCallCount() int
func (*FakeNotifier) NotifyCalls ¶
func (fake *FakeNotifier) NotifyCalls(stub func(models.Incident) error)
func (*FakeNotifier) NotifyReturns ¶
func (fake *FakeNotifier) NotifyReturns(result1 error)
func (*FakeNotifier) NotifyReturnsOnCall ¶
func (fake *FakeNotifier) NotifyReturnsOnCall(i int, result1 error)
type FakeNotifierSubscriber ¶
type FakeNotifierSubscriber struct { NotifySubscriberStub func(models.Incident, []string) error // contains filtered or unexported fields }
func (*FakeNotifierSubscriber) Invocations ¶
func (fake *FakeNotifierSubscriber) Invocations() map[string][][]interface{}
func (*FakeNotifierSubscriber) NotifySubscriber ¶
func (fake *FakeNotifierSubscriber) NotifySubscriber(arg1 models.Incident, arg2 []string) error
func (*FakeNotifierSubscriber) NotifySubscriberArgsForCall ¶
func (fake *FakeNotifierSubscriber) NotifySubscriberArgsForCall(i int) (models.Incident, []string)
func (*FakeNotifierSubscriber) NotifySubscriberCallCount ¶
func (fake *FakeNotifierSubscriber) NotifySubscriberCallCount() int
func (*FakeNotifierSubscriber) NotifySubscriberCalls ¶
func (fake *FakeNotifierSubscriber) NotifySubscriberCalls(stub func(models.Incident, []string) error)
func (*FakeNotifierSubscriber) NotifySubscriberReturns ¶
func (fake *FakeNotifierSubscriber) NotifySubscriberReturns(result1 error)
func (*FakeNotifierSubscriber) NotifySubscriberReturnsOnCall ¶
func (fake *FakeNotifierSubscriber) NotifySubscriberReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.