mocks

package
v0.0.0-...-c8d90df Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sink

type Sink struct {
	mock.Mock
}

Sink is an autogenerated mock type for the Sink type

func NewSink

func NewSink(t interface {
	mock.TestingT
	Cleanup(func())
}) *Sink

NewSink creates a new instance of Sink. 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 (*Sink) Send

func (_m *Sink) Send(ctx context.Context, machineID string) error

Send provides a mock function with given fields: ctx, machineID

Jump to

Keyboard shortcuts

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