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

Function main

examples/pod_portforward.py:189–196  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

187
188
189def main():
190 config.load_kube_config()
191 c = Configuration.get_default_copy()
192 c.assert_hostname = False
193 Configuration.set_default(c)
194 core_v1 = core_v1_api.CoreV1Api()
195
196 portforward_commands(core_v1)
197
198
199if __name__ == '__main__':

Callers 1

pod_portforward.pyFile · 0.70

Calls 3

portforward_commandsFunction · 0.85
get_default_copyMethod · 0.45
set_defaultMethod · 0.45

Tested by

no test coverage detected