Code stringlengths 103 85.9k | Summary listlengths 0 94 |
|---|---|
Please provide a description of the function:def delete_collection_namespaced_endpoints(self, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_collection_namespaced_endpoints_with_http_info(namespace, **kwargs)
else... | [
"\n delete collection of Endpoints\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.delete_collection_namespaced_endpoints(namespace, async_req=True)\n >>> result = thread.get()\n\n ... |
Please provide a description of the function:def delete_collection_namespaced_event(self, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_collection_namespaced_event_with_http_info(namespace, **kwargs)
else:
... | [
"\n delete collection of Event\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.delete_collection_namespaced_event(namespace, async_req=True)\n >>> result = thread.get()\n\n :par... |
Please provide a description of the function:def delete_collection_namespaced_pod(self, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_collection_namespaced_pod_with_http_info(namespace, **kwargs)
else:
... | [
"\n delete collection of Pod\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.delete_collection_namespaced_pod(namespace, async_req=True)\n >>> result = thread.get()\n\n :param a... |
Please provide a description of the function:def delete_collection_namespaced_pod_template(self, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_collection_namespaced_pod_template_with_http_info(namespace, **kwargs)
... | [
"\n delete collection of PodTemplate\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.delete_collection_namespaced_pod_template(namespace, async_req=True)\n >>> result = thread.get()\n\... |
Please provide a description of the function:def delete_collection_namespaced_secret(self, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_collection_namespaced_secret_with_http_info(namespace, **kwargs)
else:
... | [
"\n delete collection of Secret\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.delete_collection_namespaced_secret(namespace, async_req=True)\n >>> result = thread.get()\n\n :p... |
Please provide a description of the function:def delete_collection_namespaced_service_account(self, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_collection_namespaced_service_account_with_http_info(namespace, **kwargs)
... | [
"\n delete collection of ServiceAccount\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.delete_collection_namespaced_service_account(namespace, async_req=True)\n >>> result = thread.ge... |
Please provide a description of the function:def delete_namespace(self, name, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_namespace_with_http_info(name, **kwargs)
else:
(data) = self.delete_namespace_with_http... | [
"\n delete a Namespace\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.delete_namespace(name, async_req=True)\n >>> result = thread.get()\n\n :param async_req bool\n :par... |
Please provide a description of the function:def delete_namespaced_config_map(self, name, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_namespaced_config_map_with_http_info(name, namespace, **kwargs)
else:
... | [
"\n delete a ConfigMap\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.delete_namespaced_config_map(name, namespace, async_req=True)\n >>> result = thread.get()\n\n :param async... |
Please provide a description of the function:def delete_namespaced_limit_range(self, name, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_namespaced_limit_range_with_http_info(name, namespace, **kwargs)
else:
... | [
"\n delete a LimitRange\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.delete_namespaced_limit_range(name, namespace, async_req=True)\n >>> result = thread.get()\n\n :param asy... |
Please provide a description of the function:def delete_namespaced_persistent_volume_claim(self, name, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_namespaced_persistent_volume_claim_with_http_info(name, namespace, **kw... | [
"\n delete a PersistentVolumeClaim\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.delete_namespaced_persistent_volume_claim(name, namespace, async_req=True)\n >>> result = thread.get(... |
Please provide a description of the function:def delete_namespaced_replication_controller(self, name, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_namespaced_replication_controller_with_http_info(name, namespace, **kwar... | [
"\n delete a ReplicationController\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.delete_namespaced_replication_controller(name, namespace, async_req=True)\n >>> result = thread.get()... |
Please provide a description of the function:def delete_namespaced_resource_quota(self, name, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_namespaced_resource_quota_with_http_info(name, namespace, **kwargs)
else... | [
"\n delete a ResourceQuota\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.delete_namespaced_resource_quota(name, namespace, async_req=True)\n >>> result = thread.get()\n\n :par... |
Please provide a description of the function:def delete_namespaced_service_account(self, name, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_namespaced_service_account_with_http_info(name, namespace, **kwargs)
el... | [
"\n delete a ServiceAccount\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.delete_namespaced_service_account(name, namespace, async_req=True)\n >>> result = thread.get()\n\n :p... |
Please provide a description of the function:def delete_node(self, name, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_node_with_http_info(name, **kwargs)
else:
(data) = self.delete_node_with_http_info(name, **k... | [
"\n delete a Node\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.delete_node(name, async_req=True)\n >>> result = thread.get()\n\n :param async_req bool\n :param str nam... |
Please provide a description of the function:def list_component_status(self, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_component_status_with_http_info(**kwargs)
else:
(data) = self.list_component_status_with_h... | [
"\n list objects of kind ComponentStatus\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.list_component_status(async_req=True)\n >>> result = thread.get()\n\n :param async_req b... |
Please provide a description of the function:def list_config_map_for_all_namespaces(self, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_config_map_for_all_namespaces_with_http_info(**kwargs)
else:
(data) = self.li... | [
"\n list or watch objects of kind ConfigMap\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.list_config_map_for_all_namespaces(async_req=True)\n >>> result = thread.get()\n\n :p... |
Please provide a description of the function:def list_endpoints_for_all_namespaces(self, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_endpoints_for_all_namespaces_with_http_info(**kwargs)
else:
(data) = self.list... | [
"\n list or watch objects of kind Endpoints\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.list_endpoints_for_all_namespaces(async_req=True)\n >>> result = thread.get()\n\n :pa... |
Please provide a description of the function:def list_limit_range_for_all_namespaces(self, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_limit_range_for_all_namespaces_with_http_info(**kwargs)
else:
(data) = self.... | [
"\n list or watch objects of kind LimitRange\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.list_limit_range_for_all_namespaces(async_req=True)\n >>> result = thread.get()\n\n ... |
Please provide a description of the function:def list_namespace(self, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_namespace_with_http_info(**kwargs)
else:
(data) = self.list_namespace_with_http_info(**kwargs)
... | [
"\n list or watch objects of kind Namespace\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.list_namespace(async_req=True)\n >>> result = thread.get()\n\n :param async_req bool\... |
Please provide a description of the function:def list_namespaced_config_map(self, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_namespaced_config_map_with_http_info(namespace, **kwargs)
else:
(data) = s... | [
"\n list or watch objects of kind ConfigMap\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.list_namespaced_config_map(namespace, async_req=True)\n >>> result = thread.get()\n\n ... |
Please provide a description of the function:def list_namespaced_event(self, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_namespaced_event_with_http_info(namespace, **kwargs)
else:
(data) = self.list_n... | [
"\n list or watch objects of kind Event\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.list_namespaced_event(namespace, async_req=True)\n >>> result = thread.get()\n\n :param a... |
Please provide a description of the function:def list_namespaced_limit_range(self, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_namespaced_limit_range_with_http_info(namespace, **kwargs)
else:
(data) =... | [
"\n list or watch objects of kind LimitRange\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.list_namespaced_limit_range(namespace, async_req=True)\n >>> result = thread.get()\n\n ... |
Please provide a description of the function:def list_namespaced_persistent_volume_claim(self, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_namespaced_persistent_volume_claim_with_http_info(namespace, **kwargs)
el... | [
"\n list or watch objects of kind PersistentVolumeClaim\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.list_namespaced_persistent_volume_claim(namespace, async_req=True)\n >>> result ... |
Please provide a description of the function:def list_namespaced_pod(self, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_namespaced_pod_with_http_info(namespace, **kwargs)
else:
(data) = self.list_names... | [
"\n list or watch objects of kind Pod\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.list_namespaced_pod(namespace, async_req=True)\n >>> result = thread.get()\n\n :param async... |
Please provide a description of the function:def list_namespaced_pod_template(self, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_namespaced_pod_template_with_http_info(namespace, **kwargs)
else:
(data)... | [
"\n list or watch objects of kind PodTemplate\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.list_namespaced_pod_template(namespace, async_req=True)\n >>> result = thread.get()\n\n ... |
Please provide a description of the function:def list_namespaced_replication_controller(self, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_namespaced_replication_controller_with_http_info(namespace, **kwargs)
else... | [
"\n list or watch objects of kind ReplicationController\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.list_namespaced_replication_controller(namespace, async_req=True)\n >>> result =... |
Please provide a description of the function:def list_namespaced_resource_quota(self, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_namespaced_resource_quota_with_http_info(namespace, **kwargs)
else:
(d... | [
"\n list or watch objects of kind ResourceQuota\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.list_namespaced_resource_quota(namespace, async_req=True)\n >>> result = thread.get()\n\... |
Please provide a description of the function:def list_namespaced_secret(self, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_namespaced_secret_with_http_info(namespace, **kwargs)
else:
(data) = self.list... | [
"\n list or watch objects of kind Secret\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.list_namespaced_secret(namespace, async_req=True)\n >>> result = thread.get()\n\n :param... |
Please provide a description of the function:def list_namespaced_service(self, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_namespaced_service_with_http_info(namespace, **kwargs)
else:
(data) = self.li... | [
"\n list or watch objects of kind Service\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.list_namespaced_service(namespace, async_req=True)\n >>> result = thread.get()\n\n :par... |
Please provide a description of the function:def list_namespaced_service_account(self, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_namespaced_service_account_with_http_info(namespace, **kwargs)
else:
... | [
"\n list or watch objects of kind ServiceAccount\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.list_namespaced_service_account(namespace, async_req=True)\n >>> result = thread.get()\... |
Please provide a description of the function:def list_node(self, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_node_with_http_info(**kwargs)
else:
(data) = self.list_node_with_http_info(**kwargs)
retur... | [
"\n list or watch objects of kind Node\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.list_node(async_req=True)\n >>> result = thread.get()\n\n :param async_req bool\n :... |
Please provide a description of the function:def list_persistent_volume(self, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_persistent_volume_with_http_info(**kwargs)
else:
(data) = self.list_persistent_volume_wit... | [
"\n list or watch objects of kind PersistentVolume\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.list_persistent_volume(async_req=True)\n >>> result = thread.get()\n\n :param ... |
Please provide a description of the function:def list_persistent_volume_claim_for_all_namespaces(self, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_persistent_volume_claim_for_all_namespaces_with_http_info(**kwargs)
else:
... | [
"\n list or watch objects of kind PersistentVolumeClaim\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.list_persistent_volume_claim_for_all_namespaces(async_req=True)\n >>> result = t... |
Please provide a description of the function:def list_pod_for_all_namespaces(self, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_pod_for_all_namespaces_with_http_info(**kwargs)
else:
(data) = self.list_pod_for_all... | [
"\n list or watch objects of kind Pod\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.list_pod_for_all_namespaces(async_req=True)\n >>> result = thread.get()\n\n :param async_re... |
Please provide a description of the function:def list_pod_template_for_all_namespaces(self, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_pod_template_for_all_namespaces_with_http_info(**kwargs)
else:
(data) = sel... | [
"\n list or watch objects of kind PodTemplate\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.list_pod_template_for_all_namespaces(async_req=True)\n >>> result = thread.get()\n\n ... |
Please provide a description of the function:def list_replication_controller_for_all_namespaces(self, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_replication_controller_for_all_namespaces_with_http_info(**kwargs)
else:
... | [
"\n list or watch objects of kind ReplicationController\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.list_replication_controller_for_all_namespaces(async_req=True)\n >>> result = th... |
Please provide a description of the function:def list_resource_quota_for_all_namespaces(self, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_resource_quota_for_all_namespaces_with_http_info(**kwargs)
else:
(data) =... | [
"\n list or watch objects of kind ResourceQuota\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.list_resource_quota_for_all_namespaces(async_req=True)\n >>> result = thread.get()\n\n ... |
Please provide a description of the function:def list_secret_for_all_namespaces(self, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_secret_for_all_namespaces_with_http_info(**kwargs)
else:
(data) = self.list_secre... | [
"\n list or watch objects of kind Secret\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.list_secret_for_all_namespaces(async_req=True)\n >>> result = thread.get()\n\n :param as... |
Please provide a description of the function:def list_service_account_for_all_namespaces(self, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_service_account_for_all_namespaces_with_http_info(**kwargs)
else:
(data)... | [
"\n list or watch objects of kind ServiceAccount\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.list_service_account_for_all_namespaces(async_req=True)\n >>> result = thread.get()\n\n... |
Please provide a description of the function:def list_service_for_all_namespaces(self, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_service_for_all_namespaces_with_http_info(**kwargs)
else:
(data) = self.list_ser... | [
"\n list or watch objects of kind Service\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.list_service_for_all_namespaces(async_req=True)\n >>> result = thread.get()\n\n :param ... |
Please provide a description of the function:def patch_namespace(self, name, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.patch_namespace_with_http_info(name, body, **kwargs)
else:
(data) = self.patch_namespace_... | [
"\n partially update the specified Namespace\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.patch_namespace(name, body, async_req=True)\n >>> result = thread.get()\n\n :param a... |
Please provide a description of the function:def patch_namespace_status(self, name, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.patch_namespace_status_with_http_info(name, body, **kwargs)
else:
(data) = self.pa... | [
"\n partially update status of the specified Namespace\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.patch_namespace_status(name, body, async_req=True)\n >>> result = thread.get()\n\... |
Please provide a description of the function:def patch_namespaced_config_map(self, name, namespace, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.patch_namespaced_config_map_with_http_info(name, namespace, body, **kwargs)
el... | [
"\n partially update the specified ConfigMap\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.patch_namespaced_config_map(name, namespace, body, async_req=True)\n >>> result = thread.ge... |
Please provide a description of the function:def patch_namespaced_endpoints(self, name, namespace, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.patch_namespaced_endpoints_with_http_info(name, namespace, body, **kwargs)
else... | [
"\n partially update the specified Endpoints\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.patch_namespaced_endpoints(name, namespace, body, async_req=True)\n >>> result = thread.get... |
Please provide a description of the function:def patch_namespaced_event(self, name, namespace, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.patch_namespaced_event_with_http_info(name, namespace, body, **kwargs)
else:
... | [
"\n partially update the specified Event\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.patch_namespaced_event(name, namespace, body, async_req=True)\n >>> result = thread.get()\n\n ... |
Please provide a description of the function:def read_namespaced_persistent_volume_claim_status(self, name, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.read_namespaced_persistent_volume_claim_status_with_http_info(name, names... | [
"\n read status of the specified PersistentVolumeClaim\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.read_namespaced_persistent_volume_claim_status(name, namespace, async_req=True)\n ... |
Please provide a description of the function:def read_namespaced_pod_template(self, name, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.read_namespaced_pod_template_with_http_info(name, namespace, **kwargs)
else:
... | [
"\n read the specified PodTemplate\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.read_namespaced_pod_template(name, namespace, async_req=True)\n >>> result = thread.get()\n\n ... |
Please provide a description of the function:def read_namespaced_resource_quota(self, name, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.read_namespaced_resource_quota_with_http_info(name, namespace, **kwargs)
else:
... | [
"\n read the specified ResourceQuota\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.read_namespaced_resource_quota(name, namespace, async_req=True)\n >>> result = thread.get()\n\n ... |
Please provide a description of the function:def read_namespaced_service_account(self, name, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.read_namespaced_service_account_with_http_info(name, namespace, **kwargs)
else:
... | [
"\n read the specified ServiceAccount\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.read_namespaced_service_account(name, namespace, async_req=True)\n >>> result = thread.get()\n\n ... |
Please provide a description of the function:def read_persistent_volume(self, name, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.read_persistent_volume_with_http_info(name, **kwargs)
else:
(data) = self.read_persisten... | [
"\n read the specified PersistentVolume\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.read_persistent_volume(name, async_req=True)\n >>> result = thread.get()\n\n :param async... |
Please provide a description of the function:def replace_namespace_status(self, name, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.replace_namespace_status_with_http_info(name, body, **kwargs)
else:
(data) = sel... | [
"\n replace status of the specified Namespace\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.replace_namespace_status(name, body, async_req=True)\n >>> result = thread.get()\n\n ... |
Please provide a description of the function:def replace_namespaced_limit_range(self, name, namespace, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.replace_namespaced_limit_range_with_http_info(name, namespace, body, **kwargs)
... | [
"\n replace the specified LimitRange\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.replace_namespaced_limit_range(name, namespace, body, async_req=True)\n >>> result = thread.get()\n... |
Please provide a description of the function:def replace_namespaced_pod_status(self, name, namespace, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.replace_namespaced_pod_status_with_http_info(name, namespace, body, **kwargs)
... | [
"\n replace status of the specified Pod\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.replace_namespaced_pod_status(name, namespace, body, async_req=True)\n >>> result = thread.get()... |
Please provide a description of the function:def replace_namespaced_replication_controller_status(self, name, namespace, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.replace_namespaced_replication_controller_status_with_http_info(n... | [
"\n replace status of the specified ReplicationController\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.replace_namespaced_replication_controller_status(name, namespace, body, async_req=Tru... |
Please provide a description of the function:def replace_namespaced_service(self, name, namespace, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.replace_namespaced_service_with_http_info(name, namespace, body, **kwargs)
else... | [
"\n replace the specified Service\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.replace_namespaced_service(name, namespace, body, async_req=True)\n >>> result = thread.get()\n\n ... |
Please provide a description of the function:def replace_node_status(self, name, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.replace_node_status_with_http_info(name, body, **kwargs)
else:
(data) = self.replace_... | [
"\n replace status of the specified Node\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.replace_node_status(name, body, async_req=True)\n >>> result = thread.get()\n\n :param a... |
Please provide a description of the function:def raw(self, raw):
if raw is None:
raise ValueError("Invalid value for `raw`, must not be `None`")
if raw is not None and not re.search('^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$', raw):
raise ValueE... | [
"\n Sets the raw of this RuntimeRawExtension.\n Raw is the underlying serialization of this object.\n\n :param raw: The raw of this RuntimeRawExtension.\n :type: str\n "
] |
Please provide a description of the function:def pool(self):
if self._pool is None:
self._pool = ThreadPool(self.pool_threads)
return self._pool | [
"Create thread pool on first request\n avoids instantiating unused threadpool for blocking clients.\n "
] |
Please provide a description of the function:def sanitize_for_serialization(self, obj):
if obj is None:
return None
elif isinstance(obj, self.PRIMITIVE_TYPES):
return obj
elif isinstance(obj, list):
return [self.sanitize_for_serialization(sub_obj)
... | [
"\n Builds a JSON POST object.\n\n If obj is None, return None.\n If obj is str, int, long, float, bool, return directly.\n If obj is datetime.datetime, datetime.date\n convert to string in iso8601 format.\n If obj is list, sanitize each element in the list.\n If... |
Please provide a description of the function:def __deserialize(self, data, klass):
if data is None:
return None
if type(klass) == str:
if klass.startswith('list['):
sub_kls = re.match('list\[(.*)\]', klass).group(1)
return [self.__deseria... | [
"\n Deserializes dict, list, str into an object.\n\n :param data: dict, list or str.\n :param klass: class literal, or string of class name.\n\n :return: object.\n "
] |
Please provide a description of the function:def select_header_accept(self, accepts):
if not accepts:
return
accepts = [x.lower() for x in accepts]
if 'application/json' in accepts:
return 'application/json'
else:
return ', '.join(accepts) | [
"\n Returns `Accept` based on an array of accepts provided.\n\n :param accepts: List of headers.\n :return: Accept (e.g. application/json).\n "
] |
Please provide a description of the function:def select_header_content_type(self, content_types):
if not content_types:
return 'application/json'
content_types = [x.lower() for x in content_types]
if 'application/json' in content_types or '*/*' in content_types:
... | [
"\n Returns `Content-Type` based on an array of content_types provided.\n\n :param content_types: List of content-types.\n :return: Content-Type (e.g. application/json).\n "
] |
Please provide a description of the function:def update_params_for_auth(self, headers, querys, auth_settings):
if not auth_settings:
return
for auth in auth_settings:
auth_setting = self.configuration.auth_settings().get(auth)
if auth_setting:
... | [
"\n Updates header and query params based on authentication setting.\n\n :param headers: Header parameters dict to be updated.\n :param querys: Query parameters tuple list to be updated.\n :param auth_settings: Authentication setting identifiers list.\n "
] |
Please provide a description of the function:def __deserialize_date(self, string):
try:
from dateutil.parser import parse
return parse(string).date()
except ImportError:
return string
except ValueError:
raise ApiException(
... | [
"\n Deserializes string to date.\n\n :param string: str.\n :return: date.\n "
] |
Please provide a description of the function:def __deserialize_model(self, data, klass):
if not klass.swagger_types and not hasattr(klass, 'get_real_child_model'):
return data
kwargs = {}
if klass.swagger_types is not None:
for attr, attr_type in iteritems(klas... | [
"\n Deserializes list or dict to model.\n\n :param data: dict, list.\n :param klass: class literal.\n :return: model object.\n "
] |
Please provide a description of the function:def debug(self, value):
self.__debug = value
if self.__debug:
# if debug status is True, turn on debug logging
for _, logger in iteritems(self.logger):
logger.setLevel(logging.DEBUG)
# turn on httpl... | [
"\n Sets the debug status.\n\n :param value: The debug status, True or False.\n :type: bool\n "
] |
Please provide a description of the function:def logger_format(self, value):
self.__logger_format = value
self.logger_formatter = logging.Formatter(self.__logger_format) | [
"\n Sets the logger_format.\n\n The logger_formatter will be updated when sets logger_format.\n\n :param value: The format string.\n :type: str\n "
] |
Please provide a description of the function:def get_api_key_with_prefix(self, identifier):
if self.api_key.get(identifier) and self.api_key_prefix.get(identifier):
return self.api_key_prefix[identifier] + ' ' + self.api_key[identifier]
elif self.api_key.get(identifier):
... | [
"\n Gets API key (with prefix if set).\n\n :param identifier: The identifier of apiKey.\n :return: The token for api key authentication.\n "
] |
Please provide a description of the function:def get_basic_auth_token(self):
return urllib3.util.make_headers(basic_auth=self.username + ':' + self.password)\
.get('authorization') | [
"\n Gets HTTP basic authentication header (string).\n\n :return: The token for basic HTTP authentication.\n "
] |
Please provide a description of the function:def create_namespaced_lease(self, namespace, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.create_namespaced_lease_with_http_info(namespace, body, **kwargs)
else:
(dat... | [
"\n create a Lease\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.create_namespaced_lease(namespace, body, async_req=True)\n >>> result = thread.get()\n\n :param async_req bool... |
Please provide a description of the function:def delete_collection_namespaced_lease(self, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_collection_namespaced_lease_with_http_info(namespace, **kwargs)
else:
... | [
"\n delete collection of Lease\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.delete_collection_namespaced_lease(namespace, async_req=True)\n >>> result = thread.get()\n\n :par... |
Please provide a description of the function:def list_namespaced_lease(self, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_namespaced_lease_with_http_info(namespace, **kwargs)
else:
(data) = self.list_n... | [
"\n list or watch objects of kind Lease\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.list_namespaced_lease(namespace, async_req=True)\n >>> result = thread.get()\n\n :param a... |
Please provide a description of the function:def patch_namespaced_lease(self, name, namespace, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.patch_namespaced_lease_with_http_info(name, namespace, body, **kwargs)
else:
... | [
"\n partially update the specified Lease\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.patch_namespaced_lease(name, namespace, body, async_req=True)\n >>> result = thread.get()\n\n ... |
Please provide a description of the function:def create_audit_sink(self, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.create_audit_sink_with_http_info(body, **kwargs)
else:
(data) = self.create_audit_sink_with_h... | [
"\n create an AuditSink\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.create_audit_sink(body, async_req=True)\n >>> result = thread.get()\n\n :param async_req bool\n :p... |
Please provide a description of the function:def delete_audit_sink(self, name, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_audit_sink_with_http_info(name, **kwargs)
else:
(data) = self.delete_audit_sink_with_h... | [
"\n delete an AuditSink\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.delete_audit_sink(name, async_req=True)\n >>> result = thread.get()\n\n :param async_req bool\n :p... |
Please provide a description of the function:def list_audit_sink(self, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_audit_sink_with_http_info(**kwargs)
else:
(data) = self.list_audit_sink_with_http_info(**kwargs)... | [
"\n list or watch objects of kind AuditSink\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.list_audit_sink(async_req=True)\n >>> result = thread.get()\n\n :param async_req bool... |
Please provide a description of the function:def patch_audit_sink(self, name, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.patch_audit_sink_with_http_info(name, body, **kwargs)
else:
(data) = self.patch_audit_si... | [
"\n partially update the specified AuditSink\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.patch_audit_sink(name, body, async_req=True)\n >>> result = thread.get()\n\n :param ... |
Please provide a description of the function:def read_audit_sink(self, name, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.read_audit_sink_with_http_info(name, **kwargs)
else:
(data) = self.read_audit_sink_with_http_in... | [
"\n read the specified AuditSink\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.read_audit_sink(name, async_req=True)\n >>> result = thread.get()\n\n :param async_req bool\n ... |
Please provide a description of the function:def replace_audit_sink(self, name, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.replace_audit_sink_with_http_info(name, body, **kwargs)
else:
(data) = self.replace_au... | [
"\n replace the specified AuditSink\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.replace_audit_sink(name, body, async_req=True)\n >>> result = thread.get()\n\n :param async_r... |
Please provide a description of the function:def get_api_group(self, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.get_api_group_with_http_info(**kwargs)
else:
(data) = self.get_api_group_with_http_info(**kwargs)
... | [
"\n get information of a group\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.get_api_group(async_req=True)\n >>> result = thread.get()\n\n :param async_req bool\n :retu... |
Please provide a description of the function:def certificate(self, certificate):
if certificate is not None and not re.search('^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$', certificate):
raise ValueError("Invalid value for `certificate`, must be a follow pattern or e... | [
"\n Sets the certificate of this V1beta1CertificateSigningRequestStatus.\n If request was approved, the controller will place the issued certificate here.\n\n :param certificate: The certificate of this V1beta1CertificateSigningRequestStatus.\n :type: str\n "
] |
Please provide a description of the function:def create_cluster_role(self, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.create_cluster_role_with_http_info(body, **kwargs)
else:
(data) = self.create_cluster_role_... | [
"\n create a ClusterRole\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.create_cluster_role(body, async_req=True)\n >>> result = thread.get()\n\n :param async_req bool\n ... |
Please provide a description of the function:def create_namespaced_role(self, namespace, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.create_namespaced_role_with_http_info(namespace, body, **kwargs)
else:
(data)... | [
"\n create a Role\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.create_namespaced_role(namespace, body, async_req=True)\n >>> result = thread.get()\n\n :param async_req bool\n... |
Please provide a description of the function:def create_namespaced_role_binding(self, namespace, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.create_namespaced_role_binding_with_http_info(namespace, body, **kwargs)
else:
... | [
"\n create a RoleBinding\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.create_namespaced_role_binding(namespace, body, async_req=True)\n >>> result = thread.get()\n\n :param a... |
Please provide a description of the function:def delete_cluster_role(self, name, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_cluster_role_with_http_info(name, **kwargs)
else:
(data) = self.delete_cluster_role_... | [
"\n delete a ClusterRole\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.delete_cluster_role(name, async_req=True)\n >>> result = thread.get()\n\n :param async_req bool\n ... |
Please provide a description of the function:def delete_collection_cluster_role(self, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_collection_cluster_role_with_http_info(**kwargs)
else:
(data) = self.delete_col... | [
"\n delete collection of ClusterRole\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.delete_collection_cluster_role(async_req=True)\n >>> result = thread.get()\n\n :param async_... |
Please provide a description of the function:def delete_collection_cluster_role_binding(self, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_collection_cluster_role_binding_with_http_info(**kwargs)
else:
(data) =... | [
"\n delete collection of ClusterRoleBinding\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.delete_collection_cluster_role_binding(async_req=True)\n >>> result = thread.get()\n\n ... |
Please provide a description of the function:def delete_collection_namespaced_role(self, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_collection_namespaced_role_with_http_info(namespace, **kwargs)
else:
... | [
"\n delete collection of Role\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.delete_collection_namespaced_role(namespace, async_req=True)\n >>> result = thread.get()\n\n :param... |
Please provide a description of the function:def delete_namespaced_role(self, name, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_namespaced_role_with_http_info(name, namespace, **kwargs)
else:
(data)... | [
"\n delete a Role\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.delete_namespaced_role(name, namespace, async_req=True)\n >>> result = thread.get()\n\n :param async_req bool\n... |
Please provide a description of the function:def delete_namespaced_role_binding(self, name, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_namespaced_role_binding_with_http_info(name, namespace, **kwargs)
else:
... | [
"\n delete a RoleBinding\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.delete_namespaced_role_binding(name, namespace, async_req=True)\n >>> result = thread.get()\n\n :param a... |
Please provide a description of the function:def list_cluster_role(self, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_cluster_role_with_http_info(**kwargs)
else:
(data) = self.list_cluster_role_with_http_info(**k... | [
"\n list or watch objects of kind ClusterRole\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.list_cluster_role(async_req=True)\n >>> result = thread.get()\n\n :param async_req ... |
Please provide a description of the function:def list_namespaced_role(self, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_namespaced_role_with_http_info(namespace, **kwargs)
else:
(data) = self.list_nam... | [
"\n list or watch objects of kind Role\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.list_namespaced_role(namespace, async_req=True)\n >>> result = thread.get()\n\n :param asy... |
Please provide a description of the function:def list_namespaced_role_binding(self, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_namespaced_role_binding_with_http_info(namespace, **kwargs)
else:
(data)... | [
"\n list or watch objects of kind RoleBinding\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.list_namespaced_role_binding(namespace, async_req=True)\n >>> result = thread.get()\n\n ... |
Please provide a description of the function:def list_role_binding_for_all_namespaces(self, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_role_binding_for_all_namespaces_with_http_info(**kwargs)
else:
(data) = sel... | [
"\n list or watch objects of kind RoleBinding\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.list_role_binding_for_all_namespaces(async_req=True)\n >>> result = thread.get()\n\n ... |
Please provide a description of the function:def patch_cluster_role(self, name, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.patch_cluster_role_with_http_info(name, body, **kwargs)
else:
(data) = self.patch_clus... | [
"\n partially update the specified ClusterRole\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.patch_cluster_role(name, body, async_req=True)\n >>> result = thread.get()\n\n :pa... |
Please provide a description of the function:def patch_cluster_role_binding(self, name, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.patch_cluster_role_binding_with_http_info(name, body, **kwargs)
else:
(data) =... | [
"\n partially update the specified ClusterRoleBinding\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.patch_cluster_role_binding(name, body, async_req=True)\n >>> result = thread.get()... |
Please provide a description of the function:def patch_namespaced_role(self, name, namespace, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.patch_namespaced_role_with_http_info(name, namespace, body, **kwargs)
else:
... | [
"\n partially update the specified Role\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.patch_namespaced_role(name, namespace, body, async_req=True)\n >>> result = thread.get()\n\n ... |
Please provide a description of the function:def read_cluster_role(self, name, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.read_cluster_role_with_http_info(name, **kwargs)
else:
(data) = self.read_cluster_role_with_h... | [
"\n read the specified ClusterRole\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.read_cluster_role(name, async_req=True)\n >>> result = thread.get()\n\n :param async_req bool\... |
Please provide a description of the function:def read_cluster_role_binding(self, name, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.read_cluster_role_binding_with_http_info(name, **kwargs)
else:
(data) = self.read_clu... | [
"\n read the specified ClusterRoleBinding\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.read_cluster_role_binding(name, async_req=True)\n >>> result = thread.get()\n\n :param ... |
Please provide a description of the function:def read_namespaced_role(self, name, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.read_namespaced_role_with_http_info(name, namespace, **kwargs)
else:
(data) = s... | [
"\n read the specified Role\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.read_namespaced_role(name, namespace, async_req=True)\n >>> result = thread.get()\n\n :param async_re... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.