controller-runtime: sigs.k8s.io/controller-runtime/pkg/reconcile/reconciletest Index | Files

package reconciletest

import "sigs.k8s.io/controller-runtime/pkg/reconcile/reconciletest"

Index

Package Files

reconcile.go

type FakeReconcile Uses

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

    // If specified, Reconciler will write Requests to Chan
    Chan chan reconcile.Request
}

FakeReconcile implements reconcile.Reconciler by always returning Result and Err

func (*FakeReconcile) Reconcile Uses

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

Reconcile implements reconcile.Reconciler

Package reconciletest imports 1 packages (graph). Updated 2018-08-14. Refresh now. Tools for package owners.