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

Method get

kubernetes/informer/cache.py:86–89  ·  view source on GitHub ↗

Look up the cached copy of obj. Returns None when absent.

(self, obj)

Source from the content-addressed store, hash-verified

84 return list(self._objects.keys())
85
86 def get(self, obj):
87 """Look up the cached copy of obj. Returns None when absent."""
88 key = self._key_func(obj)
89 return self.get_by_key(key)
90
91 def get_by_key(self, key):
92 """Look up an object by key. Returns None when absent."""

Callers 15

_meta_namespace_keyFunction · 0.45
get_by_keyMethod · 0.45
_fireMethod · 0.45
_run_loopMethod · 0.45
get_basic_auth_tokenMethod · 0.45
__call_apiMethod · 0.45

Calls 1

get_by_keyMethod · 0.95