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) ReconcileAPIUrl

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

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

func (*Reconciler) ReconcileActiveGateCommunicationHosts

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

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

func (*Reconciler) ReconcileCodeModuleCommunicationHosts

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

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

type Reconciler_Expecter

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

func (*Reconciler_Expecter) ReconcileAPIUrl

func (_e *Reconciler_Expecter) ReconcileAPIUrl(ctx interface{}, _a1 interface{}) *Reconciler_ReconcileAPIUrl_Call

ReconcileAPIUrl is a helper method to define mock.On call

  • ctx context.Context
  • _a1 *dynakube.DynaKube

func (*Reconciler_Expecter) ReconcileActiveGateCommunicationHosts

func (_e *Reconciler_Expecter) ReconcileActiveGateCommunicationHosts(ctx interface{}, _a1 interface{}) *Reconciler_ReconcileActiveGateCommunicationHosts_Call

ReconcileActiveGateCommunicationHosts is a helper method to define mock.On call

  • ctx context.Context
  • _a1 *dynakube.DynaKube

func (*Reconciler_Expecter) ReconcileCodeModuleCommunicationHosts

func (_e *Reconciler_Expecter) ReconcileCodeModuleCommunicationHosts(ctx interface{}, _a1 interface{}) *Reconciler_ReconcileCodeModuleCommunicationHosts_Call

ReconcileCodeModuleCommunicationHosts is a helper method to define mock.On call

  • ctx context.Context
  • _a1 *dynakube.DynaKube

type Reconciler_ReconcileAPIUrl_Call

type Reconciler_ReconcileAPIUrl_Call struct {
	*mock.Call
}

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

func (*Reconciler_ReconcileAPIUrl_Call) Return

func (*Reconciler_ReconcileAPIUrl_Call) Run

func (*Reconciler_ReconcileAPIUrl_Call) RunAndReturn

type Reconciler_ReconcileActiveGateCommunicationHosts_Call

type Reconciler_ReconcileActiveGateCommunicationHosts_Call struct {
	*mock.Call
}

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

func (*Reconciler_ReconcileActiveGateCommunicationHosts_Call) Return

func (*Reconciler_ReconcileActiveGateCommunicationHosts_Call) Run

func (*Reconciler_ReconcileActiveGateCommunicationHosts_Call) RunAndReturn

type Reconciler_ReconcileCodeModuleCommunicationHosts_Call

type Reconciler_ReconcileCodeModuleCommunicationHosts_Call struct {
	*mock.Call
}

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

func (*Reconciler_ReconcileCodeModuleCommunicationHosts_Call) Return

func (*Reconciler_ReconcileCodeModuleCommunicationHosts_Call) Run

func (*Reconciler_ReconcileCodeModuleCommunicationHosts_Call) RunAndReturn

Jump to

Keyboard shortcuts

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