client

package
v0.0.0-...-e2e8ee5 Latest Latest
Warning

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

Go to latest
Published: May 6, 2026 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildCustomClient

func BuildCustomClient(mgr ctrl.Manager) (client.Client, error)

BuildCustomClient now uses the manager's unified cache instead of creating a separate one. This eliminates the race condition between manager and reconciler caches.

func NewCacheBuilder

func NewCacheBuilder() (cache.NewCacheFunc, error)

NewCacheBuilder returns a cache builder function that configures the manager's cache with custom label selectors and informers. This function should be passed to the manager's NewCache option to ensure a unified cache is used.

Types

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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