notifiersfakes

package
v1.93.3 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

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 FakeNotifierAllInOne added in v1.6.1

type FakeNotifierAllInOne struct {
	CreatorStub func(map[string]interface{}, config.BaseInfo) (notifiers.Notifier, error)

	DescriptionStub func() string

	IdStub func() string

	MetadataFieldsStub func() []models.MetadataField

	NameStub func() string

	NotifyStub func(*models.NotifyRequest) error

	PreCheckStub func(models.Incident) error
	// contains filtered or unexported fields
}

func (*FakeNotifierAllInOne) Creator added in v1.6.1

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

func (*FakeNotifierAllInOne) CreatorArgsForCall added in v1.6.1

func (fake *FakeNotifierAllInOne) CreatorArgsForCall(i int) (map[string]interface{}, config.BaseInfo)

func (*FakeNotifierAllInOne) CreatorCallCount added in v1.6.1

func (fake *FakeNotifierAllInOne) CreatorCallCount() int

func (*FakeNotifierAllInOne) CreatorCalls added in v1.6.1

func (fake *FakeNotifierAllInOne) CreatorCalls(stub func(map[string]interface{}, config.BaseInfo) (notifiers.Notifier, error))

func (*FakeNotifierAllInOne) CreatorReturns added in v1.6.1

func (fake *FakeNotifierAllInOne) CreatorReturns(result1 notifiers.Notifier, result2 error)

func (*FakeNotifierAllInOne) CreatorReturnsOnCall added in v1.6.1

func (fake *FakeNotifierAllInOne) CreatorReturnsOnCall(i int, result1 notifiers.Notifier, result2 error)

func (*FakeNotifierAllInOne) Description added in v1.6.1

func (fake *FakeNotifierAllInOne) Description() string

func (*FakeNotifierAllInOne) DescriptionCallCount added in v1.6.1

func (fake *FakeNotifierAllInOne) DescriptionCallCount() int

func (*FakeNotifierAllInOne) DescriptionCalls added in v1.6.1

func (fake *FakeNotifierAllInOne) DescriptionCalls(stub func() string)

func (*FakeNotifierAllInOne) DescriptionReturns added in v1.6.1

func (fake *FakeNotifierAllInOne) DescriptionReturns(result1 string)

func (*FakeNotifierAllInOne) DescriptionReturnsOnCall added in v1.6.1

func (fake *FakeNotifierAllInOne) DescriptionReturnsOnCall(i int, result1 string)

func (*FakeNotifierAllInOne) Id added in v1.6.1

func (fake *FakeNotifierAllInOne) Id() string

func (*FakeNotifierAllInOne) IdCallCount added in v1.6.1

func (fake *FakeNotifierAllInOne) IdCallCount() int

func (*FakeNotifierAllInOne) IdCalls added in v1.6.1

func (fake *FakeNotifierAllInOne) IdCalls(stub func() string)

func (*FakeNotifierAllInOne) IdReturns added in v1.6.1

func (fake *FakeNotifierAllInOne) IdReturns(result1 string)

func (*FakeNotifierAllInOne) IdReturnsOnCall added in v1.6.1

func (fake *FakeNotifierAllInOne) IdReturnsOnCall(i int, result1 string)

func (*FakeNotifierAllInOne) Invocations added in v1.6.1

func (fake *FakeNotifierAllInOne) Invocations() map[string][][]interface{}

func (*FakeNotifierAllInOne) MetadataFields added in v1.6.1

func (fake *FakeNotifierAllInOne) MetadataFields() []models.MetadataField

func (*FakeNotifierAllInOne) MetadataFieldsCallCount added in v1.6.1

func (fake *FakeNotifierAllInOne) MetadataFieldsCallCount() int

func (*FakeNotifierAllInOne) MetadataFieldsCalls added in v1.6.1

func (fake *FakeNotifierAllInOne) MetadataFieldsCalls(stub func() []models.MetadataField)

func (*FakeNotifierAllInOne) MetadataFieldsReturns added in v1.6.1

func (fake *FakeNotifierAllInOne) MetadataFieldsReturns(result1 []models.MetadataField)

func (*FakeNotifierAllInOne) MetadataFieldsReturnsOnCall added in v1.6.1

func (fake *FakeNotifierAllInOne) MetadataFieldsReturnsOnCall(i int, result1 []models.MetadataField)

func (*FakeNotifierAllInOne) Name added in v1.6.1

func (fake *FakeNotifierAllInOne) Name() string

func (*FakeNotifierAllInOne) NameCallCount added in v1.6.1

func (fake *FakeNotifierAllInOne) NameCallCount() int

func (*FakeNotifierAllInOne) NameCalls added in v1.6.1

func (fake *FakeNotifierAllInOne) NameCalls(stub func() string)

func (*FakeNotifierAllInOne) NameReturns added in v1.6.1

func (fake *FakeNotifierAllInOne) NameReturns(result1 string)

func (*FakeNotifierAllInOne) NameReturnsOnCall added in v1.6.1

func (fake *FakeNotifierAllInOne) NameReturnsOnCall(i int, result1 string)

func (*FakeNotifierAllInOne) Notify added in v1.6.1

func (fake *FakeNotifierAllInOne) Notify(arg1 *models.NotifyRequest) error

func (*FakeNotifierAllInOne) NotifyArgsForCall added in v1.6.1

func (fake *FakeNotifierAllInOne) NotifyArgsForCall(i int) *models.NotifyRequest

func (*FakeNotifierAllInOne) NotifyCallCount added in v1.6.1

func (fake *FakeNotifierAllInOne) NotifyCallCount() int

func (*FakeNotifierAllInOne) NotifyCalls added in v1.6.1

func (fake *FakeNotifierAllInOne) NotifyCalls(stub func(*models.NotifyRequest) error)

func (*FakeNotifierAllInOne) NotifyReturns added in v1.6.1

func (fake *FakeNotifierAllInOne) NotifyReturns(result1 error)

func (*FakeNotifierAllInOne) NotifyReturnsOnCall added in v1.6.1

func (fake *FakeNotifierAllInOne) NotifyReturnsOnCall(i int, result1 error)

func (*FakeNotifierAllInOne) PreCheck added in v1.6.1

func (fake *FakeNotifierAllInOne) PreCheck(arg1 models.Incident) error

func (*FakeNotifierAllInOne) PreCheckArgsForCall added in v1.6.1

func (fake *FakeNotifierAllInOne) PreCheckArgsForCall(i int) models.Incident

func (*FakeNotifierAllInOne) PreCheckCallCount added in v1.6.1

func (fake *FakeNotifierAllInOne) PreCheckCallCount() int

func (*FakeNotifierAllInOne) PreCheckCalls added in v1.6.1

func (fake *FakeNotifierAllInOne) PreCheckCalls(stub func(models.Incident) error)

func (*FakeNotifierAllInOne) PreCheckReturns added in v1.6.1

func (fake *FakeNotifierAllInOne) PreCheckReturns(result1 error)

func (*FakeNotifierAllInOne) PreCheckReturnsOnCall added in v1.6.1

func (fake *FakeNotifierAllInOne) PreCheckReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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