reconciletest

package
v0.6.5 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeReconcile deprecated

type FakeReconcile struct {

	// Result is the result that will be returned by Reconciler
	Result reconcile.Result

	// Err is the error that will be returned by Reconciler
	Err error

	// Chan will have requests written to it, if not nil
	Chan chan reconcile.Request
}

FakeReconcile implements reconcile.Reconciler by always returning Result and Err

Deprecated: Please don't use this. There's some subtle concurrency issues with it, and there are better ways to test reconciliation.

func (*FakeReconcile) Reconcile

func (f *FakeReconcile) Reconcile(r reconcile.Request) (reconcile.Result, error)

Reconcile implements reconcile.Reconciler

Jump to

Keyboard shortcuts

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