notificationsfakes

package
v43.0.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 3, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

This file was generated by counterfeiter

Index

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 (*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{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL