mocks

package
v0.0.0-...-2e11bb7 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 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 Interface

type Interface struct {
	mock.Mock
}

Interface is an autogenerated mock type for the Interface type

func NewInterface

func NewInterface(t mockConstructorTestingTNewInterface) *Interface

NewInterface creates a new instance of Interface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Interface) EXPECT

func (_m *Interface) EXPECT() *Interface_Expecter

func (*Interface) ResultChan

func (_m *Interface) ResultChan() <-chan watch.Event

ResultChan provides a mock function with given fields:

func (*Interface) Stop

func (_m *Interface) Stop()

Stop provides a mock function with given fields:

type Interface_Expecter

type Interface_Expecter struct {
	// contains filtered or unexported fields
}

func (*Interface_Expecter) ResultChan

ResultChan is a helper method to define mock.On call

func (*Interface_Expecter) Stop

Stop is a helper method to define mock.On call

type Interface_ResultChan_Call

type Interface_ResultChan_Call struct {
	*mock.Call
}

Interface_ResultChan_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ResultChan'

func (*Interface_ResultChan_Call) Return

func (*Interface_ResultChan_Call) Run

func (*Interface_ResultChan_Call) RunAndReturn

func (_c *Interface_ResultChan_Call) RunAndReturn(run func() <-chan watch.Event) *Interface_ResultChan_Call

type Interface_Stop_Call

type Interface_Stop_Call struct {
	*mock.Call
}

Interface_Stop_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stop'

func (*Interface_Stop_Call) Return

func (*Interface_Stop_Call) Run

func (_c *Interface_Stop_Call) Run(run func()) *Interface_Stop_Call

func (*Interface_Stop_Call) RunAndReturn

func (_c *Interface_Stop_Call) RunAndReturn(run func()) *Interface_Stop_Call

Jump to

Keyboard shortcuts

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