mocks

package
v0.0.0-...-b24f37d Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Formatter

type Formatter struct {
	mock.Mock
}

Formatter is an autogenerated mock type for the Formatter type

func NewFormatter

func NewFormatter(t interface {
	mock.TestingT
	Cleanup(func())
}) *Formatter

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

func (_m *Formatter) GetSubjectAndBody(ctx context.Context, culprit *v1.Culprit, subscription *protov1.Subscription) (string, string, error)

GetSubjectAndBody provides a mock function with given fields: ctx, culprit, subscription

Jump to

Keyboard shortcuts

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