MCPcopy
hub / github.com/kubernetes-sigs/controller-runtime / WaitForCacheSync

Method WaitForCacheSync

pkg/cache/cache.go:93–93  ·  view source on GitHub ↗

WaitForCacheSync waits for all the caches to sync. Returns false if it could not sync a cache.

(ctx context.Context)

Source from the content-addressed store, hash-verified

91
92 // WaitForCacheSync waits for all the caches to sync. Returns false if it could not sync a cache.
93 WaitForCacheSync(ctx context.Context) bool
94
95 // FieldIndexer adds indices to the managed informers.
96 client.FieldIndexer

Callers 11

WaitForCacheSyncMethod · 0.65
WaitForCacheSyncMethod · 0.65
cache_test.goFile · 0.65
NonBlockingGetTestFunction · 0.65
CacheTestFunction · 0.65
WaitForCacheSyncMethod · 0.65
GetMethod · 0.65
StartMethod · 0.65
WaitForCacheSyncMethod · 0.65
AddMethod · 0.65

Implementers 3

multiNamespaceCachepkg/cache/multi_namespace_cache.go
delegatingByGVKCachepkg/cache/delegating_by_gvk_cache.go
FakeInformerspkg/cache/informertest/fake_cache.go

Calls

no outgoing calls

Tested by 4

NonBlockingGetTestFunction · 0.52
CacheTestFunction · 0.52
WaitForCacheSyncMethod · 0.52