Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeNotifierAllInOne
- func (fake *FakeNotifierAllInOne) Creator(arg1 map[string]interface{}, arg2 config.BaseInfo) (notifiers.Notifier, error)
- func (fake *FakeNotifierAllInOne) CreatorArgsForCall(i int) (map[string]interface{}, config.BaseInfo)
- func (fake *FakeNotifierAllInOne) CreatorCallCount() int
- func (fake *FakeNotifierAllInOne) CreatorCalls(stub func(map[string]interface{}, config.BaseInfo) (notifiers.Notifier, error))
- func (fake *FakeNotifierAllInOne) CreatorReturns(result1 notifiers.Notifier, result2 error)
- func (fake *FakeNotifierAllInOne) CreatorReturnsOnCall(i int, result1 notifiers.Notifier, result2 error)
- func (fake *FakeNotifierAllInOne) Description() string
- func (fake *FakeNotifierAllInOne) DescriptionCallCount() int
- func (fake *FakeNotifierAllInOne) DescriptionCalls(stub func() string)
- func (fake *FakeNotifierAllInOne) DescriptionReturns(result1 string)
- func (fake *FakeNotifierAllInOne) DescriptionReturnsOnCall(i int, result1 string)
- func (fake *FakeNotifierAllInOne) Id() string
- func (fake *FakeNotifierAllInOne) IdCallCount() int
- func (fake *FakeNotifierAllInOne) IdCalls(stub func() string)
- func (fake *FakeNotifierAllInOne) IdReturns(result1 string)
- func (fake *FakeNotifierAllInOne) IdReturnsOnCall(i int, result1 string)
- func (fake *FakeNotifierAllInOne) Invocations() map[string][][]interface{}
- func (fake *FakeNotifierAllInOne) MetadataFields() []models.MetadataField
- func (fake *FakeNotifierAllInOne) MetadataFieldsCallCount() int
- func (fake *FakeNotifierAllInOne) MetadataFieldsCalls(stub func() []models.MetadataField)
- func (fake *FakeNotifierAllInOne) MetadataFieldsReturns(result1 []models.MetadataField)
- func (fake *FakeNotifierAllInOne) MetadataFieldsReturnsOnCall(i int, result1 []models.MetadataField)
- func (fake *FakeNotifierAllInOne) Name() string
- func (fake *FakeNotifierAllInOne) NameCallCount() int
- func (fake *FakeNotifierAllInOne) NameCalls(stub func() string)
- func (fake *FakeNotifierAllInOne) NameReturns(result1 string)
- func (fake *FakeNotifierAllInOne) NameReturnsOnCall(i int, result1 string)
- func (fake *FakeNotifierAllInOne) Notify(arg1 *models.NotifyRequest) error
- func (fake *FakeNotifierAllInOne) NotifyArgsForCall(i int) *models.NotifyRequest
- func (fake *FakeNotifierAllInOne) NotifyCallCount() int
- func (fake *FakeNotifierAllInOne) NotifyCalls(stub func(*models.NotifyRequest) error)
- func (fake *FakeNotifierAllInOne) NotifyReturns(result1 error)
- func (fake *FakeNotifierAllInOne) NotifyReturnsOnCall(i int, result1 error)
- func (fake *FakeNotifierAllInOne) PreCheck(arg1 *models.Incident) error
- func (fake *FakeNotifierAllInOne) PreCheckArgsForCall(i int) models.Incident
- func (fake *FakeNotifierAllInOne) PreCheckCallCount() int
- func (fake *FakeNotifierAllInOne) PreCheckCalls(stub func(models.Incident) error)
- func (fake *FakeNotifierAllInOne) PreCheckReturns(result1 error)
- func (fake *FakeNotifierAllInOne) PreCheckReturnsOnCall(i int, result1 error)
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) CreatorArgsForCall ¶
func (fake *FakeNotifierAllInOne) CreatorArgsForCall(i int) (map[string]interface{}, config.BaseInfo)
func (*FakeNotifierAllInOne) CreatorCallCount ¶
func (fake *FakeNotifierAllInOne) CreatorCallCount() int
func (*FakeNotifierAllInOne) CreatorCalls ¶
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)
Click to show internal directories.
Click to hide internal directories.