mocks

package
v0.0.0-...-89f451c Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Transport

type Transport struct {
	mock.Mock
}

Transport is an autogenerated mock type for the Transport type

func NewTransport

func NewTransport(t interface {
	mock.TestingT
	Cleanup(func())
}) *Transport

NewTransport creates a new instance of Transport. 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 (*Transport) SendNewCulprit

func (_m *Transport) SendNewCulprit(ctx context.Context, subscription *v1.Subscription, subject string, body string) (string, error)

SendNewCulprit provides a mock function with given fields: ctx, subscription, subject, body

Jump to

Keyboard shortcuts

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