reconciler

package
v0.0.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultRequeueDelay = 10 * time.Second

Functions

This section is empty.

Types

type OperationResult

type OperationResult struct {
	RequeueDelay   time.Duration
	RequeueRequest bool
	CancelRequest  bool
}

func ContinueOperationResult

func ContinueOperationResult() OperationResult

func ContinueProcessing

func ContinueProcessing() (OperationResult, error)

func Requeue

func Requeue() (result OperationResult, err error)

func RequeueAfter

func RequeueAfter(delay time.Duration, err error) (OperationResult, error)

func RequeueOnErrorOrContinue

func RequeueOnErrorOrContinue(err error) (OperationResult, error)

func RequeueOnErrorOrStop

func RequeueOnErrorOrStop(err error) (OperationResult, error)

func RequeueWithError

func RequeueWithError(err error) (OperationResult, error)

func StopOperationResult

func StopOperationResult() OperationResult

func StopProcessing

func StopProcessing() (OperationResult, error)

func (OperationResult) RequeueOrCancel

func (r OperationResult) RequeueOrCancel() bool

type ReconcileOperation

type ReconcileOperation func(ctx context.Context) (OperationResult, error)

Jump to

Keyboard shortcuts

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