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

Class CoreV1Api

kubernetes/client/api/core_v1_api.py:27–38163  ·  view source on GitHub ↗

NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech Do not edit the class manually.

Source from the content-addressed store, hash-verified

25
26
27class CoreV1Api(object):
28 """NOTE: This class is auto generated by OpenAPI Generator
29 Ref: https://openapi-generator.tech
30
31 Do not edit the class manually.
32 """
33
34 def __init__(self, api_client=None):
35 if api_client is None:
36 api_client = ApiClient()
37 self.api_client = api_client
38
39 def connect_delete_namespaced_pod_proxy(self, name, namespace, **kwargs): # noqa: E501
40 """connect_delete_namespaced_pod_proxy # noqa: E501
41
42 connect DELETE requests to proxy of Pod # noqa: E501
43 This method makes a synchronous HTTP request by default. To make an
44 asynchronous HTTP request, please pass async_req=True
45
46 >>> thread = api.connect_delete_namespaced_pod_proxy(name, namespace, async_req=True)
47 >>> result = thread.get()
48
49 :param name: name of the PodProxyOptions (required)
50 :type name: str
51 :param namespace: object name and auth scope, such as for teams and projects (required)
52 :type namespace: str
53 :param path: Path is the URL path to use for the current proxy request to pod.
54 :type path: str
55 :param async_req: Whether to execute the request asynchronously.
56 :type async_req: bool, optional
57 :param _preload_content: if False, the urllib3.HTTPResponse object will
58 be returned without reading/decoding response
59 data. Default is True.
60 :type _preload_content: bool, optional
61 :param _request_timeout: timeout setting for this request. If one
62 number provided, it will be total request
63 timeout. It can also be a pair (tuple) of
64 (connection, read) timeouts.
65 :return: Returns the result object.
66 If the method is called asynchronously,
67 returns the request thread.
68 :rtype: str
69 """
70 kwargs['_return_http_data_only'] = True
71 return self.connect_delete_namespaced_pod_proxy_with_http_info(name, namespace, **kwargs) # noqa: E501
72
73 def connect_delete_namespaced_pod_proxy_with_http_info(self, name, namespace, **kwargs): # noqa: E501
74 """connect_delete_namespaced_pod_proxy # noqa: E501
75
76 connect DELETE requests to proxy of Pod # noqa: E501
77 This method makes a synchronous HTTP request by default. To make an
78 asynchronous HTTP request, please pass async_req=True
79
80 >>> thread = api.connect_delete_namespaced_pod_proxy_with_http_info(name, namespace, async_req=True)
81 >>> result = thread.get()
82
83 :param name: name of the PodProxyOptions (required)
84 :type name: str

Callers 1

mainFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected