notifiersfakes

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

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) Creator

func (fake *FakeNotifier) Creator(arg1 map[string]interface{}, arg2 config.BaseInfo) (notifiers.Notifier, error)

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 (fake *FakeNotifier) CreatorCalls(stub func(map[string]interface{}, config.BaseInfo) (notifiers.Notifier, error))

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) Notify

func (fake *FakeNotifier) Notify(arg1 models.Incident) error

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)

Jump to

Keyboard shortcuts

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