INSTRUCTION stringlengths 1 8.43k | RESPONSE stringlengths 75 104k |
|---|---|
read status of the specified CronJob This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. read_namespaced_cron_job_status ( name namespace async_req = True ) >>> result = thread. get () | def read_namespaced_cron_job_status(self, name, namespace, **kwargs):
"""
read status of the specified CronJob
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.read_namespaced_cron_job_statu... |
create a CustomResourceDefinition This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. create_custom_resource_definition ( body async_req = True ) >>> result = thread. get () | def create_custom_resource_definition(self, body, **kwargs):
"""
create a CustomResourceDefinition
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_custom_resource_definition(body, as... |
delete a CustomResourceDefinition This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. delete_custom_resource_definition ( name async_req = True ) >>> result = thread. get () | def delete_custom_resource_definition(self, name, **kwargs):
"""
delete a CustomResourceDefinition
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_custom_resource_definition(name, as... |
list or watch objects of kind CustomResourceDefinition This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. list_custom_resource_definition ( async_req = True ) >>> result = thread. get () | def list_custom_resource_definition(self, **kwargs):
"""
list or watch objects of kind CustomResourceDefinition
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_custom_resource_definiti... |
read the specified CustomResourceDefinition This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. read_custom_resource_definition ( name async_req = True ) >>> result = thread. get () | def read_custom_resource_definition(self, name, **kwargs):
"""
read the specified CustomResourceDefinition
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.read_custom_resource_definition(na... |
read status of the specified CustomResourceDefinition This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. read_custom_resource_definition_status ( name async_req = True ) >>> result = thread. get () | def read_custom_resource_definition_status(self, name, **kwargs):
"""
read status of the specified CustomResourceDefinition
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.read_custom_resou... |
delete an Ingress This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. delete_namespaced_ingress ( name namespace async_req = True ) >>> result = thread. get () | def delete_namespaced_ingress(self, name, namespace, **kwargs):
"""
delete an Ingress
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_namespaced_ingress(name, namespace, async_req=Tr... |
list or watch objects of kind Ingress This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. list_namespaced_ingress ( namespace async_req = True ) >>> result = thread. get () | def list_namespaced_ingress(self, namespace, **kwargs):
"""
list or watch objects of kind Ingress
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_namespaced_ingress(namespace, async_re... |
partially update the specified Ingress This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. patch_namespaced_ingress ( name namespace body async_req = True ) >>> result = thread. get () | def patch_namespaced_ingress(self, name, namespace, body, **kwargs):
"""
partially update the specified Ingress
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_namespaced_ingress(name... |
partially update status of the specified Ingress This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. patch_namespaced_ingress_status ( name namespace body async_req = True ) >>> result = thread. get () | def patch_namespaced_ingress_status(self, name, namespace, body, **kwargs):
"""
partially update status of the specified Ingress
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_namesp... |
read the specified Ingress This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. read_namespaced_ingress ( name namespace async_req = True ) >>> result = thread. get () | def read_namespaced_ingress(self, name, namespace, **kwargs):
"""
read the specified Ingress
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.read_namespaced_ingress(name, namespace, async_r... |
replace the specified Ingress This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. replace_namespaced_ingress ( name namespace body async_req = True ) >>> result = thread. get () | def replace_namespaced_ingress(self, name, namespace, body, **kwargs):
"""
replace the specified Ingress
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.replace_namespaced_ingress(name, nam... |
replace status of the specified Ingress This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. replace_namespaced_ingress_status ( name namespace body async_req = True ) >>> result = thread. get () | def replace_namespaced_ingress_status(self, name, namespace, body, **kwargs):
"""
replace status of the specified Ingress
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.replace_namespaced_... |
connect DELETE requests to proxy of Service This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. connect_delete_namespaced_service_proxy_with_path ( name namespace path async_req = True ) >>> result = thread. get () | def connect_delete_namespaced_service_proxy_with_path(self, name, namespace, path, **kwargs):
"""
connect DELETE requests to proxy of Service
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api... |
connect GET requests to exec of Pod This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. connect_get_namespaced_pod_exec ( name namespace async_req = True ) >>> result = thread. get () | def connect_get_namespaced_pod_exec(self, name, namespace, **kwargs):
"""
connect GET requests to exec of Pod
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.connect_get_namespaced_pod_exec... |
connect GET requests to proxy of Service This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. connect_get_namespaced_service_proxy ( name namespace async_req = True ) >>> result = thread. get () | def connect_get_namespaced_service_proxy(self, name, namespace, **kwargs):
"""
connect GET requests to proxy of Service
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.connect_get_namespace... |
connect HEAD requests to proxy of Pod This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. connect_head_namespaced_pod_proxy ( name namespace async_req = True ) >>> result = thread. get () | def connect_head_namespaced_pod_proxy(self, name, namespace, **kwargs):
"""
connect HEAD requests to proxy of Pod
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.connect_head_namespaced_pod... |
connect HEAD requests to proxy of Node This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. connect_head_node_proxy ( name async_req = True ) >>> result = thread. get () | def connect_head_node_proxy(self, name, **kwargs):
"""
connect HEAD requests to proxy of Node
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.connect_head_node_proxy(name, async_req=True)
... |
connect OPTIONS requests to proxy of Service This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. connect_options_namespaced_service_proxy ( name namespace async_req = True ) >>> result = thread. get () | def connect_options_namespaced_service_proxy(self, name, namespace, **kwargs):
"""
connect OPTIONS requests to proxy of Service
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.connect_optio... |
connect PATCH requests to proxy of Pod This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. connect_patch_namespaced_pod_proxy ( name namespace async_req = True ) >>> result = thread. get () | def connect_patch_namespaced_pod_proxy(self, name, namespace, **kwargs):
"""
connect PATCH requests to proxy of Pod
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.connect_patch_namespaced_... |
connect PATCH requests to proxy of Node This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. connect_patch_node_proxy ( name async_req = True ) >>> result = thread. get () | def connect_patch_node_proxy(self, name, **kwargs):
"""
connect PATCH requests to proxy of Node
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.connect_patch_node_proxy(name, async_req=True... |
connect POST requests to portforward of Pod This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. connect_post_namespaced_pod_portforward ( name namespace async_req = True ) >>> result = thread. get () | def connect_post_namespaced_pod_portforward(self, name, namespace, **kwargs):
"""
connect POST requests to portforward of Pod
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.connect_post_na... |
connect POST requests to proxy of Service This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. connect_post_namespaced_service_proxy_with_path ( name namespace path async_req = True ) >>> result = thread. get () | def connect_post_namespaced_service_proxy_with_path(self, name, namespace, path, **kwargs):
"""
connect POST requests to proxy of Service
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.con... |
connect PUT requests to proxy of Pod This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. connect_put_namespaced_pod_proxy_with_path ( name namespace path async_req = True ) >>> result = thread. get () | def connect_put_namespaced_pod_proxy_with_path(self, name, namespace, path, **kwargs):
"""
connect PUT requests to proxy of Pod
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.connect_put_n... |
connect PUT requests to proxy of Node This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. connect_put_node_proxy_with_path ( name path async_req = True ) >>> result = thread. get () | def connect_put_node_proxy_with_path(self, name, path, **kwargs):
"""
connect PUT requests to proxy of Node
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.connect_put_node_proxy_with_path(... |
create Endpoints This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. create_namespaced_endpoints ( namespace body async_req = True ) >>> result = thread. get () | def create_namespaced_endpoints(self, namespace, body, **kwargs):
"""
create Endpoints
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_namespaced_endpoints(namespace, body, async_req... |
create an Event This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. create_namespaced_event ( namespace body async_req = True ) >>> result = thread. get () | def create_namespaced_event(self, namespace, body, **kwargs):
"""
create an Event
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_namespaced_event(namespace, body, async_req=True)
... |
create a Pod This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. create_namespaced_pod ( namespace body async_req = True ) >>> result = thread. get () | def create_namespaced_pod(self, namespace, body, **kwargs):
"""
create a Pod
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_namespaced_pod(namespace, body, async_req=True)
>... |
create a ReplicationController This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. create_namespaced_replication_controller ( namespace body async_req = True ) >>> result = thread. get () | def create_namespaced_replication_controller(self, namespace, body, **kwargs):
"""
create a ReplicationController
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_namespaced_replicati... |
create a ServiceAccount This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. create_namespaced_service_account ( namespace body async_req = True ) >>> result = thread. get () | def create_namespaced_service_account(self, namespace, body, **kwargs):
"""
create a ServiceAccount
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_namespaced_service_account(namespa... |
delete collection of Endpoints This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. delete_collection_namespaced_endpoints ( namespace async_req = True ) >>> result = thread. get () | def delete_collection_namespaced_endpoints(self, namespace, **kwargs):
"""
delete collection of Endpoints
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_collection_namespaced_endpoi... |
delete collection of Event This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. delete_collection_namespaced_event ( namespace async_req = True ) >>> result = thread. get () | def delete_collection_namespaced_event(self, namespace, **kwargs):
"""
delete collection of Event
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_collection_namespaced_event(namespac... |
delete collection of Pod This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. delete_collection_namespaced_pod ( namespace async_req = True ) >>> result = thread. get () | def delete_collection_namespaced_pod(self, namespace, **kwargs):
"""
delete collection of Pod
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_collection_namespaced_pod(namespace, asy... |
delete collection of PodTemplate This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. delete_collection_namespaced_pod_template ( namespace async_req = True ) >>> result = thread. get () | def delete_collection_namespaced_pod_template(self, namespace, **kwargs):
"""
delete collection of PodTemplate
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_collection_namespaced_p... |
delete collection of Secret This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. delete_collection_namespaced_secret ( namespace async_req = True ) >>> result = thread. get () | def delete_collection_namespaced_secret(self, namespace, **kwargs):
"""
delete collection of Secret
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_collection_namespaced_secret(names... |
delete collection of ServiceAccount This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. delete_collection_namespaced_service_account ( namespace async_req = True ) >>> result = thread. get () | def delete_collection_namespaced_service_account(self, namespace, **kwargs):
"""
delete collection of ServiceAccount
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_collection_namesp... |
delete a Namespace This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. delete_namespace ( name async_req = True ) >>> result = thread. get () | def delete_namespace(self, name, **kwargs):
"""
delete a Namespace
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_namespace(name, async_req=True)
>>> result = thread.get()
... |
delete a ConfigMap This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. delete_namespaced_config_map ( name namespace async_req = True ) >>> result = thread. get () | def delete_namespaced_config_map(self, name, namespace, **kwargs):
"""
delete a ConfigMap
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_namespaced_config_map(name, namespace, async... |
delete a LimitRange This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. delete_namespaced_limit_range ( name namespace async_req = True ) >>> result = thread. get () | def delete_namespaced_limit_range(self, name, namespace, **kwargs):
"""
delete a LimitRange
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_namespaced_limit_range(name, namespace, as... |
delete a PersistentVolumeClaim This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. delete_namespaced_persistent_volume_claim ( name namespace async_req = True ) >>> result = thread. get () | def delete_namespaced_persistent_volume_claim(self, name, namespace, **kwargs):
"""
delete a PersistentVolumeClaim
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_namespaced_persiste... |
delete a ReplicationController This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. delete_namespaced_replication_controller ( name namespace async_req = True ) >>> result = thread. get () | def delete_namespaced_replication_controller(self, name, namespace, **kwargs):
"""
delete a ReplicationController
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_namespaced_replicati... |
delete a ResourceQuota This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. delete_namespaced_resource_quota ( name namespace async_req = True ) >>> result = thread. get () | def delete_namespaced_resource_quota(self, name, namespace, **kwargs):
"""
delete a ResourceQuota
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_namespaced_resource_quota(name, name... |
delete a ServiceAccount This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. delete_namespaced_service_account ( name namespace async_req = True ) >>> result = thread. get () | def delete_namespaced_service_account(self, name, namespace, **kwargs):
"""
delete a ServiceAccount
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_namespaced_service_account(name, n... |
delete a Node This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. delete_node ( name async_req = True ) >>> result = thread. get () | def delete_node(self, name, **kwargs):
"""
delete a Node
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_node(name, async_req=True)
>>> result = thread.get()
:param ... |
list objects of kind ComponentStatus This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. list_component_status ( async_req = True ) >>> result = thread. get () | def list_component_status(self, **kwargs):
"""
list objects of kind ComponentStatus
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_component_status(async_req=True)
>>> result ... |
list or watch objects of kind ConfigMap This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. list_config_map_for_all_namespaces ( async_req = True ) >>> result = thread. get () | def list_config_map_for_all_namespaces(self, **kwargs):
"""
list or watch objects of kind ConfigMap
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_config_map_for_all_namespaces(async_... |
list or watch objects of kind Endpoints This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. list_endpoints_for_all_namespaces ( async_req = True ) >>> result = thread. get () | def list_endpoints_for_all_namespaces(self, **kwargs):
"""
list or watch objects of kind Endpoints
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_endpoints_for_all_namespaces(async_re... |
list or watch objects of kind LimitRange This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. list_limit_range_for_all_namespaces ( async_req = True ) >>> result = thread. get () | def list_limit_range_for_all_namespaces(self, **kwargs):
"""
list or watch objects of kind LimitRange
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_limit_range_for_all_namespaces(asy... |
list or watch objects of kind Namespace This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. list_namespace ( async_req = True ) >>> result = thread. get () | def list_namespace(self, **kwargs):
"""
list or watch objects of kind Namespace
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_namespace(async_req=True)
>>> result = thread.ge... |
list or watch objects of kind ConfigMap This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. list_namespaced_config_map ( namespace async_req = True ) >>> result = thread. get () | def list_namespaced_config_map(self, namespace, **kwargs):
"""
list or watch objects of kind ConfigMap
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_namespaced_config_map(namespace, ... |
list or watch objects of kind Event This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. list_namespaced_event ( namespace async_req = True ) >>> result = thread. get () | def list_namespaced_event(self, namespace, **kwargs):
"""
list or watch objects of kind Event
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_namespaced_event(namespace, async_req=True... |
list or watch objects of kind LimitRange This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. list_namespaced_limit_range ( namespace async_req = True ) >>> result = thread. get () | def list_namespaced_limit_range(self, namespace, **kwargs):
"""
list or watch objects of kind LimitRange
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_namespaced_limit_range(namespac... |
list or watch objects of kind PersistentVolumeClaim This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. list_namespaced_persistent_volume_claim ( namespace async_req = True ) >>> result = thread. get () | def list_namespaced_persistent_volume_claim(self, namespace, **kwargs):
"""
list or watch objects of kind PersistentVolumeClaim
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_namespac... |
list or watch objects of kind Pod This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. list_namespaced_pod ( namespace async_req = True ) >>> result = thread. get () | def list_namespaced_pod(self, namespace, **kwargs):
"""
list or watch objects of kind Pod
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_namespaced_pod(namespace, async_req=True)
... |
list or watch objects of kind PodTemplate This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. list_namespaced_pod_template ( namespace async_req = True ) >>> result = thread. get () | def list_namespaced_pod_template(self, namespace, **kwargs):
"""
list or watch objects of kind PodTemplate
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_namespaced_pod_template(names... |
list or watch objects of kind ReplicationController This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. list_namespaced_replication_controller ( namespace async_req = True ) >>> result = thread. get () | def list_namespaced_replication_controller(self, namespace, **kwargs):
"""
list or watch objects of kind ReplicationController
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_namespace... |
list or watch objects of kind ResourceQuota This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. list_namespaced_resource_quota ( namespace async_req = True ) >>> result = thread. get () | def list_namespaced_resource_quota(self, namespace, **kwargs):
"""
list or watch objects of kind ResourceQuota
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_namespaced_resource_quota... |
list or watch objects of kind Secret This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. list_namespaced_secret ( namespace async_req = True ) >>> result = thread. get () | def list_namespaced_secret(self, namespace, **kwargs):
"""
list or watch objects of kind Secret
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_namespaced_secret(namespace, async_req=T... |
list or watch objects of kind Service This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. list_namespaced_service ( namespace async_req = True ) >>> result = thread. get () | def list_namespaced_service(self, namespace, **kwargs):
"""
list or watch objects of kind Service
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_namespaced_service(namespace, async_re... |
list or watch objects of kind ServiceAccount This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. list_namespaced_service_account ( namespace async_req = True ) >>> result = thread. get () | def list_namespaced_service_account(self, namespace, **kwargs):
"""
list or watch objects of kind ServiceAccount
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_namespaced_service_acco... |
list or watch objects of kind Node This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. list_node ( async_req = True ) >>> result = thread. get () | def list_node(self, **kwargs):
"""
list or watch objects of kind Node
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_node(async_req=True)
>>> result = thread.get()
:p... |
list or watch objects of kind PersistentVolume This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. list_persistent_volume ( async_req = True ) >>> result = thread. get () | def list_persistent_volume(self, **kwargs):
"""
list or watch objects of kind PersistentVolume
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_persistent_volume(async_req=True)
... |
list or watch objects of kind PersistentVolumeClaim This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. list_persistent_volume_claim_for_all_namespaces ( async_req = True ) >>> result = thread. get () | def list_persistent_volume_claim_for_all_namespaces(self, **kwargs):
"""
list or watch objects of kind PersistentVolumeClaim
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_persistent_... |
list or watch objects of kind Pod This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. list_pod_for_all_namespaces ( async_req = True ) >>> result = thread. get () | def list_pod_for_all_namespaces(self, **kwargs):
"""
list or watch objects of kind Pod
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_pod_for_all_namespaces(async_req=True)
>>... |
list or watch objects of kind PodTemplate This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. list_pod_template_for_all_namespaces ( async_req = True ) >>> result = thread. get () | def list_pod_template_for_all_namespaces(self, **kwargs):
"""
list or watch objects of kind PodTemplate
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_pod_template_for_all_namespaces(... |
list or watch objects of kind ReplicationController This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. list_replication_controller_for_all_namespaces ( async_req = True ) >>> result = thread. get () | def list_replication_controller_for_all_namespaces(self, **kwargs):
"""
list or watch objects of kind ReplicationController
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_replication_... |
list or watch objects of kind ResourceQuota This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. list_resource_quota_for_all_namespaces ( async_req = True ) >>> result = thread. get () | def list_resource_quota_for_all_namespaces(self, **kwargs):
"""
list or watch objects of kind ResourceQuota
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_resource_quota_for_all_names... |
list or watch objects of kind Secret This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. list_secret_for_all_namespaces ( async_req = True ) >>> result = thread. get () | def list_secret_for_all_namespaces(self, **kwargs):
"""
list or watch objects of kind Secret
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_secret_for_all_namespaces(async_req=True)
... |
list or watch objects of kind ServiceAccount This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. list_service_account_for_all_namespaces ( async_req = True ) >>> result = thread. get () | def list_service_account_for_all_namespaces(self, **kwargs):
"""
list or watch objects of kind ServiceAccount
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_service_account_for_all_na... |
list or watch objects of kind Service This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. list_service_for_all_namespaces ( async_req = True ) >>> result = thread. get () | def list_service_for_all_namespaces(self, **kwargs):
"""
list or watch objects of kind Service
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_service_for_all_namespaces(async_req=True... |
partially update the specified Namespace This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. patch_namespace ( name body async_req = True ) >>> result = thread. get () | def patch_namespace(self, name, body, **kwargs):
"""
partially update the specified Namespace
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_namespace(name, body, async_req=True)
... |
partially update status of the specified Namespace This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. patch_namespace_status ( name body async_req = True ) >>> result = thread. get () | def patch_namespace_status(self, name, body, **kwargs):
"""
partially update status of the specified Namespace
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_namespace_status(name, b... |
partially update the specified ConfigMap This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. patch_namespaced_config_map ( name namespace body async_req = True ) >>> result = thread. get () | def patch_namespaced_config_map(self, name, namespace, body, **kwargs):
"""
partially update the specified ConfigMap
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_namespaced_config_... |
partially update the specified Endpoints This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. patch_namespaced_endpoints ( name namespace body async_req = True ) >>> result = thread. get () | def patch_namespaced_endpoints(self, name, namespace, body, **kwargs):
"""
partially update the specified Endpoints
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_namespaced_endpoint... |
partially update the specified Event This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. patch_namespaced_event ( name namespace body async_req = True ) >>> result = thread. get () | def patch_namespaced_event(self, name, namespace, body, **kwargs):
"""
partially update the specified Event
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_namespaced_event(name, name... |
read status of the specified PersistentVolumeClaim This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. read_namespaced_persistent_volume_claim_status ( name namespace async_req = True ) >>> result = thread. get () | def read_namespaced_persistent_volume_claim_status(self, name, namespace, **kwargs):
"""
read status of the specified PersistentVolumeClaim
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.r... |
read the specified PodTemplate This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. read_namespaced_pod_template ( name namespace async_req = True ) >>> result = thread. get () | def read_namespaced_pod_template(self, name, namespace, **kwargs):
"""
read the specified PodTemplate
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.read_namespaced_pod_template(name, name... |
read the specified ResourceQuota This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. read_namespaced_resource_quota ( name namespace async_req = True ) >>> result = thread. get () | def read_namespaced_resource_quota(self, name, namespace, **kwargs):
"""
read the specified ResourceQuota
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.read_namespaced_resource_quota(name... |
read the specified ServiceAccount This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. read_namespaced_service_account ( name namespace async_req = True ) >>> result = thread. get () | def read_namespaced_service_account(self, name, namespace, **kwargs):
"""
read the specified ServiceAccount
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.read_namespaced_service_account(n... |
read the specified PersistentVolume This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. read_persistent_volume ( name async_req = True ) >>> result = thread. get () | def read_persistent_volume(self, name, **kwargs):
"""
read the specified PersistentVolume
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.read_persistent_volume(name, async_req=True)
... |
replace status of the specified Namespace This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. replace_namespace_status ( name body async_req = True ) >>> result = thread. get () | def replace_namespace_status(self, name, body, **kwargs):
"""
replace status of the specified Namespace
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.replace_namespace_status(name, body, ... |
replace the specified LimitRange This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. replace_namespaced_limit_range ( name namespace body async_req = True ) >>> result = thread. get () | def replace_namespaced_limit_range(self, name, namespace, body, **kwargs):
"""
replace the specified LimitRange
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.replace_namespaced_limit_rang... |
replace status of the specified Pod This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. replace_namespaced_pod_status ( name namespace body async_req = True ) >>> result = thread. get () | def replace_namespaced_pod_status(self, name, namespace, body, **kwargs):
"""
replace status of the specified Pod
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.replace_namespaced_pod_stat... |
replace status of the specified ReplicationController This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. replace_namespaced_replication_controller_status ( name namespace body async_req = True ) >>> result = thread. get () | def replace_namespaced_replication_controller_status(self, name, namespace, body, **kwargs):
"""
replace status of the specified ReplicationController
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thr... |
replace the specified Service This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. replace_namespaced_service ( name namespace body async_req = True ) >>> result = thread. get () | def replace_namespaced_service(self, name, namespace, body, **kwargs):
"""
replace the specified Service
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.replace_namespaced_service(name, nam... |
replace status of the specified Node This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. replace_node_status ( name body async_req = True ) >>> result = thread. get () | def replace_node_status(self, name, body, **kwargs):
"""
replace status of the specified Node
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.replace_node_status(name, body, async_req=True)... |
Sets the raw of this RuntimeRawExtension. Raw is the underlying serialization of this object. | def raw(self, raw):
"""
Sets the raw of this RuntimeRawExtension.
Raw is the underlying serialization of this object.
:param raw: The raw of this RuntimeRawExtension.
:type: str
"""
if raw is None:
raise ValueError("Invalid value for `raw`, must not b... |
Create thread pool on first request avoids instantiating unused threadpool for blocking clients. | def pool(self):
"""Create thread pool on first request
avoids instantiating unused threadpool for blocking clients.
"""
if self._pool is None:
self._pool = ThreadPool(self.pool_threads)
return self._pool |
Builds a JSON POST object. | def sanitize_for_serialization(self, obj):
"""
Builds a JSON POST object.
If obj is None, return None.
If obj is str, int, long, float, bool, return directly.
If obj is datetime.datetime, datetime.date
convert to string in iso8601 format.
If obj is list, sani... |
Deserializes dict list str into an object. | def __deserialize(self, data, klass):
"""
Deserializes dict, list, str into an object.
:param data: dict, list or str.
:param klass: class literal, or string of class name.
:return: object.
"""
if data is None:
return None
if type(klass) == ... |
Returns Accept based on an array of accepts provided. | def select_header_accept(self, accepts):
"""
Returns `Accept` based on an array of accepts provided.
:param accepts: List of headers.
:return: Accept (e.g. application/json).
"""
if not accepts:
return
accepts = [x.lower() for x in accepts]
... |
Returns Content - Type based on an array of content_types provided. | def select_header_content_type(self, content_types):
"""
Returns `Content-Type` based on an array of content_types provided.
:param content_types: List of content-types.
:return: Content-Type (e.g. application/json).
"""
if not content_types:
return 'applicat... |
Updates header and query params based on authentication setting. | def update_params_for_auth(self, headers, querys, auth_settings):
"""
Updates header and query params based on authentication setting.
:param headers: Header parameters dict to be updated.
:param querys: Query parameters tuple list to be updated.
:param auth_settings: Authentica... |
Deserializes string to date. | def __deserialize_date(self, string):
"""
Deserializes string to date.
:param string: str.
:return: date.
"""
try:
from dateutil.parser import parse
return parse(string).date()
except ImportError:
return string
except V... |
Deserializes list or dict to model. | def __deserialize_model(self, data, klass):
"""
Deserializes list or dict to model.
:param data: dict, list.
:param klass: class literal.
:return: model object.
"""
if not klass.swagger_types and not hasattr(klass, 'get_real_child_model'):
return dat... |
Sets the debug status. | def debug(self, value):
"""
Sets the debug status.
:param value: The debug status, True or False.
:type: bool
"""
self.__debug = value
if self.__debug:
# if debug status is True, turn on debug logging
for _, logger in iteritems(self.logger... |
Sets the logger_format. | def logger_format(self, value):
"""
Sets the logger_format.
The logger_formatter will be updated when sets logger_format.
:param value: The format string.
:type: str
"""
self.__logger_format = value
self.logger_formatter = logging.Formatter(self.__logger... |
Gets API key ( with prefix if set ). | def get_api_key_with_prefix(self, identifier):
"""
Gets API key (with prefix if set).
:param identifier: The identifier of apiKey.
:return: The token for api key authentication.
"""
if self.api_key.get(identifier) and self.api_key_prefix.get(identifier):
retu... |
Gets HTTP basic authentication header ( string ). | def get_basic_auth_token(self):
"""
Gets HTTP basic authentication header (string).
:return: The token for basic HTTP authentication.
"""
return urllib3.util.make_headers(basic_auth=self.username + ':' + self.password)\
.get('authorization') |
create a Lease This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. create_namespaced_lease ( namespace body async_req = True ) >>> result = thread. get () | def create_namespaced_lease(self, namespace, body, **kwargs):
"""
create a Lease
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_namespaced_lease(namespace, body, async_req=True)
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.