INSTRUCTION stringlengths 1 8.43k | RESPONSE stringlengths 75 104k |
|---|---|
delete collection of Lease 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_lease ( namespace async_req = True ) >>> result = thread. get () | def delete_collection_namespaced_lease(self, namespace, **kwargs):
"""
delete collection of Lease
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_lease(namespac... |
list or watch objects of kind Lease This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. list_namespaced_lease ( namespace async_req = True ) >>> result = thread. get () | def list_namespaced_lease(self, namespace, **kwargs):
"""
list or watch objects of kind Lease
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_namespaced_lease(namespace, async_req=True... |
partially update the specified Lease This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. patch_namespaced_lease ( name namespace body async_req = True ) >>> result = thread. get () | def patch_namespaced_lease(self, name, namespace, body, **kwargs):
"""
partially update the specified Lease
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_namespaced_lease(name, name... |
create an AuditSink This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. create_audit_sink ( body async_req = True ) >>> result = thread. get () | def create_audit_sink(self, body, **kwargs):
"""
create an AuditSink
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_audit_sink(body, async_req=True)
>>> result = thread.get(... |
delete an AuditSink This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. delete_audit_sink ( name async_req = True ) >>> result = thread. get () | def delete_audit_sink(self, name, **kwargs):
"""
delete an AuditSink
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_audit_sink(name, async_req=True)
>>> result = thread.get(... |
list or watch objects of kind AuditSink This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. list_audit_sink ( async_req = True ) >>> result = thread. get () | def list_audit_sink(self, **kwargs):
"""
list or watch objects of kind AuditSink
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_audit_sink(async_req=True)
>>> result = thread.... |
partially update the specified AuditSink This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. patch_audit_sink ( name body async_req = True ) >>> result = thread. get () | def patch_audit_sink(self, name, body, **kwargs):
"""
partially update the specified AuditSink
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_audit_sink(name, body, async_req=True)
... |
read the specified AuditSink This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. read_audit_sink ( name async_req = True ) >>> result = thread. get () | def read_audit_sink(self, name, **kwargs):
"""
read the specified AuditSink
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.read_audit_sink(name, async_req=True)
>>> result = thread... |
replace the specified AuditSink This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. replace_audit_sink ( name body async_req = True ) >>> result = thread. get () | def replace_audit_sink(self, name, body, **kwargs):
"""
replace the specified AuditSink
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.replace_audit_sink(name, body, async_req=True)
... |
get information of a group This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. get_api_group ( async_req = True ) >>> result = thread. get () | def get_api_group(self, **kwargs):
"""
get information of a group
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_api_group(async_req=True)
>>> result = thread.get()
:p... |
Sets the certificate of this V1beta1CertificateSigningRequestStatus. If request was approved the controller will place the issued certificate here. | def certificate(self, certificate):
"""
Sets the certificate of this V1beta1CertificateSigningRequestStatus.
If request was approved, the controller will place the issued certificate here.
:param certificate: The certificate of this V1beta1CertificateSigningRequestStatus.
:type:... |
create a ClusterRole This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. create_cluster_role ( body async_req = True ) >>> result = thread. get () | def create_cluster_role(self, body, **kwargs):
"""
create a ClusterRole
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_cluster_role(body, async_req=True)
>>> result = thread... |
create a Role This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. create_namespaced_role ( namespace body async_req = True ) >>> result = thread. get () | def create_namespaced_role(self, namespace, body, **kwargs):
"""
create a Role
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_namespaced_role(namespace, body, async_req=True)
... |
create a RoleBinding This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. create_namespaced_role_binding ( namespace body async_req = True ) >>> result = thread. get () | def create_namespaced_role_binding(self, namespace, body, **kwargs):
"""
create a RoleBinding
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_namespaced_role_binding(namespace, body,... |
delete a ClusterRole This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. delete_cluster_role ( name async_req = True ) >>> result = thread. get () | def delete_cluster_role(self, name, **kwargs):
"""
delete a ClusterRole
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_cluster_role(name, async_req=True)
>>> result = thread... |
delete collection of ClusterRole This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. delete_collection_cluster_role ( async_req = True ) >>> result = thread. get () | def delete_collection_cluster_role(self, **kwargs):
"""
delete collection of ClusterRole
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_collection_cluster_role(async_req=True)
... |
delete collection of ClusterRoleBinding This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. delete_collection_cluster_role_binding ( async_req = True ) >>> result = thread. get () | def delete_collection_cluster_role_binding(self, **kwargs):
"""
delete collection of ClusterRoleBinding
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_collection_cluster_role_bindin... |
delete collection of Role 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_role ( namespace async_req = True ) >>> result = thread. get () | def delete_collection_namespaced_role(self, namespace, **kwargs):
"""
delete collection of Role
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_role(namespace, ... |
delete a Role This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. delete_namespaced_role ( name namespace async_req = True ) >>> result = thread. get () | def delete_namespaced_role(self, name, namespace, **kwargs):
"""
delete a Role
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_namespaced_role(name, namespace, async_req=True)
... |
delete a RoleBinding This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. delete_namespaced_role_binding ( name namespace async_req = True ) >>> result = thread. get () | def delete_namespaced_role_binding(self, name, namespace, **kwargs):
"""
delete a RoleBinding
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_namespaced_role_binding(name, namespace,... |
list or watch objects of kind ClusterRole This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. list_cluster_role ( async_req = True ) >>> result = thread. get () | def list_cluster_role(self, **kwargs):
"""
list or watch objects of kind ClusterRole
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_cluster_role(async_req=True)
>>> result = t... |
list or watch objects of kind Role This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. list_namespaced_role ( namespace async_req = True ) >>> result = thread. get () | def list_namespaced_role(self, namespace, **kwargs):
"""
list or watch objects of kind Role
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_namespaced_role(namespace, async_req=True)
... |
list or watch objects of kind RoleBinding This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. list_namespaced_role_binding ( namespace async_req = True ) >>> result = thread. get () | def list_namespaced_role_binding(self, namespace, **kwargs):
"""
list or watch objects of kind RoleBinding
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_namespaced_role_binding(names... |
list or watch objects of kind RoleBinding This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. list_role_binding_for_all_namespaces ( async_req = True ) >>> result = thread. get () | def list_role_binding_for_all_namespaces(self, **kwargs):
"""
list or watch objects of kind RoleBinding
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_role_binding_for_all_namespaces(... |
partially update the specified ClusterRole This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. patch_cluster_role ( name body async_req = True ) >>> result = thread. get () | def patch_cluster_role(self, name, body, **kwargs):
"""
partially update the specified ClusterRole
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_cluster_role(name, body, async_req=T... |
partially update the specified ClusterRoleBinding This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. patch_cluster_role_binding ( name body async_req = True ) >>> result = thread. get () | def patch_cluster_role_binding(self, name, body, **kwargs):
"""
partially update the specified ClusterRoleBinding
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_cluster_role_binding(... |
partially update the specified Role This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. patch_namespaced_role ( name namespace body async_req = True ) >>> result = thread. get () | def patch_namespaced_role(self, name, namespace, body, **kwargs):
"""
partially update the specified Role
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_namespaced_role(name, namespa... |
read the specified ClusterRole This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. read_cluster_role ( name async_req = True ) >>> result = thread. get () | def read_cluster_role(self, name, **kwargs):
"""
read the specified ClusterRole
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.read_cluster_role(name, async_req=True)
>>> result = ... |
read the specified ClusterRoleBinding This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. read_cluster_role_binding ( name async_req = True ) >>> result = thread. get () | def read_cluster_role_binding(self, name, **kwargs):
"""
read the specified ClusterRoleBinding
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.read_cluster_role_binding(name, async_req=True... |
read the specified Role This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. read_namespaced_role ( name namespace async_req = True ) >>> result = thread. get () | def read_namespaced_role(self, name, namespace, **kwargs):
"""
read the specified Role
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.read_namespaced_role(name, namespace, async_req=True)
... |
replace the specified ClusterRole This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. replace_cluster_role ( name body async_req = True ) >>> result = thread. get () | def replace_cluster_role(self, name, body, **kwargs):
"""
replace the specified ClusterRole
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.replace_cluster_role(name, body, async_req=True)
... |
replace the specified ClusterRoleBinding This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. replace_cluster_role_binding ( name body async_req = True ) >>> result = thread. get () | def replace_cluster_role_binding(self, name, body, **kwargs):
"""
replace the specified ClusterRoleBinding
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.replace_cluster_role_binding(name,... |
replace the specified Role This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. replace_namespaced_role ( name namespace body async_req = True ) >>> result = thread. get () | def replace_namespaced_role(self, name, namespace, body, **kwargs):
"""
replace the specified Role
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.replace_namespaced_role(name, namespace, b... |
Change labels of the minikube node: - Add label foo with value bar. This will overwrite the foo label if it already exists. - Remove the label baz from the node. | def main():
"""
Change labels of the "minikube" node:
- Add label "foo" with value "bar". This will overwrite the "foo" label
if it already exists.
- Remove the label "baz" from the node.
"""
config.load_kube_config()
api_instance = client.CoreV1Api()
body = {
"metada... |
create a DaemonSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. create_namespaced_daemon_set ( namespace body async_req = True ) >>> result = thread. get () | def create_namespaced_daemon_set(self, namespace, body, **kwargs):
"""
create a DaemonSet
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_namespaced_daemon_set(namespace, body, async... |
delete collection of ControllerRevision 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_controller_revision ( namespace async_req = True ) >>> result = thread. get () | def delete_collection_namespaced_controller_revision(self, namespace, **kwargs):
"""
delete collection of ControllerRevision
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_collectio... |
delete collection of DaemonSet 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_daemon_set ( namespace async_req = True ) >>> result = thread. get () | def delete_collection_namespaced_daemon_set(self, namespace, **kwargs):
"""
delete collection of DaemonSet
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_daemo... |
delete collection of Deployment 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_deployment ( namespace async_req = True ) >>> result = thread. get () | def delete_collection_namespaced_deployment(self, namespace, **kwargs):
"""
delete collection of Deployment
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_depl... |
delete a StatefulSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. delete_namespaced_stateful_set ( name namespace async_req = True ) >>> result = thread. get () | def delete_namespaced_stateful_set(self, name, namespace, **kwargs):
"""
delete a StatefulSet
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_namespaced_stateful_set(name, namespace,... |
list or watch objects of kind DaemonSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. list_daemon_set_for_all_namespaces ( async_req = True ) >>> result = thread. get () | def list_daemon_set_for_all_namespaces(self, **kwargs):
"""
list or watch objects of kind DaemonSet
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_daemon_set_for_all_namespaces(async_... |
list or watch objects of kind Deployment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. list_deployment_for_all_namespaces ( async_req = True ) >>> result = thread. get () | def list_deployment_for_all_namespaces(self, **kwargs):
"""
list or watch objects of kind Deployment
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_deployment_for_all_namespaces(async... |
list or watch objects of kind ControllerRevision This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. list_namespaced_controller_revision ( namespace async_req = True ) >>> result = thread. get () | def list_namespaced_controller_revision(self, namespace, **kwargs):
"""
list or watch objects of kind ControllerRevision
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_namespaced_cont... |
list or watch objects of kind Deployment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. list_namespaced_deployment ( namespace async_req = True ) >>> result = thread. get () | def list_namespaced_deployment(self, namespace, **kwargs):
"""
list or watch objects of kind Deployment
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_namespaced_deployment(namespace,... |
list or watch objects of kind ReplicaSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. list_namespaced_replica_set ( namespace async_req = True ) >>> result = thread. get () | def list_namespaced_replica_set(self, namespace, **kwargs):
"""
list or watch objects of kind ReplicaSet
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_namespaced_replica_set(namespac... |
list or watch objects of kind StatefulSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. list_stateful_set_for_all_namespaces ( async_req = True ) >>> result = thread. get () | def list_stateful_set_for_all_namespaces(self, **kwargs):
"""
list or watch objects of kind StatefulSet
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_stateful_set_for_all_namespaces(... |
partially update the specified Deployment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. patch_namespaced_deployment ( name namespace body async_req = True ) >>> result = thread. get () | def patch_namespaced_deployment(self, name, namespace, body, **kwargs):
"""
partially update the specified Deployment
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_namespaced_deploy... |
partially update scale of the specified ReplicaSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. patch_namespaced_replica_set_scale ( name namespace body async_req = True ) >>> result = thread. get () | def patch_namespaced_replica_set_scale(self, name, namespace, body, **kwargs):
"""
partially update scale of the specified ReplicaSet
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_n... |
partially update status of the specified ReplicaSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. patch_namespaced_replica_set_status ( name namespace body async_req = True ) >>> result = thread. get () | def patch_namespaced_replica_set_status(self, name, namespace, body, **kwargs):
"""
partially update status of the specified ReplicaSet
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch... |
partially update status of the specified StatefulSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. patch_namespaced_stateful_set_status ( name namespace body async_req = True ) >>> result = thread. get () | def patch_namespaced_stateful_set_status(self, name, namespace, body, **kwargs):
"""
partially update status of the specified StatefulSet
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.pat... |
read the specified DaemonSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. read_namespaced_daemon_set ( name namespace async_req = True ) >>> result = thread. get () | def read_namespaced_daemon_set(self, name, namespace, **kwargs):
"""
read the specified DaemonSet
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.read_namespaced_daemon_set(name, namespace,... |
read status of the specified DaemonSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. read_namespaced_daemon_set_status ( name namespace async_req = True ) >>> result = thread. get () | def read_namespaced_daemon_set_status(self, name, namespace, **kwargs):
"""
read status of the specified DaemonSet
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.read_namespaced_daemon_set... |
read the specified Deployment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. read_namespaced_deployment ( name namespace async_req = True ) >>> result = thread. get () | def read_namespaced_deployment(self, name, namespace, **kwargs):
"""
read the specified Deployment
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.read_namespaced_deployment(name, namespace... |
read scale of the specified Deployment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. read_namespaced_deployment_scale ( name namespace async_req = True ) >>> result = thread. get () | def read_namespaced_deployment_scale(self, name, namespace, **kwargs):
"""
read scale of the specified Deployment
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.read_namespaced_deployment_... |
read status of the specified Deployment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. read_namespaced_deployment_status ( name namespace async_req = True ) >>> result = thread. get () | def read_namespaced_deployment_status(self, name, namespace, **kwargs):
"""
read status of the specified Deployment
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.read_namespaced_deploymen... |
read scale of the specified ReplicaSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. read_namespaced_replica_set_scale ( name namespace async_req = True ) >>> result = thread. get () | def read_namespaced_replica_set_scale(self, name, namespace, **kwargs):
"""
read scale of the specified ReplicaSet
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.read_namespaced_replica_se... |
read status of the specified StatefulSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. read_namespaced_stateful_set_status ( name namespace async_req = True ) >>> result = thread. get () | def read_namespaced_stateful_set_status(self, name, namespace, **kwargs):
"""
read status of the specified StatefulSet
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.read_namespaced_statef... |
replace the specified DaemonSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. replace_namespaced_daemon_set ( name namespace body async_req = True ) >>> result = thread. get () | def replace_namespaced_daemon_set(self, name, namespace, body, **kwargs):
"""
replace the specified DaemonSet
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.replace_namespaced_daemon_set(n... |
replace the specified Deployment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. replace_namespaced_deployment ( name namespace body async_req = True ) >>> result = thread. get () | def replace_namespaced_deployment(self, name, namespace, body, **kwargs):
"""
replace the specified Deployment
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.replace_namespaced_deployment(... |
replace scale of the specified Deployment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. replace_namespaced_deployment_scale ( name namespace body async_req = True ) >>> result = thread. get () | def replace_namespaced_deployment_scale(self, name, namespace, body, **kwargs):
"""
replace scale of the specified Deployment
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.replace_namespa... |
replace status of the specified Deployment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. replace_namespaced_deployment_status ( name namespace body async_req = True ) >>> result = thread. get () | def replace_namespaced_deployment_status(self, name, namespace, body, **kwargs):
"""
replace status of the specified Deployment
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.replace_names... |
replace the specified ReplicaSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. replace_namespaced_replica_set ( name namespace body async_req = True ) >>> result = thread. get () | def replace_namespaced_replica_set(self, name, namespace, body, **kwargs):
"""
replace the specified ReplicaSet
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.replace_namespaced_replica_se... |
replace scale of the specified ReplicaSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. replace_namespaced_replica_set_scale ( name namespace body async_req = True ) >>> result = thread. get () | def replace_namespaced_replica_set_scale(self, name, namespace, body, **kwargs):
"""
replace scale of the specified ReplicaSet
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.replace_namesp... |
replace status of the specified ReplicaSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. replace_namespaced_replica_set_status ( name namespace body async_req = True ) >>> result = thread. get () | def replace_namespaced_replica_set_status(self, name, namespace, body, **kwargs):
"""
replace status of the specified ReplicaSet
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.replace_name... |
replace status of the specified StatefulSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. replace_namespaced_stateful_set_status ( name namespace body async_req = True ) >>> result = thread. get () | def replace_namespaced_stateful_set_status(self, name, namespace, body, **kwargs):
"""
replace status of the specified StatefulSet
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.replace_na... |
create a NetworkPolicy This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. create_namespaced_network_policy ( namespace body async_req = True ) >>> result = thread. get () | def create_namespaced_network_policy(self, namespace, body, **kwargs):
"""
create a NetworkPolicy
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_namespaced_network_policy(namespace,... |
create a PodSecurityPolicy This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. create_pod_security_policy ( body async_req = True ) >>> result = thread. get () | def create_pod_security_policy(self, body, **kwargs):
"""
create a PodSecurityPolicy
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_pod_security_policy(body, async_req=True)
... |
delete collection of PodSecurityPolicy This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. delete_collection_pod_security_policy ( async_req = True ) >>> result = thread. get () | def delete_collection_pod_security_policy(self, **kwargs):
"""
delete collection of PodSecurityPolicy
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_collection_pod_security_policy(a... |
delete a NetworkPolicy This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. delete_namespaced_network_policy ( name namespace async_req = True ) >>> result = thread. get () | def delete_namespaced_network_policy(self, name, namespace, **kwargs):
"""
delete a NetworkPolicy
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_namespaced_network_policy(name, name... |
delete a PodSecurityPolicy This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. delete_pod_security_policy ( name async_req = True ) >>> result = thread. get () | def delete_pod_security_policy(self, name, **kwargs):
"""
delete a PodSecurityPolicy
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_pod_security_policy(name, async_req=True)
... |
list or watch objects of kind NetworkPolicy This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. list_network_policy_for_all_namespaces ( async_req = True ) >>> result = thread. get () | def list_network_policy_for_all_namespaces(self, **kwargs):
"""
list or watch objects of kind NetworkPolicy
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_network_policy_for_all_names... |
list or watch objects of kind PodSecurityPolicy This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. list_pod_security_policy ( async_req = True ) >>> result = thread. get () | def list_pod_security_policy(self, **kwargs):
"""
list or watch objects of kind PodSecurityPolicy
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_pod_security_policy(async_req=True)
... |
partially update the specified NetworkPolicy This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. patch_namespaced_network_policy ( name namespace body async_req = True ) >>> result = thread. get () | def patch_namespaced_network_policy(self, name, namespace, body, **kwargs):
"""
partially update the specified NetworkPolicy
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_namespaced... |
read the specified NetworkPolicy This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. read_namespaced_network_policy ( name namespace async_req = True ) >>> result = thread. get () | def read_namespaced_network_policy(self, name, namespace, **kwargs):
"""
read the specified NetworkPolicy
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.read_namespaced_network_policy(name... |
replace the specified NetworkPolicy This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. replace_namespaced_network_policy ( name namespace body async_req = True ) >>> result = thread. get () | def replace_namespaced_network_policy(self, name, namespace, body, **kwargs):
"""
replace the specified NetworkPolicy
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.replace_namespaced_netw... |
replace scale of the specified ReplicationControllerDummy 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_dummy_scale ( name namespace body async_req = True ) >>> result = thread. get (... | def replace_namespaced_replication_controller_dummy_scale(self, name, namespace, body, **kwargs):
"""
replace scale of the specified ReplicationControllerDummy
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
... |
create a TokenReview This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. create_token_review ( body async_req = True ) >>> result = thread. get () | def create_token_review(self, body, **kwargs):
"""
create a TokenReview
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_token_review(body, async_req=True)
>>> result = thread... |
delete collection of VolumeAttachment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. delete_collection_volume_attachment ( async_req = True ) >>> result = thread. get () | def delete_collection_volume_attachment(self, **kwargs):
"""
delete collection of VolumeAttachment
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_collection_volume_attachment(async_... |
list or watch objects of kind StorageClass This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. list_storage_class ( async_req = True ) >>> result = thread. get () | def list_storage_class(self, **kwargs):
"""
list or watch objects of kind StorageClass
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_storage_class(async_req=True)
>>> result ... |
list or watch objects of kind VolumeAttachment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. list_volume_attachment ( async_req = True ) >>> result = thread. get () | def list_volume_attachment(self, **kwargs):
"""
list or watch objects of kind VolumeAttachment
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_volume_attachment(async_req=True)
... |
partially update status of the specified VolumeAttachment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. patch_volume_attachment_status ( name body async_req = True ) >>> result = thread. get () | def patch_volume_attachment_status(self, name, body, **kwargs):
"""
partially update status of the specified VolumeAttachment
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_volume_at... |
read the specified StorageClass This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. read_storage_class ( name async_req = True ) >>> result = thread. get () | def read_storage_class(self, name, **kwargs):
"""
read the specified StorageClass
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.read_storage_class(name, async_req=True)
>>> result... |
replace the specified StorageClass This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. replace_storage_class ( name body async_req = True ) >>> result = thread. get () | def replace_storage_class(self, name, body, **kwargs):
"""
replace the specified StorageClass
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.replace_storage_class(name, body, async_req=Tru... |
replace the specified VolumeAttachment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. replace_volume_attachment ( name body async_req = True ) >>> result = thread. get () | def replace_volume_attachment(self, name, body, **kwargs):
"""
replace the specified VolumeAttachment
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.replace_volume_attachment(name, body, a... |
create a RuntimeClass This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. create_runtime_class ( body async_req = True ) >>> result = thread. get () | def create_runtime_class(self, body, **kwargs):
"""
create a RuntimeClass
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_runtime_class(body, async_req=True)
>>> result = thr... |
delete collection of RuntimeClass This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. delete_collection_runtime_class ( async_req = True ) >>> result = thread. get () | def delete_collection_runtime_class(self, **kwargs):
"""
delete collection of RuntimeClass
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_collection_runtime_class(async_req=True)
... |
delete a RuntimeClass This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. delete_runtime_class ( name async_req = True ) >>> result = thread. get () | def delete_runtime_class(self, name, **kwargs):
"""
delete a RuntimeClass
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_runtime_class(name, async_req=True)
>>> result = thr... |
list or watch objects of kind RuntimeClass This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. list_runtime_class ( async_req = True ) >>> result = thread. get () | def list_runtime_class(self, **kwargs):
"""
list or watch objects of kind RuntimeClass
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_runtime_class(async_req=True)
>>> result ... |
partially update the specified RuntimeClass This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. patch_runtime_class ( name body async_req = True ) >>> result = thread. get () | def patch_runtime_class(self, name, body, **kwargs):
"""
partially update the specified RuntimeClass
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_runtime_class(name, body, async_re... |
read the specified RuntimeClass This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. read_runtime_class ( name async_req = True ) >>> result = thread. get () | def read_runtime_class(self, name, **kwargs):
"""
read the specified RuntimeClass
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.read_runtime_class(name, async_req=True)
>>> result... |
replace the specified RuntimeClass This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. replace_runtime_class ( name body async_req = True ) >>> result = thread. get () | def replace_runtime_class(self, name, body, **kwargs):
"""
replace the specified RuntimeClass
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.replace_runtime_class(name, body, async_req=Tru... |
create a CSIDriver This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. create_csi_driver ( body async_req = True ) >>> result = thread. get () | def create_csi_driver(self, body, **kwargs):
"""
create a CSIDriver
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_csi_driver(body, async_req=True)
>>> result = thread.get()... |
create a CSINode This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. create_csi_node ( body async_req = True ) >>> result = thread. get () | def create_csi_node(self, body, **kwargs):
"""
create a CSINode
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_csi_node(body, async_req=True)
>>> result = thread.get()
... |
delete collection of CSIDriver This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. delete_collection_csi_driver ( async_req = True ) >>> result = thread. get () | def delete_collection_csi_driver(self, **kwargs):
"""
delete collection of CSIDriver
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_collection_csi_driver(async_req=True)
>>>... |
delete collection of CSINode This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. delete_collection_csi_node ( async_req = True ) >>> result = thread. get () | def delete_collection_csi_node(self, **kwargs):
"""
delete collection of CSINode
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_collection_csi_node(async_req=True)
>>> resul... |
delete a CSIDriver This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. delete_csi_driver ( name async_req = True ) >>> result = thread. get () | def delete_csi_driver(self, name, **kwargs):
"""
delete a CSIDriver
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_csi_driver(name, async_req=True)
>>> result = thread.get()... |
delete a CSINode This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. delete_csi_node ( name async_req = True ) >>> result = thread. get () | def delete_csi_node(self, name, **kwargs):
"""
delete a CSINode
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_csi_node(name, async_req=True)
>>> result = thread.get()
... |
list or watch objects of kind CSIDriver This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. list_csi_driver ( async_req = True ) >>> result = thread. get () | def list_csi_driver(self, **kwargs):
"""
list or watch objects of kind CSIDriver
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_csi_driver(async_req=True)
>>> result = thread.... |
list or watch objects of kind CSINode This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. list_csi_node ( async_req = True ) >>> result = thread. get () | def list_csi_node(self, **kwargs):
"""
list or watch objects of kind CSINode
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_csi_node(async_req=True)
>>> result = thread.get()
... |
partially update the specified CSIDriver This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. patch_csi_driver ( name body async_req = True ) >>> result = thread. get () | def patch_csi_driver(self, name, body, **kwargs):
"""
partially update the specified CSIDriver
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_csi_driver(name, body, async_req=True)
... |
partially update the specified CSINode This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request please pass async_req = True >>> thread = api. patch_csi_node ( name body async_req = True ) >>> result = thread. get () | def patch_csi_node(self, name, body, **kwargs):
"""
partially update the specified CSINode
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_csi_node(name, body, async_req=True)
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.