mocks

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	mock.Mock
}

Reconciler is an autogenerated mock type for the Reconciler type

func NewReconciler

func NewReconciler(t interface {
	mock.TestingT
	Cleanup(func())
}) *Reconciler

NewReconciler creates a new instance of Reconciler. 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 (*Reconciler) EXPECT

func (_m *Reconciler) EXPECT() *Reconciler_Expecter

func (*Reconciler) Reconcile

func (_m *Reconciler) Reconcile(_a0 context.Context, _a1 reconcile.Request) (reconcile.Result, error)

Reconcile provides a mock function with given fields: _a0, _a1

type Reconciler_Expecter

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

func (*Reconciler_Expecter) Reconcile

func (_e *Reconciler_Expecter) Reconcile(_a0 interface{}, _a1 interface{}) *Reconciler_Reconcile_Call

Reconcile is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 reconcile.Request

type Reconciler_Reconcile_Call

type Reconciler_Reconcile_Call struct {
	*mock.Call
}

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

func (*Reconciler_Reconcile_Call) Return

func (*Reconciler_Reconcile_Call) Run

func (*Reconciler_Reconcile_Call) RunAndReturn

Jump to

Keyboard shortcuts

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