controller

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 License: UPL-1.0 Imports: 3 Imported by: 2

Documentation

Overview

Copyright (c) 2022, 2023, Oracle and/or its affiliates. Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LongRequeue added in v1.6.6

func LongRequeue() ctrl.Result

LongRequeue returns a new Result that will cause a reconcile requeue after a long delay (2 -3 minutes)

func NewRequeueWithDelay

func NewRequeueWithDelay(min int, max int, units time.Duration) ctrl.Result

Create a new Result that will cause a reconcile requeue after a delay within the specified range

func ShortRequeue added in v1.6.6

func ShortRequeue() ctrl.Result

ShortRequeue returns a new Result that will cause a reconcile requeue after a short delay

func ShouldRequeue

func ShouldRequeue(r ctrl.Result) bool

Return true if requeue is needed

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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