Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Formatter ¶
Formatter is an autogenerated mock type for the Formatter type
func NewFormatter ¶
NewFormatter creates a new instance of Formatter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Formatter) GetCulpritSubjectAndBody ¶
func (_m *Formatter) GetCulpritSubjectAndBody(ctx context.Context, culprit *v1.Culprit, subscription *protov1.Subscription) (string, string, error)
GetCulpritSubjectAndBody provides a mock function with given fields: ctx, culprit, subscription
func (*Formatter) GetReportSubjectAndBody ¶
func (_m *Formatter) GetReportSubjectAndBody(ctx context.Context, anomalyGroup *anomalygroupprotov1.AnomalyGroup, subscription *protov1.Subscription, anomalyList []*v1.Anomaly) (string, string, error)
GetReportSubjectAndBody provides a mock function with given fields: ctx, anomalyGroup, subscription, anomalyList
Click to show internal directories.
Click to hide internal directories.