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

Function _make_pod

kubernetes/test/test_informer.py:33–35  ·  view source on GitHub ↗

Return a simple dict-based pod object.

(namespace, name)

Source from the content-addressed store, hash-verified

31
32
33def _make_pod(namespace, name):
34 """Return a simple dict-based pod object."""
35 return {"metadata": {"namespace": namespace, "name": name}}
36
37
38class TestMetaNamespaceKey(unittest.TestCase):

Callers 15

test_put_and_listMethod · 0.85
test_removeMethod · 0.85
test_replace_allMethod · 0.85
test_get_by_keyMethod · 0.85
test_getMethod · 0.85
workerMethod · 0.85
test_remove_handlerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected