Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter
Index ¶
- type FakeNotifier
- func (fake *FakeNotifier) Invocations() map[string][][]interface{}
- func (fake *FakeNotifier) SendBatchNotification(arg1 lager.Logger, arg2 []notifications.Notification) error
- func (fake *FakeNotifier) SendBatchNotificationArgsForCall(i int) (lager.Logger, []notifications.Notification)
- func (fake *FakeNotifier) SendBatchNotificationCallCount() int
- func (fake *FakeNotifier) SendBatchNotificationReturns(result1 error)
- func (fake *FakeNotifier) SendNotification(arg1 lager.Logger, arg2 notifications.Notification) error
- func (fake *FakeNotifier) SendNotificationArgsForCall(i int) (lager.Logger, notifications.Notification)
- func (fake *FakeNotifier) SendNotificationCallCount() int
- func (fake *FakeNotifier) SendNotificationReturns(result1 error)
- type FakeSlackNotificationFormatter
- func (fake *FakeSlackNotificationFormatter) FormatNotifications(batch []notifications.Notification) []notifications.SlackMessage
- func (fake *FakeSlackNotificationFormatter) FormatNotificationsArgsForCall(i int) []notifications.Notification
- func (fake *FakeSlackNotificationFormatter) FormatNotificationsCallCount() int
- func (fake *FakeSlackNotificationFormatter) FormatNotificationsReturns(result1 []notifications.SlackMessage)
- func (fake *FakeSlackNotificationFormatter) Invocations() map[string][][]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeNotifier ¶
type FakeNotifier struct { SendNotificationStub func(lager.Logger, notifications.Notification) error SendBatchNotificationStub func(lager.Logger, []notifications.Notification) error // contains filtered or unexported fields }
func (*FakeNotifier) Invocations ¶
func (fake *FakeNotifier) Invocations() map[string][][]interface{}
func (*FakeNotifier) SendBatchNotification ¶
func (fake *FakeNotifier) SendBatchNotification(arg1 lager.Logger, arg2 []notifications.Notification) error
func (*FakeNotifier) SendBatchNotificationArgsForCall ¶
func (fake *FakeNotifier) SendBatchNotificationArgsForCall(i int) (lager.Logger, []notifications.Notification)
func (*FakeNotifier) SendBatchNotificationCallCount ¶
func (fake *FakeNotifier) SendBatchNotificationCallCount() int
func (*FakeNotifier) SendBatchNotificationReturns ¶
func (fake *FakeNotifier) SendBatchNotificationReturns(result1 error)
func (*FakeNotifier) SendNotification ¶
func (fake *FakeNotifier) SendNotification(arg1 lager.Logger, arg2 notifications.Notification) error
func (*FakeNotifier) SendNotificationArgsForCall ¶
func (fake *FakeNotifier) SendNotificationArgsForCall(i int) (lager.Logger, notifications.Notification)
func (*FakeNotifier) SendNotificationCallCount ¶
func (fake *FakeNotifier) SendNotificationCallCount() int
func (*FakeNotifier) SendNotificationReturns ¶
func (fake *FakeNotifier) SendNotificationReturns(result1 error)
type FakeSlackNotificationFormatter ¶
type FakeSlackNotificationFormatter struct { FormatNotificationsStub func(batch []notifications.Notification) []notifications.SlackMessage // contains filtered or unexported fields }
func (*FakeSlackNotificationFormatter) FormatNotifications ¶
func (fake *FakeSlackNotificationFormatter) FormatNotifications(batch []notifications.Notification) []notifications.SlackMessage
func (*FakeSlackNotificationFormatter) FormatNotificationsArgsForCall ¶
func (fake *FakeSlackNotificationFormatter) FormatNotificationsArgsForCall(i int) []notifications.Notification
func (*FakeSlackNotificationFormatter) FormatNotificationsCallCount ¶
func (fake *FakeSlackNotificationFormatter) FormatNotificationsCallCount() int
func (*FakeSlackNotificationFormatter) FormatNotificationsReturns ¶
func (fake *FakeSlackNotificationFormatter) FormatNotificationsReturns(result1 []notifications.SlackMessage)
func (*FakeSlackNotificationFormatter) Invocations ¶
func (fake *FakeSlackNotificationFormatter) Invocations() map[string][][]interface{}
Click to show internal directories.
Click to hide internal directories.