mocks

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 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, dk *dynakube.DynaKube) error

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

func (*Reconciler) ReconcileActiveGateCommunicationHosts

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

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

func (*Reconciler) ReconcileCodeModuleCommunicationHosts

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

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

type Reconciler_Expecter

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

func (*Reconciler_Expecter) ReconcileAPIUrl

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

ReconcileAPIUrl is a helper method to define mock.On call

  • ctx context.Context
  • dk *dynakube.DynaKube

func (*Reconciler_Expecter) ReconcileActiveGateCommunicationHosts

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

ReconcileActiveGateCommunicationHosts is a helper method to define mock.On call

  • ctx context.Context
  • dk *dynakube.DynaKube

func (*Reconciler_Expecter) ReconcileCodeModuleCommunicationHosts

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

ReconcileCodeModuleCommunicationHosts is a helper method to define mock.On call

  • ctx context.Context
  • dk *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