mocks

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 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) ReconcileActiveGate

func (_m *Reconciler) ReconcileActiveGate(ctx context.Context, _a1 *dynakube.DynaKube) error

ReconcileActiveGate provides a mock function with given fields: ctx, _a1

func (*Reconciler) ReconcileOneAgent

func (_m *Reconciler) ReconcileOneAgent(ctx context.Context, _a1 *dynakube.DynaKube) error

ReconcileOneAgent provides a mock function with given fields: ctx, _a1

type Reconciler_Expecter

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

func (*Reconciler_Expecter) ReconcileActiveGate

func (_e *Reconciler_Expecter) ReconcileActiveGate(ctx interface{}, _a1 interface{}) *Reconciler_ReconcileActiveGate_Call

ReconcileActiveGate is a helper method to define mock.On call

  • ctx context.Context
  • _a1 *dynakube.DynaKube

func (*Reconciler_Expecter) ReconcileOneAgent

func (_e *Reconciler_Expecter) ReconcileOneAgent(ctx interface{}, _a1 interface{}) *Reconciler_ReconcileOneAgent_Call

ReconcileOneAgent is a helper method to define mock.On call

  • ctx context.Context
  • _a1 *dynakube.DynaKube

type Reconciler_ReconcileActiveGate_Call

type Reconciler_ReconcileActiveGate_Call struct {
	*mock.Call
}

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

func (*Reconciler_ReconcileActiveGate_Call) Return

func (*Reconciler_ReconcileActiveGate_Call) Run

func (*Reconciler_ReconcileActiveGate_Call) RunAndReturn

type Reconciler_ReconcileOneAgent_Call

type Reconciler_ReconcileOneAgent_Call struct {
	*mock.Call
}

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

func (*Reconciler_ReconcileOneAgent_Call) Return

func (*Reconciler_ReconcileOneAgent_Call) Run

func (*Reconciler_ReconcileOneAgent_Call) RunAndReturn

Jump to

Keyboard shortcuts

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