reconcile

package
v0.0.0-...-b395935 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Log logr.Logger = ctrl.Log.WithName("ReconcileOperation")

Functions

func Requeue

func Requeue() (ctrl.Result, error)

func RequeueWith

func RequeueWith(err error) (ctrl.Result, error)

func Stop

func Stop() (ctrl.Result, error)

Types

type Result

type Result struct {
	Requeue bool
	// Continue is used mostly by ShouldStop() and it's named this way so the empty Result will stop proccesing
	Continue     bool
	RequeueAfter time.Duration
}

func ContinueOperation

func ContinueOperation() Result

func ContinueReconcile

func ContinueReconcile() (result Result, err error)

func RequeueOperation

func RequeueOperation() Result

func RequeueReconcile

func RequeueReconcile() (result Result, err error)

func RequeueReconcileWith

func RequeueReconcileWith(errIn error) (result Result, err error)

RequeueReconcileWith will not requeue if errIn doesn't fire

func StopOperation

func StopOperation() Result

func StopReconcile

func StopReconcile() (result Result, err error)

func (Result) Convert

func (r Result) Convert() ctrl.Result

Convert converts the ReconcileOperation to a 'ctrl.Result'

func (Result) RequeueOrStop

func (r Result) RequeueOrStop() bool

func (Result) ReturnWith

func (r Result) ReturnWith(err error) (ctrl.Result, error)

func (Result) ShouldStop

func (r Result) ShouldStop() bool

Jump to

Keyboard shortcuts

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