ctrlcommon

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package ctrlcommon provides shared utility functions for controllers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildManagedSecretClient

func BuildManagedSecretClient(mgr ctrl.Manager, namespace string) (client.Client, error)

BuildManagedSecretClient creates a new client that only sees secrets with the "managed" label.

func BuildRateLimiter

func BuildRateLimiter() workqueue.TypedRateLimiter[reconcile.Request]

BuildRateLimiter creates a new rate limiter for our controllers. NOTE: we dont use `DefaultTypedControllerRateLimiter` because it retries very aggressively, starting at 5ms!

Types

This section is empty.

Jump to

Keyboard shortcuts

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