mocks

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 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 CapabilityReconciler

type CapabilityReconciler struct {
	mock.Mock
}

CapabilityReconciler is an autogenerated mock type for the CapabilityReconciler type

func NewCapabilityReconciler

func NewCapabilityReconciler(t interface {
	mock.TestingT
	Cleanup(func())
}) *CapabilityReconciler

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

func (*CapabilityReconciler) Reconcile

func (_m *CapabilityReconciler) Reconcile(ctx context.Context) error

Reconcile provides a mock function with given fields: ctx

type CapabilityReconciler_Expecter

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

func (*CapabilityReconciler_Expecter) Reconcile

Reconcile is a helper method to define mock.On call

  • ctx context.Context

type CapabilityReconciler_Reconcile_Call

type CapabilityReconciler_Reconcile_Call struct {
	*mock.Call
}

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

func (*CapabilityReconciler_Reconcile_Call) Return

func (*CapabilityReconciler_Reconcile_Call) Run

func (*CapabilityReconciler_Reconcile_Call) RunAndReturn

Jump to

Keyboard shortcuts

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