Code stringlengths 103 85.9k | Summary listlengths 0 94 |
|---|---|
Please provide a description of the function:def replace_cluster_role(self, name, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.replace_cluster_role_with_http_info(name, body, **kwargs)
else:
(data) = self.replac... | [
"\n replace the specified ClusterRole\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.replace_cluster_role(name, body, async_req=True)\n >>> result = thread.get()\n\n :param asy... |
Please provide a description of the function:def replace_cluster_role_binding(self, name, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.replace_cluster_role_binding_with_http_info(name, body, **kwargs)
else:
(dat... | [
"\n replace the specified ClusterRoleBinding\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.replace_cluster_role_binding(name, body, async_req=True)\n >>> result = thread.get()\n\n ... |
Please provide a description of the function:def replace_namespaced_role(self, name, namespace, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.replace_namespaced_role_with_http_info(name, namespace, body, **kwargs)
else:
... | [
"\n replace the specified Role\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.replace_namespaced_role(name, namespace, body, async_req=True)\n >>> result = thread.get()\n\n :pa... |
Please provide a description of the function:def main():
config.load_kube_config()
api_instance = client.CoreV1Api()
body = {
"metadata": {
"labels": {
"foo": "bar",
"baz": None}
}
}
api_response = api_instance.patch_node("minikube... | [
"\n Change labels of the \"minikube\" node:\n - Add label \"foo\" with value \"bar\". This will overwrite the \"foo\" label\n if it already exists.\n - Remove the label \"baz\" from the node.\n "
] |
Please provide a description of the function:def create_namespaced_daemon_set(self, namespace, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.create_namespaced_daemon_set_with_http_info(namespace, body, **kwargs)
else:
... | [
"\n create a DaemonSet\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.create_namespaced_daemon_set(namespace, body, async_req=True)\n >>> result = thread.get()\n\n :param async... |
Please provide a description of the function:def delete_collection_namespaced_controller_revision(self, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_collection_namespaced_controller_revision_with_http_info(namespace, **... | [
"\n delete collection of ControllerRevision\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.delete_collection_namespaced_controller_revision(namespace, async_req=True)\n >>> result = t... |
Please provide a description of the function:def delete_collection_namespaced_daemon_set(self, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_collection_namespaced_daemon_set_with_http_info(namespace, **kwargs)
el... | [
"\n delete collection of DaemonSet\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.delete_collection_namespaced_daemon_set(namespace, async_req=True)\n >>> result = thread.get()\n\n ... |
Please provide a description of the function:def delete_collection_namespaced_deployment(self, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_collection_namespaced_deployment_with_http_info(namespace, **kwargs)
el... | [
"\n delete collection of Deployment\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.delete_collection_namespaced_deployment(namespace, async_req=True)\n >>> result = thread.get()\n\n ... |
Please provide a description of the function:def delete_namespaced_stateful_set(self, name, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_namespaced_stateful_set_with_http_info(name, namespace, **kwargs)
else:
... | [
"\n delete a StatefulSet\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.delete_namespaced_stateful_set(name, namespace, async_req=True)\n >>> result = thread.get()\n\n :param a... |
Please provide a description of the function:def list_daemon_set_for_all_namespaces(self, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_daemon_set_for_all_namespaces_with_http_info(**kwargs)
else:
(data) = self.li... | [
"\n list or watch objects of kind DaemonSet\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.list_daemon_set_for_all_namespaces(async_req=True)\n >>> result = thread.get()\n\n :p... |
Please provide a description of the function:def list_deployment_for_all_namespaces(self, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_deployment_for_all_namespaces_with_http_info(**kwargs)
else:
(data) = self.li... | [
"\n list or watch objects of kind Deployment\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.list_deployment_for_all_namespaces(async_req=True)\n >>> result = thread.get()\n\n :... |
Please provide a description of the function:def list_namespaced_controller_revision(self, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_namespaced_controller_revision_with_http_info(namespace, **kwargs)
else:
... | [
"\n list or watch objects of kind ControllerRevision\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.list_namespaced_controller_revision(namespace, async_req=True)\n >>> result = threa... |
Please provide a description of the function:def list_namespaced_deployment(self, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_namespaced_deployment_with_http_info(namespace, **kwargs)
else:
(data) = s... | [
"\n list or watch objects of kind Deployment\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.list_namespaced_deployment(namespace, async_req=True)\n >>> result = thread.get()\n\n ... |
Please provide a description of the function:def list_namespaced_replica_set(self, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_namespaced_replica_set_with_http_info(namespace, **kwargs)
else:
(data) =... | [
"\n list or watch objects of kind ReplicaSet\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.list_namespaced_replica_set(namespace, async_req=True)\n >>> result = thread.get()\n\n ... |
Please provide a description of the function:def list_stateful_set_for_all_namespaces(self, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_stateful_set_for_all_namespaces_with_http_info(**kwargs)
else:
(data) = sel... | [
"\n list or watch objects of kind StatefulSet\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.list_stateful_set_for_all_namespaces(async_req=True)\n >>> result = thread.get()\n\n ... |
Please provide a description of the function:def patch_namespaced_deployment(self, name, namespace, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.patch_namespaced_deployment_with_http_info(name, namespace, body, **kwargs)
el... | [
"\n partially update the specified Deployment\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.patch_namespaced_deployment(name, namespace, body, async_req=True)\n >>> result = thread.g... |
Please provide a description of the function:def patch_namespaced_replica_set_scale(self, name, namespace, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.patch_namespaced_replica_set_scale_with_http_info(name, namespace, body, **kwar... | [
"\n partially update scale of the specified ReplicaSet\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.patch_namespaced_replica_set_scale(name, namespace, body, async_req=True)\n >>> r... |
Please provide a description of the function:def patch_namespaced_replica_set_status(self, name, namespace, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.patch_namespaced_replica_set_status_with_http_info(name, namespace, body, **kw... | [
"\n partially update status of the specified ReplicaSet\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.patch_namespaced_replica_set_status(name, namespace, body, async_req=True)\n >>>... |
Please provide a description of the function:def patch_namespaced_stateful_set_status(self, name, namespace, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.patch_namespaced_stateful_set_status_with_http_info(name, namespace, body, **... | [
"\n partially update status of the specified StatefulSet\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.patch_namespaced_stateful_set_status(name, namespace, body, async_req=True)\n >... |
Please provide a description of the function:def read_namespaced_daemon_set(self, name, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.read_namespaced_daemon_set_with_http_info(name, namespace, **kwargs)
else:
... | [
"\n read the specified DaemonSet\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.read_namespaced_daemon_set(name, namespace, async_req=True)\n >>> result = thread.get()\n\n :par... |
Please provide a description of the function:def read_namespaced_daemon_set_status(self, name, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.read_namespaced_daemon_set_status_with_http_info(name, namespace, **kwargs)
el... | [
"\n read status of the specified DaemonSet\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.read_namespaced_daemon_set_status(name, namespace, async_req=True)\n >>> result = thread.get(... |
Please provide a description of the function:def read_namespaced_deployment(self, name, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.read_namespaced_deployment_with_http_info(name, namespace, **kwargs)
else:
... | [
"\n read the specified Deployment\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.read_namespaced_deployment(name, namespace, async_req=True)\n >>> result = thread.get()\n\n :pa... |
Please provide a description of the function:def read_namespaced_deployment_scale(self, name, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.read_namespaced_deployment_scale_with_http_info(name, namespace, **kwargs)
else... | [
"\n read scale of the specified Deployment\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.read_namespaced_deployment_scale(name, namespace, async_req=True)\n >>> result = thread.get()... |
Please provide a description of the function:def read_namespaced_deployment_status(self, name, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.read_namespaced_deployment_status_with_http_info(name, namespace, **kwargs)
el... | [
"\n read status of the specified Deployment\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.read_namespaced_deployment_status(name, namespace, async_req=True)\n >>> result = thread.get... |
Please provide a description of the function:def read_namespaced_replica_set_scale(self, name, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.read_namespaced_replica_set_scale_with_http_info(name, namespace, **kwargs)
el... | [
"\n read scale of the specified ReplicaSet\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.read_namespaced_replica_set_scale(name, namespace, async_req=True)\n >>> result = thread.get(... |
Please provide a description of the function:def read_namespaced_stateful_set_status(self, name, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.read_namespaced_stateful_set_status_with_http_info(name, namespace, **kwargs)
... | [
"\n read status of the specified StatefulSet\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.read_namespaced_stateful_set_status(name, namespace, async_req=True)\n >>> result = thread.... |
Please provide a description of the function:def replace_namespaced_daemon_set(self, name, namespace, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.replace_namespaced_daemon_set_with_http_info(name, namespace, body, **kwargs)
... | [
"\n replace the specified DaemonSet\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.replace_namespaced_daemon_set(name, namespace, body, async_req=True)\n >>> result = thread.get()\n\n... |
Please provide a description of the function:def replace_namespaced_deployment(self, name, namespace, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.replace_namespaced_deployment_with_http_info(name, namespace, body, **kwargs)
... | [
"\n replace the specified Deployment\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.replace_namespaced_deployment(name, namespace, body, async_req=True)\n >>> result = thread.get()\n\... |
Please provide a description of the function:def replace_namespaced_deployment_scale(self, name, namespace, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.replace_namespaced_deployment_scale_with_http_info(name, namespace, body, **kw... | [
"\n replace scale of the specified Deployment\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.replace_namespaced_deployment_scale(name, namespace, body, async_req=True)\n >>> result = ... |
Please provide a description of the function:def replace_namespaced_deployment_status(self, name, namespace, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.replace_namespaced_deployment_status_with_http_info(name, namespace, body, **... | [
"\n replace status of the specified Deployment\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.replace_namespaced_deployment_status(name, namespace, body, async_req=True)\n >>> result ... |
Please provide a description of the function:def replace_namespaced_replica_set(self, name, namespace, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.replace_namespaced_replica_set_with_http_info(name, namespace, body, **kwargs)
... | [
"\n replace the specified ReplicaSet\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.replace_namespaced_replica_set(name, namespace, body, async_req=True)\n >>> result = thread.get()\n... |
Please provide a description of the function:def replace_namespaced_replica_set_scale(self, name, namespace, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.replace_namespaced_replica_set_scale_with_http_info(name, namespace, body, **... | [
"\n replace scale of the specified ReplicaSet\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.replace_namespaced_replica_set_scale(name, namespace, body, async_req=True)\n >>> result =... |
Please provide a description of the function:def replace_namespaced_replica_set_status(self, name, namespace, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.replace_namespaced_replica_set_status_with_http_info(name, namespace, body, ... | [
"\n replace status of the specified ReplicaSet\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.replace_namespaced_replica_set_status(name, namespace, body, async_req=True)\n >>> result... |
Please provide a description of the function:def replace_namespaced_stateful_set_status(self, name, namespace, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.replace_namespaced_stateful_set_status_with_http_info(name, namespace, body... | [
"\n replace status of the specified StatefulSet\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.replace_namespaced_stateful_set_status(name, namespace, body, async_req=True)\n >>> resu... |
Please provide a description of the function:def create_namespaced_network_policy(self, namespace, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.create_namespaced_network_policy_with_http_info(namespace, body, **kwargs)
else... | [
"\n create a NetworkPolicy\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.create_namespaced_network_policy(namespace, body, async_req=True)\n >>> result = thread.get()\n\n :par... |
Please provide a description of the function:def create_pod_security_policy(self, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.create_pod_security_policy_with_http_info(body, **kwargs)
else:
(data) = self.create... | [
"\n create a PodSecurityPolicy\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.create_pod_security_policy(body, async_req=True)\n >>> result = thread.get()\n\n :param async_req ... |
Please provide a description of the function:def delete_collection_pod_security_policy(self, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_collection_pod_security_policy_with_http_info(**kwargs)
else:
(data) = s... | [
"\n delete collection of PodSecurityPolicy\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.delete_collection_pod_security_policy(async_req=True)\n >>> result = thread.get()\n\n ... |
Please provide a description of the function:def delete_namespaced_network_policy(self, name, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_namespaced_network_policy_with_http_info(name, namespace, **kwargs)
else... | [
"\n delete a NetworkPolicy\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.delete_namespaced_network_policy(name, namespace, async_req=True)\n >>> result = thread.get()\n\n :par... |
Please provide a description of the function:def delete_pod_security_policy(self, name, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_pod_security_policy_with_http_info(name, **kwargs)
else:
(data) = self.delete... | [
"\n delete a PodSecurityPolicy\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.delete_pod_security_policy(name, async_req=True)\n >>> result = thread.get()\n\n :param async_req ... |
Please provide a description of the function:def list_network_policy_for_all_namespaces(self, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_network_policy_for_all_namespaces_with_http_info(**kwargs)
else:
(data) =... | [
"\n list or watch objects of kind NetworkPolicy\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.list_network_policy_for_all_namespaces(async_req=True)\n >>> result = thread.get()\n\n ... |
Please provide a description of the function:def list_pod_security_policy(self, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_pod_security_policy_with_http_info(**kwargs)
else:
(data) = self.list_pod_security_poli... | [
"\n list or watch objects of kind PodSecurityPolicy\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.list_pod_security_policy(async_req=True)\n >>> result = thread.get()\n\n :par... |
Please provide a description of the function:def patch_namespaced_network_policy(self, name, namespace, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.patch_namespaced_network_policy_with_http_info(name, namespace, body, **kwargs)
... | [
"\n partially update the specified NetworkPolicy\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.patch_namespaced_network_policy(name, namespace, body, async_req=True)\n >>> result = t... |
Please provide a description of the function:def read_namespaced_network_policy(self, name, namespace, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.read_namespaced_network_policy_with_http_info(name, namespace, **kwargs)
else:
... | [
"\n read the specified NetworkPolicy\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.read_namespaced_network_policy(name, namespace, async_req=True)\n >>> result = thread.get()\n\n ... |
Please provide a description of the function:def replace_namespaced_network_policy(self, name, namespace, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.replace_namespaced_network_policy_with_http_info(name, namespace, body, **kwargs... | [
"\n replace the specified NetworkPolicy\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.replace_namespaced_network_policy(name, namespace, body, async_req=True)\n >>> result = thread.g... |
Please provide a description of the function:def replace_namespaced_replication_controller_dummy_scale(self, name, namespace, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.replace_namespaced_replication_controller_dummy_scale_with_h... | [
"\n replace scale of the specified ReplicationControllerDummy\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.replace_namespaced_replication_controller_dummy_scale(name, namespace, body, asyn... |
Please provide a description of the function:def create_token_review(self, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.create_token_review_with_http_info(body, **kwargs)
else:
(data) = self.create_token_review_... | [
"\n create a TokenReview\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.create_token_review(body, async_req=True)\n >>> result = thread.get()\n\n :param async_req bool\n ... |
Please provide a description of the function:def delete_collection_volume_attachment(self, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_collection_volume_attachment_with_http_info(**kwargs)
else:
(data) = self.... | [
"\n delete collection of VolumeAttachment\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.delete_collection_volume_attachment(async_req=True)\n >>> result = thread.get()\n\n :pa... |
Please provide a description of the function:def list_storage_class(self, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_storage_class_with_http_info(**kwargs)
else:
(data) = self.list_storage_class_with_http_info(... | [
"\n list or watch objects of kind StorageClass\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.list_storage_class(async_req=True)\n >>> result = thread.get()\n\n :param async_re... |
Please provide a description of the function:def list_volume_attachment(self, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_volume_attachment_with_http_info(**kwargs)
else:
(data) = self.list_volume_attachment_wit... | [
"\n list or watch objects of kind VolumeAttachment\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.list_volume_attachment(async_req=True)\n >>> result = thread.get()\n\n :param ... |
Please provide a description of the function:def patch_volume_attachment_status(self, name, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.patch_volume_attachment_status_with_http_info(name, body, **kwargs)
else:
... | [
"\n partially update status of the specified VolumeAttachment\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.patch_volume_attachment_status(name, body, async_req=True)\n >>> result = ... |
Please provide a description of the function:def read_storage_class(self, name, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.read_storage_class_with_http_info(name, **kwargs)
else:
(data) = self.read_storage_class_wit... | [
"\n read the specified StorageClass\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.read_storage_class(name, async_req=True)\n >>> result = thread.get()\n\n :param async_req boo... |
Please provide a description of the function:def replace_storage_class(self, name, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.replace_storage_class_with_http_info(name, body, **kwargs)
else:
(data) = self.repl... | [
"\n replace the specified StorageClass\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.replace_storage_class(name, body, async_req=True)\n >>> result = thread.get()\n\n :param a... |
Please provide a description of the function:def replace_volume_attachment(self, name, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.replace_volume_attachment_with_http_info(name, body, **kwargs)
else:
(data) = s... | [
"\n replace the specified VolumeAttachment\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.replace_volume_attachment(name, body, async_req=True)\n >>> result = thread.get()\n\n ... |
Please provide a description of the function:def create_runtime_class(self, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.create_runtime_class_with_http_info(body, **kwargs)
else:
(data) = self.create_runtime_cla... | [
"\n create a RuntimeClass\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.create_runtime_class(body, async_req=True)\n >>> result = thread.get()\n\n :param async_req bool\n ... |
Please provide a description of the function:def delete_collection_runtime_class(self, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_collection_runtime_class_with_http_info(**kwargs)
else:
(data) = self.delete_c... | [
"\n delete collection of RuntimeClass\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.delete_collection_runtime_class(async_req=True)\n >>> result = thread.get()\n\n :param asyn... |
Please provide a description of the function:def delete_runtime_class(self, name, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_runtime_class_with_http_info(name, **kwargs)
else:
(data) = self.delete_runtime_cla... | [
"\n delete a RuntimeClass\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.delete_runtime_class(name, async_req=True)\n >>> result = thread.get()\n\n :param async_req bool\n ... |
Please provide a description of the function:def list_runtime_class(self, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_runtime_class_with_http_info(**kwargs)
else:
(data) = self.list_runtime_class_with_http_info(... | [
"\n list or watch objects of kind RuntimeClass\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.list_runtime_class(async_req=True)\n >>> result = thread.get()\n\n :param async_re... |
Please provide a description of the function:def patch_runtime_class(self, name, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.patch_runtime_class_with_http_info(name, body, **kwargs)
else:
(data) = self.patch_ru... | [
"\n partially update the specified RuntimeClass\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.patch_runtime_class(name, body, async_req=True)\n >>> result = thread.get()\n\n :... |
Please provide a description of the function:def read_runtime_class(self, name, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.read_runtime_class_with_http_info(name, **kwargs)
else:
(data) = self.read_runtime_class_wit... | [
"\n read the specified RuntimeClass\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.read_runtime_class(name, async_req=True)\n >>> result = thread.get()\n\n :param async_req boo... |
Please provide a description of the function:def replace_runtime_class(self, name, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.replace_runtime_class_with_http_info(name, body, **kwargs)
else:
(data) = self.repl... | [
"\n replace the specified RuntimeClass\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.replace_runtime_class(name, body, async_req=True)\n >>> result = thread.get()\n\n :param a... |
Please provide a description of the function:def create_csi_driver(self, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.create_csi_driver_with_http_info(body, **kwargs)
else:
(data) = self.create_csi_driver_with_h... | [
"\n create a CSIDriver\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.create_csi_driver(body, async_req=True)\n >>> result = thread.get()\n\n :param async_req bool\n :pa... |
Please provide a description of the function:def create_csi_node(self, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.create_csi_node_with_http_info(body, **kwargs)
else:
(data) = self.create_csi_node_with_http_in... | [
"\n create a CSINode\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.create_csi_node(body, async_req=True)\n >>> result = thread.get()\n\n :param async_req bool\n :param ... |
Please provide a description of the function:def delete_collection_csi_driver(self, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_collection_csi_driver_with_http_info(**kwargs)
else:
(data) = self.delete_collect... | [
"\n delete collection of CSIDriver\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.delete_collection_csi_driver(async_req=True)\n >>> result = thread.get()\n\n :param async_req ... |
Please provide a description of the function:def delete_collection_csi_node(self, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_collection_csi_node_with_http_info(**kwargs)
else:
(data) = self.delete_collection_... | [
"\n delete collection of CSINode\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.delete_collection_csi_node(async_req=True)\n >>> result = thread.get()\n\n :param async_req bool... |
Please provide a description of the function:def delete_csi_driver(self, name, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_csi_driver_with_http_info(name, **kwargs)
else:
(data) = self.delete_csi_driver_with_h... | [
"\n delete a CSIDriver\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.delete_csi_driver(name, async_req=True)\n >>> result = thread.get()\n\n :param async_req bool\n :pa... |
Please provide a description of the function:def delete_csi_node(self, name, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_csi_node_with_http_info(name, **kwargs)
else:
(data) = self.delete_csi_node_with_http_in... | [
"\n delete a CSINode\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.delete_csi_node(name, async_req=True)\n >>> result = thread.get()\n\n :param async_req bool\n :param ... |
Please provide a description of the function:def list_csi_driver(self, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_csi_driver_with_http_info(**kwargs)
else:
(data) = self.list_csi_driver_with_http_info(**kwargs)... | [
"\n list or watch objects of kind CSIDriver\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.list_csi_driver(async_req=True)\n >>> result = thread.get()\n\n :param async_req bool... |
Please provide a description of the function:def list_csi_node(self, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_csi_node_with_http_info(**kwargs)
else:
(data) = self.list_csi_node_with_http_info(**kwargs)
... | [
"\n list or watch objects of kind CSINode\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.list_csi_node(async_req=True)\n >>> result = thread.get()\n\n :param async_req bool\n ... |
Please provide a description of the function:def patch_csi_driver(self, name, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.patch_csi_driver_with_http_info(name, body, **kwargs)
else:
(data) = self.patch_csi_driv... | [
"\n partially update the specified CSIDriver\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.patch_csi_driver(name, body, async_req=True)\n >>> result = thread.get()\n\n :param ... |
Please provide a description of the function:def patch_csi_node(self, name, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.patch_csi_node_with_http_info(name, body, **kwargs)
else:
(data) = self.patch_csi_node_wit... | [
"\n partially update the specified CSINode\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.patch_csi_node(name, body, async_req=True)\n >>> result = thread.get()\n\n :param asyn... |
Please provide a description of the function:def read_csi_driver(self, name, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.read_csi_driver_with_http_info(name, **kwargs)
else:
(data) = self.read_csi_driver_with_http_in... | [
"\n read the specified CSIDriver\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.read_csi_driver(name, async_req=True)\n >>> result = thread.get()\n\n :param async_req bool\n ... |
Please provide a description of the function:def read_csi_node(self, name, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.read_csi_node_with_http_info(name, **kwargs)
else:
(data) = self.read_csi_node_with_http_info(nam... | [
"\n read the specified CSINode\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.read_csi_node(name, async_req=True)\n >>> result = thread.get()\n\n :param async_req bool\n ... |
Please provide a description of the function:def replace_csi_driver(self, name, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.replace_csi_driver_with_http_info(name, body, **kwargs)
else:
(data) = self.replace_cs... | [
"\n replace the specified CSIDriver\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.replace_csi_driver(name, body, async_req=True)\n >>> result = thread.get()\n\n :param async_r... |
Please provide a description of the function:def replace_csi_node(self, name, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.replace_csi_node_with_http_info(name, body, **kwargs)
else:
(data) = self.replace_csi_no... | [
"\n replace the specified CSINode\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.replace_csi_node(name, body, async_req=True)\n >>> result = thread.get()\n\n :param async_req b... |
Please provide a description of the function:def create_from_yaml(
k8s_client,
yaml_file,
verbose=False,
**kwargs):
with open(path.abspath(yaml_file)) as f:
yml_document_all = yaml.safe_load_all(f)
api_exceptions = []
# Load all documents from a single Y... | [
"\n Perform an action from a yaml file. Pass True for verbose to\n print confirmation information.\n Input:\n yaml_file: string. Contains the path to yaml file.\n k8s_client: an ApiClient object, initialized with the client args.\n verbose: If True, print confirmation from the create action.\n ... |
Please provide a description of the function:def create_namespaced_local_subject_access_review(self, namespace, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.create_namespaced_local_subject_access_review_with_http_info(namespace, bo... | [
"\n create a LocalSubjectAccessReview\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.create_namespaced_local_subject_access_review(namespace, body, async_req=True)\n >>> result = thre... |
Please provide a description of the function:def create_self_subject_rules_review(self, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.create_self_subject_rules_review_with_http_info(body, **kwargs)
else:
(data) =... | [
"\n create a SelfSubjectRulesReview\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.create_self_subject_rules_review(body, async_req=True)\n >>> result = thread.get()\n\n :param... |
Please provide a description of the function:def create_subject_access_review(self, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.create_subject_access_review_with_http_info(body, **kwargs)
else:
(data) = self.cr... | [
"\n create a SubjectAccessReview\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.create_subject_access_review(body, async_req=True)\n >>> result = thread.get()\n\n :param async_... |
Please provide a description of the function:def create_priority_class(self, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.create_priority_class_with_http_info(body, **kwargs)
else:
(data) = self.create_priority_... | [
"\n create a PriorityClass\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.create_priority_class(body, async_req=True)\n >>> result = thread.get()\n\n :param async_req bool\n ... |
Please provide a description of the function:def delete_collection_priority_class(self, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_collection_priority_class_with_http_info(**kwargs)
else:
(data) = self.delete... | [
"\n delete collection of PriorityClass\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.delete_collection_priority_class(async_req=True)\n >>> result = thread.get()\n\n :param as... |
Please provide a description of the function:def delete_priority_class(self, name, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_priority_class_with_http_info(name, **kwargs)
else:
(data) = self.delete_priority_... | [
"\n delete a PriorityClass\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.delete_priority_class(name, async_req=True)\n >>> result = thread.get()\n\n :param async_req bool\n ... |
Please provide a description of the function:def list_priority_class(self, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_priority_class_with_http_info(**kwargs)
else:
(data) = self.list_priority_class_with_http_in... | [
"\n list or watch objects of kind PriorityClass\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.list_priority_class(async_req=True)\n >>> result = thread.get()\n\n :param async_... |
Please provide a description of the function:def patch_priority_class(self, name, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.patch_priority_class_with_http_info(name, body, **kwargs)
else:
(data) = self.patch_... | [
"\n partially update the specified PriorityClass\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.patch_priority_class(name, body, async_req=True)\n >>> result = thread.get()\n\n ... |
Please provide a description of the function:def read_priority_class(self, name, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.read_priority_class_with_http_info(name, **kwargs)
else:
(data) = self.read_priority_class_... | [
"\n read the specified PriorityClass\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.read_priority_class(name, async_req=True)\n >>> result = thread.get()\n\n :param async_req b... |
Please provide a description of the function:def delete_api_service(self, name, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_api_service_with_http_info(name, **kwargs)
else:
(data) = self.delete_api_service_wit... | [
"\n delete an APIService\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.delete_api_service(name, async_req=True)\n >>> result = thread.get()\n\n :param async_req bool\n ... |
Please provide a description of the function:def delete_collection_api_service(self, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_collection_api_service_with_http_info(**kwargs)
else:
(data) = self.delete_colle... | [
"\n delete collection of APIService\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.delete_collection_api_service(async_req=True)\n >>> result = thread.get()\n\n :param async_re... |
Please provide a description of the function:def patch_api_service_status(self, name, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.patch_api_service_status_with_http_info(name, body, **kwargs)
else:
(data) = sel... | [
"\n partially update status of the specified APIService\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.patch_api_service_status(name, body, async_req=True)\n >>> result = thread.get()... |
Please provide a description of the function:def replace_api_service_status(self, name, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.replace_api_service_status_with_http_info(name, body, **kwargs)
else:
(data) =... | [
"\n replace status of the specified APIService\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.replace_api_service_status(name, body, async_req=True)\n >>> result = thread.get()\n\n ... |
Please provide a description of the function:def request(self, request):
if request is None:
raise ValueError("Invalid value for `request`, must not be `None`")
if request is not None and not re.search('^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$', request):
... | [
"\n Sets the request of this V1beta1CertificateSigningRequestSpec.\n Base64-encoded PKCS#10 CSR data\n\n :param request: The request of this V1beta1CertificateSigningRequestSpec.\n :type: str\n "
] |
Please provide a description of the function:def request(self, method, url, query_params=None, headers=None,
body=None, post_params=None, _preload_content=True, _request_timeout=None):
method = method.upper()
assert method in ['GET', 'HEAD', 'DELETE', 'POST', 'PUT', 'PATCH', 'OP... | [
"\n :param method: http request method\n :param url: http request url\n :param query_params: query parameters in the url\n :param headers: http request headers\n :param body: request json body, for `application/json`\n :param post_params: request post parameters,\n ... |
Please provide a description of the function:def create_mutating_webhook_configuration(self, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.create_mutating_webhook_configuration_with_http_info(body, **kwargs)
else:
... | [
"\n create a MutatingWebhookConfiguration\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.create_mutating_webhook_configuration(body, async_req=True)\n >>> result = thread.get()\n\n ... |
Please provide a description of the function:def create_validating_webhook_configuration(self, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.create_validating_webhook_configuration_with_http_info(body, **kwargs)
else:
... | [
"\n create a ValidatingWebhookConfiguration\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.create_validating_webhook_configuration(body, async_req=True)\n >>> result = thread.get()\n\... |
Please provide a description of the function:def delete_collection_validating_webhook_configuration(self, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_collection_validating_webhook_configuration_with_http_info(**kwargs)
el... | [
"\n delete collection of ValidatingWebhookConfiguration\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.delete_collection_validating_webhook_configuration(async_req=True)\n >>> result ... |
Please provide a description of the function:def delete_mutating_webhook_configuration(self, name, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_mutating_webhook_configuration_with_http_info(name, **kwargs)
else:
... | [
"\n delete a MutatingWebhookConfiguration\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.delete_mutating_webhook_configuration(name, async_req=True)\n >>> result = thread.get()\n\n ... |
Please provide a description of the function:def delete_validating_webhook_configuration(self, name, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_validating_webhook_configuration_with_http_info(name, **kwargs)
else:
... | [
"\n delete a ValidatingWebhookConfiguration\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.delete_validating_webhook_configuration(name, async_req=True)\n >>> result = thread.get()\n\... |
Please provide a description of the function:def list_validating_webhook_configuration(self, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_validating_webhook_configuration_with_http_info(**kwargs)
else:
(data) = s... | [
"\n list or watch objects of kind ValidatingWebhookConfiguration\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.list_validating_webhook_configuration(async_req=True)\n >>> result = th... |
Please provide a description of the function:def patch_mutating_webhook_configuration(self, name, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.patch_mutating_webhook_configuration_with_http_info(name, body, **kwargs)
else:
... | [
"\n partially update the specified MutatingWebhookConfiguration\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.patch_mutating_webhook_configuration(name, body, async_req=True)\n >>> r... |
Please provide a description of the function:def patch_validating_webhook_configuration(self, name, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.patch_validating_webhook_configuration_with_http_info(name, body, **kwargs)
el... | [
"\n partially update the specified ValidatingWebhookConfiguration\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.patch_validating_webhook_configuration(name, body, async_req=True)\n >... |
Please provide a description of the function:def read_validating_webhook_configuration(self, name, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.read_validating_webhook_configuration_with_http_info(name, **kwargs)
else:
... | [
"\n read the specified ValidatingWebhookConfiguration\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.read_validating_webhook_configuration(name, async_req=True)\n >>> result = thread.... |
Please provide a description of the function:def replace_mutating_webhook_configuration(self, name, body, **kwargs):
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.replace_mutating_webhook_configuration_with_http_info(name, body, **kwargs)
el... | [
"\n replace the specified MutatingWebhookConfiguration\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.replace_mutating_webhook_configuration(name, body, async_req=True)\n >>> result =... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.