MCPcopy
hub / github.com/cilium/cilium / ListAndWatch

Method ListAndWatch

pkg/allocator/allocator.go:279–279  ·  view source on GitHub ↗

ListAndWatch begins synchronizing the local Backend instance with its remote.

(ctx context.Context, handler CacheMutations)

Source from the content-addressed store, hash-verified

277 // ListAndWatch begins synchronizing the local Backend instance with its
278 // remote.
279 ListAndWatch(ctx context.Context, handler CacheMutations)
280
281 // RunGC reaps stale or unused identities within the Backend and makes them
282 // available for reuse. It is used by the cilium-operator and is not invoked

Callers 5

startMethod · 0.65
ListAndWatchMethod · 0.65
ListAndWatchMethod · 0.65
StartMethod · 0.65
getKVStoreIdentitiesFunction · 0.65

Calls

no outgoing calls

Tested by 2

ListAndWatchMethod · 0.52
ListAndWatchMethod · 0.52