Documentation
¶
Index ¶
- Constants
- Variables
- func CalculateExponentialBackoffWithJitter(retryCount int64) time.Duration
- func CurrentNamespace() string
- func DebouncedReconcileCheck(ctx context.Context, lastProcessedItems *sync.Map, name types.NamespacedName) (runNow bool, alreadyQueued bool, waitTime time.Duration)
- func GetObjectHash(obj any) string
- func HandleFinalizer[T client.Object](ctx context.Context, obj T, r client.Client, ...) (bool, error)
- func IsPodConditionTrue(conditions []corev1.PodCondition, conditionType corev1.PodConditionType) bool
Constants ¶
View Source
const DebounceKeySuffix = ":in_queue"
Variables ¶
View Source
var ErrNextLoop = errors.New("stop this loop and return the associated Result object")
ErrNextLoop is not a real error. It forces the current reconciliation loop to stop and return the associated Result object
View Source
var ErrTerminateLoop = errors.New("stop this loop and do not requeue")
ErrTerminateLoop is not a real error. It forces the current reconciliation loop to stop
Functions ¶
func CurrentNamespace ¶
func CurrentNamespace() string
func DebouncedReconcileCheck ¶
func GetObjectHash ¶
func HandleFinalizer ¶
func IsPodConditionTrue ¶
func IsPodConditionTrue(conditions []corev1.PodCondition, conditionType corev1.PodConditionType) bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.