mocks

package
v1.1.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 2 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(ctx context.Context) error

Reconcile provides a mock function with given fields: ctx

type Reconciler_Expecter

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

func (*Reconciler_Expecter) Reconcile

func (_e *Reconciler_Expecter) Reconcile(ctx interface{}) *Reconciler_Reconcile_Call

Reconcile is a helper method to define mock.On call

  • ctx context.Context

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

Directories

Path Synopsis
dynakube

Jump to

Keyboard shortcuts

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