MCPcopy Index your code
hub / github.com/kubernetes-client/python / list_keys

Method list_keys

kubernetes/informer/cache.py:81–84  ·  view source on GitHub ↗

Return a snapshot list of all cache keys.

(self)

Source from the content-addressed store, hash-verified

79 return list(self._objects.values())
80
81 def list_keys(self):
82 """Return a snapshot list of all cache keys."""
83 with self._rlock:
84 return list(self._objects.keys())
85
86 def get(self, obj):
87 """Look up the cached copy of obj. Returns None when absent."""

Callers 2

_initial_listMethod · 0.80
test_replace_allMethod · 0.80

Calls

no outgoing calls

Tested by 1

test_replace_allMethod · 0.64