notifiersfakes

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2025 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

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

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

func (*FakeNotifierAllInOne) CreatorArgsForCall

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

func (*FakeNotifierAllInOne) CreatorCallCount

func (fake *FakeNotifierAllInOne) CreatorCallCount() int

func (*FakeNotifierAllInOne) CreatorCalls

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

func (*FakeNotifierAllInOne) CreatorReturns

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

func (*FakeNotifierAllInOne) CreatorReturnsOnCall

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

func (*FakeNotifierAllInOne) Description

func (fake *FakeNotifierAllInOne) Description() string

func (*FakeNotifierAllInOne) DescriptionCallCount

func (fake *FakeNotifierAllInOne) DescriptionCallCount() int

func (*FakeNotifierAllInOne) DescriptionCalls

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

func (*FakeNotifierAllInOne) DescriptionReturns

func (fake *FakeNotifierAllInOne) DescriptionReturns(result1 string)

func (*FakeNotifierAllInOne) DescriptionReturnsOnCall

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

func (*FakeNotifierAllInOne) Id

func (fake *FakeNotifierAllInOne) Id() string

func (*FakeNotifierAllInOne) IdCallCount

func (fake *FakeNotifierAllInOne) IdCallCount() int

func (*FakeNotifierAllInOne) IdCalls

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

func (*FakeNotifierAllInOne) IdReturns

func (fake *FakeNotifierAllInOne) IdReturns(result1 string)

func (*FakeNotifierAllInOne) IdReturnsOnCall

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

func (*FakeNotifierAllInOne) Invocations

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

func (*FakeNotifierAllInOne) MetadataFields

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

func (*FakeNotifierAllInOne) MetadataFieldsCallCount

func (fake *FakeNotifierAllInOne) MetadataFieldsCallCount() int

func (*FakeNotifierAllInOne) MetadataFieldsCalls

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

func (*FakeNotifierAllInOne) MetadataFieldsReturns

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

func (*FakeNotifierAllInOne) MetadataFieldsReturnsOnCall

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

func (*FakeNotifierAllInOne) Name

func (fake *FakeNotifierAllInOne) Name() string

func (*FakeNotifierAllInOne) NameCallCount

func (fake *FakeNotifierAllInOne) NameCallCount() int

func (*FakeNotifierAllInOne) NameCalls

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

func (*FakeNotifierAllInOne) NameReturns

func (fake *FakeNotifierAllInOne) NameReturns(result1 string)

func (*FakeNotifierAllInOne) NameReturnsOnCall

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

func (*FakeNotifierAllInOne) Notify

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

func (*FakeNotifierAllInOne) NotifyArgsForCall

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

func (*FakeNotifierAllInOne) NotifyCallCount

func (fake *FakeNotifierAllInOne) NotifyCallCount() int

func (*FakeNotifierAllInOne) NotifyCalls

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

func (*FakeNotifierAllInOne) NotifyReturns

func (fake *FakeNotifierAllInOne) NotifyReturns(result1 error)

func (*FakeNotifierAllInOne) NotifyReturnsOnCall

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

func (*FakeNotifierAllInOne) PreCheck

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

func (*FakeNotifierAllInOne) PreCheckArgsForCall

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

func (*FakeNotifierAllInOne) PreCheckCallCount

func (fake *FakeNotifierAllInOne) PreCheckCallCount() int

func (*FakeNotifierAllInOne) PreCheckCalls

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

func (*FakeNotifierAllInOne) PreCheckReturns

func (fake *FakeNotifierAllInOne) PreCheckReturns(result1 error)

func (*FakeNotifierAllInOne) PreCheckReturnsOnCall

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