From 524b0f7b116c92a6dd62970f81a07901336b06cc Mon Sep 17 00:00:00 2001 From: Haowei Cai Date: Fri, 7 Dec 2018 16:27:17 -0800 Subject: [PATCH 1/7] Update python-base submodule --- CHANGELOG.md | 5 +++++ kubernetes/base | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c614a14a02..c45059eb68 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +# v9.0.0a1 +**Bug Fix:** +- Refresh GCP auth tokens on API retrieval [kubernetes-client/python-base#92](https://github.com/kubernetes-client/python-base/pull/92) +- Fix kubeconfig loading failure when server uri contains trailing slash [kubernetes-client/python-base#45](https://github.com/kubernetes-client/python-base/pull/45) + # v8.0.0 **New Feature:** - Add utility to create API resource from yaml file [kubernetes-client/python#655](https://github.com/kubernetes-client/python/pull/655) diff --git a/kubernetes/base b/kubernetes/base index 83ebb9d5fd..5c242ead60 160000 --- a/kubernetes/base +++ b/kubernetes/base @@ -1 +1 @@ -Subproject commit 83ebb9d5fdc0d46bbb2e30afcd8eec42c5da4ad1 +Subproject commit 5c242ead602797ae870798882654f7a2a4edfe39 From 84b1198d780b1b539802f8f8bfa092888aa7c03c Mon Sep 17 00:00:00 2001 From: Haowei Cai Date: Fri, 7 Dec 2018 16:37:26 -0800 Subject: [PATCH 2/7] Update version constants for k8s 1.13 release snapshot --- scripts/constants.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/constants.py b/scripts/constants.py index 451952124e..d89d3c5a71 100644 --- a/scripts/constants.py +++ b/scripts/constants.py @@ -15,10 +15,10 @@ import sys # Kubernetes branch to get the OpenAPI spec from. -KUBERNETES_BRANCH = "release-1.12" +KUBERNETES_BRANCH = "release-1.13" # client version for packaging and releasing. -CLIENT_VERSION = "8.0.0-snapshot" +CLIENT_VERSION = "9.0.0-snapshot" # Name of the release package PACKAGE_NAME = "kubernetes" From cd411d27071797c0bad90b158a3ba335ee6f3b56 Mon Sep 17 00:00:00 2001 From: Haowei Cai Date: Fri, 7 Dec 2018 16:43:15 -0800 Subject: [PATCH 3/7] generated client change for 9.0.0-snapshot version constant update --- kubernetes/README.md | 45 +- kubernetes/__init__.py | 2 +- kubernetes/client/__init__.py | 26 +- kubernetes/client/api_client.py | 4 +- kubernetes/client/apis/__init__.py | 2 + .../client/apis/admissionregistration_api.py | 2 +- .../admissionregistration_v1alpha1_api.py | 23 +- .../apis/admissionregistration_v1beta1_api.py | 44 +- kubernetes/client/apis/apiextensions_api.py | 2 +- .../client/apis/apiextensions_v1beta1_api.py | 23 +- kubernetes/client/apis/apiregistration_api.py | 2 +- .../client/apis/apiregistration_v1_api.py | 23 +- .../apis/apiregistration_v1beta1_api.py | 23 +- kubernetes/client/apis/apis_api.py | 2 +- kubernetes/client/apis/apps_api.py | 2 +- kubernetes/client/apis/apps_v1_api.py | 107 +- kubernetes/client/apis/apps_v1beta1_api.py | 65 +- kubernetes/client/apis/apps_v1beta2_api.py | 107 +- .../client/apis/auditregistration_api.py | 124 + .../apis/auditregistration_v1alpha1_api.py | 932 ++++ kubernetes/client/apis/authentication_api.py | 2 +- .../client/apis/authentication_v1_api.py | 2 +- .../client/apis/authentication_v1beta1_api.py | 2 +- kubernetes/client/apis/authorization_api.py | 2 +- .../client/apis/authorization_v1_api.py | 2 +- .../client/apis/authorization_v1beta1_api.py | 2 +- kubernetes/client/apis/autoscaling_api.py | 2 +- kubernetes/client/apis/autoscaling_v1_api.py | 23 +- .../client/apis/autoscaling_v2beta1_api.py | 23 +- .../client/apis/autoscaling_v2beta2_api.py | 23 +- kubernetes/client/apis/batch_api.py | 2 +- kubernetes/client/apis/batch_v1_api.py | 23 +- kubernetes/client/apis/batch_v1beta1_api.py | 23 +- kubernetes/client/apis/batch_v2alpha1_api.py | 23 +- kubernetes/client/apis/certificates_api.py | 2 +- .../client/apis/certificates_v1beta1_api.py | 23 +- kubernetes/client/apis/coordination_api.py | 2 +- .../client/apis/coordination_v1beta1_api.py | 23 +- kubernetes/client/apis/core_api.py | 2 +- kubernetes/client/apis/core_v1_api.py | 317 +- kubernetes/client/apis/custom_objects_api.py | 2 +- kubernetes/client/apis/events_api.py | 2 +- kubernetes/client/apis/events_v1beta1_api.py | 23 +- kubernetes/client/apis/extensions_api.py | 2 +- .../client/apis/extensions_v1beta1_api.py | 128 +- kubernetes/client/apis/logs_api.py | 2 +- kubernetes/client/apis/networking_api.py | 2 +- kubernetes/client/apis/networking_v1_api.py | 23 +- kubernetes/client/apis/policy_api.py | 2 +- kubernetes/client/apis/policy_v1beta1_api.py | 44 +- .../client/apis/rbac_authorization_api.py | 2 +- .../client/apis/rbac_authorization_v1_api.py | 86 +- .../apis/rbac_authorization_v1alpha1_api.py | 86 +- .../apis/rbac_authorization_v1beta1_api.py | 86 +- kubernetes/client/apis/scheduling_api.py | 2 +- .../client/apis/scheduling_v1alpha1_api.py | 23 +- .../client/apis/scheduling_v1beta1_api.py | 23 +- kubernetes/client/apis/settings_api.py | 2 +- .../client/apis/settings_v1alpha1_api.py | 23 +- kubernetes/client/apis/storage_api.py | 2 +- kubernetes/client/apis/storage_v1_api.py | 1489 +++++- .../client/apis/storage_v1alpha1_api.py | 23 +- kubernetes/client/apis/storage_v1beta1_api.py | 44 +- kubernetes/client/apis/version_api.py | 2 +- kubernetes/client/configuration.py | 6 +- kubernetes/client/models/__init__.py | 24 +- ...nregistration_v1beta1_service_reference.py | 2 +- ...stration_v1beta1_webhook_client_config.py} | 45 +- ...apiextensions_v1beta1_service_reference.py | 184 + ...xtensions_v1beta1_webhook_client_config.py | 184 + ...iregistration_v1beta1_service_reference.py | 2 +- .../client/models/apps_v1beta1_deployment.py | 2 +- .../apps_v1beta1_deployment_condition.py | 2 +- .../models/apps_v1beta1_deployment_list.py | 2 +- .../apps_v1beta1_deployment_rollback.py | 2 +- .../models/apps_v1beta1_deployment_spec.py | 2 +- .../models/apps_v1beta1_deployment_status.py | 2 +- .../apps_v1beta1_deployment_strategy.py | 2 +- .../models/apps_v1beta1_rollback_config.py | 2 +- .../apps_v1beta1_rolling_update_deployment.py | 2 +- .../client/models/apps_v1beta1_scale.py | 2 +- .../client/models/apps_v1beta1_scale_spec.py | 2 +- .../models/apps_v1beta1_scale_status.py | 2 +- .../extensions_v1beta1_allowed_flex_volume.py | 2 +- .../extensions_v1beta1_allowed_host_path.py | 2 +- .../models/extensions_v1beta1_deployment.py | 2 +- ...extensions_v1beta1_deployment_condition.py | 2 +- .../extensions_v1beta1_deployment_list.py | 2 +- .../extensions_v1beta1_deployment_rollback.py | 2 +- .../extensions_v1beta1_deployment_spec.py | 6 +- .../extensions_v1beta1_deployment_status.py | 2 +- .../extensions_v1beta1_deployment_strategy.py | 2 +- ...sions_v1beta1_fs_group_strategy_options.py | 2 +- .../extensions_v1beta1_host_port_range.py | 2 +- .../models/extensions_v1beta1_id_range.py | 2 +- .../extensions_v1beta1_pod_security_policy.py | 2 +- ...nsions_v1beta1_pod_security_policy_list.py | 2 +- ...nsions_v1beta1_pod_security_policy_spec.py | 32 +- .../extensions_v1beta1_rollback_config.py | 2 +- ...sions_v1beta1_rolling_update_deployment.py | 2 +- ...s_v1beta1_run_as_group_strategy_options.py | 155 + ...ns_v1beta1_run_as_user_strategy_options.py | 2 +- .../client/models/extensions_v1beta1_scale.py | 2 +- .../models/extensions_v1beta1_scale_spec.py | 2 +- .../models/extensions_v1beta1_scale_status.py | 2 +- ...sions_v1beta1_se_linux_strategy_options.py | 2 +- ...a1_supplemental_groups_strategy_options.py | 2 +- .../policy_v1beta1_allowed_flex_volume.py | 2 +- .../policy_v1beta1_allowed_host_path.py | 2 +- ...olicy_v1beta1_fs_group_strategy_options.py | 2 +- .../models/policy_v1beta1_host_port_range.py | 2 +- .../client/models/policy_v1beta1_id_range.py | 2 +- .../policy_v1beta1_pod_security_policy.py | 2 +- ...policy_v1beta1_pod_security_policy_list.py | 2 +- ...policy_v1beta1_pod_security_policy_spec.py | 32 +- ...y_v1beta1_run_as_group_strategy_options.py | 155 + ...cy_v1beta1_run_as_user_strategy_options.py | 2 +- ...olicy_v1beta1_se_linux_strategy_options.py | 2 +- ...a1_supplemental_groups_strategy_options.py | 2 +- .../client/models/runtime_raw_extension.py | 2 +- kubernetes/client/models/v1_affinity.py | 2 +- .../client/models/v1_aggregation_rule.py | 2 +- kubernetes/client/models/v1_api_group.py | 2 +- kubernetes/client/models/v1_api_group_list.py | 2 +- kubernetes/client/models/v1_api_resource.py | 2 +- .../client/models/v1_api_resource_list.py | 2 +- kubernetes/client/models/v1_api_service.py | 2 +- .../client/models/v1_api_service_condition.py | 2 +- .../client/models/v1_api_service_list.py | 2 +- .../client/models/v1_api_service_spec.py | 6 +- .../client/models/v1_api_service_status.py | 2 +- kubernetes/client/models/v1_api_versions.py | 2 +- .../client/models/v1_attached_volume.py | 2 +- ...1_aws_elastic_block_store_volume_source.py | 2 +- .../models/v1_azure_disk_volume_source.py | 2 +- .../v1_azure_file_persistent_volume_source.py | 2 +- .../models/v1_azure_file_volume_source.py | 2 +- kubernetes/client/models/v1_binding.py | 2 +- kubernetes/client/models/v1_capabilities.py | 2 +- .../v1_ceph_fs_persistent_volume_source.py | 2 +- .../client/models/v1_ceph_fs_volume_source.py | 2 +- .../v1_cinder_persistent_volume_source.py | 2 +- .../client/models/v1_cinder_volume_source.py | 2 +- .../client/models/v1_client_ip_config.py | 2 +- kubernetes/client/models/v1_cluster_role.py | 2 +- .../client/models/v1_cluster_role_binding.py | 2 +- .../models/v1_cluster_role_binding_list.py | 2 +- .../client/models/v1_cluster_role_list.py | 2 +- .../client/models/v1_component_condition.py | 2 +- .../client/models/v1_component_status.py | 2 +- .../client/models/v1_component_status_list.py | 2 +- kubernetes/client/models/v1_config_map.py | 2 +- .../client/models/v1_config_map_env_source.py | 2 +- .../models/v1_config_map_key_selector.py | 2 +- .../client/models/v1_config_map_list.py | 2 +- .../v1_config_map_node_config_source.py | 2 +- .../client/models/v1_config_map_projection.py | 2 +- .../models/v1_config_map_volume_source.py | 2 +- kubernetes/client/models/v1_container.py | 6 +- .../client/models/v1_container_image.py | 2 +- kubernetes/client/models/v1_container_port.py | 2 +- .../client/models/v1_container_state.py | 2 +- .../models/v1_container_state_running.py | 2 +- .../models/v1_container_state_terminated.py | 2 +- .../models/v1_container_state_waiting.py | 2 +- .../client/models/v1_container_status.py | 2 +- .../client/models/v1_controller_revision.py | 2 +- .../models/v1_controller_revision_list.py | 2 +- .../v1_cross_version_object_reference.py | 2 +- .../models/v1_csi_persistent_volume_source.py | 14 +- .../client/models/v1_daemon_endpoint.py | 2 +- kubernetes/client/models/v1_daemon_set.py | 2 +- .../client/models/v1_daemon_set_condition.py | 2 +- .../client/models/v1_daemon_set_list.py | 2 +- .../client/models/v1_daemon_set_spec.py | 2 +- .../client/models/v1_daemon_set_status.py | 2 +- .../models/v1_daemon_set_update_strategy.py | 2 +- kubernetes/client/models/v1_delete_options.py | 2 +- kubernetes/client/models/v1_deployment.py | 2 +- .../client/models/v1_deployment_condition.py | 2 +- .../client/models/v1_deployment_list.py | 2 +- .../client/models/v1_deployment_spec.py | 2 +- .../client/models/v1_deployment_status.py | 2 +- .../client/models/v1_deployment_strategy.py | 2 +- .../models/v1_downward_api_projection.py | 2 +- .../models/v1_downward_api_volume_file.py | 2 +- .../models/v1_downward_api_volume_source.py | 2 +- .../models/v1_empty_dir_volume_source.py | 2 +- .../client/models/v1_endpoint_address.py | 2 +- kubernetes/client/models/v1_endpoint_port.py | 2 +- .../client/models/v1_endpoint_subset.py | 2 +- kubernetes/client/models/v1_endpoints.py | 2 +- kubernetes/client/models/v1_endpoints_list.py | 2 +- .../client/models/v1_env_from_source.py | 2 +- kubernetes/client/models/v1_env_var.py | 2 +- kubernetes/client/models/v1_env_var_source.py | 2 +- kubernetes/client/models/v1_event.py | 2 +- kubernetes/client/models/v1_event_list.py | 2 +- kubernetes/client/models/v1_event_series.py | 2 +- kubernetes/client/models/v1_event_source.py | 2 +- kubernetes/client/models/v1_exec_action.py | 2 +- .../client/models/v1_fc_volume_source.py | 2 +- .../v1_flex_persistent_volume_source.py | 2 +- .../client/models/v1_flex_volume_source.py | 2 +- .../client/models/v1_flocker_volume_source.py | 2 +- .../v1_gce_persistent_disk_volume_source.py | 2 +- .../models/v1_git_repo_volume_source.py | 2 +- .../v1_glusterfs_persistent_volume_source.py | 212 + .../models/v1_glusterfs_volume_source.py | 2 +- .../models/v1_group_version_for_discovery.py | 2 +- kubernetes/client/models/v1_handler.py | 2 +- .../models/v1_horizontal_pod_autoscaler.py | 2 +- .../v1_horizontal_pod_autoscaler_list.py | 2 +- .../v1_horizontal_pod_autoscaler_spec.py | 2 +- .../v1_horizontal_pod_autoscaler_status.py | 2 +- kubernetes/client/models/v1_host_alias.py | 2 +- .../models/v1_host_path_volume_source.py | 2 +- .../client/models/v1_http_get_action.py | 2 +- kubernetes/client/models/v1_http_header.py | 2 +- kubernetes/client/models/v1_initializer.py | 2 +- kubernetes/client/models/v1_initializers.py | 2 +- kubernetes/client/models/v1_ip_block.py | 2 +- .../v1_iscsi_persistent_volume_source.py | 2 +- .../client/models/v1_iscsi_volume_source.py | 2 +- kubernetes/client/models/v1_job.py | 2 +- kubernetes/client/models/v1_job_condition.py | 2 +- kubernetes/client/models/v1_job_list.py | 2 +- kubernetes/client/models/v1_job_spec.py | 2 +- kubernetes/client/models/v1_job_status.py | 2 +- kubernetes/client/models/v1_key_to_path.py | 2 +- kubernetes/client/models/v1_label_selector.py | 2 +- .../models/v1_label_selector_requirement.py | 2 +- kubernetes/client/models/v1_lifecycle.py | 2 +- kubernetes/client/models/v1_limit_range.py | 2 +- .../client/models/v1_limit_range_item.py | 2 +- .../client/models/v1_limit_range_list.py | 2 +- .../client/models/v1_limit_range_spec.py | 2 +- kubernetes/client/models/v1_list_meta.py | 2 +- .../client/models/v1_load_balancer_ingress.py | 2 +- .../client/models/v1_load_balancer_status.py | 2 +- .../models/v1_local_object_reference.py | 2 +- .../models/v1_local_subject_access_review.py | 2 +- .../client/models/v1_local_volume_source.py | 2 +- kubernetes/client/models/v1_namespace.py | 2 +- kubernetes/client/models/v1_namespace_list.py | 2 +- kubernetes/client/models/v1_namespace_spec.py | 2 +- .../client/models/v1_namespace_status.py | 2 +- kubernetes/client/models/v1_network_policy.py | 2 +- .../models/v1_network_policy_egress_rule.py | 2 +- .../models/v1_network_policy_ingress_rule.py | 2 +- .../client/models/v1_network_policy_list.py | 2 +- .../client/models/v1_network_policy_peer.py | 2 +- .../client/models/v1_network_policy_port.py | 2 +- .../client/models/v1_network_policy_spec.py | 2 +- .../client/models/v1_nfs_volume_source.py | 2 +- kubernetes/client/models/v1_node.py | 2 +- kubernetes/client/models/v1_node_address.py | 2 +- kubernetes/client/models/v1_node_affinity.py | 2 +- kubernetes/client/models/v1_node_condition.py | 2 +- .../client/models/v1_node_config_source.py | 2 +- .../client/models/v1_node_config_status.py | 2 +- .../client/models/v1_node_daemon_endpoints.py | 2 +- kubernetes/client/models/v1_node_list.py | 2 +- kubernetes/client/models/v1_node_selector.py | 2 +- .../models/v1_node_selector_requirement.py | 2 +- .../client/models/v1_node_selector_term.py | 2 +- kubernetes/client/models/v1_node_spec.py | 2 +- kubernetes/client/models/v1_node_status.py | 2 +- .../client/models/v1_node_system_info.py | 2 +- .../models/v1_non_resource_attributes.py | 2 +- .../client/models/v1_non_resource_rule.py | 2 +- .../client/models/v1_object_field_selector.py | 2 +- kubernetes/client/models/v1_object_meta.py | 2 +- .../client/models/v1_object_reference.py | 2 +- .../client/models/v1_owner_reference.py | 2 +- .../client/models/v1_persistent_volume.py | 2 +- .../models/v1_persistent_volume_claim.py | 2 +- .../v1_persistent_volume_claim_condition.py | 2 +- .../models/v1_persistent_volume_claim_list.py | 2 +- .../models/v1_persistent_volume_claim_spec.py | 6 +- .../v1_persistent_volume_claim_status.py | 2 +- ...1_persistent_volume_claim_volume_source.py | 2 +- .../models/v1_persistent_volume_list.py | 2 +- .../models/v1_persistent_volume_spec.py | 12 +- .../models/v1_persistent_volume_status.py | 2 +- ...v1_photon_persistent_disk_volume_source.py | 2 +- kubernetes/client/models/v1_pod.py | 2 +- kubernetes/client/models/v1_pod_affinity.py | 2 +- .../client/models/v1_pod_affinity_term.py | 2 +- .../client/models/v1_pod_anti_affinity.py | 2 +- kubernetes/client/models/v1_pod_condition.py | 2 +- kubernetes/client/models/v1_pod_dns_config.py | 2 +- .../client/models/v1_pod_dns_config_option.py | 2 +- kubernetes/client/models/v1_pod_list.py | 2 +- .../client/models/v1_pod_readiness_gate.py | 2 +- .../client/models/v1_pod_security_context.py | 2 +- kubernetes/client/models/v1_pod_spec.py | 32 +- kubernetes/client/models/v1_pod_status.py | 2 +- kubernetes/client/models/v1_pod_template.py | 2 +- .../client/models/v1_pod_template_list.py | 2 +- .../client/models/v1_pod_template_spec.py | 2 +- kubernetes/client/models/v1_policy_rule.py | 2 +- .../models/v1_portworx_volume_source.py | 2 +- kubernetes/client/models/v1_preconditions.py | 2 +- .../models/v1_preferred_scheduling_term.py | 2 +- kubernetes/client/models/v1_probe.py | 2 +- .../models/v1_projected_volume_source.py | 2 +- .../client/models/v1_quobyte_volume_source.py | 2 +- .../models/v1_rbd_persistent_volume_source.py | 2 +- .../client/models/v1_rbd_volume_source.py | 2 +- kubernetes/client/models/v1_replica_set.py | 2 +- .../client/models/v1_replica_set_condition.py | 2 +- .../client/models/v1_replica_set_list.py | 2 +- .../client/models/v1_replica_set_spec.py | 2 +- .../client/models/v1_replica_set_status.py | 2 +- .../models/v1_replication_controller.py | 2 +- .../v1_replication_controller_condition.py | 2 +- .../models/v1_replication_controller_list.py | 2 +- .../models/v1_replication_controller_spec.py | 2 +- .../v1_replication_controller_status.py | 2 +- .../client/models/v1_resource_attributes.py | 2 +- .../models/v1_resource_field_selector.py | 2 +- kubernetes/client/models/v1_resource_quota.py | 2 +- .../client/models/v1_resource_quota_list.py | 2 +- .../client/models/v1_resource_quota_spec.py | 2 +- .../client/models/v1_resource_quota_status.py | 2 +- .../client/models/v1_resource_requirements.py | 2 +- kubernetes/client/models/v1_resource_rule.py | 2 +- kubernetes/client/models/v1_role.py | 2 +- kubernetes/client/models/v1_role_binding.py | 2 +- .../client/models/v1_role_binding_list.py | 2 +- kubernetes/client/models/v1_role_list.py | 2 +- kubernetes/client/models/v1_role_ref.py | 2 +- .../models/v1_rolling_update_daemon_set.py | 2 +- .../models/v1_rolling_update_deployment.py | 2 +- ...v1_rolling_update_stateful_set_strategy.py | 2 +- kubernetes/client/models/v1_scale.py | 2 +- .../v1_scale_io_persistent_volume_source.py | 2 +- .../models/v1_scale_io_volume_source.py | 2 +- kubernetes/client/models/v1_scale_spec.py | 2 +- kubernetes/client/models/v1_scale_status.py | 2 +- kubernetes/client/models/v1_scope_selector.py | 2 +- ...v1_scoped_resource_selector_requirement.py | 2 +- .../client/models/v1_se_linux_options.py | 2 +- kubernetes/client/models/v1_secret.py | 2 +- .../client/models/v1_secret_env_source.py | 2 +- .../client/models/v1_secret_key_selector.py | 2 +- kubernetes/client/models/v1_secret_list.py | 2 +- .../client/models/v1_secret_projection.py | 2 +- .../client/models/v1_secret_reference.py | 2 +- .../client/models/v1_secret_volume_source.py | 2 +- .../client/models/v1_security_context.py | 2 +- .../models/v1_self_subject_access_review.py | 2 +- .../v1_self_subject_access_review_spec.py | 2 +- .../models/v1_self_subject_rules_review.py | 2 +- .../v1_self_subject_rules_review_spec.py | 2 +- .../v1_server_address_by_client_cidr.py | 2 +- kubernetes/client/models/v1_service.py | 2 +- .../client/models/v1_service_account.py | 2 +- .../client/models/v1_service_account_list.py | 2 +- .../v1_service_account_token_projection.py | 2 +- kubernetes/client/models/v1_service_list.py | 2 +- kubernetes/client/models/v1_service_port.py | 2 +- .../client/models/v1_service_reference.py | 2 +- kubernetes/client/models/v1_service_spec.py | 2 +- kubernetes/client/models/v1_service_status.py | 2 +- .../models/v1_session_affinity_config.py | 2 +- kubernetes/client/models/v1_stateful_set.py | 2 +- .../models/v1_stateful_set_condition.py | 2 +- .../client/models/v1_stateful_set_list.py | 2 +- .../client/models/v1_stateful_set_spec.py | 2 +- .../client/models/v1_stateful_set_status.py | 2 +- .../models/v1_stateful_set_update_strategy.py | 2 +- kubernetes/client/models/v1_status.py | 2 +- kubernetes/client/models/v1_status_cause.py | 2 +- kubernetes/client/models/v1_status_details.py | 2 +- kubernetes/client/models/v1_storage_class.py | 2 +- .../client/models/v1_storage_class_list.py | 2 +- .../v1_storage_os_persistent_volume_source.py | 2 +- .../models/v1_storage_os_volume_source.py | 2 +- kubernetes/client/models/v1_subject.py | 2 +- .../client/models/v1_subject_access_review.py | 2 +- .../models/v1_subject_access_review_spec.py | 2 +- .../models/v1_subject_access_review_status.py | 2 +- .../models/v1_subject_rules_review_status.py | 2 +- kubernetes/client/models/v1_sysctl.py | 2 +- kubernetes/client/models/v1_taint.py | 2 +- .../client/models/v1_tcp_socket_action.py | 2 +- kubernetes/client/models/v1_token_review.py | 2 +- .../client/models/v1_token_review_spec.py | 32 +- .../client/models/v1_token_review_status.py | 32 +- kubernetes/client/models/v1_toleration.py | 2 +- .../v1_topology_selector_label_requirement.py | 2 +- .../models/v1_topology_selector_term.py | 2 +- .../models/v1_typed_local_object_reference.py | 2 +- kubernetes/client/models/v1_user_info.py | 2 +- kubernetes/client/models/v1_volume.py | 2 +- .../client/models/v1_volume_attachment.py | 239 + .../models/v1_volume_attachment_list.py | 211 + .../models/v1_volume_attachment_source.py | 126 + .../models/v1_volume_attachment_spec.py | 185 + .../models/v1_volume_attachment_status.py | 211 + kubernetes/client/models/v1_volume_device.py | 2 +- kubernetes/client/models/v1_volume_error.py | 154 + kubernetes/client/models/v1_volume_mount.py | 2 +- .../client/models/v1_volume_node_affinity.py | 2 +- .../client/models/v1_volume_projection.py | 2 +- .../v1_vsphere_virtual_disk_volume_source.py | 2 +- kubernetes/client/models/v1_watch_event.py | 2 +- .../models/v1_weighted_pod_affinity_term.py | 2 +- .../models/v1alpha1_aggregation_rule.py | 2 +- .../client/models/v1alpha1_audit_sink.py | 208 + .../client/models/v1alpha1_audit_sink_list.py | 209 + .../client/models/v1alpha1_audit_sink_spec.py | 156 + .../client/models/v1alpha1_cluster_role.py | 2 +- .../models/v1alpha1_cluster_role_binding.py | 2 +- .../v1alpha1_cluster_role_binding_list.py | 2 +- .../models/v1alpha1_cluster_role_list.py | 2 +- .../client/models/v1alpha1_initializer.py | 2 +- .../v1alpha1_initializer_configuration.py | 2 +- ...v1alpha1_initializer_configuration_list.py | 2 +- .../client/models/v1alpha1_pod_preset.py | 2 +- .../client/models/v1alpha1_pod_preset_list.py | 2 +- .../client/models/v1alpha1_pod_preset_spec.py | 2 +- kubernetes/client/models/v1alpha1_policy.py | 155 + .../client/models/v1alpha1_policy_rule.py | 2 +- .../client/models/v1alpha1_priority_class.py | 2 +- .../models/v1alpha1_priority_class_list.py | 2 +- kubernetes/client/models/v1alpha1_role.py | 2 +- .../client/models/v1alpha1_role_binding.py | 2 +- .../models/v1alpha1_role_binding_list.py | 2 +- .../client/models/v1alpha1_role_list.py | 2 +- kubernetes/client/models/v1alpha1_role_ref.py | 2 +- kubernetes/client/models/v1alpha1_rule.py | 2 +- .../models/v1alpha1_service_reference.py | 184 + kubernetes/client/models/v1alpha1_subject.py | 2 +- .../models/v1alpha1_volume_attachment.py | 2 +- .../models/v1alpha1_volume_attachment_list.py | 2 +- .../v1alpha1_volume_attachment_source.py | 2 +- .../models/v1alpha1_volume_attachment_spec.py | 2 +- .../v1alpha1_volume_attachment_status.py | 2 +- .../client/models/v1alpha1_volume_error.py | 2 +- kubernetes/client/models/v1alpha1_webhook.py | 155 + .../models/v1alpha1_webhook_client_config.py | 184 + .../v1alpha1_webhook_throttle_config.py | 154 + .../client/models/v1beta1_aggregation_rule.py | 2 +- .../client/models/v1beta1_api_service.py | 2 +- .../models/v1beta1_api_service_condition.py | 2 +- .../client/models/v1beta1_api_service_list.py | 2 +- .../client/models/v1beta1_api_service_spec.py | 6 +- .../models/v1beta1_api_service_status.py | 2 +- .../v1beta1_certificate_signing_request.py | 2 +- ...1_certificate_signing_request_condition.py | 2 +- ...1beta1_certificate_signing_request_list.py | 2 +- ...1beta1_certificate_signing_request_spec.py | 2 +- ...eta1_certificate_signing_request_status.py | 2 +- .../client/models/v1beta1_cluster_role.py | 2 +- .../models/v1beta1_cluster_role_binding.py | 2 +- .../v1beta1_cluster_role_binding_list.py | 2 +- .../models/v1beta1_cluster_role_list.py | 2 +- .../models/v1beta1_controller_revision.py | 2 +- .../v1beta1_controller_revision_list.py | 2 +- kubernetes/client/models/v1beta1_cron_job.py | 2 +- .../client/models/v1beta1_cron_job_list.py | 2 +- .../client/models/v1beta1_cron_job_spec.py | 2 +- .../client/models/v1beta1_cron_job_status.py | 2 +- ...beta1_custom_resource_column_definition.py | 2 +- .../v1beta1_custom_resource_conversion.py | 155 + .../v1beta1_custom_resource_definition.py | 2 +- ...a1_custom_resource_definition_condition.py | 2 +- ...v1beta1_custom_resource_definition_list.py | 2 +- ...1beta1_custom_resource_definition_names.py | 2 +- ...v1beta1_custom_resource_definition_spec.py | 44 +- ...beta1_custom_resource_definition_status.py | 2 +- ...eta1_custom_resource_definition_version.py | 92 +- ...beta1_custom_resource_subresource_scale.py | 2 +- .../v1beta1_custom_resource_subresources.py | 2 +- .../v1beta1_custom_resource_validation.py | 2 +- .../client/models/v1beta1_daemon_set.py | 2 +- .../models/v1beta1_daemon_set_condition.py | 2 +- .../client/models/v1beta1_daemon_set_list.py | 2 +- .../client/models/v1beta1_daemon_set_spec.py | 2 +- .../models/v1beta1_daemon_set_status.py | 2 +- .../v1beta1_daemon_set_update_strategy.py | 2 +- kubernetes/client/models/v1beta1_event.py | 2 +- .../client/models/v1beta1_event_list.py | 2 +- .../client/models/v1beta1_event_series.py | 2 +- kubernetes/client/models/v1beta1_eviction.py | 2 +- .../models/v1beta1_external_documentation.py | 2 +- .../models/v1beta1_http_ingress_path.py | 2 +- .../models/v1beta1_http_ingress_rule_value.py | 2 +- kubernetes/client/models/v1beta1_ingress.py | 2 +- .../client/models/v1beta1_ingress_backend.py | 2 +- .../client/models/v1beta1_ingress_list.py | 2 +- .../client/models/v1beta1_ingress_rule.py | 2 +- .../client/models/v1beta1_ingress_spec.py | 2 +- .../client/models/v1beta1_ingress_status.py | 2 +- .../client/models/v1beta1_ingress_tls.py | 2 +- kubernetes/client/models/v1beta1_ip_block.py | 2 +- .../models/v1beta1_job_template_spec.py | 2 +- .../models/v1beta1_json_schema_props.py | 2 +- kubernetes/client/models/v1beta1_lease.py | 2 +- .../client/models/v1beta1_lease_list.py | 2 +- .../client/models/v1beta1_lease_spec.py | 2 +- .../v1beta1_local_subject_access_review.py | 2 +- .../v1beta1_mutating_webhook_configuration.py | 2 +- ...ta1_mutating_webhook_configuration_list.py | 2 +- .../client/models/v1beta1_network_policy.py | 2 +- .../v1beta1_network_policy_egress_rule.py | 2 +- .../v1beta1_network_policy_ingress_rule.py | 2 +- .../models/v1beta1_network_policy_list.py | 2 +- .../models/v1beta1_network_policy_peer.py | 2 +- .../models/v1beta1_network_policy_port.py | 2 +- .../models/v1beta1_network_policy_spec.py | 2 +- .../models/v1beta1_non_resource_attributes.py | 2 +- .../models/v1beta1_non_resource_rule.py | 2 +- .../models/v1beta1_pod_disruption_budget.py | 2 +- .../v1beta1_pod_disruption_budget_list.py | 2 +- .../v1beta1_pod_disruption_budget_spec.py | 2 +- .../v1beta1_pod_disruption_budget_status.py | 2 +- .../client/models/v1beta1_policy_rule.py | 2 +- .../client/models/v1beta1_priority_class.py | 2 +- .../models/v1beta1_priority_class_list.py | 2 +- .../client/models/v1beta1_replica_set.py | 2 +- .../models/v1beta1_replica_set_condition.py | 2 +- .../client/models/v1beta1_replica_set_list.py | 2 +- .../client/models/v1beta1_replica_set_spec.py | 2 +- .../models/v1beta1_replica_set_status.py | 2 +- .../models/v1beta1_resource_attributes.py | 2 +- .../client/models/v1beta1_resource_rule.py | 2 +- kubernetes/client/models/v1beta1_role.py | 2 +- .../client/models/v1beta1_role_binding.py | 2 +- .../models/v1beta1_role_binding_list.py | 2 +- kubernetes/client/models/v1beta1_role_list.py | 2 +- kubernetes/client/models/v1beta1_role_ref.py | 2 +- .../v1beta1_rolling_update_daemon_set.py | 2 +- ...a1_rolling_update_stateful_set_strategy.py | 2 +- .../models/v1beta1_rule_with_operations.py | 2 +- .../v1beta1_self_subject_access_review.py | 2 +- ...v1beta1_self_subject_access_review_spec.py | 2 +- .../v1beta1_self_subject_rules_review.py | 2 +- .../v1beta1_self_subject_rules_review_spec.py | 2 +- .../client/models/v1beta1_stateful_set.py | 2 +- .../models/v1beta1_stateful_set_condition.py | 2 +- .../models/v1beta1_stateful_set_list.py | 2 +- .../models/v1beta1_stateful_set_spec.py | 2 +- .../models/v1beta1_stateful_set_status.py | 2 +- .../v1beta1_stateful_set_update_strategy.py | 2 +- .../client/models/v1beta1_storage_class.py | 2 +- .../models/v1beta1_storage_class_list.py | 2 +- kubernetes/client/models/v1beta1_subject.py | 2 +- .../models/v1beta1_subject_access_review.py | 2 +- .../v1beta1_subject_access_review_spec.py | 2 +- .../v1beta1_subject_access_review_status.py | 2 +- .../v1beta1_subject_rules_review_status.py | 2 +- .../client/models/v1beta1_token_review.py | 2 +- .../models/v1beta1_token_review_spec.py | 32 +- .../models/v1beta1_token_review_status.py | 32 +- kubernetes/client/models/v1beta1_user_info.py | 2 +- ...1beta1_validating_webhook_configuration.py | 2 +- ...1_validating_webhook_configuration_list.py | 2 +- .../models/v1beta1_volume_attachment.py | 2 +- .../models/v1beta1_volume_attachment_list.py | 2 +- .../v1beta1_volume_attachment_source.py | 2 +- .../models/v1beta1_volume_attachment_spec.py | 2 +- .../v1beta1_volume_attachment_status.py | 2 +- .../client/models/v1beta1_volume_error.py | 2 +- kubernetes/client/models/v1beta1_webhook.py | 8 +- .../models/v1beta2_controller_revision.py | 2 +- .../v1beta2_controller_revision_list.py | 2 +- .../client/models/v1beta2_daemon_set.py | 2 +- .../models/v1beta2_daemon_set_condition.py | 2 +- .../client/models/v1beta2_daemon_set_list.py | 2 +- .../client/models/v1beta2_daemon_set_spec.py | 2 +- .../models/v1beta2_daemon_set_status.py | 2 +- .../v1beta2_daemon_set_update_strategy.py | 2 +- .../client/models/v1beta2_deployment.py | 2 +- .../models/v1beta2_deployment_condition.py | 2 +- .../client/models/v1beta2_deployment_list.py | 2 +- .../client/models/v1beta2_deployment_spec.py | 2 +- .../models/v1beta2_deployment_status.py | 2 +- .../models/v1beta2_deployment_strategy.py | 2 +- .../client/models/v1beta2_replica_set.py | 2 +- .../models/v1beta2_replica_set_condition.py | 2 +- .../client/models/v1beta2_replica_set_list.py | 2 +- .../client/models/v1beta2_replica_set_spec.py | 2 +- .../models/v1beta2_replica_set_status.py | 2 +- .../v1beta2_rolling_update_daemon_set.py | 2 +- .../v1beta2_rolling_update_deployment.py | 2 +- ...a2_rolling_update_stateful_set_strategy.py | 2 +- kubernetes/client/models/v1beta2_scale.py | 2 +- .../client/models/v1beta2_scale_spec.py | 2 +- .../client/models/v1beta2_scale_status.py | 2 +- .../client/models/v1beta2_stateful_set.py | 2 +- .../models/v1beta2_stateful_set_condition.py | 2 +- .../models/v1beta2_stateful_set_list.py | 2 +- .../models/v1beta2_stateful_set_spec.py | 2 +- .../models/v1beta2_stateful_set_status.py | 2 +- .../v1beta2_stateful_set_update_strategy.py | 2 +- kubernetes/client/models/v2alpha1_cron_job.py | 2 +- .../client/models/v2alpha1_cron_job_list.py | 2 +- .../client/models/v2alpha1_cron_job_spec.py | 2 +- .../client/models/v2alpha1_cron_job_status.py | 2 +- .../models/v2alpha1_job_template_spec.py | 2 +- .../v2beta1_cross_version_object_reference.py | 2 +- .../models/v2beta1_external_metric_source.py | 2 +- .../models/v2beta1_external_metric_status.py | 2 +- .../v2beta1_horizontal_pod_autoscaler.py | 2 +- ...ta1_horizontal_pod_autoscaler_condition.py | 2 +- .../v2beta1_horizontal_pod_autoscaler_list.py | 2 +- .../v2beta1_horizontal_pod_autoscaler_spec.py | 2 +- ...2beta1_horizontal_pod_autoscaler_status.py | 2 +- .../client/models/v2beta1_metric_spec.py | 2 +- .../client/models/v2beta1_metric_status.py | 2 +- .../models/v2beta1_object_metric_source.py | 2 +- .../models/v2beta1_object_metric_status.py | 2 +- .../models/v2beta1_pods_metric_source.py | 2 +- .../models/v2beta1_pods_metric_status.py | 2 +- .../models/v2beta1_resource_metric_source.py | 2 +- .../models/v2beta1_resource_metric_status.py | 2 +- .../v2beta2_cross_version_object_reference.py | 2 +- .../models/v2beta2_external_metric_source.py | 2 +- .../models/v2beta2_external_metric_status.py | 2 +- .../v2beta2_horizontal_pod_autoscaler.py | 2 +- ...ta2_horizontal_pod_autoscaler_condition.py | 2 +- .../v2beta2_horizontal_pod_autoscaler_list.py | 2 +- .../v2beta2_horizontal_pod_autoscaler_spec.py | 2 +- ...2beta2_horizontal_pod_autoscaler_status.py | 2 +- .../models/v2beta2_metric_identifier.py | 2 +- .../client/models/v2beta2_metric_spec.py | 2 +- .../client/models/v2beta2_metric_status.py | 2 +- .../client/models/v2beta2_metric_target.py | 2 +- .../models/v2beta2_metric_value_status.py | 2 +- .../models/v2beta2_object_metric_source.py | 2 +- .../models/v2beta2_object_metric_status.py | 2 +- .../models/v2beta2_pods_metric_source.py | 2 +- .../models/v2beta2_pods_metric_status.py | 2 +- .../models/v2beta2_resource_metric_source.py | 2 +- .../models/v2beta2_resource_metric_status.py | 2 +- kubernetes/client/models/version_info.py | 2 +- kubernetes/client/rest.py | 2 +- .../docs/AdmissionregistrationV1alpha1Api.md | 8 +- .../docs/AdmissionregistrationV1beta1Api.md | 16 +- ...nregistrationV1beta1WebhookClientConfig.md | 12 + kubernetes/docs/ApiextensionsV1beta1Api.md | 8 +- .../ApiextensionsV1beta1ServiceReference.md | 12 + ...ApiextensionsV1beta1WebhookClientConfig.md | 12 + kubernetes/docs/ApiregistrationV1Api.md | 8 +- kubernetes/docs/ApiregistrationV1beta1Api.md | 8 +- kubernetes/docs/AppsV1Api.md | 40 +- kubernetes/docs/AppsV1beta1Api.md | 24 +- kubernetes/docs/AppsV1beta2Api.md | 40 +- kubernetes/docs/AuditregistrationApi.md | 58 + .../docs/AuditregistrationV1alpha1Api.md | 504 ++ kubernetes/docs/AutoscalingV1Api.md | 8 +- kubernetes/docs/AutoscalingV2beta1Api.md | 8 +- kubernetes/docs/AutoscalingV2beta2Api.md | 8 +- kubernetes/docs/BatchV1Api.md | 8 +- kubernetes/docs/BatchV1beta1Api.md | 8 +- kubernetes/docs/BatchV2alpha1Api.md | 8 +- kubernetes/docs/CertificatesV1beta1Api.md | 8 +- kubernetes/docs/CoordinationV1beta1Api.md | 8 +- kubernetes/docs/CoreV1Api.md | 120 +- kubernetes/docs/EventsV1beta1Api.md | 8 +- kubernetes/docs/ExtensionsV1beta1Api.md | 48 +- .../docs/ExtensionsV1beta1DeploymentSpec.md | 2 +- .../ExtensionsV1beta1PodSecurityPolicySpec.md | 1 + ...ensionsV1beta1RunAsGroupStrategyOptions.md | 11 + kubernetes/docs/NetworkingV1Api.md | 8 +- kubernetes/docs/PolicyV1beta1Api.md | 16 +- .../PolicyV1beta1PodSecurityPolicySpec.md | 1 + .../PolicyV1beta1RunAsGroupStrategyOptions.md | 11 + kubernetes/docs/RbacAuthorizationV1Api.md | 32 +- .../docs/RbacAuthorizationV1alpha1Api.md | 32 +- .../docs/RbacAuthorizationV1beta1Api.md | 32 +- kubernetes/docs/SchedulingV1alpha1Api.md | 8 +- kubernetes/docs/SchedulingV1beta1Api.md | 8 +- kubernetes/docs/SettingsV1alpha1Api.md | 8 +- kubernetes/docs/StorageV1Api.md | 698 ++- kubernetes/docs/StorageV1alpha1Api.md | 8 +- kubernetes/docs/StorageV1beta1Api.md | 16 +- kubernetes/docs/V1APIServiceSpec.md | 2 +- .../docs/V1CSIPersistentVolumeSource.md | 6 +- kubernetes/docs/V1Container.md | 2 +- .../docs/V1GlusterfsPersistentVolumeSource.md | 13 + .../docs/V1PersistentVolumeClaimSpec.md | 2 +- kubernetes/docs/V1PersistentVolumeSpec.md | 4 +- kubernetes/docs/V1PodSpec.md | 1 + kubernetes/docs/V1TokenReviewSpec.md | 1 + kubernetes/docs/V1TokenReviewStatus.md | 1 + kubernetes/docs/V1VolumeAttachment.md | 14 + kubernetes/docs/V1VolumeAttachmentList.md | 13 + kubernetes/docs/V1VolumeAttachmentSource.md | 10 + kubernetes/docs/V1VolumeAttachmentSpec.md | 12 + kubernetes/docs/V1VolumeAttachmentStatus.md | 13 + kubernetes/docs/V1VolumeError.md | 11 + kubernetes/docs/V1alpha1AuditSink.md | 13 + kubernetes/docs/V1alpha1AuditSinkList.md | 13 + kubernetes/docs/V1alpha1AuditSinkSpec.md | 11 + kubernetes/docs/V1alpha1Policy.md | 11 + kubernetes/docs/V1alpha1ServiceReference.md | 12 + kubernetes/docs/V1alpha1Webhook.md | 11 + .../docs/V1alpha1WebhookClientConfig.md | 12 + .../docs/V1alpha1WebhookThrottleConfig.md | 11 + kubernetes/docs/V1beta1APIServiceSpec.md | 2 +- .../docs/V1beta1CustomResourceConversion.md | 11 + .../V1beta1CustomResourceDefinitionSpec.md | 7 +- .../V1beta1CustomResourceDefinitionVersion.md | 3 + kubernetes/docs/V1beta1TokenReviewSpec.md | 1 + kubernetes/docs/V1beta1TokenReviewStatus.md | 1 + kubernetes/docs/V1beta1Webhook.md | 2 +- kubernetes/docs/V1beta1WebhookClientConfig.md | 12 - kubernetes/swagger.json.unprocessed | 3956 +++++++++++---- .../test/test_admissionregistration_api.py | 2 +- ...test_admissionregistration_v1alpha1_api.py | 2 +- .../test_admissionregistration_v1beta1_api.py | 2 +- ...nregistration_v1beta1_service_reference.py | 2 +- ...istration_v1beta1_webhook_client_config.py | 44 + kubernetes/test/test_apiextensions_api.py | 2 +- .../test/test_apiextensions_v1beta1_api.py | 2 +- ...apiextensions_v1beta1_service_reference.py | 44 + ...xtensions_v1beta1_webhook_client_config.py | 44 + kubernetes/test/test_apiregistration_api.py | 2 +- .../test/test_apiregistration_v1_api.py | 2 +- .../test/test_apiregistration_v1beta1_api.py | 2 +- ...iregistration_v1beta1_service_reference.py | 2 +- kubernetes/test/test_apis_api.py | 2 +- kubernetes/test/test_apps_api.py | 2 +- kubernetes/test/test_apps_v1_api.py | 2 +- kubernetes/test/test_apps_v1beta1_api.py | 2 +- .../test/test_apps_v1beta1_deployment.py | 2 +- .../test_apps_v1beta1_deployment_condition.py | 2 +- .../test/test_apps_v1beta1_deployment_list.py | 2 +- .../test_apps_v1beta1_deployment_rollback.py | 2 +- .../test/test_apps_v1beta1_deployment_spec.py | 2 +- .../test_apps_v1beta1_deployment_status.py | 2 +- .../test_apps_v1beta1_deployment_strategy.py | 2 +- .../test/test_apps_v1beta1_rollback_config.py | 2 +- ..._apps_v1beta1_rolling_update_deployment.py | 2 +- kubernetes/test/test_apps_v1beta1_scale.py | 2 +- .../test/test_apps_v1beta1_scale_spec.py | 2 +- .../test/test_apps_v1beta1_scale_status.py | 2 +- kubernetes/test/test_apps_v1beta2_api.py | 2 +- kubernetes/test/test_auditregistration_api.py | 44 + .../test_auditregistration_v1alpha1_api.py | 100 + kubernetes/test/test_authentication_api.py | 2 +- kubernetes/test/test_authentication_v1_api.py | 2 +- .../test/test_authentication_v1beta1_api.py | 2 +- kubernetes/test/test_authorization_api.py | 2 +- kubernetes/test/test_authorization_v1_api.py | 2 +- .../test/test_authorization_v1beta1_api.py | 2 +- kubernetes/test/test_autoscaling_api.py | 2 +- kubernetes/test/test_autoscaling_v1_api.py | 2 +- .../test/test_autoscaling_v2beta1_api.py | 2 +- .../test/test_autoscaling_v2beta2_api.py | 2 +- kubernetes/test/test_batch_api.py | 2 +- kubernetes/test/test_batch_v1_api.py | 2 +- kubernetes/test/test_batch_v1beta1_api.py | 2 +- kubernetes/test/test_batch_v2alpha1_api.py | 2 +- kubernetes/test/test_certificates_api.py | 2 +- .../test/test_certificates_v1beta1_api.py | 2 +- kubernetes/test/test_coordination_api.py | 2 +- .../test/test_coordination_v1beta1_api.py | 2 +- kubernetes/test/test_core_api.py | 2 +- kubernetes/test/test_core_v1_api.py | 2 +- kubernetes/test/test_custom_objects_api.py | 2 +- kubernetes/test/test_events_api.py | 2 +- kubernetes/test/test_events_v1beta1_api.py | 2 +- kubernetes/test/test_extensions_api.py | 2 +- ..._extensions_v1beta1_allowed_flex_volume.py | 2 +- ...st_extensions_v1beta1_allowed_host_path.py | 2 +- .../test/test_extensions_v1beta1_api.py | 2 +- .../test_extensions_v1beta1_deployment.py | 2 +- ...extensions_v1beta1_deployment_condition.py | 2 +- ...test_extensions_v1beta1_deployment_list.py | 2 +- ..._extensions_v1beta1_deployment_rollback.py | 2 +- ...test_extensions_v1beta1_deployment_spec.py | 2 +- ...st_extensions_v1beta1_deployment_status.py | 2 +- ..._extensions_v1beta1_deployment_strategy.py | 2 +- ...sions_v1beta1_fs_group_strategy_options.py | 2 +- ...test_extensions_v1beta1_host_port_range.py | 2 +- .../test/test_extensions_v1beta1_id_range.py | 2 +- ..._extensions_v1beta1_pod_security_policy.py | 2 +- ...nsions_v1beta1_pod_security_policy_list.py | 2 +- ...nsions_v1beta1_pod_security_policy_spec.py | 2 +- ...test_extensions_v1beta1_rollback_config.py | 2 +- ...sions_v1beta1_rolling_update_deployment.py | 2 +- ...s_v1beta1_run_as_group_strategy_options.py | 44 + ...ns_v1beta1_run_as_user_strategy_options.py | 2 +- .../test/test_extensions_v1beta1_scale.py | 2 +- .../test_extensions_v1beta1_scale_spec.py | 2 +- .../test_extensions_v1beta1_scale_status.py | 2 +- ...sions_v1beta1_se_linux_strategy_options.py | 2 +- ...a1_supplemental_groups_strategy_options.py | 2 +- kubernetes/test/test_logs_api.py | 2 +- kubernetes/test/test_networking_api.py | 2 +- kubernetes/test/test_networking_v1_api.py | 2 +- kubernetes/test/test_policy_api.py | 2 +- ...test_policy_v1beta1_allowed_flex_volume.py | 2 +- .../test_policy_v1beta1_allowed_host_path.py | 2 +- kubernetes/test/test_policy_v1beta1_api.py | 2 +- ...olicy_v1beta1_fs_group_strategy_options.py | 2 +- .../test_policy_v1beta1_host_port_range.py | 2 +- .../test/test_policy_v1beta1_id_range.py | 2 +- ...test_policy_v1beta1_pod_security_policy.py | 2 +- ...policy_v1beta1_pod_security_policy_list.py | 2 +- ...policy_v1beta1_pod_security_policy_spec.py | 2 +- ...y_v1beta1_run_as_group_strategy_options.py | 44 + ...cy_v1beta1_run_as_user_strategy_options.py | 2 +- ...olicy_v1beta1_se_linux_strategy_options.py | 2 +- ...a1_supplemental_groups_strategy_options.py | 2 +- .../test/test_rbac_authorization_api.py | 2 +- .../test/test_rbac_authorization_v1_api.py | 2 +- .../test_rbac_authorization_v1alpha1_api.py | 2 +- .../test_rbac_authorization_v1beta1_api.py | 2 +- kubernetes/test/test_runtime_raw_extension.py | 2 +- kubernetes/test/test_scheduling_api.py | 2 +- .../test/test_scheduling_v1alpha1_api.py | 2 +- .../test/test_scheduling_v1beta1_api.py | 2 +- kubernetes/test/test_settings_api.py | 2 +- kubernetes/test/test_settings_v1alpha1_api.py | 2 +- kubernetes/test/test_storage_api.py | 2 +- kubernetes/test/test_storage_v1_api.py | 82 +- kubernetes/test/test_storage_v1alpha1_api.py | 2 +- kubernetes/test/test_storage_v1beta1_api.py | 2 +- kubernetes/test/test_v1_affinity.py | 2 +- kubernetes/test/test_v1_aggregation_rule.py | 2 +- kubernetes/test/test_v1_api_group.py | 2 +- kubernetes/test/test_v1_api_group_list.py | 2 +- kubernetes/test/test_v1_api_resource.py | 2 +- kubernetes/test/test_v1_api_resource_list.py | 2 +- kubernetes/test/test_v1_api_service.py | 2 +- .../test/test_v1_api_service_condition.py | 2 +- kubernetes/test/test_v1_api_service_list.py | 2 +- kubernetes/test/test_v1_api_service_spec.py | 2 +- kubernetes/test/test_v1_api_service_status.py | 2 +- kubernetes/test/test_v1_api_versions.py | 2 +- kubernetes/test/test_v1_attached_volume.py | 2 +- ...1_aws_elastic_block_store_volume_source.py | 2 +- .../test/test_v1_azure_disk_volume_source.py | 2 +- ..._v1_azure_file_persistent_volume_source.py | 2 +- .../test/test_v1_azure_file_volume_source.py | 2 +- kubernetes/test/test_v1_binding.py | 2 +- kubernetes/test/test_v1_capabilities.py | 2 +- ...est_v1_ceph_fs_persistent_volume_source.py | 2 +- .../test/test_v1_ceph_fs_volume_source.py | 2 +- ...test_v1_cinder_persistent_volume_source.py | 2 +- .../test/test_v1_cinder_volume_source.py | 2 +- kubernetes/test/test_v1_client_ip_config.py | 2 +- kubernetes/test/test_v1_cluster_role.py | 2 +- .../test/test_v1_cluster_role_binding.py | 2 +- .../test/test_v1_cluster_role_binding_list.py | 2 +- kubernetes/test/test_v1_cluster_role_list.py | 2 +- .../test/test_v1_component_condition.py | 2 +- kubernetes/test/test_v1_component_status.py | 2 +- .../test/test_v1_component_status_list.py | 2 +- kubernetes/test/test_v1_config_map.py | 2 +- .../test/test_v1_config_map_env_source.py | 2 +- .../test/test_v1_config_map_key_selector.py | 2 +- kubernetes/test/test_v1_config_map_list.py | 2 +- .../test_v1_config_map_node_config_source.py | 2 +- .../test/test_v1_config_map_projection.py | 2 +- .../test/test_v1_config_map_volume_source.py | 2 +- kubernetes/test/test_v1_container.py | 2 +- kubernetes/test/test_v1_container_image.py | 2 +- kubernetes/test/test_v1_container_port.py | 2 +- kubernetes/test/test_v1_container_state.py | 2 +- .../test/test_v1_container_state_running.py | 2 +- .../test_v1_container_state_terminated.py | 2 +- .../test/test_v1_container_state_waiting.py | 2 +- kubernetes/test/test_v1_container_status.py | 2 +- .../test/test_v1_controller_revision.py | 2 +- .../test/test_v1_controller_revision_list.py | 2 +- .../test_v1_cross_version_object_reference.py | 2 +- .../test_v1_csi_persistent_volume_source.py | 2 +- kubernetes/test/test_v1_daemon_endpoint.py | 2 +- kubernetes/test/test_v1_daemon_set.py | 2 +- .../test/test_v1_daemon_set_condition.py | 2 +- kubernetes/test/test_v1_daemon_set_list.py | 2 +- kubernetes/test/test_v1_daemon_set_spec.py | 2 +- kubernetes/test/test_v1_daemon_set_status.py | 2 +- .../test_v1_daemon_set_update_strategy.py | 2 +- kubernetes/test/test_v1_delete_options.py | 2 +- kubernetes/test/test_v1_deployment.py | 2 +- .../test/test_v1_deployment_condition.py | 2 +- kubernetes/test/test_v1_deployment_list.py | 2 +- kubernetes/test/test_v1_deployment_spec.py | 2 +- kubernetes/test/test_v1_deployment_status.py | 2 +- .../test/test_v1_deployment_strategy.py | 2 +- .../test/test_v1_downward_api_projection.py | 2 +- .../test/test_v1_downward_api_volume_file.py | 2 +- .../test_v1_downward_api_volume_source.py | 2 +- .../test/test_v1_empty_dir_volume_source.py | 2 +- kubernetes/test/test_v1_endpoint_address.py | 2 +- kubernetes/test/test_v1_endpoint_port.py | 2 +- kubernetes/test/test_v1_endpoint_subset.py | 2 +- kubernetes/test/test_v1_endpoints.py | 2 +- kubernetes/test/test_v1_endpoints_list.py | 2 +- kubernetes/test/test_v1_env_from_source.py | 2 +- kubernetes/test/test_v1_env_var.py | 2 +- kubernetes/test/test_v1_env_var_source.py | 2 +- kubernetes/test/test_v1_event.py | 2 +- kubernetes/test/test_v1_event_list.py | 2 +- kubernetes/test/test_v1_event_series.py | 2 +- kubernetes/test/test_v1_event_source.py | 2 +- kubernetes/test/test_v1_exec_action.py | 2 +- kubernetes/test/test_v1_fc_volume_source.py | 2 +- .../test_v1_flex_persistent_volume_source.py | 2 +- kubernetes/test/test_v1_flex_volume_source.py | 2 +- .../test/test_v1_flocker_volume_source.py | 2 +- ...st_v1_gce_persistent_disk_volume_source.py | 2 +- .../test/test_v1_git_repo_volume_source.py | 2 +- ...t_v1_glusterfs_persistent_volume_source.py | 44 + .../test/test_v1_glusterfs_volume_source.py | 2 +- .../test_v1_group_version_for_discovery.py | 2 +- kubernetes/test/test_v1_handler.py | 2 +- .../test/test_v1_horizontal_pod_autoscaler.py | 2 +- .../test_v1_horizontal_pod_autoscaler_list.py | 2 +- .../test_v1_horizontal_pod_autoscaler_spec.py | 2 +- ...est_v1_horizontal_pod_autoscaler_status.py | 2 +- kubernetes/test/test_v1_host_alias.py | 2 +- .../test/test_v1_host_path_volume_source.py | 2 +- kubernetes/test/test_v1_http_get_action.py | 2 +- kubernetes/test/test_v1_http_header.py | 2 +- kubernetes/test/test_v1_initializer.py | 2 +- kubernetes/test/test_v1_initializers.py | 2 +- kubernetes/test/test_v1_ip_block.py | 2 +- .../test_v1_iscsi_persistent_volume_source.py | 2 +- .../test/test_v1_iscsi_volume_source.py | 2 +- kubernetes/test/test_v1_job.py | 2 +- kubernetes/test/test_v1_job_condition.py | 2 +- kubernetes/test/test_v1_job_list.py | 2 +- kubernetes/test/test_v1_job_spec.py | 2 +- kubernetes/test/test_v1_job_status.py | 2 +- kubernetes/test/test_v1_key_to_path.py | 2 +- kubernetes/test/test_v1_label_selector.py | 2 +- .../test_v1_label_selector_requirement.py | 2 +- kubernetes/test/test_v1_lifecycle.py | 2 +- kubernetes/test/test_v1_limit_range.py | 2 +- kubernetes/test/test_v1_limit_range_item.py | 2 +- kubernetes/test/test_v1_limit_range_list.py | 2 +- kubernetes/test/test_v1_limit_range_spec.py | 2 +- kubernetes/test/test_v1_list_meta.py | 2 +- .../test/test_v1_load_balancer_ingress.py | 2 +- .../test/test_v1_load_balancer_status.py | 2 +- .../test/test_v1_local_object_reference.py | 2 +- .../test_v1_local_subject_access_review.py | 2 +- .../test/test_v1_local_volume_source.py | 2 +- kubernetes/test/test_v1_namespace.py | 2 +- kubernetes/test/test_v1_namespace_list.py | 2 +- kubernetes/test/test_v1_namespace_spec.py | 2 +- kubernetes/test/test_v1_namespace_status.py | 2 +- kubernetes/test/test_v1_network_policy.py | 2 +- .../test_v1_network_policy_egress_rule.py | 2 +- .../test_v1_network_policy_ingress_rule.py | 2 +- .../test/test_v1_network_policy_list.py | 2 +- .../test/test_v1_network_policy_peer.py | 2 +- .../test/test_v1_network_policy_port.py | 2 +- .../test/test_v1_network_policy_spec.py | 2 +- kubernetes/test/test_v1_nfs_volume_source.py | 2 +- kubernetes/test/test_v1_node.py | 2 +- kubernetes/test/test_v1_node_address.py | 2 +- kubernetes/test/test_v1_node_affinity.py | 2 +- kubernetes/test/test_v1_node_condition.py | 2 +- kubernetes/test/test_v1_node_config_source.py | 2 +- kubernetes/test/test_v1_node_config_status.py | 2 +- .../test/test_v1_node_daemon_endpoints.py | 2 +- kubernetes/test/test_v1_node_list.py | 2 +- kubernetes/test/test_v1_node_selector.py | 2 +- .../test/test_v1_node_selector_requirement.py | 2 +- kubernetes/test/test_v1_node_selector_term.py | 2 +- kubernetes/test/test_v1_node_spec.py | 2 +- kubernetes/test/test_v1_node_status.py | 2 +- kubernetes/test/test_v1_node_system_info.py | 2 +- .../test/test_v1_non_resource_attributes.py | 2 +- kubernetes/test/test_v1_non_resource_rule.py | 2 +- .../test/test_v1_object_field_selector.py | 2 +- kubernetes/test/test_v1_object_meta.py | 2 +- kubernetes/test/test_v1_object_reference.py | 2 +- kubernetes/test/test_v1_owner_reference.py | 2 +- kubernetes/test/test_v1_persistent_volume.py | 2 +- .../test/test_v1_persistent_volume_claim.py | 2 +- ...st_v1_persistent_volume_claim_condition.py | 2 +- .../test_v1_persistent_volume_claim_list.py | 2 +- .../test_v1_persistent_volume_claim_spec.py | 2 +- .../test_v1_persistent_volume_claim_status.py | 2 +- ...1_persistent_volume_claim_volume_source.py | 2 +- .../test/test_v1_persistent_volume_list.py | 2 +- .../test/test_v1_persistent_volume_spec.py | 2 +- .../test/test_v1_persistent_volume_status.py | 2 +- ...v1_photon_persistent_disk_volume_source.py | 2 +- kubernetes/test/test_v1_pod.py | 2 +- kubernetes/test/test_v1_pod_affinity.py | 2 +- kubernetes/test/test_v1_pod_affinity_term.py | 2 +- kubernetes/test/test_v1_pod_anti_affinity.py | 2 +- kubernetes/test/test_v1_pod_condition.py | 2 +- kubernetes/test/test_v1_pod_dns_config.py | 2 +- .../test/test_v1_pod_dns_config_option.py | 2 +- kubernetes/test/test_v1_pod_list.py | 2 +- kubernetes/test/test_v1_pod_readiness_gate.py | 2 +- .../test/test_v1_pod_security_context.py | 2 +- kubernetes/test/test_v1_pod_spec.py | 2 +- kubernetes/test/test_v1_pod_status.py | 2 +- kubernetes/test/test_v1_pod_template.py | 2 +- kubernetes/test/test_v1_pod_template_list.py | 2 +- kubernetes/test/test_v1_pod_template_spec.py | 2 +- kubernetes/test/test_v1_policy_rule.py | 2 +- .../test/test_v1_portworx_volume_source.py | 2 +- kubernetes/test/test_v1_preconditions.py | 2 +- .../test/test_v1_preferred_scheduling_term.py | 2 +- kubernetes/test/test_v1_probe.py | 2 +- .../test/test_v1_projected_volume_source.py | 2 +- .../test/test_v1_quobyte_volume_source.py | 2 +- .../test_v1_rbd_persistent_volume_source.py | 2 +- kubernetes/test/test_v1_rbd_volume_source.py | 2 +- kubernetes/test/test_v1_replica_set.py | 2 +- .../test/test_v1_replica_set_condition.py | 2 +- kubernetes/test/test_v1_replica_set_list.py | 2 +- kubernetes/test/test_v1_replica_set_spec.py | 2 +- kubernetes/test/test_v1_replica_set_status.py | 2 +- .../test/test_v1_replication_controller.py | 2 +- ...est_v1_replication_controller_condition.py | 2 +- .../test_v1_replication_controller_list.py | 2 +- .../test_v1_replication_controller_spec.py | 2 +- .../test_v1_replication_controller_status.py | 2 +- .../test/test_v1_resource_attributes.py | 2 +- .../test/test_v1_resource_field_selector.py | 2 +- kubernetes/test/test_v1_resource_quota.py | 2 +- .../test/test_v1_resource_quota_list.py | 2 +- .../test/test_v1_resource_quota_spec.py | 2 +- .../test/test_v1_resource_quota_status.py | 2 +- .../test/test_v1_resource_requirements.py | 2 +- kubernetes/test/test_v1_resource_rule.py | 2 +- kubernetes/test/test_v1_role.py | 2 +- kubernetes/test/test_v1_role_binding.py | 2 +- kubernetes/test/test_v1_role_binding_list.py | 2 +- kubernetes/test/test_v1_role_list.py | 2 +- kubernetes/test/test_v1_role_ref.py | 2 +- .../test/test_v1_rolling_update_daemon_set.py | 2 +- .../test/test_v1_rolling_update_deployment.py | 2 +- ...v1_rolling_update_stateful_set_strategy.py | 2 +- kubernetes/test/test_v1_scale.py | 2 +- ...st_v1_scale_io_persistent_volume_source.py | 2 +- .../test/test_v1_scale_io_volume_source.py | 2 +- kubernetes/test/test_v1_scale_spec.py | 2 +- kubernetes/test/test_v1_scale_status.py | 2 +- kubernetes/test/test_v1_scope_selector.py | 2 +- ...v1_scoped_resource_selector_requirement.py | 2 +- kubernetes/test/test_v1_se_linux_options.py | 2 +- kubernetes/test/test_v1_secret.py | 2 +- kubernetes/test/test_v1_secret_env_source.py | 2 +- .../test/test_v1_secret_key_selector.py | 2 +- kubernetes/test/test_v1_secret_list.py | 2 +- kubernetes/test/test_v1_secret_projection.py | 2 +- kubernetes/test/test_v1_secret_reference.py | 2 +- .../test/test_v1_secret_volume_source.py | 2 +- kubernetes/test/test_v1_security_context.py | 2 +- .../test_v1_self_subject_access_review.py | 2 +- ...test_v1_self_subject_access_review_spec.py | 2 +- .../test/test_v1_self_subject_rules_review.py | 2 +- .../test_v1_self_subject_rules_review_spec.py | 2 +- .../test_v1_server_address_by_client_cidr.py | 2 +- kubernetes/test/test_v1_service.py | 2 +- kubernetes/test/test_v1_service_account.py | 2 +- .../test/test_v1_service_account_list.py | 2 +- ...est_v1_service_account_token_projection.py | 2 +- kubernetes/test/test_v1_service_list.py | 2 +- kubernetes/test/test_v1_service_port.py | 2 +- kubernetes/test/test_v1_service_reference.py | 2 +- kubernetes/test/test_v1_service_spec.py | 2 +- kubernetes/test/test_v1_service_status.py | 2 +- .../test/test_v1_session_affinity_config.py | 2 +- kubernetes/test/test_v1_stateful_set.py | 2 +- .../test/test_v1_stateful_set_condition.py | 2 +- kubernetes/test/test_v1_stateful_set_list.py | 2 +- kubernetes/test/test_v1_stateful_set_spec.py | 2 +- .../test/test_v1_stateful_set_status.py | 2 +- .../test_v1_stateful_set_update_strategy.py | 2 +- kubernetes/test/test_v1_status.py | 2 +- kubernetes/test/test_v1_status_cause.py | 2 +- kubernetes/test/test_v1_status_details.py | 2 +- kubernetes/test/test_v1_storage_class.py | 2 +- kubernetes/test/test_v1_storage_class_list.py | 2 +- ..._v1_storage_os_persistent_volume_source.py | 2 +- .../test/test_v1_storage_os_volume_source.py | 2 +- kubernetes/test/test_v1_subject.py | 2 +- .../test/test_v1_subject_access_review.py | 2 +- .../test_v1_subject_access_review_spec.py | 2 +- .../test_v1_subject_access_review_status.py | 2 +- .../test_v1_subject_rules_review_status.py | 2 +- kubernetes/test/test_v1_sysctl.py | 2 +- kubernetes/test/test_v1_taint.py | 2 +- kubernetes/test/test_v1_tcp_socket_action.py | 2 +- kubernetes/test/test_v1_token_review.py | 2 +- kubernetes/test/test_v1_token_review_spec.py | 2 +- .../test/test_v1_token_review_status.py | 2 +- kubernetes/test/test_v1_toleration.py | 2 +- ..._v1_topology_selector_label_requirement.py | 2 +- .../test/test_v1_topology_selector_term.py | 2 +- .../test_v1_typed_local_object_reference.py | 2 +- kubernetes/test/test_v1_user_info.py | 2 +- kubernetes/test/test_v1_volume.py | 2 +- ...config.py => test_v1_volume_attachment.py} | 14 +- .../test/test_v1_volume_attachment_list.py | 44 + .../test/test_v1_volume_attachment_source.py | 44 + .../test/test_v1_volume_attachment_spec.py | 44 + .../test/test_v1_volume_attachment_status.py | 44 + kubernetes/test/test_v1_volume_device.py | 2 +- kubernetes/test/test_v1_volume_error.py | 44 + kubernetes/test/test_v1_volume_mount.py | 2 +- .../test/test_v1_volume_node_affinity.py | 2 +- kubernetes/test/test_v1_volume_projection.py | 2 +- ...t_v1_vsphere_virtual_disk_volume_source.py | 2 +- kubernetes/test/test_v1_watch_event.py | 2 +- .../test_v1_weighted_pod_affinity_term.py | 2 +- .../test/test_v1alpha1_aggregation_rule.py | 2 +- kubernetes/test/test_v1alpha1_audit_sink.py | 44 + .../test/test_v1alpha1_audit_sink_list.py | 44 + .../test/test_v1alpha1_audit_sink_spec.py | 44 + kubernetes/test/test_v1alpha1_cluster_role.py | 2 +- .../test_v1alpha1_cluster_role_binding.py | 2 +- ...test_v1alpha1_cluster_role_binding_list.py | 2 +- .../test/test_v1alpha1_cluster_role_list.py | 2 +- kubernetes/test/test_v1alpha1_initializer.py | 2 +- ...test_v1alpha1_initializer_configuration.py | 2 +- ...v1alpha1_initializer_configuration_list.py | 2 +- kubernetes/test/test_v1alpha1_pod_preset.py | 2 +- .../test/test_v1alpha1_pod_preset_list.py | 2 +- .../test/test_v1alpha1_pod_preset_spec.py | 2 +- kubernetes/test/test_v1alpha1_policy.py | 44 + kubernetes/test/test_v1alpha1_policy_rule.py | 2 +- .../test/test_v1alpha1_priority_class.py | 2 +- .../test/test_v1alpha1_priority_class_list.py | 2 +- kubernetes/test/test_v1alpha1_role.py | 2 +- kubernetes/test/test_v1alpha1_role_binding.py | 2 +- .../test/test_v1alpha1_role_binding_list.py | 2 +- kubernetes/test/test_v1alpha1_role_list.py | 2 +- kubernetes/test/test_v1alpha1_role_ref.py | 2 +- kubernetes/test/test_v1alpha1_rule.py | 2 +- .../test/test_v1alpha1_service_reference.py | 44 + kubernetes/test/test_v1alpha1_subject.py | 2 +- .../test/test_v1alpha1_volume_attachment.py | 2 +- .../test_v1alpha1_volume_attachment_list.py | 2 +- .../test_v1alpha1_volume_attachment_source.py | 2 +- .../test_v1alpha1_volume_attachment_spec.py | 2 +- .../test_v1alpha1_volume_attachment_status.py | 2 +- kubernetes/test/test_v1alpha1_volume_error.py | 2 +- kubernetes/test/test_v1alpha1_webhook.py | 44 + .../test_v1alpha1_webhook_client_config.py | 44 + .../test_v1alpha1_webhook_throttle_config.py | 44 + .../test/test_v1beta1_aggregation_rule.py | 2 +- kubernetes/test/test_v1beta1_api_service.py | 2 +- .../test_v1beta1_api_service_condition.py | 2 +- .../test/test_v1beta1_api_service_list.py | 2 +- .../test/test_v1beta1_api_service_spec.py | 2 +- .../test/test_v1beta1_api_service_status.py | 2 +- ...est_v1beta1_certificate_signing_request.py | 2 +- ...1_certificate_signing_request_condition.py | 2 +- ...1beta1_certificate_signing_request_list.py | 2 +- ...1beta1_certificate_signing_request_spec.py | 2 +- ...eta1_certificate_signing_request_status.py | 2 +- kubernetes/test/test_v1beta1_cluster_role.py | 2 +- .../test/test_v1beta1_cluster_role_binding.py | 2 +- .../test_v1beta1_cluster_role_binding_list.py | 2 +- .../test/test_v1beta1_cluster_role_list.py | 2 +- .../test/test_v1beta1_controller_revision.py | 2 +- .../test_v1beta1_controller_revision_list.py | 2 +- kubernetes/test/test_v1beta1_cron_job.py | 2 +- kubernetes/test/test_v1beta1_cron_job_list.py | 2 +- kubernetes/test/test_v1beta1_cron_job_spec.py | 2 +- .../test/test_v1beta1_cron_job_status.py | 2 +- ...beta1_custom_resource_column_definition.py | 2 +- ...test_v1beta1_custom_resource_conversion.py | 44 + ...test_v1beta1_custom_resource_definition.py | 2 +- ...a1_custom_resource_definition_condition.py | 2 +- ...v1beta1_custom_resource_definition_list.py | 2 +- ...1beta1_custom_resource_definition_names.py | 2 +- ...v1beta1_custom_resource_definition_spec.py | 2 +- ...beta1_custom_resource_definition_status.py | 2 +- ...eta1_custom_resource_definition_version.py | 2 +- ...beta1_custom_resource_subresource_scale.py | 2 +- ...st_v1beta1_custom_resource_subresources.py | 2 +- ...test_v1beta1_custom_resource_validation.py | 2 +- kubernetes/test/test_v1beta1_daemon_set.py | 2 +- .../test/test_v1beta1_daemon_set_condition.py | 2 +- .../test/test_v1beta1_daemon_set_list.py | 2 +- .../test/test_v1beta1_daemon_set_spec.py | 2 +- .../test/test_v1beta1_daemon_set_status.py | 2 +- ...test_v1beta1_daemon_set_update_strategy.py | 2 +- kubernetes/test/test_v1beta1_event.py | 2 +- kubernetes/test/test_v1beta1_event_list.py | 2 +- kubernetes/test/test_v1beta1_event_series.py | 2 +- kubernetes/test/test_v1beta1_eviction.py | 2 +- .../test_v1beta1_external_documentation.py | 2 +- .../test/test_v1beta1_http_ingress_path.py | 2 +- .../test_v1beta1_http_ingress_rule_value.py | 2 +- kubernetes/test/test_v1beta1_ingress.py | 2 +- .../test/test_v1beta1_ingress_backend.py | 2 +- kubernetes/test/test_v1beta1_ingress_list.py | 2 +- kubernetes/test/test_v1beta1_ingress_rule.py | 2 +- kubernetes/test/test_v1beta1_ingress_spec.py | 2 +- .../test/test_v1beta1_ingress_status.py | 2 +- kubernetes/test/test_v1beta1_ingress_tls.py | 2 +- kubernetes/test/test_v1beta1_ip_block.py | 2 +- .../test/test_v1beta1_job_template_spec.py | 2 +- .../test/test_v1beta1_json_schema_props.py | 2 +- kubernetes/test/test_v1beta1_lease.py | 2 +- kubernetes/test/test_v1beta1_lease_list.py | 2 +- kubernetes/test/test_v1beta1_lease_spec.py | 2 +- ...est_v1beta1_local_subject_access_review.py | 2 +- ..._v1beta1_mutating_webhook_configuration.py | 2 +- ...ta1_mutating_webhook_configuration_list.py | 2 +- .../test/test_v1beta1_network_policy.py | 2 +- ...test_v1beta1_network_policy_egress_rule.py | 2 +- ...est_v1beta1_network_policy_ingress_rule.py | 2 +- .../test/test_v1beta1_network_policy_list.py | 2 +- .../test/test_v1beta1_network_policy_peer.py | 2 +- .../test/test_v1beta1_network_policy_port.py | 2 +- .../test/test_v1beta1_network_policy_spec.py | 2 +- .../test_v1beta1_non_resource_attributes.py | 2 +- .../test/test_v1beta1_non_resource_rule.py | 2 +- .../test_v1beta1_pod_disruption_budget.py | 2 +- ...test_v1beta1_pod_disruption_budget_list.py | 2 +- ...test_v1beta1_pod_disruption_budget_spec.py | 2 +- ...st_v1beta1_pod_disruption_budget_status.py | 2 +- kubernetes/test/test_v1beta1_policy_rule.py | 2 +- .../test/test_v1beta1_priority_class.py | 2 +- .../test/test_v1beta1_priority_class_list.py | 2 +- kubernetes/test/test_v1beta1_replica_set.py | 2 +- .../test_v1beta1_replica_set_condition.py | 2 +- .../test/test_v1beta1_replica_set_list.py | 2 +- .../test/test_v1beta1_replica_set_spec.py | 2 +- .../test/test_v1beta1_replica_set_status.py | 2 +- .../test/test_v1beta1_resource_attributes.py | 2 +- kubernetes/test/test_v1beta1_resource_rule.py | 2 +- kubernetes/test/test_v1beta1_role.py | 2 +- kubernetes/test/test_v1beta1_role_binding.py | 2 +- .../test/test_v1beta1_role_binding_list.py | 2 +- kubernetes/test/test_v1beta1_role_list.py | 2 +- kubernetes/test/test_v1beta1_role_ref.py | 2 +- .../test_v1beta1_rolling_update_daemon_set.py | 2 +- ...a1_rolling_update_stateful_set_strategy.py | 2 +- .../test/test_v1beta1_rule_with_operations.py | 2 +- ...test_v1beta1_self_subject_access_review.py | 2 +- ...v1beta1_self_subject_access_review_spec.py | 2 +- .../test_v1beta1_self_subject_rules_review.py | 2 +- ..._v1beta1_self_subject_rules_review_spec.py | 2 +- kubernetes/test/test_v1beta1_stateful_set.py | 2 +- .../test_v1beta1_stateful_set_condition.py | 2 +- .../test/test_v1beta1_stateful_set_list.py | 2 +- .../test/test_v1beta1_stateful_set_spec.py | 2 +- .../test/test_v1beta1_stateful_set_status.py | 2 +- ...st_v1beta1_stateful_set_update_strategy.py | 2 +- kubernetes/test/test_v1beta1_storage_class.py | 2 +- .../test/test_v1beta1_storage_class_list.py | 2 +- kubernetes/test/test_v1beta1_subject.py | 2 +- .../test_v1beta1_subject_access_review.py | 2 +- ...test_v1beta1_subject_access_review_spec.py | 2 +- ...st_v1beta1_subject_access_review_status.py | 2 +- ...est_v1beta1_subject_rules_review_status.py | 2 +- kubernetes/test/test_v1beta1_token_review.py | 2 +- .../test/test_v1beta1_token_review_spec.py | 2 +- .../test/test_v1beta1_token_review_status.py | 2 +- kubernetes/test/test_v1beta1_user_info.py | 2 +- ...1beta1_validating_webhook_configuration.py | 2 +- ...1_validating_webhook_configuration_list.py | 2 +- .../test/test_v1beta1_volume_attachment.py | 2 +- .../test_v1beta1_volume_attachment_list.py | 2 +- .../test_v1beta1_volume_attachment_source.py | 2 +- .../test_v1beta1_volume_attachment_spec.py | 2 +- .../test_v1beta1_volume_attachment_status.py | 2 +- kubernetes/test/test_v1beta1_volume_error.py | 2 +- kubernetes/test/test_v1beta1_webhook.py | 2 +- .../test/test_v1beta2_controller_revision.py | 2 +- .../test_v1beta2_controller_revision_list.py | 2 +- kubernetes/test/test_v1beta2_daemon_set.py | 2 +- .../test/test_v1beta2_daemon_set_condition.py | 2 +- .../test/test_v1beta2_daemon_set_list.py | 2 +- .../test/test_v1beta2_daemon_set_spec.py | 2 +- .../test/test_v1beta2_daemon_set_status.py | 2 +- ...test_v1beta2_daemon_set_update_strategy.py | 2 +- kubernetes/test/test_v1beta2_deployment.py | 2 +- .../test/test_v1beta2_deployment_condition.py | 2 +- .../test/test_v1beta2_deployment_list.py | 2 +- .../test/test_v1beta2_deployment_spec.py | 2 +- .../test/test_v1beta2_deployment_status.py | 2 +- .../test/test_v1beta2_deployment_strategy.py | 2 +- kubernetes/test/test_v1beta2_replica_set.py | 2 +- .../test_v1beta2_replica_set_condition.py | 2 +- .../test/test_v1beta2_replica_set_list.py | 2 +- .../test/test_v1beta2_replica_set_spec.py | 2 +- .../test/test_v1beta2_replica_set_status.py | 2 +- .../test_v1beta2_rolling_update_daemon_set.py | 2 +- .../test_v1beta2_rolling_update_deployment.py | 2 +- ...a2_rolling_update_stateful_set_strategy.py | 2 +- kubernetes/test/test_v1beta2_scale.py | 2 +- kubernetes/test/test_v1beta2_scale_spec.py | 2 +- kubernetes/test/test_v1beta2_scale_status.py | 2 +- kubernetes/test/test_v1beta2_stateful_set.py | 2 +- .../test_v1beta2_stateful_set_condition.py | 2 +- .../test/test_v1beta2_stateful_set_list.py | 2 +- .../test/test_v1beta2_stateful_set_spec.py | 2 +- .../test/test_v1beta2_stateful_set_status.py | 2 +- ...st_v1beta2_stateful_set_update_strategy.py | 2 +- kubernetes/test/test_v2alpha1_cron_job.py | 2 +- .../test/test_v2alpha1_cron_job_list.py | 2 +- .../test/test_v2alpha1_cron_job_spec.py | 2 +- .../test/test_v2alpha1_cron_job_status.py | 2 +- .../test/test_v2alpha1_job_template_spec.py | 2 +- ..._v2beta1_cross_version_object_reference.py | 2 +- .../test_v2beta1_external_metric_source.py | 2 +- .../test_v2beta1_external_metric_status.py | 2 +- .../test_v2beta1_horizontal_pod_autoscaler.py | 2 +- ...ta1_horizontal_pod_autoscaler_condition.py | 2 +- ..._v2beta1_horizontal_pod_autoscaler_list.py | 2 +- ..._v2beta1_horizontal_pod_autoscaler_spec.py | 2 +- ...2beta1_horizontal_pod_autoscaler_status.py | 2 +- kubernetes/test/test_v2beta1_metric_spec.py | 2 +- kubernetes/test/test_v2beta1_metric_status.py | 2 +- .../test/test_v2beta1_object_metric_source.py | 2 +- .../test/test_v2beta1_object_metric_status.py | 2 +- .../test/test_v2beta1_pods_metric_source.py | 2 +- .../test/test_v2beta1_pods_metric_status.py | 2 +- .../test_v2beta1_resource_metric_source.py | 2 +- .../test_v2beta1_resource_metric_status.py | 2 +- ..._v2beta2_cross_version_object_reference.py | 2 +- .../test_v2beta2_external_metric_source.py | 2 +- .../test_v2beta2_external_metric_status.py | 2 +- .../test_v2beta2_horizontal_pod_autoscaler.py | 2 +- ...ta2_horizontal_pod_autoscaler_condition.py | 2 +- ..._v2beta2_horizontal_pod_autoscaler_list.py | 2 +- ..._v2beta2_horizontal_pod_autoscaler_spec.py | 2 +- ...2beta2_horizontal_pod_autoscaler_status.py | 2 +- .../test/test_v2beta2_metric_identifier.py | 2 +- kubernetes/test/test_v2beta2_metric_spec.py | 2 +- kubernetes/test/test_v2beta2_metric_status.py | 2 +- kubernetes/test/test_v2beta2_metric_target.py | 2 +- .../test/test_v2beta2_metric_value_status.py | 2 +- .../test/test_v2beta2_object_metric_source.py | 2 +- .../test/test_v2beta2_object_metric_status.py | 2 +- .../test/test_v2beta2_pods_metric_source.py | 2 +- .../test/test_v2beta2_pods_metric_status.py | 2 +- .../test_v2beta2_resource_metric_source.py | 2 +- .../test_v2beta2_resource_metric_status.py | 2 +- kubernetes/test/test_version_api.py | 2 +- kubernetes/test/test_version_info.py | 2 +- scripts/swagger.json | 4426 ++++++++++++----- setup.py | 2 +- 1348 files changed, 17388 insertions(+), 4809 deletions(-) create mode 100644 kubernetes/client/apis/auditregistration_api.py create mode 100644 kubernetes/client/apis/auditregistration_v1alpha1_api.py rename kubernetes/client/models/{v1beta1_webhook_client_config.py => admissionregistration_v1beta1_webhook_client_config.py} (54%) create mode 100644 kubernetes/client/models/apiextensions_v1beta1_service_reference.py create mode 100644 kubernetes/client/models/apiextensions_v1beta1_webhook_client_config.py create mode 100644 kubernetes/client/models/extensions_v1beta1_run_as_group_strategy_options.py create mode 100644 kubernetes/client/models/policy_v1beta1_run_as_group_strategy_options.py create mode 100644 kubernetes/client/models/v1_glusterfs_persistent_volume_source.py create mode 100644 kubernetes/client/models/v1_volume_attachment.py create mode 100644 kubernetes/client/models/v1_volume_attachment_list.py create mode 100644 kubernetes/client/models/v1_volume_attachment_source.py create mode 100644 kubernetes/client/models/v1_volume_attachment_spec.py create mode 100644 kubernetes/client/models/v1_volume_attachment_status.py create mode 100644 kubernetes/client/models/v1_volume_error.py create mode 100644 kubernetes/client/models/v1alpha1_audit_sink.py create mode 100644 kubernetes/client/models/v1alpha1_audit_sink_list.py create mode 100644 kubernetes/client/models/v1alpha1_audit_sink_spec.py create mode 100644 kubernetes/client/models/v1alpha1_policy.py create mode 100644 kubernetes/client/models/v1alpha1_service_reference.py create mode 100644 kubernetes/client/models/v1alpha1_webhook.py create mode 100644 kubernetes/client/models/v1alpha1_webhook_client_config.py create mode 100644 kubernetes/client/models/v1alpha1_webhook_throttle_config.py create mode 100644 kubernetes/client/models/v1beta1_custom_resource_conversion.py create mode 100644 kubernetes/docs/AdmissionregistrationV1beta1WebhookClientConfig.md create mode 100644 kubernetes/docs/ApiextensionsV1beta1ServiceReference.md create mode 100644 kubernetes/docs/ApiextensionsV1beta1WebhookClientConfig.md create mode 100644 kubernetes/docs/AuditregistrationApi.md create mode 100644 kubernetes/docs/AuditregistrationV1alpha1Api.md create mode 100644 kubernetes/docs/ExtensionsV1beta1RunAsGroupStrategyOptions.md create mode 100644 kubernetes/docs/PolicyV1beta1RunAsGroupStrategyOptions.md create mode 100644 kubernetes/docs/V1GlusterfsPersistentVolumeSource.md create mode 100644 kubernetes/docs/V1VolumeAttachment.md create mode 100644 kubernetes/docs/V1VolumeAttachmentList.md create mode 100644 kubernetes/docs/V1VolumeAttachmentSource.md create mode 100644 kubernetes/docs/V1VolumeAttachmentSpec.md create mode 100644 kubernetes/docs/V1VolumeAttachmentStatus.md create mode 100644 kubernetes/docs/V1VolumeError.md create mode 100644 kubernetes/docs/V1alpha1AuditSink.md create mode 100644 kubernetes/docs/V1alpha1AuditSinkList.md create mode 100644 kubernetes/docs/V1alpha1AuditSinkSpec.md create mode 100644 kubernetes/docs/V1alpha1Policy.md create mode 100644 kubernetes/docs/V1alpha1ServiceReference.md create mode 100644 kubernetes/docs/V1alpha1Webhook.md create mode 100644 kubernetes/docs/V1alpha1WebhookClientConfig.md create mode 100644 kubernetes/docs/V1alpha1WebhookThrottleConfig.md create mode 100644 kubernetes/docs/V1beta1CustomResourceConversion.md delete mode 100644 kubernetes/docs/V1beta1WebhookClientConfig.md create mode 100644 kubernetes/test/test_admissionregistration_v1beta1_webhook_client_config.py create mode 100644 kubernetes/test/test_apiextensions_v1beta1_service_reference.py create mode 100644 kubernetes/test/test_apiextensions_v1beta1_webhook_client_config.py create mode 100644 kubernetes/test/test_auditregistration_api.py create mode 100644 kubernetes/test/test_auditregistration_v1alpha1_api.py create mode 100644 kubernetes/test/test_extensions_v1beta1_run_as_group_strategy_options.py create mode 100644 kubernetes/test/test_policy_v1beta1_run_as_group_strategy_options.py create mode 100644 kubernetes/test/test_v1_glusterfs_persistent_volume_source.py rename kubernetes/test/{test_v1beta1_webhook_client_config.py => test_v1_volume_attachment.py} (59%) create mode 100644 kubernetes/test/test_v1_volume_attachment_list.py create mode 100644 kubernetes/test/test_v1_volume_attachment_source.py create mode 100644 kubernetes/test/test_v1_volume_attachment_spec.py create mode 100644 kubernetes/test/test_v1_volume_attachment_status.py create mode 100644 kubernetes/test/test_v1_volume_error.py create mode 100644 kubernetes/test/test_v1alpha1_audit_sink.py create mode 100644 kubernetes/test/test_v1alpha1_audit_sink_list.py create mode 100644 kubernetes/test/test_v1alpha1_audit_sink_spec.py create mode 100644 kubernetes/test/test_v1alpha1_policy.py create mode 100644 kubernetes/test/test_v1alpha1_service_reference.py create mode 100644 kubernetes/test/test_v1alpha1_webhook.py create mode 100644 kubernetes/test/test_v1alpha1_webhook_client_config.py create mode 100644 kubernetes/test/test_v1alpha1_webhook_throttle_config.py create mode 100644 kubernetes/test/test_v1beta1_custom_resource_conversion.py diff --git a/kubernetes/README.md b/kubernetes/README.md index c70fbdb104..12e6699f97 100644 --- a/kubernetes/README.md +++ b/kubernetes/README.md @@ -3,8 +3,8 @@ No description provided (generated by Swagger Codegen https://github.com/swagger This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project: -- API version: v1.12.2 -- Package version: 8.0.0-snapshot +- API version: v1.13.1 +- Package version: 9.0.0-snapshot - Build package: io.swagger.codegen.languages.PythonClientCodegen ## Requirements. @@ -295,6 +295,15 @@ Class | Method | HTTP request | Description *AppsV1beta2Api* | [**replace_namespaced_stateful_set**](docs/AppsV1beta2Api.md#replace_namespaced_stateful_set) | **PUT** /apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name} | *AppsV1beta2Api* | [**replace_namespaced_stateful_set_scale**](docs/AppsV1beta2Api.md#replace_namespaced_stateful_set_scale) | **PUT** /apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/scale | *AppsV1beta2Api* | [**replace_namespaced_stateful_set_status**](docs/AppsV1beta2Api.md#replace_namespaced_stateful_set_status) | **PUT** /apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/status | +*AuditregistrationApi* | [**get_api_group**](docs/AuditregistrationApi.md#get_api_group) | **GET** /apis/auditregistration.k8s.io/ | +*AuditregistrationV1alpha1Api* | [**create_audit_sink**](docs/AuditregistrationV1alpha1Api.md#create_audit_sink) | **POST** /apis/auditregistration.k8s.io/v1alpha1/auditsinks | +*AuditregistrationV1alpha1Api* | [**delete_audit_sink**](docs/AuditregistrationV1alpha1Api.md#delete_audit_sink) | **DELETE** /apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name} | +*AuditregistrationV1alpha1Api* | [**delete_collection_audit_sink**](docs/AuditregistrationV1alpha1Api.md#delete_collection_audit_sink) | **DELETE** /apis/auditregistration.k8s.io/v1alpha1/auditsinks | +*AuditregistrationV1alpha1Api* | [**get_api_resources**](docs/AuditregistrationV1alpha1Api.md#get_api_resources) | **GET** /apis/auditregistration.k8s.io/v1alpha1/ | +*AuditregistrationV1alpha1Api* | [**list_audit_sink**](docs/AuditregistrationV1alpha1Api.md#list_audit_sink) | **GET** /apis/auditregistration.k8s.io/v1alpha1/auditsinks | +*AuditregistrationV1alpha1Api* | [**patch_audit_sink**](docs/AuditregistrationV1alpha1Api.md#patch_audit_sink) | **PATCH** /apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name} | +*AuditregistrationV1alpha1Api* | [**read_audit_sink**](docs/AuditregistrationV1alpha1Api.md#read_audit_sink) | **GET** /apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name} | +*AuditregistrationV1alpha1Api* | [**replace_audit_sink**](docs/AuditregistrationV1alpha1Api.md#replace_audit_sink) | **PUT** /apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name} | *AuthenticationApi* | [**get_api_group**](docs/AuthenticationApi.md#get_api_group) | **GET** /apis/authentication.k8s.io/ | *AuthenticationV1Api* | [**create_token_review**](docs/AuthenticationV1Api.md#create_token_review) | **POST** /apis/authentication.k8s.io/v1/tokenreviews | *AuthenticationV1Api* | [**get_api_resources**](docs/AuthenticationV1Api.md#get_api_resources) | **GET** /apis/authentication.k8s.io/v1/ | @@ -867,13 +876,23 @@ Class | Method | HTTP request | Description *SettingsV1alpha1Api* | [**replace_namespaced_pod_preset**](docs/SettingsV1alpha1Api.md#replace_namespaced_pod_preset) | **PUT** /apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name} | *StorageApi* | [**get_api_group**](docs/StorageApi.md#get_api_group) | **GET** /apis/storage.k8s.io/ | *StorageV1Api* | [**create_storage_class**](docs/StorageV1Api.md#create_storage_class) | **POST** /apis/storage.k8s.io/v1/storageclasses | +*StorageV1Api* | [**create_volume_attachment**](docs/StorageV1Api.md#create_volume_attachment) | **POST** /apis/storage.k8s.io/v1/volumeattachments | *StorageV1Api* | [**delete_collection_storage_class**](docs/StorageV1Api.md#delete_collection_storage_class) | **DELETE** /apis/storage.k8s.io/v1/storageclasses | +*StorageV1Api* | [**delete_collection_volume_attachment**](docs/StorageV1Api.md#delete_collection_volume_attachment) | **DELETE** /apis/storage.k8s.io/v1/volumeattachments | *StorageV1Api* | [**delete_storage_class**](docs/StorageV1Api.md#delete_storage_class) | **DELETE** /apis/storage.k8s.io/v1/storageclasses/{name} | +*StorageV1Api* | [**delete_volume_attachment**](docs/StorageV1Api.md#delete_volume_attachment) | **DELETE** /apis/storage.k8s.io/v1/volumeattachments/{name} | *StorageV1Api* | [**get_api_resources**](docs/StorageV1Api.md#get_api_resources) | **GET** /apis/storage.k8s.io/v1/ | *StorageV1Api* | [**list_storage_class**](docs/StorageV1Api.md#list_storage_class) | **GET** /apis/storage.k8s.io/v1/storageclasses | +*StorageV1Api* | [**list_volume_attachment**](docs/StorageV1Api.md#list_volume_attachment) | **GET** /apis/storage.k8s.io/v1/volumeattachments | *StorageV1Api* | [**patch_storage_class**](docs/StorageV1Api.md#patch_storage_class) | **PATCH** /apis/storage.k8s.io/v1/storageclasses/{name} | +*StorageV1Api* | [**patch_volume_attachment**](docs/StorageV1Api.md#patch_volume_attachment) | **PATCH** /apis/storage.k8s.io/v1/volumeattachments/{name} | +*StorageV1Api* | [**patch_volume_attachment_status**](docs/StorageV1Api.md#patch_volume_attachment_status) | **PATCH** /apis/storage.k8s.io/v1/volumeattachments/{name}/status | *StorageV1Api* | [**read_storage_class**](docs/StorageV1Api.md#read_storage_class) | **GET** /apis/storage.k8s.io/v1/storageclasses/{name} | +*StorageV1Api* | [**read_volume_attachment**](docs/StorageV1Api.md#read_volume_attachment) | **GET** /apis/storage.k8s.io/v1/volumeattachments/{name} | +*StorageV1Api* | [**read_volume_attachment_status**](docs/StorageV1Api.md#read_volume_attachment_status) | **GET** /apis/storage.k8s.io/v1/volumeattachments/{name}/status | *StorageV1Api* | [**replace_storage_class**](docs/StorageV1Api.md#replace_storage_class) | **PUT** /apis/storage.k8s.io/v1/storageclasses/{name} | +*StorageV1Api* | [**replace_volume_attachment**](docs/StorageV1Api.md#replace_volume_attachment) | **PUT** /apis/storage.k8s.io/v1/volumeattachments/{name} | +*StorageV1Api* | [**replace_volume_attachment_status**](docs/StorageV1Api.md#replace_volume_attachment_status) | **PUT** /apis/storage.k8s.io/v1/volumeattachments/{name}/status | *StorageV1alpha1Api* | [**create_volume_attachment**](docs/StorageV1alpha1Api.md#create_volume_attachment) | **POST** /apis/storage.k8s.io/v1alpha1/volumeattachments | *StorageV1alpha1Api* | [**delete_collection_volume_attachment**](docs/StorageV1alpha1Api.md#delete_collection_volume_attachment) | **DELETE** /apis/storage.k8s.io/v1alpha1/volumeattachments | *StorageV1alpha1Api* | [**delete_volume_attachment**](docs/StorageV1alpha1Api.md#delete_volume_attachment) | **DELETE** /apis/storage.k8s.io/v1alpha1/volumeattachments/{name} | @@ -903,6 +922,9 @@ Class | Method | HTTP request | Description ## Documentation For Models - [AdmissionregistrationV1beta1ServiceReference](docs/AdmissionregistrationV1beta1ServiceReference.md) + - [AdmissionregistrationV1beta1WebhookClientConfig](docs/AdmissionregistrationV1beta1WebhookClientConfig.md) + - [ApiextensionsV1beta1ServiceReference](docs/ApiextensionsV1beta1ServiceReference.md) + - [ApiextensionsV1beta1WebhookClientConfig](docs/ApiextensionsV1beta1WebhookClientConfig.md) - [ApiregistrationV1beta1ServiceReference](docs/ApiregistrationV1beta1ServiceReference.md) - [AppsV1beta1Deployment](docs/AppsV1beta1Deployment.md) - [AppsV1beta1DeploymentCondition](docs/AppsV1beta1DeploymentCondition.md) @@ -933,6 +955,7 @@ Class | Method | HTTP request | Description - [ExtensionsV1beta1PodSecurityPolicySpec](docs/ExtensionsV1beta1PodSecurityPolicySpec.md) - [ExtensionsV1beta1RollbackConfig](docs/ExtensionsV1beta1RollbackConfig.md) - [ExtensionsV1beta1RollingUpdateDeployment](docs/ExtensionsV1beta1RollingUpdateDeployment.md) + - [ExtensionsV1beta1RunAsGroupStrategyOptions](docs/ExtensionsV1beta1RunAsGroupStrategyOptions.md) - [ExtensionsV1beta1RunAsUserStrategyOptions](docs/ExtensionsV1beta1RunAsUserStrategyOptions.md) - [ExtensionsV1beta1SELinuxStrategyOptions](docs/ExtensionsV1beta1SELinuxStrategyOptions.md) - [ExtensionsV1beta1Scale](docs/ExtensionsV1beta1Scale.md) @@ -947,6 +970,7 @@ Class | Method | HTTP request | Description - [PolicyV1beta1PodSecurityPolicy](docs/PolicyV1beta1PodSecurityPolicy.md) - [PolicyV1beta1PodSecurityPolicyList](docs/PolicyV1beta1PodSecurityPolicyList.md) - [PolicyV1beta1PodSecurityPolicySpec](docs/PolicyV1beta1PodSecurityPolicySpec.md) + - [PolicyV1beta1RunAsGroupStrategyOptions](docs/PolicyV1beta1RunAsGroupStrategyOptions.md) - [PolicyV1beta1RunAsUserStrategyOptions](docs/PolicyV1beta1RunAsUserStrategyOptions.md) - [PolicyV1beta1SELinuxStrategyOptions](docs/PolicyV1beta1SELinuxStrategyOptions.md) - [PolicyV1beta1SupplementalGroupsStrategyOptions](docs/PolicyV1beta1SupplementalGroupsStrategyOptions.md) @@ -1038,6 +1062,7 @@ Class | Method | HTTP request | Description - [V1FlockerVolumeSource](docs/V1FlockerVolumeSource.md) - [V1GCEPersistentDiskVolumeSource](docs/V1GCEPersistentDiskVolumeSource.md) - [V1GitRepoVolumeSource](docs/V1GitRepoVolumeSource.md) + - [V1GlusterfsPersistentVolumeSource](docs/V1GlusterfsPersistentVolumeSource.md) - [V1GlusterfsVolumeSource](docs/V1GlusterfsVolumeSource.md) - [V1GroupVersionForDiscovery](docs/V1GroupVersionForDiscovery.md) - [V1HTTPGetAction](docs/V1HTTPGetAction.md) @@ -1227,7 +1252,13 @@ Class | Method | HTTP request | Description - [V1TypedLocalObjectReference](docs/V1TypedLocalObjectReference.md) - [V1UserInfo](docs/V1UserInfo.md) - [V1Volume](docs/V1Volume.md) + - [V1VolumeAttachment](docs/V1VolumeAttachment.md) + - [V1VolumeAttachmentList](docs/V1VolumeAttachmentList.md) + - [V1VolumeAttachmentSource](docs/V1VolumeAttachmentSource.md) + - [V1VolumeAttachmentSpec](docs/V1VolumeAttachmentSpec.md) + - [V1VolumeAttachmentStatus](docs/V1VolumeAttachmentStatus.md) - [V1VolumeDevice](docs/V1VolumeDevice.md) + - [V1VolumeError](docs/V1VolumeError.md) - [V1VolumeMount](docs/V1VolumeMount.md) - [V1VolumeNodeAffinity](docs/V1VolumeNodeAffinity.md) - [V1VolumeProjection](docs/V1VolumeProjection.md) @@ -1235,6 +1266,9 @@ Class | Method | HTTP request | Description - [V1WatchEvent](docs/V1WatchEvent.md) - [V1WeightedPodAffinityTerm](docs/V1WeightedPodAffinityTerm.md) - [V1alpha1AggregationRule](docs/V1alpha1AggregationRule.md) + - [V1alpha1AuditSink](docs/V1alpha1AuditSink.md) + - [V1alpha1AuditSinkList](docs/V1alpha1AuditSinkList.md) + - [V1alpha1AuditSinkSpec](docs/V1alpha1AuditSinkSpec.md) - [V1alpha1ClusterRole](docs/V1alpha1ClusterRole.md) - [V1alpha1ClusterRoleBinding](docs/V1alpha1ClusterRoleBinding.md) - [V1alpha1ClusterRoleBindingList](docs/V1alpha1ClusterRoleBindingList.md) @@ -1245,6 +1279,7 @@ Class | Method | HTTP request | Description - [V1alpha1PodPreset](docs/V1alpha1PodPreset.md) - [V1alpha1PodPresetList](docs/V1alpha1PodPresetList.md) - [V1alpha1PodPresetSpec](docs/V1alpha1PodPresetSpec.md) + - [V1alpha1Policy](docs/V1alpha1Policy.md) - [V1alpha1PolicyRule](docs/V1alpha1PolicyRule.md) - [V1alpha1PriorityClass](docs/V1alpha1PriorityClass.md) - [V1alpha1PriorityClassList](docs/V1alpha1PriorityClassList.md) @@ -1254,6 +1289,7 @@ Class | Method | HTTP request | Description - [V1alpha1RoleList](docs/V1alpha1RoleList.md) - [V1alpha1RoleRef](docs/V1alpha1RoleRef.md) - [V1alpha1Rule](docs/V1alpha1Rule.md) + - [V1alpha1ServiceReference](docs/V1alpha1ServiceReference.md) - [V1alpha1Subject](docs/V1alpha1Subject.md) - [V1alpha1VolumeAttachment](docs/V1alpha1VolumeAttachment.md) - [V1alpha1VolumeAttachmentList](docs/V1alpha1VolumeAttachmentList.md) @@ -1261,6 +1297,9 @@ Class | Method | HTTP request | Description - [V1alpha1VolumeAttachmentSpec](docs/V1alpha1VolumeAttachmentSpec.md) - [V1alpha1VolumeAttachmentStatus](docs/V1alpha1VolumeAttachmentStatus.md) - [V1alpha1VolumeError](docs/V1alpha1VolumeError.md) + - [V1alpha1Webhook](docs/V1alpha1Webhook.md) + - [V1alpha1WebhookClientConfig](docs/V1alpha1WebhookClientConfig.md) + - [V1alpha1WebhookThrottleConfig](docs/V1alpha1WebhookThrottleConfig.md) - [V1beta1APIService](docs/V1beta1APIService.md) - [V1beta1APIServiceCondition](docs/V1beta1APIServiceCondition.md) - [V1beta1APIServiceList](docs/V1beta1APIServiceList.md) @@ -1283,6 +1322,7 @@ Class | Method | HTTP request | Description - [V1beta1CronJobSpec](docs/V1beta1CronJobSpec.md) - [V1beta1CronJobStatus](docs/V1beta1CronJobStatus.md) - [V1beta1CustomResourceColumnDefinition](docs/V1beta1CustomResourceColumnDefinition.md) + - [V1beta1CustomResourceConversion](docs/V1beta1CustomResourceConversion.md) - [V1beta1CustomResourceDefinition](docs/V1beta1CustomResourceDefinition.md) - [V1beta1CustomResourceDefinitionCondition](docs/V1beta1CustomResourceDefinitionCondition.md) - [V1beta1CustomResourceDefinitionList](docs/V1beta1CustomResourceDefinitionList.md) @@ -1383,7 +1423,6 @@ Class | Method | HTTP request | Description - [V1beta1VolumeAttachmentStatus](docs/V1beta1VolumeAttachmentStatus.md) - [V1beta1VolumeError](docs/V1beta1VolumeError.md) - [V1beta1Webhook](docs/V1beta1Webhook.md) - - [V1beta1WebhookClientConfig](docs/V1beta1WebhookClientConfig.md) - [V1beta2ControllerRevision](docs/V1beta2ControllerRevision.md) - [V1beta2ControllerRevisionList](docs/V1beta2ControllerRevisionList.md) - [V1beta2DaemonSet](docs/V1beta2DaemonSet.md) diff --git a/kubernetes/__init__.py b/kubernetes/__init__.py index 33c19ac878..b3f4a4a544 100644 --- a/kubernetes/__init__.py +++ b/kubernetes/__init__.py @@ -14,7 +14,7 @@ __project__ = 'kubernetes' # The version is auto-updated. Please do not edit. -__version__ = "8.0.0-snapshot" +__version__ = "9.0.0-snapshot" import kubernetes.client import kubernetes.config diff --git a/kubernetes/client/__init__.py b/kubernetes/client/__init__.py index bfe591ce44..41a37afc00 100644 --- a/kubernetes/client/__init__.py +++ b/kubernetes/client/__init__.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -15,6 +15,9 @@ # import models into sdk package from .models.admissionregistration_v1beta1_service_reference import AdmissionregistrationV1beta1ServiceReference +from .models.admissionregistration_v1beta1_webhook_client_config import AdmissionregistrationV1beta1WebhookClientConfig +from .models.apiextensions_v1beta1_service_reference import ApiextensionsV1beta1ServiceReference +from .models.apiextensions_v1beta1_webhook_client_config import ApiextensionsV1beta1WebhookClientConfig from .models.apiregistration_v1beta1_service_reference import ApiregistrationV1beta1ServiceReference from .models.apps_v1beta1_deployment import AppsV1beta1Deployment from .models.apps_v1beta1_deployment_condition import AppsV1beta1DeploymentCondition @@ -45,6 +48,7 @@ from .models.extensions_v1beta1_pod_security_policy_spec import ExtensionsV1beta1PodSecurityPolicySpec from .models.extensions_v1beta1_rollback_config import ExtensionsV1beta1RollbackConfig from .models.extensions_v1beta1_rolling_update_deployment import ExtensionsV1beta1RollingUpdateDeployment +from .models.extensions_v1beta1_run_as_group_strategy_options import ExtensionsV1beta1RunAsGroupStrategyOptions from .models.extensions_v1beta1_run_as_user_strategy_options import ExtensionsV1beta1RunAsUserStrategyOptions from .models.extensions_v1beta1_se_linux_strategy_options import ExtensionsV1beta1SELinuxStrategyOptions from .models.extensions_v1beta1_scale import ExtensionsV1beta1Scale @@ -59,6 +63,7 @@ from .models.policy_v1beta1_pod_security_policy import PolicyV1beta1PodSecurityPolicy from .models.policy_v1beta1_pod_security_policy_list import PolicyV1beta1PodSecurityPolicyList from .models.policy_v1beta1_pod_security_policy_spec import PolicyV1beta1PodSecurityPolicySpec +from .models.policy_v1beta1_run_as_group_strategy_options import PolicyV1beta1RunAsGroupStrategyOptions from .models.policy_v1beta1_run_as_user_strategy_options import PolicyV1beta1RunAsUserStrategyOptions from .models.policy_v1beta1_se_linux_strategy_options import PolicyV1beta1SELinuxStrategyOptions from .models.policy_v1beta1_supplemental_groups_strategy_options import PolicyV1beta1SupplementalGroupsStrategyOptions @@ -150,6 +155,7 @@ from .models.v1_flocker_volume_source import V1FlockerVolumeSource from .models.v1_gce_persistent_disk_volume_source import V1GCEPersistentDiskVolumeSource from .models.v1_git_repo_volume_source import V1GitRepoVolumeSource +from .models.v1_glusterfs_persistent_volume_source import V1GlusterfsPersistentVolumeSource from .models.v1_glusterfs_volume_source import V1GlusterfsVolumeSource from .models.v1_group_version_for_discovery import V1GroupVersionForDiscovery from .models.v1_http_get_action import V1HTTPGetAction @@ -339,7 +345,13 @@ from .models.v1_typed_local_object_reference import V1TypedLocalObjectReference from .models.v1_user_info import V1UserInfo from .models.v1_volume import V1Volume +from .models.v1_volume_attachment import V1VolumeAttachment +from .models.v1_volume_attachment_list import V1VolumeAttachmentList +from .models.v1_volume_attachment_source import V1VolumeAttachmentSource +from .models.v1_volume_attachment_spec import V1VolumeAttachmentSpec +from .models.v1_volume_attachment_status import V1VolumeAttachmentStatus from .models.v1_volume_device import V1VolumeDevice +from .models.v1_volume_error import V1VolumeError from .models.v1_volume_mount import V1VolumeMount from .models.v1_volume_node_affinity import V1VolumeNodeAffinity from .models.v1_volume_projection import V1VolumeProjection @@ -347,6 +359,9 @@ from .models.v1_watch_event import V1WatchEvent from .models.v1_weighted_pod_affinity_term import V1WeightedPodAffinityTerm from .models.v1alpha1_aggregation_rule import V1alpha1AggregationRule +from .models.v1alpha1_audit_sink import V1alpha1AuditSink +from .models.v1alpha1_audit_sink_list import V1alpha1AuditSinkList +from .models.v1alpha1_audit_sink_spec import V1alpha1AuditSinkSpec from .models.v1alpha1_cluster_role import V1alpha1ClusterRole from .models.v1alpha1_cluster_role_binding import V1alpha1ClusterRoleBinding from .models.v1alpha1_cluster_role_binding_list import V1alpha1ClusterRoleBindingList @@ -357,6 +372,7 @@ from .models.v1alpha1_pod_preset import V1alpha1PodPreset from .models.v1alpha1_pod_preset_list import V1alpha1PodPresetList from .models.v1alpha1_pod_preset_spec import V1alpha1PodPresetSpec +from .models.v1alpha1_policy import V1alpha1Policy from .models.v1alpha1_policy_rule import V1alpha1PolicyRule from .models.v1alpha1_priority_class import V1alpha1PriorityClass from .models.v1alpha1_priority_class_list import V1alpha1PriorityClassList @@ -366,6 +382,7 @@ from .models.v1alpha1_role_list import V1alpha1RoleList from .models.v1alpha1_role_ref import V1alpha1RoleRef from .models.v1alpha1_rule import V1alpha1Rule +from .models.v1alpha1_service_reference import V1alpha1ServiceReference from .models.v1alpha1_subject import V1alpha1Subject from .models.v1alpha1_volume_attachment import V1alpha1VolumeAttachment from .models.v1alpha1_volume_attachment_list import V1alpha1VolumeAttachmentList @@ -373,6 +390,9 @@ from .models.v1alpha1_volume_attachment_spec import V1alpha1VolumeAttachmentSpec from .models.v1alpha1_volume_attachment_status import V1alpha1VolumeAttachmentStatus from .models.v1alpha1_volume_error import V1alpha1VolumeError +from .models.v1alpha1_webhook import V1alpha1Webhook +from .models.v1alpha1_webhook_client_config import V1alpha1WebhookClientConfig +from .models.v1alpha1_webhook_throttle_config import V1alpha1WebhookThrottleConfig from .models.v1beta1_api_service import V1beta1APIService from .models.v1beta1_api_service_condition import V1beta1APIServiceCondition from .models.v1beta1_api_service_list import V1beta1APIServiceList @@ -395,6 +415,7 @@ from .models.v1beta1_cron_job_spec import V1beta1CronJobSpec from .models.v1beta1_cron_job_status import V1beta1CronJobStatus from .models.v1beta1_custom_resource_column_definition import V1beta1CustomResourceColumnDefinition +from .models.v1beta1_custom_resource_conversion import V1beta1CustomResourceConversion from .models.v1beta1_custom_resource_definition import V1beta1CustomResourceDefinition from .models.v1beta1_custom_resource_definition_condition import V1beta1CustomResourceDefinitionCondition from .models.v1beta1_custom_resource_definition_list import V1beta1CustomResourceDefinitionList @@ -495,7 +516,6 @@ from .models.v1beta1_volume_attachment_status import V1beta1VolumeAttachmentStatus from .models.v1beta1_volume_error import V1beta1VolumeError from .models.v1beta1_webhook import V1beta1Webhook -from .models.v1beta1_webhook_client_config import V1beta1WebhookClientConfig from .models.v1beta2_controller_revision import V1beta2ControllerRevision from .models.v1beta2_controller_revision_list import V1beta2ControllerRevisionList from .models.v1beta2_daemon_set import V1beta2DaemonSet @@ -583,6 +603,8 @@ from .apis.apps_v1_api import AppsV1Api from .apis.apps_v1beta1_api import AppsV1beta1Api from .apis.apps_v1beta2_api import AppsV1beta2Api +from .apis.auditregistration_api import AuditregistrationApi +from .apis.auditregistration_v1alpha1_api import AuditregistrationV1alpha1Api from .apis.authentication_api import AuthenticationApi from .apis.authentication_v1_api import AuthenticationV1Api from .apis.authentication_v1beta1_api import AuthenticationV1beta1Api diff --git a/kubernetes/client/api_client.py b/kubernetes/client/api_client.py index a1e04347bb..0c58dc042c 100644 --- a/kubernetes/client/api_client.py +++ b/kubernetes/client/api_client.py @@ -4,7 +4,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -71,7 +71,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, cook self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'Swagger-Codegen/8.0.0-snapshot/python' + self.user_agent = 'Swagger-Codegen/9.0.0-snapshot/python' def __del__(self): self.pool.close() diff --git a/kubernetes/client/apis/__init__.py b/kubernetes/client/apis/__init__.py index 9a2d6d4a19..a38b916080 100644 --- a/kubernetes/client/apis/__init__.py +++ b/kubernetes/client/apis/__init__.py @@ -14,6 +14,8 @@ from .apps_v1_api import AppsV1Api from .apps_v1beta1_api import AppsV1beta1Api from .apps_v1beta2_api import AppsV1beta2Api +from .auditregistration_api import AuditregistrationApi +from .auditregistration_v1alpha1_api import AuditregistrationV1alpha1Api from .authentication_api import AuthenticationApi from .authentication_v1_api import AuthenticationV1Api from .authentication_v1beta1_api import AuthenticationV1beta1Api diff --git a/kubernetes/client/apis/admissionregistration_api.py b/kubernetes/client/apis/admissionregistration_api.py index d40e60a1c1..d88114e45c 100644 --- a/kubernetes/client/apis/admissionregistration_api.py +++ b/kubernetes/client/apis/admissionregistration_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/admissionregistration_v1alpha1_api.py b/kubernetes/client/apis/admissionregistration_v1alpha1_api.py index a7a382b1a2..47b30e129a 100644 --- a/kubernetes/client/apis/admissionregistration_v1alpha1_api.py +++ b/kubernetes/client/apis/admissionregistration_v1alpha1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -268,18 +268,18 @@ def delete_collection_initializer_configuration_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_initializer_configuration(self, name, body, **kwargs): + def delete_initializer_configuration(self, name, **kwargs): """ delete an InitializerConfiguration This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_initializer_configuration(name, body, async_req=True) + >>> thread = api.delete_initializer_configuration(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the InitializerConfiguration (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -290,23 +290,23 @@ def delete_initializer_configuration(self, name, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_initializer_configuration_with_http_info(name, body, **kwargs) + return self.delete_initializer_configuration_with_http_info(name, **kwargs) else: - (data) = self.delete_initializer_configuration_with_http_info(name, body, **kwargs) + (data) = self.delete_initializer_configuration_with_http_info(name, **kwargs) return data - def delete_initializer_configuration_with_http_info(self, name, body, **kwargs): + def delete_initializer_configuration_with_http_info(self, name, **kwargs): """ delete an InitializerConfiguration This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_initializer_configuration_with_http_info(name, body, async_req=True) + >>> thread = api.delete_initializer_configuration_with_http_info(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the InitializerConfiguration (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -316,7 +316,7 @@ def delete_initializer_configuration_with_http_info(self, name, body, **kwargs): returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -334,9 +334,6 @@ def delete_initializer_configuration_with_http_info(self, name, body, **kwargs): # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): raise ValueError("Missing the required parameter `name` when calling `delete_initializer_configuration`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_initializer_configuration`") collection_formats = {} diff --git a/kubernetes/client/apis/admissionregistration_v1beta1_api.py b/kubernetes/client/apis/admissionregistration_v1beta1_api.py index f955aa78af..9ddde7f691 100644 --- a/kubernetes/client/apis/admissionregistration_v1beta1_api.py +++ b/kubernetes/client/apis/admissionregistration_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -501,18 +501,18 @@ def delete_collection_validating_webhook_configuration_with_http_info(self, **kw _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_mutating_webhook_configuration(self, name, body, **kwargs): + def delete_mutating_webhook_configuration(self, name, **kwargs): """ delete a MutatingWebhookConfiguration This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_mutating_webhook_configuration(name, body, async_req=True) + >>> thread = api.delete_mutating_webhook_configuration(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the MutatingWebhookConfiguration (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -523,23 +523,23 @@ def delete_mutating_webhook_configuration(self, name, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_mutating_webhook_configuration_with_http_info(name, body, **kwargs) + return self.delete_mutating_webhook_configuration_with_http_info(name, **kwargs) else: - (data) = self.delete_mutating_webhook_configuration_with_http_info(name, body, **kwargs) + (data) = self.delete_mutating_webhook_configuration_with_http_info(name, **kwargs) return data - def delete_mutating_webhook_configuration_with_http_info(self, name, body, **kwargs): + def delete_mutating_webhook_configuration_with_http_info(self, name, **kwargs): """ delete a MutatingWebhookConfiguration This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_mutating_webhook_configuration_with_http_info(name, body, async_req=True) + >>> thread = api.delete_mutating_webhook_configuration_with_http_info(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the MutatingWebhookConfiguration (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -549,7 +549,7 @@ def delete_mutating_webhook_configuration_with_http_info(self, name, body, **kwa returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -567,9 +567,6 @@ def delete_mutating_webhook_configuration_with_http_info(self, name, body, **kwa # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): raise ValueError("Missing the required parameter `name` when calling `delete_mutating_webhook_configuration`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_mutating_webhook_configuration`") collection_formats = {} @@ -624,18 +621,18 @@ def delete_mutating_webhook_configuration_with_http_info(self, name, body, **kwa _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_validating_webhook_configuration(self, name, body, **kwargs): + def delete_validating_webhook_configuration(self, name, **kwargs): """ delete a ValidatingWebhookConfiguration This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_validating_webhook_configuration(name, body, async_req=True) + >>> thread = api.delete_validating_webhook_configuration(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the ValidatingWebhookConfiguration (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -646,23 +643,23 @@ def delete_validating_webhook_configuration(self, name, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_validating_webhook_configuration_with_http_info(name, body, **kwargs) + return self.delete_validating_webhook_configuration_with_http_info(name, **kwargs) else: - (data) = self.delete_validating_webhook_configuration_with_http_info(name, body, **kwargs) + (data) = self.delete_validating_webhook_configuration_with_http_info(name, **kwargs) return data - def delete_validating_webhook_configuration_with_http_info(self, name, body, **kwargs): + def delete_validating_webhook_configuration_with_http_info(self, name, **kwargs): """ delete a ValidatingWebhookConfiguration This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_validating_webhook_configuration_with_http_info(name, body, async_req=True) + >>> thread = api.delete_validating_webhook_configuration_with_http_info(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the ValidatingWebhookConfiguration (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -672,7 +669,7 @@ def delete_validating_webhook_configuration_with_http_info(self, name, body, **k returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -690,9 +687,6 @@ def delete_validating_webhook_configuration_with_http_info(self, name, body, **k # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): raise ValueError("Missing the required parameter `name` when calling `delete_validating_webhook_configuration`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_validating_webhook_configuration`") collection_formats = {} diff --git a/kubernetes/client/apis/apiextensions_api.py b/kubernetes/client/apis/apiextensions_api.py index f0ab4019e6..ec26f66d1a 100644 --- a/kubernetes/client/apis/apiextensions_api.py +++ b/kubernetes/client/apis/apiextensions_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/apiextensions_v1beta1_api.py b/kubernetes/client/apis/apiextensions_v1beta1_api.py index fa6c99a35f..16174c2df0 100644 --- a/kubernetes/client/apis/apiextensions_v1beta1_api.py +++ b/kubernetes/client/apis/apiextensions_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -268,18 +268,18 @@ def delete_collection_custom_resource_definition_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_custom_resource_definition(self, name, body, **kwargs): + def delete_custom_resource_definition(self, name, **kwargs): """ delete a CustomResourceDefinition This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_custom_resource_definition(name, body, async_req=True) + >>> thread = api.delete_custom_resource_definition(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the CustomResourceDefinition (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -290,23 +290,23 @@ def delete_custom_resource_definition(self, name, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_custom_resource_definition_with_http_info(name, body, **kwargs) + return self.delete_custom_resource_definition_with_http_info(name, **kwargs) else: - (data) = self.delete_custom_resource_definition_with_http_info(name, body, **kwargs) + (data) = self.delete_custom_resource_definition_with_http_info(name, **kwargs) return data - def delete_custom_resource_definition_with_http_info(self, name, body, **kwargs): + def delete_custom_resource_definition_with_http_info(self, name, **kwargs): """ delete a CustomResourceDefinition This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_custom_resource_definition_with_http_info(name, body, async_req=True) + >>> thread = api.delete_custom_resource_definition_with_http_info(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the CustomResourceDefinition (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -316,7 +316,7 @@ def delete_custom_resource_definition_with_http_info(self, name, body, **kwargs) returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -334,9 +334,6 @@ def delete_custom_resource_definition_with_http_info(self, name, body, **kwargs) # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): raise ValueError("Missing the required parameter `name` when calling `delete_custom_resource_definition`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_custom_resource_definition`") collection_formats = {} diff --git a/kubernetes/client/apis/apiregistration_api.py b/kubernetes/client/apis/apiregistration_api.py index ad759ba9ed..8c86f841e7 100644 --- a/kubernetes/client/apis/apiregistration_api.py +++ b/kubernetes/client/apis/apiregistration_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/apiregistration_v1_api.py b/kubernetes/client/apis/apiregistration_v1_api.py index f2ed18737d..de9606a115 100644 --- a/kubernetes/client/apis/apiregistration_v1_api.py +++ b/kubernetes/client/apis/apiregistration_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -143,18 +143,18 @@ def create_api_service_with_http_info(self, body, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_api_service(self, name, body, **kwargs): + def delete_api_service(self, name, **kwargs): """ delete an APIService This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_api_service(name, body, async_req=True) + >>> thread = api.delete_api_service(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the APIService (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -165,23 +165,23 @@ def delete_api_service(self, name, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_api_service_with_http_info(name, body, **kwargs) + return self.delete_api_service_with_http_info(name, **kwargs) else: - (data) = self.delete_api_service_with_http_info(name, body, **kwargs) + (data) = self.delete_api_service_with_http_info(name, **kwargs) return data - def delete_api_service_with_http_info(self, name, body, **kwargs): + def delete_api_service_with_http_info(self, name, **kwargs): """ delete an APIService This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_api_service_with_http_info(name, body, async_req=True) + >>> thread = api.delete_api_service_with_http_info(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the APIService (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -191,7 +191,7 @@ def delete_api_service_with_http_info(self, name, body, **kwargs): returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -209,9 +209,6 @@ def delete_api_service_with_http_info(self, name, body, **kwargs): # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): raise ValueError("Missing the required parameter `name` when calling `delete_api_service`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_api_service`") collection_formats = {} diff --git a/kubernetes/client/apis/apiregistration_v1beta1_api.py b/kubernetes/client/apis/apiregistration_v1beta1_api.py index e25e22808d..57c88d3c0b 100644 --- a/kubernetes/client/apis/apiregistration_v1beta1_api.py +++ b/kubernetes/client/apis/apiregistration_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -143,18 +143,18 @@ def create_api_service_with_http_info(self, body, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_api_service(self, name, body, **kwargs): + def delete_api_service(self, name, **kwargs): """ delete an APIService This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_api_service(name, body, async_req=True) + >>> thread = api.delete_api_service(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the APIService (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -165,23 +165,23 @@ def delete_api_service(self, name, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_api_service_with_http_info(name, body, **kwargs) + return self.delete_api_service_with_http_info(name, **kwargs) else: - (data) = self.delete_api_service_with_http_info(name, body, **kwargs) + (data) = self.delete_api_service_with_http_info(name, **kwargs) return data - def delete_api_service_with_http_info(self, name, body, **kwargs): + def delete_api_service_with_http_info(self, name, **kwargs): """ delete an APIService This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_api_service_with_http_info(name, body, async_req=True) + >>> thread = api.delete_api_service_with_http_info(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the APIService (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -191,7 +191,7 @@ def delete_api_service_with_http_info(self, name, body, **kwargs): returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -209,9 +209,6 @@ def delete_api_service_with_http_info(self, name, body, **kwargs): # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): raise ValueError("Missing the required parameter `name` when calling `delete_api_service`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_api_service`") collection_formats = {} diff --git a/kubernetes/client/apis/apis_api.py b/kubernetes/client/apis/apis_api.py index 5ac6239ba7..ae54db38ad 100644 --- a/kubernetes/client/apis/apis_api.py +++ b/kubernetes/client/apis/apis_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/apps_api.py b/kubernetes/client/apis/apps_api.py index 75e495184a..e91ba57c96 100644 --- a/kubernetes/client/apis/apps_api.py +++ b/kubernetes/client/apis/apps_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/apps_v1_api.py b/kubernetes/client/apis/apps_v1_api.py index d857057c24..659170e62e 100644 --- a/kubernetes/client/apis/apps_v1_api.py +++ b/kubernetes/client/apis/apps_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -1270,19 +1270,19 @@ def delete_collection_namespaced_stateful_set_with_http_info(self, namespace, ** _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_controller_revision(self, name, namespace, body, **kwargs): + def delete_namespaced_controller_revision(self, name, namespace, **kwargs): """ delete a ControllerRevision This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_controller_revision(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_controller_revision(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the ControllerRevision (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1293,24 +1293,24 @@ def delete_namespaced_controller_revision(self, name, namespace, body, **kwargs) """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespaced_controller_revision_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_controller_revision_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_controller_revision_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_controller_revision_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_controller_revision_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_controller_revision_with_http_info(self, name, namespace, **kwargs): """ delete a ControllerRevision This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_controller_revision_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_controller_revision_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the ControllerRevision (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1320,7 +1320,7 @@ def delete_namespaced_controller_revision_with_http_info(self, name, namespace, returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'namespace', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1341,9 +1341,6 @@ def delete_namespaced_controller_revision_with_http_info(self, name, namespace, # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_controller_revision`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_controller_revision`") collection_formats = {} @@ -1400,19 +1397,19 @@ def delete_namespaced_controller_revision_with_http_info(self, name, namespace, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_daemon_set(self, name, namespace, body, **kwargs): + def delete_namespaced_daemon_set(self, name, namespace, **kwargs): """ delete a DaemonSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_daemon_set(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_daemon_set(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the DaemonSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1423,24 +1420,24 @@ def delete_namespaced_daemon_set(self, name, namespace, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespaced_daemon_set_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_daemon_set_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_daemon_set_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_daemon_set_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_daemon_set_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_daemon_set_with_http_info(self, name, namespace, **kwargs): """ delete a DaemonSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_daemon_set_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_daemon_set_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the DaemonSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1450,7 +1447,7 @@ def delete_namespaced_daemon_set_with_http_info(self, name, namespace, body, **k returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'namespace', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1471,9 +1468,6 @@ def delete_namespaced_daemon_set_with_http_info(self, name, namespace, body, **k # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_daemon_set`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_daemon_set`") collection_formats = {} @@ -1530,19 +1524,19 @@ def delete_namespaced_daemon_set_with_http_info(self, name, namespace, body, **k _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_deployment(self, name, namespace, body, **kwargs): + def delete_namespaced_deployment(self, name, namespace, **kwargs): """ delete a Deployment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_deployment(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_deployment(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the Deployment (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1553,24 +1547,24 @@ def delete_namespaced_deployment(self, name, namespace, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespaced_deployment_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_deployment_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_deployment_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_deployment_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_deployment_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_deployment_with_http_info(self, name, namespace, **kwargs): """ delete a Deployment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_deployment_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_deployment_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the Deployment (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1580,7 +1574,7 @@ def delete_namespaced_deployment_with_http_info(self, name, namespace, body, **k returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'namespace', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1601,9 +1595,6 @@ def delete_namespaced_deployment_with_http_info(self, name, namespace, body, **k # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_deployment`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_deployment`") collection_formats = {} @@ -1660,19 +1651,19 @@ def delete_namespaced_deployment_with_http_info(self, name, namespace, body, **k _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_replica_set(self, name, namespace, body, **kwargs): + def delete_namespaced_replica_set(self, name, namespace, **kwargs): """ delete a ReplicaSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_replica_set(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_replica_set(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the ReplicaSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1683,24 +1674,24 @@ def delete_namespaced_replica_set(self, name, namespace, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespaced_replica_set_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_replica_set_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_replica_set_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_replica_set_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_replica_set_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_replica_set_with_http_info(self, name, namespace, **kwargs): """ delete a ReplicaSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_replica_set_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_replica_set_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the ReplicaSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1710,7 +1701,7 @@ def delete_namespaced_replica_set_with_http_info(self, name, namespace, body, ** returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'namespace', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1731,9 +1722,6 @@ def delete_namespaced_replica_set_with_http_info(self, name, namespace, body, ** # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_replica_set`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_replica_set`") collection_formats = {} @@ -1790,19 +1778,19 @@ def delete_namespaced_replica_set_with_http_info(self, name, namespace, body, ** _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_stateful_set(self, name, namespace, body, **kwargs): + 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, body, async_req=True) + >>> thread = api.delete_namespaced_stateful_set(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the StatefulSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1813,24 +1801,24 @@ def delete_namespaced_stateful_set(self, name, namespace, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespaced_stateful_set_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_stateful_set_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_stateful_set_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_stateful_set_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_stateful_set_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_stateful_set_with_http_info(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_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_stateful_set_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the StatefulSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1840,7 +1828,7 @@ def delete_namespaced_stateful_set_with_http_info(self, name, namespace, body, * returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'namespace', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1861,9 +1849,6 @@ def delete_namespaced_stateful_set_with_http_info(self, name, namespace, body, * # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_stateful_set`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_stateful_set`") collection_formats = {} diff --git a/kubernetes/client/apis/apps_v1beta1_api.py b/kubernetes/client/apis/apps_v1beta1_api.py index c98e807990..8464e90b2e 100644 --- a/kubernetes/client/apis/apps_v1beta1_api.py +++ b/kubernetes/client/apis/apps_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -898,19 +898,19 @@ def delete_collection_namespaced_stateful_set_with_http_info(self, namespace, ** _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_controller_revision(self, name, namespace, body, **kwargs): + def delete_namespaced_controller_revision(self, name, namespace, **kwargs): """ delete a ControllerRevision This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_controller_revision(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_controller_revision(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the ControllerRevision (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -921,24 +921,24 @@ def delete_namespaced_controller_revision(self, name, namespace, body, **kwargs) """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespaced_controller_revision_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_controller_revision_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_controller_revision_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_controller_revision_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_controller_revision_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_controller_revision_with_http_info(self, name, namespace, **kwargs): """ delete a ControllerRevision This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_controller_revision_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_controller_revision_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the ControllerRevision (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -948,7 +948,7 @@ def delete_namespaced_controller_revision_with_http_info(self, name, namespace, returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'namespace', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -969,9 +969,6 @@ def delete_namespaced_controller_revision_with_http_info(self, name, namespace, # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_controller_revision`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_controller_revision`") collection_formats = {} @@ -1028,19 +1025,19 @@ def delete_namespaced_controller_revision_with_http_info(self, name, namespace, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_deployment(self, name, namespace, body, **kwargs): + def delete_namespaced_deployment(self, name, namespace, **kwargs): """ delete a Deployment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_deployment(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_deployment(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the Deployment (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1051,24 +1048,24 @@ def delete_namespaced_deployment(self, name, namespace, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespaced_deployment_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_deployment_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_deployment_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_deployment_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_deployment_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_deployment_with_http_info(self, name, namespace, **kwargs): """ delete a Deployment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_deployment_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_deployment_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the Deployment (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1078,7 +1075,7 @@ def delete_namespaced_deployment_with_http_info(self, name, namespace, body, **k returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'namespace', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1099,9 +1096,6 @@ def delete_namespaced_deployment_with_http_info(self, name, namespace, body, **k # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_deployment`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_deployment`") collection_formats = {} @@ -1158,19 +1152,19 @@ def delete_namespaced_deployment_with_http_info(self, name, namespace, body, **k _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_stateful_set(self, name, namespace, body, **kwargs): + 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, body, async_req=True) + >>> thread = api.delete_namespaced_stateful_set(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the StatefulSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1181,24 +1175,24 @@ def delete_namespaced_stateful_set(self, name, namespace, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespaced_stateful_set_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_stateful_set_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_stateful_set_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_stateful_set_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_stateful_set_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_stateful_set_with_http_info(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_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_stateful_set_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the StatefulSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1208,7 +1202,7 @@ def delete_namespaced_stateful_set_with_http_info(self, name, namespace, body, * returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'namespace', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1229,9 +1223,6 @@ def delete_namespaced_stateful_set_with_http_info(self, name, namespace, body, * # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_stateful_set`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_stateful_set`") collection_formats = {} diff --git a/kubernetes/client/apis/apps_v1beta2_api.py b/kubernetes/client/apis/apps_v1beta2_api.py index dad5e4f692..d9da1af9da 100644 --- a/kubernetes/client/apis/apps_v1beta2_api.py +++ b/kubernetes/client/apis/apps_v1beta2_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -1270,19 +1270,19 @@ def delete_collection_namespaced_stateful_set_with_http_info(self, namespace, ** _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_controller_revision(self, name, namespace, body, **kwargs): + def delete_namespaced_controller_revision(self, name, namespace, **kwargs): """ delete a ControllerRevision This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_controller_revision(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_controller_revision(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the ControllerRevision (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1293,24 +1293,24 @@ def delete_namespaced_controller_revision(self, name, namespace, body, **kwargs) """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespaced_controller_revision_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_controller_revision_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_controller_revision_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_controller_revision_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_controller_revision_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_controller_revision_with_http_info(self, name, namespace, **kwargs): """ delete a ControllerRevision This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_controller_revision_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_controller_revision_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the ControllerRevision (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1320,7 +1320,7 @@ def delete_namespaced_controller_revision_with_http_info(self, name, namespace, returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'namespace', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1341,9 +1341,6 @@ def delete_namespaced_controller_revision_with_http_info(self, name, namespace, # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_controller_revision`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_controller_revision`") collection_formats = {} @@ -1400,19 +1397,19 @@ def delete_namespaced_controller_revision_with_http_info(self, name, namespace, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_daemon_set(self, name, namespace, body, **kwargs): + def delete_namespaced_daemon_set(self, name, namespace, **kwargs): """ delete a DaemonSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_daemon_set(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_daemon_set(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the DaemonSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1423,24 +1420,24 @@ def delete_namespaced_daemon_set(self, name, namespace, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespaced_daemon_set_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_daemon_set_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_daemon_set_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_daemon_set_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_daemon_set_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_daemon_set_with_http_info(self, name, namespace, **kwargs): """ delete a DaemonSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_daemon_set_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_daemon_set_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the DaemonSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1450,7 +1447,7 @@ def delete_namespaced_daemon_set_with_http_info(self, name, namespace, body, **k returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'namespace', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1471,9 +1468,6 @@ def delete_namespaced_daemon_set_with_http_info(self, name, namespace, body, **k # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_daemon_set`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_daemon_set`") collection_formats = {} @@ -1530,19 +1524,19 @@ def delete_namespaced_daemon_set_with_http_info(self, name, namespace, body, **k _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_deployment(self, name, namespace, body, **kwargs): + def delete_namespaced_deployment(self, name, namespace, **kwargs): """ delete a Deployment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_deployment(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_deployment(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the Deployment (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1553,24 +1547,24 @@ def delete_namespaced_deployment(self, name, namespace, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespaced_deployment_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_deployment_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_deployment_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_deployment_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_deployment_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_deployment_with_http_info(self, name, namespace, **kwargs): """ delete a Deployment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_deployment_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_deployment_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the Deployment (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1580,7 +1574,7 @@ def delete_namespaced_deployment_with_http_info(self, name, namespace, body, **k returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'namespace', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1601,9 +1595,6 @@ def delete_namespaced_deployment_with_http_info(self, name, namespace, body, **k # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_deployment`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_deployment`") collection_formats = {} @@ -1660,19 +1651,19 @@ def delete_namespaced_deployment_with_http_info(self, name, namespace, body, **k _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_replica_set(self, name, namespace, body, **kwargs): + def delete_namespaced_replica_set(self, name, namespace, **kwargs): """ delete a ReplicaSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_replica_set(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_replica_set(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the ReplicaSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1683,24 +1674,24 @@ def delete_namespaced_replica_set(self, name, namespace, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespaced_replica_set_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_replica_set_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_replica_set_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_replica_set_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_replica_set_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_replica_set_with_http_info(self, name, namespace, **kwargs): """ delete a ReplicaSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_replica_set_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_replica_set_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the ReplicaSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1710,7 +1701,7 @@ def delete_namespaced_replica_set_with_http_info(self, name, namespace, body, ** returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'namespace', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1731,9 +1722,6 @@ def delete_namespaced_replica_set_with_http_info(self, name, namespace, body, ** # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_replica_set`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_replica_set`") collection_formats = {} @@ -1790,19 +1778,19 @@ def delete_namespaced_replica_set_with_http_info(self, name, namespace, body, ** _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_stateful_set(self, name, namespace, body, **kwargs): + 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, body, async_req=True) + >>> thread = api.delete_namespaced_stateful_set(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the StatefulSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1813,24 +1801,24 @@ def delete_namespaced_stateful_set(self, name, namespace, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespaced_stateful_set_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_stateful_set_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_stateful_set_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_stateful_set_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_stateful_set_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_stateful_set_with_http_info(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_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_stateful_set_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the StatefulSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1840,7 +1828,7 @@ def delete_namespaced_stateful_set_with_http_info(self, name, namespace, body, * returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'namespace', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1861,9 +1849,6 @@ def delete_namespaced_stateful_set_with_http_info(self, name, namespace, body, * # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_stateful_set`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_stateful_set`") collection_formats = {} diff --git a/kubernetes/client/apis/auditregistration_api.py b/kubernetes/client/apis/auditregistration_api.py new file mode 100644 index 0000000000..e10a909bec --- /dev/null +++ b/kubernetes/client/apis/auditregistration_api.py @@ -0,0 +1,124 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.13.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import sys +import os +import re + +# python 2 and python 3 compatibility library +from six import iteritems + +from ..api_client import ApiClient + + +class AuditregistrationApi(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + + 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() + + :param async_req bool + :return: V1APIGroup + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_api_group_with_http_info(**kwargs) + else: + (data) = self.get_api_group_with_http_info(**kwargs) + return data + + def get_api_group_with_http_info(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_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :return: V1APIGroup + If the method is called asynchronously, + returns the request thread. + """ + + all_params = [] + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_api_group" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # Authentication setting + auth_settings = ['BearerToken'] + + return self.api_client.call_api('/apis/auditregistration.k8s.io/', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1APIGroup', + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/kubernetes/client/apis/auditregistration_v1alpha1_api.py b/kubernetes/client/apis/auditregistration_v1alpha1_api.py new file mode 100644 index 0000000000..4aa62dca9f --- /dev/null +++ b/kubernetes/client/apis/auditregistration_v1alpha1_api.py @@ -0,0 +1,932 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.13.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import sys +import os +import re + +# python 2 and python 3 compatibility library +from six import iteritems + +from ..api_client import ApiClient + + +class AuditregistrationV1alpha1Api(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + + 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() + + :param async_req bool + :param V1alpha1AuditSink body: (required) + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :return: V1alpha1AuditSink + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.create_audit_sink_with_http_info(body, **kwargs) + else: + (data) = self.create_audit_sink_with_http_info(body, **kwargs) + return data + + def create_audit_sink_with_http_info(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_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param V1alpha1AuditSink body: (required) + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :return: V1alpha1AuditSink + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body', 'include_uninitialized', 'pretty', 'dry_run'] + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method create_audit_sink" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_audit_sink`") + + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'include_uninitialized' in params: + query_params.append(('includeUninitialized', params['include_uninitialized'])) + if 'pretty' in params: + query_params.append(('pretty', params['pretty'])) + if 'dry_run' in params: + query_params.append(('dryRun', params['dry_run'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['*/*']) + + # Authentication setting + auth_settings = ['BearerToken'] + + return self.api_client.call_api('/apis/auditregistration.k8s.io/v1alpha1/auditsinks', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1AuditSink', + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + 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() + + :param async_req bool + :param str name: name of the AuditSink (required) + :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.delete_audit_sink_with_http_info(name, **kwargs) + else: + (data) = self.delete_audit_sink_with_http_info(name, **kwargs) + return data + + def delete_audit_sink_with_http_info(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_with_http_info(name, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str name: name of the AuditSink (required) + :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['name', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_audit_sink" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'name' is set + if ('name' not in params) or (params['name'] is None): + raise ValueError("Missing the required parameter `name` when calling `delete_audit_sink`") + + + collection_formats = {} + + path_params = {} + if 'name' in params: + path_params['name'] = params['name'] + + query_params = [] + if 'pretty' in params: + query_params.append(('pretty', params['pretty'])) + if 'dry_run' in params: + query_params.append(('dryRun', params['dry_run'])) + if 'grace_period_seconds' in params: + query_params.append(('gracePeriodSeconds', params['grace_period_seconds'])) + if 'orphan_dependents' in params: + query_params.append(('orphanDependents', params['orphan_dependents'])) + if 'propagation_policy' in params: + query_params.append(('propagationPolicy', params['propagation_policy'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['*/*']) + + # Authentication setting + auth_settings = ['BearerToken'] + + return self.api_client.call_api('/apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Status', + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_collection_audit_sink(self, **kwargs): + """ + delete collection of AuditSink + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_collection_audit_sink(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str pretty: If 'true', then the output is pretty printed. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.delete_collection_audit_sink_with_http_info(**kwargs) + else: + (data) = self.delete_collection_audit_sink_with_http_info(**kwargs) + return data + + def delete_collection_audit_sink_with_http_info(self, **kwargs): + """ + delete collection of AuditSink + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_collection_audit_sink_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str pretty: If 'true', then the output is pretty printed. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['include_uninitialized', 'pretty', '_continue', 'field_selector', 'label_selector', 'limit', 'resource_version', 'timeout_seconds', 'watch'] + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_collection_audit_sink" % key + ) + params[key] = val + del params['kwargs'] + + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'include_uninitialized' in params: + query_params.append(('includeUninitialized', params['include_uninitialized'])) + if 'pretty' in params: + query_params.append(('pretty', params['pretty'])) + if '_continue' in params: + query_params.append(('continue', params['_continue'])) + if 'field_selector' in params: + query_params.append(('fieldSelector', params['field_selector'])) + if 'label_selector' in params: + query_params.append(('labelSelector', params['label_selector'])) + if 'limit' in params: + query_params.append(('limit', params['limit'])) + if 'resource_version' in params: + query_params.append(('resourceVersion', params['resource_version'])) + if 'timeout_seconds' in params: + query_params.append(('timeoutSeconds', params['timeout_seconds'])) + if 'watch' in params: + query_params.append(('watch', params['watch'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['*/*']) + + # Authentication setting + auth_settings = ['BearerToken'] + + return self.api_client.call_api('/apis/auditregistration.k8s.io/v1alpha1/auditsinks', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Status', + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_api_resources(self, **kwargs): + """ + get available resources + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_api_resources(async_req=True) + >>> result = thread.get() + + :param async_req bool + :return: V1APIResourceList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_api_resources_with_http_info(**kwargs) + else: + (data) = self.get_api_resources_with_http_info(**kwargs) + return data + + def get_api_resources_with_http_info(self, **kwargs): + """ + get available resources + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_api_resources_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :return: V1APIResourceList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = [] + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_api_resources" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # Authentication setting + auth_settings = ['BearerToken'] + + return self.api_client.call_api('/apis/auditregistration.k8s.io/v1alpha1/', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1APIResourceList', + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + 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.get() + + :param async_req bool + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str pretty: If 'true', then the output is pretty printed. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1alpha1AuditSinkList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.list_audit_sink_with_http_info(**kwargs) + else: + (data) = self.list_audit_sink_with_http_info(**kwargs) + return data + + def list_audit_sink_with_http_info(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_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str pretty: If 'true', then the output is pretty printed. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1alpha1AuditSinkList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['include_uninitialized', 'pretty', '_continue', 'field_selector', 'label_selector', 'limit', 'resource_version', 'timeout_seconds', 'watch'] + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method list_audit_sink" % key + ) + params[key] = val + del params['kwargs'] + + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'include_uninitialized' in params: + query_params.append(('includeUninitialized', params['include_uninitialized'])) + if 'pretty' in params: + query_params.append(('pretty', params['pretty'])) + if '_continue' in params: + query_params.append(('continue', params['_continue'])) + if 'field_selector' in params: + query_params.append(('fieldSelector', params['field_selector'])) + if 'label_selector' in params: + query_params.append(('labelSelector', params['label_selector'])) + if 'limit' in params: + query_params.append(('limit', params['limit'])) + if 'resource_version' in params: + query_params.append(('resourceVersion', params['resource_version'])) + if 'timeout_seconds' in params: + query_params.append(('timeoutSeconds', params['timeout_seconds'])) + if 'watch' in params: + query_params.append(('watch', params['watch'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['*/*']) + + # Authentication setting + auth_settings = ['BearerToken'] + + return self.api_client.call_api('/apis/auditregistration.k8s.io/v1alpha1/auditsinks', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1AuditSinkList', + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + 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) + >>> result = thread.get() + + :param async_req bool + :param str name: name of the AuditSink (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :return: V1alpha1AuditSink + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.patch_audit_sink_with_http_info(name, body, **kwargs) + else: + (data) = self.patch_audit_sink_with_http_info(name, body, **kwargs) + return data + + def patch_audit_sink_with_http_info(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_with_http_info(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str name: name of the AuditSink (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :return: V1alpha1AuditSink + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['name', 'body', 'pretty', 'dry_run'] + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_audit_sink" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'name' is set + if ('name' not in params) or (params['name'] is None): + raise ValueError("Missing the required parameter `name` when calling `patch_audit_sink`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `patch_audit_sink`") + + + collection_formats = {} + + path_params = {} + if 'name' in params: + path_params['name'] = params['name'] + + query_params = [] + if 'pretty' in params: + query_params.append(('pretty', params['pretty'])) + if 'dry_run' in params: + query_params.append(('dryRun', params['dry_run'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) + + # Authentication setting + auth_settings = ['BearerToken'] + + return self.api_client.call_api('/apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name}', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1AuditSink', + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + 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.get() + + :param async_req bool + :param str name: name of the AuditSink (required) + :param str pretty: If 'true', then the output is pretty printed. + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + :param bool export: Should this value be exported. Export strips fields that a user can not specify. + :return: V1alpha1AuditSink + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.read_audit_sink_with_http_info(name, **kwargs) + else: + (data) = self.read_audit_sink_with_http_info(name, **kwargs) + return data + + def read_audit_sink_with_http_info(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_with_http_info(name, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str name: name of the AuditSink (required) + :param str pretty: If 'true', then the output is pretty printed. + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + :param bool export: Should this value be exported. Export strips fields that a user can not specify. + :return: V1alpha1AuditSink + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['name', 'pretty', 'exact', 'export'] + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method read_audit_sink" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'name' is set + if ('name' not in params) or (params['name'] is None): + raise ValueError("Missing the required parameter `name` when calling `read_audit_sink`") + + + collection_formats = {} + + path_params = {} + if 'name' in params: + path_params['name'] = params['name'] + + query_params = [] + if 'pretty' in params: + query_params.append(('pretty', params['pretty'])) + if 'exact' in params: + query_params.append(('exact', params['exact'])) + if 'export' in params: + query_params.append(('export', params['export'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['*/*']) + + # Authentication setting + auth_settings = ['BearerToken'] + + return self.api_client.call_api('/apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1AuditSink', + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + 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) + >>> result = thread.get() + + :param async_req bool + :param str name: name of the AuditSink (required) + :param V1alpha1AuditSink body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :return: V1alpha1AuditSink + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.replace_audit_sink_with_http_info(name, body, **kwargs) + else: + (data) = self.replace_audit_sink_with_http_info(name, body, **kwargs) + return data + + def replace_audit_sink_with_http_info(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_with_http_info(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str name: name of the AuditSink (required) + :param V1alpha1AuditSink body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :return: V1alpha1AuditSink + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['name', 'body', 'pretty', 'dry_run'] + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method replace_audit_sink" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'name' is set + if ('name' not in params) or (params['name'] is None): + raise ValueError("Missing the required parameter `name` when calling `replace_audit_sink`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `replace_audit_sink`") + + + collection_formats = {} + + path_params = {} + if 'name' in params: + path_params['name'] = params['name'] + + query_params = [] + if 'pretty' in params: + query_params.append(('pretty', params['pretty'])) + if 'dry_run' in params: + query_params.append(('dryRun', params['dry_run'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['*/*']) + + # Authentication setting + auth_settings = ['BearerToken'] + + return self.api_client.call_api('/apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1AuditSink', + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/kubernetes/client/apis/authentication_api.py b/kubernetes/client/apis/authentication_api.py index db4831a13c..3aa0604910 100644 --- a/kubernetes/client/apis/authentication_api.py +++ b/kubernetes/client/apis/authentication_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/authentication_v1_api.py b/kubernetes/client/apis/authentication_v1_api.py index bb6736ec08..4ed454a70f 100644 --- a/kubernetes/client/apis/authentication_v1_api.py +++ b/kubernetes/client/apis/authentication_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/authentication_v1beta1_api.py b/kubernetes/client/apis/authentication_v1beta1_api.py index 9245abd2b6..1232da81b5 100644 --- a/kubernetes/client/apis/authentication_v1beta1_api.py +++ b/kubernetes/client/apis/authentication_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/authorization_api.py b/kubernetes/client/apis/authorization_api.py index 91b717b587..7643274bff 100644 --- a/kubernetes/client/apis/authorization_api.py +++ b/kubernetes/client/apis/authorization_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/authorization_v1_api.py b/kubernetes/client/apis/authorization_v1_api.py index e9510476f9..37a371d0ae 100644 --- a/kubernetes/client/apis/authorization_v1_api.py +++ b/kubernetes/client/apis/authorization_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/authorization_v1beta1_api.py b/kubernetes/client/apis/authorization_v1beta1_api.py index 0920ccc082..71375b1e3b 100644 --- a/kubernetes/client/apis/authorization_v1beta1_api.py +++ b/kubernetes/client/apis/authorization_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/autoscaling_api.py b/kubernetes/client/apis/autoscaling_api.py index df0da9b50c..e46439defb 100644 --- a/kubernetes/client/apis/autoscaling_api.py +++ b/kubernetes/client/apis/autoscaling_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/autoscaling_v1_api.py b/kubernetes/client/apis/autoscaling_v1_api.py index 4cf71cf188..ce327c6577 100644 --- a/kubernetes/client/apis/autoscaling_v1_api.py +++ b/kubernetes/client/apis/autoscaling_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -282,19 +282,19 @@ def delete_collection_namespaced_horizontal_pod_autoscaler_with_http_info(self, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_horizontal_pod_autoscaler(self, name, namespace, body, **kwargs): + def delete_namespaced_horizontal_pod_autoscaler(self, name, namespace, **kwargs): """ delete a HorizontalPodAutoscaler This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_horizontal_pod_autoscaler(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_horizontal_pod_autoscaler(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the HorizontalPodAutoscaler (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -305,24 +305,24 @@ def delete_namespaced_horizontal_pod_autoscaler(self, name, namespace, body, **k """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, namespace, **kwargs): """ delete a HorizontalPodAutoscaler This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the HorizontalPodAutoscaler (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -332,7 +332,7 @@ def delete_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, names returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'namespace', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -353,9 +353,6 @@ def delete_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, names # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_horizontal_pod_autoscaler`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_horizontal_pod_autoscaler`") collection_formats = {} diff --git a/kubernetes/client/apis/autoscaling_v2beta1_api.py b/kubernetes/client/apis/autoscaling_v2beta1_api.py index 0ab115ba22..8a182eb78d 100644 --- a/kubernetes/client/apis/autoscaling_v2beta1_api.py +++ b/kubernetes/client/apis/autoscaling_v2beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -282,19 +282,19 @@ def delete_collection_namespaced_horizontal_pod_autoscaler_with_http_info(self, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_horizontal_pod_autoscaler(self, name, namespace, body, **kwargs): + def delete_namespaced_horizontal_pod_autoscaler(self, name, namespace, **kwargs): """ delete a HorizontalPodAutoscaler This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_horizontal_pod_autoscaler(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_horizontal_pod_autoscaler(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the HorizontalPodAutoscaler (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -305,24 +305,24 @@ def delete_namespaced_horizontal_pod_autoscaler(self, name, namespace, body, **k """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, namespace, **kwargs): """ delete a HorizontalPodAutoscaler This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the HorizontalPodAutoscaler (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -332,7 +332,7 @@ def delete_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, names returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'namespace', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -353,9 +353,6 @@ def delete_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, names # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_horizontal_pod_autoscaler`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_horizontal_pod_autoscaler`") collection_formats = {} diff --git a/kubernetes/client/apis/autoscaling_v2beta2_api.py b/kubernetes/client/apis/autoscaling_v2beta2_api.py index c6be27d971..d74d8f9482 100644 --- a/kubernetes/client/apis/autoscaling_v2beta2_api.py +++ b/kubernetes/client/apis/autoscaling_v2beta2_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -282,19 +282,19 @@ def delete_collection_namespaced_horizontal_pod_autoscaler_with_http_info(self, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_horizontal_pod_autoscaler(self, name, namespace, body, **kwargs): + def delete_namespaced_horizontal_pod_autoscaler(self, name, namespace, **kwargs): """ delete a HorizontalPodAutoscaler This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_horizontal_pod_autoscaler(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_horizontal_pod_autoscaler(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the HorizontalPodAutoscaler (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -305,24 +305,24 @@ def delete_namespaced_horizontal_pod_autoscaler(self, name, namespace, body, **k """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, namespace, **kwargs): """ delete a HorizontalPodAutoscaler This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the HorizontalPodAutoscaler (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -332,7 +332,7 @@ def delete_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, names returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'namespace', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -353,9 +353,6 @@ def delete_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, names # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_horizontal_pod_autoscaler`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_horizontal_pod_autoscaler`") collection_formats = {} diff --git a/kubernetes/client/apis/batch_api.py b/kubernetes/client/apis/batch_api.py index abe8cb0f90..a7d486baa7 100644 --- a/kubernetes/client/apis/batch_api.py +++ b/kubernetes/client/apis/batch_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/batch_v1_api.py b/kubernetes/client/apis/batch_v1_api.py index 6e6aae9f0a..79011dd3e4 100644 --- a/kubernetes/client/apis/batch_v1_api.py +++ b/kubernetes/client/apis/batch_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -282,19 +282,19 @@ def delete_collection_namespaced_job_with_http_info(self, namespace, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_job(self, name, namespace, body, **kwargs): + def delete_namespaced_job(self, name, namespace, **kwargs): """ delete a Job This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_job(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_job(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the Job (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -305,24 +305,24 @@ def delete_namespaced_job(self, name, namespace, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespaced_job_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_job_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_job_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_job_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_job_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_job_with_http_info(self, name, namespace, **kwargs): """ delete a Job This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_job_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_job_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the Job (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -332,7 +332,7 @@ def delete_namespaced_job_with_http_info(self, name, namespace, body, **kwargs): returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'namespace', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -353,9 +353,6 @@ def delete_namespaced_job_with_http_info(self, name, namespace, body, **kwargs): # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_job`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_job`") collection_formats = {} diff --git a/kubernetes/client/apis/batch_v1beta1_api.py b/kubernetes/client/apis/batch_v1beta1_api.py index 42dc146da8..14564c9e5d 100644 --- a/kubernetes/client/apis/batch_v1beta1_api.py +++ b/kubernetes/client/apis/batch_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -282,19 +282,19 @@ def delete_collection_namespaced_cron_job_with_http_info(self, namespace, **kwar _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_cron_job(self, name, namespace, body, **kwargs): + def delete_namespaced_cron_job(self, name, namespace, **kwargs): """ delete a CronJob This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_cron_job(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_cron_job(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the CronJob (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -305,24 +305,24 @@ def delete_namespaced_cron_job(self, name, namespace, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespaced_cron_job_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_cron_job_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_cron_job_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_cron_job_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_cron_job_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_cron_job_with_http_info(self, name, namespace, **kwargs): """ delete a CronJob This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_cron_job_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_cron_job_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the CronJob (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -332,7 +332,7 @@ def delete_namespaced_cron_job_with_http_info(self, name, namespace, body, **kwa returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'namespace', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -353,9 +353,6 @@ def delete_namespaced_cron_job_with_http_info(self, name, namespace, body, **kwa # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_cron_job`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_cron_job`") collection_formats = {} diff --git a/kubernetes/client/apis/batch_v2alpha1_api.py b/kubernetes/client/apis/batch_v2alpha1_api.py index 73bfd6d41d..7eb006e354 100644 --- a/kubernetes/client/apis/batch_v2alpha1_api.py +++ b/kubernetes/client/apis/batch_v2alpha1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -282,19 +282,19 @@ def delete_collection_namespaced_cron_job_with_http_info(self, namespace, **kwar _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_cron_job(self, name, namespace, body, **kwargs): + def delete_namespaced_cron_job(self, name, namespace, **kwargs): """ delete a CronJob This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_cron_job(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_cron_job(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the CronJob (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -305,24 +305,24 @@ def delete_namespaced_cron_job(self, name, namespace, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespaced_cron_job_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_cron_job_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_cron_job_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_cron_job_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_cron_job_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_cron_job_with_http_info(self, name, namespace, **kwargs): """ delete a CronJob This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_cron_job_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_cron_job_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the CronJob (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -332,7 +332,7 @@ def delete_namespaced_cron_job_with_http_info(self, name, namespace, body, **kwa returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'namespace', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -353,9 +353,6 @@ def delete_namespaced_cron_job_with_http_info(self, name, namespace, body, **kwa # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_cron_job`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_cron_job`") collection_formats = {} diff --git a/kubernetes/client/apis/certificates_api.py b/kubernetes/client/apis/certificates_api.py index bf9fa21289..424f4dfe2f 100644 --- a/kubernetes/client/apis/certificates_api.py +++ b/kubernetes/client/apis/certificates_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/certificates_v1beta1_api.py b/kubernetes/client/apis/certificates_v1beta1_api.py index 4cda26b38b..ab3f186c49 100644 --- a/kubernetes/client/apis/certificates_v1beta1_api.py +++ b/kubernetes/client/apis/certificates_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -143,18 +143,18 @@ def create_certificate_signing_request_with_http_info(self, body, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_certificate_signing_request(self, name, body, **kwargs): + def delete_certificate_signing_request(self, name, **kwargs): """ delete a CertificateSigningRequest This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_certificate_signing_request(name, body, async_req=True) + >>> thread = api.delete_certificate_signing_request(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the CertificateSigningRequest (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -165,23 +165,23 @@ def delete_certificate_signing_request(self, name, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_certificate_signing_request_with_http_info(name, body, **kwargs) + return self.delete_certificate_signing_request_with_http_info(name, **kwargs) else: - (data) = self.delete_certificate_signing_request_with_http_info(name, body, **kwargs) + (data) = self.delete_certificate_signing_request_with_http_info(name, **kwargs) return data - def delete_certificate_signing_request_with_http_info(self, name, body, **kwargs): + def delete_certificate_signing_request_with_http_info(self, name, **kwargs): """ delete a CertificateSigningRequest This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_certificate_signing_request_with_http_info(name, body, async_req=True) + >>> thread = api.delete_certificate_signing_request_with_http_info(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the CertificateSigningRequest (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -191,7 +191,7 @@ def delete_certificate_signing_request_with_http_info(self, name, body, **kwargs returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -209,9 +209,6 @@ def delete_certificate_signing_request_with_http_info(self, name, body, **kwargs # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): raise ValueError("Missing the required parameter `name` when calling `delete_certificate_signing_request`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_certificate_signing_request`") collection_formats = {} diff --git a/kubernetes/client/apis/coordination_api.py b/kubernetes/client/apis/coordination_api.py index 2a8c521c59..d17c378736 100644 --- a/kubernetes/client/apis/coordination_api.py +++ b/kubernetes/client/apis/coordination_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/coordination_v1beta1_api.py b/kubernetes/client/apis/coordination_v1beta1_api.py index 21f5f78c0b..936f179d96 100644 --- a/kubernetes/client/apis/coordination_v1beta1_api.py +++ b/kubernetes/client/apis/coordination_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -282,19 +282,19 @@ def delete_collection_namespaced_lease_with_http_info(self, namespace, **kwargs) _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_lease(self, name, namespace, body, **kwargs): + def delete_namespaced_lease(self, name, namespace, **kwargs): """ delete a Lease This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_lease(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_lease(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the Lease (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -305,24 +305,24 @@ def delete_namespaced_lease(self, name, namespace, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespaced_lease_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_lease_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_lease_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_lease_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_lease_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_lease_with_http_info(self, name, namespace, **kwargs): """ delete a Lease This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_lease_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_lease_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the Lease (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -332,7 +332,7 @@ def delete_namespaced_lease_with_http_info(self, name, namespace, body, **kwargs returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'namespace', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -353,9 +353,6 @@ def delete_namespaced_lease_with_http_info(self, name, namespace, body, **kwargs # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_lease`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_lease`") collection_formats = {} diff --git a/kubernetes/client/apis/core_api.py b/kubernetes/client/apis/core_api.py index 4fbd0aaa9e..f63056b718 100644 --- a/kubernetes/client/apis/core_api.py +++ b/kubernetes/client/apis/core_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/core_v1_api.py b/kubernetes/client/apis/core_v1_api.py index 4ddbc8404e..ac9d827198 100644 --- a/kubernetes/client/apis/core_v1_api.py +++ b/kubernetes/client/apis/core_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -9057,18 +9057,18 @@ def delete_collection_persistent_volume_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespace(self, name, body, **kwargs): + def delete_namespace(self, name, **kwargs): """ delete a Namespace This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespace(name, body, async_req=True) + >>> thread = api.delete_namespace(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the Namespace (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -9079,23 +9079,23 @@ def delete_namespace(self, name, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespace_with_http_info(name, body, **kwargs) + return self.delete_namespace_with_http_info(name, **kwargs) else: - (data) = self.delete_namespace_with_http_info(name, body, **kwargs) + (data) = self.delete_namespace_with_http_info(name, **kwargs) return data - def delete_namespace_with_http_info(self, name, body, **kwargs): + def delete_namespace_with_http_info(self, name, **kwargs): """ delete a Namespace This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespace_with_http_info(name, body, async_req=True) + >>> thread = api.delete_namespace_with_http_info(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the Namespace (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -9105,7 +9105,7 @@ def delete_namespace_with_http_info(self, name, body, **kwargs): returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -9123,9 +9123,6 @@ def delete_namespace_with_http_info(self, name, body, **kwargs): # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): raise ValueError("Missing the required parameter `name` when calling `delete_namespace`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespace`") collection_formats = {} @@ -9180,19 +9177,19 @@ def delete_namespace_with_http_info(self, name, body, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_config_map(self, name, namespace, body, **kwargs): + def delete_namespaced_config_map(self, name, namespace, **kwargs): """ delete a ConfigMap This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_config_map(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_config_map(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the ConfigMap (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -9203,24 +9200,24 @@ def delete_namespaced_config_map(self, name, namespace, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespaced_config_map_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_config_map_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_config_map_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_config_map_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_config_map_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_config_map_with_http_info(self, name, namespace, **kwargs): """ delete a ConfigMap This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_config_map_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_config_map_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the ConfigMap (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -9230,7 +9227,7 @@ def delete_namespaced_config_map_with_http_info(self, name, namespace, body, **k returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'namespace', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -9251,9 +9248,6 @@ def delete_namespaced_config_map_with_http_info(self, name, namespace, body, **k # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_config_map`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_config_map`") collection_formats = {} @@ -9310,19 +9304,19 @@ def delete_namespaced_config_map_with_http_info(self, name, namespace, body, **k _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_endpoints(self, name, namespace, body, **kwargs): + def delete_namespaced_endpoints(self, name, namespace, **kwargs): """ delete Endpoints This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_endpoints(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_endpoints(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the Endpoints (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -9333,24 +9327,24 @@ def delete_namespaced_endpoints(self, name, namespace, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespaced_endpoints_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_endpoints_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_endpoints_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_endpoints_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_endpoints_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_endpoints_with_http_info(self, name, namespace, **kwargs): """ delete Endpoints This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_endpoints_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_endpoints_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the Endpoints (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -9360,7 +9354,7 @@ def delete_namespaced_endpoints_with_http_info(self, name, namespace, body, **kw returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'namespace', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -9381,9 +9375,6 @@ def delete_namespaced_endpoints_with_http_info(self, name, namespace, body, **kw # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_endpoints`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_endpoints`") collection_formats = {} @@ -9440,19 +9431,19 @@ def delete_namespaced_endpoints_with_http_info(self, name, namespace, body, **kw _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_event(self, name, namespace, body, **kwargs): + def delete_namespaced_event(self, name, namespace, **kwargs): """ delete an Event This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_event(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_event(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the Event (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -9463,24 +9454,24 @@ def delete_namespaced_event(self, name, namespace, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespaced_event_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_event_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_event_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_event_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_event_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_event_with_http_info(self, name, namespace, **kwargs): """ delete an Event This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_event_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_event_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the Event (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -9490,7 +9481,7 @@ def delete_namespaced_event_with_http_info(self, name, namespace, body, **kwargs returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'namespace', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -9511,9 +9502,6 @@ def delete_namespaced_event_with_http_info(self, name, namespace, body, **kwargs # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_event`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_event`") collection_formats = {} @@ -9570,19 +9558,19 @@ def delete_namespaced_event_with_http_info(self, name, namespace, body, **kwargs _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_limit_range(self, name, namespace, body, **kwargs): + def delete_namespaced_limit_range(self, name, namespace, **kwargs): """ delete a LimitRange This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_limit_range(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_limit_range(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the LimitRange (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -9593,24 +9581,24 @@ def delete_namespaced_limit_range(self, name, namespace, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespaced_limit_range_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_limit_range_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_limit_range_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_limit_range_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_limit_range_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_limit_range_with_http_info(self, name, namespace, **kwargs): """ delete a LimitRange This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_limit_range_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_limit_range_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the LimitRange (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -9620,7 +9608,7 @@ def delete_namespaced_limit_range_with_http_info(self, name, namespace, body, ** returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'namespace', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -9641,9 +9629,6 @@ def delete_namespaced_limit_range_with_http_info(self, name, namespace, body, ** # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_limit_range`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_limit_range`") collection_formats = {} @@ -9700,19 +9685,19 @@ def delete_namespaced_limit_range_with_http_info(self, name, namespace, body, ** _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_persistent_volume_claim(self, name, namespace, body, **kwargs): + def delete_namespaced_persistent_volume_claim(self, name, namespace, **kwargs): """ delete a PersistentVolumeClaim This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_persistent_volume_claim(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_persistent_volume_claim(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the PersistentVolumeClaim (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -9723,24 +9708,24 @@ def delete_namespaced_persistent_volume_claim(self, name, namespace, body, **kwa """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespaced_persistent_volume_claim_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_persistent_volume_claim_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_persistent_volume_claim_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_persistent_volume_claim_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_persistent_volume_claim_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_persistent_volume_claim_with_http_info(self, name, namespace, **kwargs): """ delete a PersistentVolumeClaim This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_persistent_volume_claim_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_persistent_volume_claim_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the PersistentVolumeClaim (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -9750,7 +9735,7 @@ def delete_namespaced_persistent_volume_claim_with_http_info(self, name, namespa returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'namespace', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -9771,9 +9756,6 @@ def delete_namespaced_persistent_volume_claim_with_http_info(self, name, namespa # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_persistent_volume_claim`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_persistent_volume_claim`") collection_formats = {} @@ -9830,19 +9812,19 @@ def delete_namespaced_persistent_volume_claim_with_http_info(self, name, namespa _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_pod(self, name, namespace, body, **kwargs): + def delete_namespaced_pod(self, name, namespace, **kwargs): """ delete a Pod This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_pod(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_pod(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the Pod (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -9853,24 +9835,24 @@ def delete_namespaced_pod(self, name, namespace, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespaced_pod_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_pod_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_pod_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_pod_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_pod_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_pod_with_http_info(self, name, namespace, **kwargs): """ delete a Pod This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_pod_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_pod_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the Pod (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -9880,7 +9862,7 @@ def delete_namespaced_pod_with_http_info(self, name, namespace, body, **kwargs): returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'namespace', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -9901,9 +9883,6 @@ def delete_namespaced_pod_with_http_info(self, name, namespace, body, **kwargs): # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_pod`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_pod`") collection_formats = {} @@ -9960,19 +9939,19 @@ def delete_namespaced_pod_with_http_info(self, name, namespace, body, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_pod_template(self, name, namespace, body, **kwargs): + def delete_namespaced_pod_template(self, name, namespace, **kwargs): """ delete a PodTemplate This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_pod_template(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_pod_template(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the PodTemplate (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -9983,24 +9962,24 @@ def delete_namespaced_pod_template(self, name, namespace, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespaced_pod_template_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_pod_template_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_pod_template_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_pod_template_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_pod_template_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_pod_template_with_http_info(self, name, namespace, **kwargs): """ delete a PodTemplate This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_pod_template_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_pod_template_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the PodTemplate (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -10010,7 +9989,7 @@ def delete_namespaced_pod_template_with_http_info(self, name, namespace, body, * returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'namespace', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -10031,9 +10010,6 @@ def delete_namespaced_pod_template_with_http_info(self, name, namespace, body, * # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_pod_template`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_pod_template`") collection_formats = {} @@ -10090,19 +10066,19 @@ def delete_namespaced_pod_template_with_http_info(self, name, namespace, body, * _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_replication_controller(self, name, namespace, body, **kwargs): + def delete_namespaced_replication_controller(self, name, namespace, **kwargs): """ delete a ReplicationController This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_replication_controller(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_replication_controller(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the ReplicationController (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -10113,24 +10089,24 @@ def delete_namespaced_replication_controller(self, name, namespace, body, **kwar """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespaced_replication_controller_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_replication_controller_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_replication_controller_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_replication_controller_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_replication_controller_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_replication_controller_with_http_info(self, name, namespace, **kwargs): """ delete a ReplicationController This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_replication_controller_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_replication_controller_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the ReplicationController (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -10140,7 +10116,7 @@ def delete_namespaced_replication_controller_with_http_info(self, name, namespac returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'namespace', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -10161,9 +10137,6 @@ def delete_namespaced_replication_controller_with_http_info(self, name, namespac # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_replication_controller`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_replication_controller`") collection_formats = {} @@ -10220,19 +10193,19 @@ def delete_namespaced_replication_controller_with_http_info(self, name, namespac _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_resource_quota(self, name, namespace, body, **kwargs): + def delete_namespaced_resource_quota(self, name, namespace, **kwargs): """ delete a ResourceQuota This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_resource_quota(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_resource_quota(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the ResourceQuota (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -10243,24 +10216,24 @@ def delete_namespaced_resource_quota(self, name, namespace, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespaced_resource_quota_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_resource_quota_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_resource_quota_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_resource_quota_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_resource_quota_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_resource_quota_with_http_info(self, name, namespace, **kwargs): """ delete a ResourceQuota This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_resource_quota_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_resource_quota_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the ResourceQuota (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -10270,7 +10243,7 @@ def delete_namespaced_resource_quota_with_http_info(self, name, namespace, body, returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'namespace', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -10291,9 +10264,6 @@ def delete_namespaced_resource_quota_with_http_info(self, name, namespace, body, # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_resource_quota`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_resource_quota`") collection_formats = {} @@ -10350,19 +10320,19 @@ def delete_namespaced_resource_quota_with_http_info(self, name, namespace, body, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_secret(self, name, namespace, body, **kwargs): + def delete_namespaced_secret(self, name, namespace, **kwargs): """ delete a Secret This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_secret(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_secret(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the Secret (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -10373,24 +10343,24 @@ def delete_namespaced_secret(self, name, namespace, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespaced_secret_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_secret_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_secret_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_secret_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_secret_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_secret_with_http_info(self, name, namespace, **kwargs): """ delete a Secret This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_secret_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_secret_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the Secret (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -10400,7 +10370,7 @@ def delete_namespaced_secret_with_http_info(self, name, namespace, body, **kwarg returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'namespace', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -10421,9 +10391,6 @@ def delete_namespaced_secret_with_http_info(self, name, namespace, body, **kwarg # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_secret`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_secret`") collection_formats = {} @@ -10480,19 +10447,19 @@ def delete_namespaced_secret_with_http_info(self, name, namespace, body, **kwarg _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_service(self, name, namespace, body, **kwargs): + def delete_namespaced_service(self, name, namespace, **kwargs): """ delete a Service This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_service(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_service(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the Service (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -10503,24 +10470,24 @@ def delete_namespaced_service(self, name, namespace, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespaced_service_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_service_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_service_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_service_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_service_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_service_with_http_info(self, name, namespace, **kwargs): """ delete a Service This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_service_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_service_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the Service (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -10530,7 +10497,7 @@ def delete_namespaced_service_with_http_info(self, name, namespace, body, **kwar returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'namespace', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -10551,9 +10518,6 @@ def delete_namespaced_service_with_http_info(self, name, namespace, body, **kwar # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_service`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_service`") collection_formats = {} @@ -10610,19 +10574,19 @@ def delete_namespaced_service_with_http_info(self, name, namespace, body, **kwar _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_service_account(self, name, namespace, body, **kwargs): + def delete_namespaced_service_account(self, name, namespace, **kwargs): """ delete a ServiceAccount This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_service_account(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_service_account(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the ServiceAccount (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -10633,24 +10597,24 @@ def delete_namespaced_service_account(self, name, namespace, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespaced_service_account_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_service_account_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_service_account_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_service_account_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_service_account_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_service_account_with_http_info(self, name, namespace, **kwargs): """ delete a ServiceAccount This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_service_account_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_service_account_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the ServiceAccount (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -10660,7 +10624,7 @@ def delete_namespaced_service_account_with_http_info(self, name, namespace, body returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'namespace', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -10681,9 +10645,6 @@ def delete_namespaced_service_account_with_http_info(self, name, namespace, body # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_service_account`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_service_account`") collection_formats = {} @@ -10740,18 +10701,18 @@ def delete_namespaced_service_account_with_http_info(self, name, namespace, body _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_node(self, name, body, **kwargs): + def delete_node(self, name, **kwargs): """ delete a Node This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_node(name, body, async_req=True) + >>> thread = api.delete_node(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the Node (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -10762,23 +10723,23 @@ def delete_node(self, name, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_node_with_http_info(name, body, **kwargs) + return self.delete_node_with_http_info(name, **kwargs) else: - (data) = self.delete_node_with_http_info(name, body, **kwargs) + (data) = self.delete_node_with_http_info(name, **kwargs) return data - def delete_node_with_http_info(self, name, body, **kwargs): + def delete_node_with_http_info(self, name, **kwargs): """ delete a Node This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_node_with_http_info(name, body, async_req=True) + >>> thread = api.delete_node_with_http_info(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the Node (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -10788,7 +10749,7 @@ def delete_node_with_http_info(self, name, body, **kwargs): returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -10806,9 +10767,6 @@ def delete_node_with_http_info(self, name, body, **kwargs): # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): raise ValueError("Missing the required parameter `name` when calling `delete_node`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_node`") collection_formats = {} @@ -10863,18 +10821,18 @@ def delete_node_with_http_info(self, name, body, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_persistent_volume(self, name, body, **kwargs): + def delete_persistent_volume(self, name, **kwargs): """ delete a PersistentVolume This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_persistent_volume(name, body, async_req=True) + >>> thread = api.delete_persistent_volume(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the PersistentVolume (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -10885,23 +10843,23 @@ def delete_persistent_volume(self, name, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_persistent_volume_with_http_info(name, body, **kwargs) + return self.delete_persistent_volume_with_http_info(name, **kwargs) else: - (data) = self.delete_persistent_volume_with_http_info(name, body, **kwargs) + (data) = self.delete_persistent_volume_with_http_info(name, **kwargs) return data - def delete_persistent_volume_with_http_info(self, name, body, **kwargs): + def delete_persistent_volume_with_http_info(self, name, **kwargs): """ delete a PersistentVolume This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_persistent_volume_with_http_info(name, body, async_req=True) + >>> thread = api.delete_persistent_volume_with_http_info(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the PersistentVolume (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -10911,7 +10869,7 @@ def delete_persistent_volume_with_http_info(self, name, body, **kwargs): returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -10929,9 +10887,6 @@ def delete_persistent_volume_with_http_info(self, name, body, **kwargs): # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): raise ValueError("Missing the required parameter `name` when calling `delete_persistent_volume`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_persistent_volume`") collection_formats = {} diff --git a/kubernetes/client/apis/custom_objects_api.py b/kubernetes/client/apis/custom_objects_api.py index 9e778f8887..8f995a8703 100644 --- a/kubernetes/client/apis/custom_objects_api.py +++ b/kubernetes/client/apis/custom_objects_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/events_api.py b/kubernetes/client/apis/events_api.py index a6a399f93f..ba8ecd816d 100644 --- a/kubernetes/client/apis/events_api.py +++ b/kubernetes/client/apis/events_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/events_v1beta1_api.py b/kubernetes/client/apis/events_v1beta1_api.py index a995236a5a..6aa63023f4 100644 --- a/kubernetes/client/apis/events_v1beta1_api.py +++ b/kubernetes/client/apis/events_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -282,19 +282,19 @@ def delete_collection_namespaced_event_with_http_info(self, namespace, **kwargs) _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_event(self, name, namespace, body, **kwargs): + def delete_namespaced_event(self, name, namespace, **kwargs): """ delete an Event This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_event(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_event(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the Event (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -305,24 +305,24 @@ def delete_namespaced_event(self, name, namespace, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespaced_event_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_event_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_event_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_event_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_event_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_event_with_http_info(self, name, namespace, **kwargs): """ delete an Event This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_event_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_event_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the Event (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -332,7 +332,7 @@ def delete_namespaced_event_with_http_info(self, name, namespace, body, **kwargs returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'namespace', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -353,9 +353,6 @@ def delete_namespaced_event_with_http_info(self, name, namespace, body, **kwargs # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_event`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_event`") collection_formats = {} diff --git a/kubernetes/client/apis/extensions_api.py b/kubernetes/client/apis/extensions_api.py index bb63237535..2f1cec7f0d 100644 --- a/kubernetes/client/apis/extensions_api.py +++ b/kubernetes/client/apis/extensions_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/extensions_v1beta1_api.py b/kubernetes/client/apis/extensions_v1beta1_api.py index dd4b56ef09..d81917ca44 100644 --- a/kubernetes/client/apis/extensions_v1beta1_api.py +++ b/kubernetes/client/apis/extensions_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -1625,19 +1625,19 @@ def delete_collection_pod_security_policy_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_daemon_set(self, name, namespace, body, **kwargs): + def delete_namespaced_daemon_set(self, name, namespace, **kwargs): """ delete a DaemonSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_daemon_set(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_daemon_set(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the DaemonSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1648,24 +1648,24 @@ def delete_namespaced_daemon_set(self, name, namespace, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespaced_daemon_set_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_daemon_set_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_daemon_set_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_daemon_set_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_daemon_set_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_daemon_set_with_http_info(self, name, namespace, **kwargs): """ delete a DaemonSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_daemon_set_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_daemon_set_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the DaemonSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1675,7 +1675,7 @@ def delete_namespaced_daemon_set_with_http_info(self, name, namespace, body, **k returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'namespace', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1696,9 +1696,6 @@ def delete_namespaced_daemon_set_with_http_info(self, name, namespace, body, **k # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_daemon_set`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_daemon_set`") collection_formats = {} @@ -1755,19 +1752,19 @@ def delete_namespaced_daemon_set_with_http_info(self, name, namespace, body, **k _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_deployment(self, name, namespace, body, **kwargs): + def delete_namespaced_deployment(self, name, namespace, **kwargs): """ delete a Deployment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_deployment(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_deployment(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the Deployment (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1778,24 +1775,24 @@ def delete_namespaced_deployment(self, name, namespace, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespaced_deployment_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_deployment_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_deployment_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_deployment_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_deployment_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_deployment_with_http_info(self, name, namespace, **kwargs): """ delete a Deployment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_deployment_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_deployment_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the Deployment (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1805,7 +1802,7 @@ def delete_namespaced_deployment_with_http_info(self, name, namespace, body, **k returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'namespace', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1826,9 +1823,6 @@ def delete_namespaced_deployment_with_http_info(self, name, namespace, body, **k # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_deployment`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_deployment`") collection_formats = {} @@ -1885,19 +1879,19 @@ def delete_namespaced_deployment_with_http_info(self, name, namespace, body, **k _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_ingress(self, name, namespace, body, **kwargs): + def delete_namespaced_ingress(self, name, namespace, **kwargs): """ delete an Ingress This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_ingress(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_ingress(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the Ingress (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1908,24 +1902,24 @@ def delete_namespaced_ingress(self, name, namespace, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespaced_ingress_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_ingress_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_ingress_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_ingress_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_ingress_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_ingress_with_http_info(self, name, namespace, **kwargs): """ delete an Ingress This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_ingress_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_ingress_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the Ingress (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1935,7 +1929,7 @@ def delete_namespaced_ingress_with_http_info(self, name, namespace, body, **kwar returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'namespace', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1956,9 +1950,6 @@ def delete_namespaced_ingress_with_http_info(self, name, namespace, body, **kwar # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_ingress`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_ingress`") collection_formats = {} @@ -2015,19 +2006,19 @@ def delete_namespaced_ingress_with_http_info(self, name, namespace, body, **kwar _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_network_policy(self, name, namespace, body, **kwargs): + 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, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_network_policy(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the NetworkPolicy (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -2038,24 +2029,24 @@ def delete_namespaced_network_policy(self, name, namespace, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespaced_network_policy_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_network_policy_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_network_policy_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_network_policy_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_network_policy_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_network_policy_with_http_info(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_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_network_policy_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the NetworkPolicy (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -2065,7 +2056,7 @@ def delete_namespaced_network_policy_with_http_info(self, name, namespace, body, returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'namespace', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -2086,9 +2077,6 @@ def delete_namespaced_network_policy_with_http_info(self, name, namespace, body, # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_network_policy`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_network_policy`") collection_formats = {} @@ -2145,19 +2133,19 @@ def delete_namespaced_network_policy_with_http_info(self, name, namespace, body, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_replica_set(self, name, namespace, body, **kwargs): + def delete_namespaced_replica_set(self, name, namespace, **kwargs): """ delete a ReplicaSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_replica_set(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_replica_set(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the ReplicaSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -2168,24 +2156,24 @@ def delete_namespaced_replica_set(self, name, namespace, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespaced_replica_set_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_replica_set_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_replica_set_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_replica_set_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_replica_set_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_replica_set_with_http_info(self, name, namespace, **kwargs): """ delete a ReplicaSet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_replica_set_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_replica_set_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the ReplicaSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -2195,7 +2183,7 @@ def delete_namespaced_replica_set_with_http_info(self, name, namespace, body, ** returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'namespace', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -2216,9 +2204,6 @@ def delete_namespaced_replica_set_with_http_info(self, name, namespace, body, ** # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_replica_set`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_replica_set`") collection_formats = {} @@ -2275,18 +2260,18 @@ def delete_namespaced_replica_set_with_http_info(self, name, namespace, body, ** _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_pod_security_policy(self, name, body, **kwargs): + 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, body, async_req=True) + >>> thread = api.delete_pod_security_policy(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the PodSecurityPolicy (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -2297,23 +2282,23 @@ def delete_pod_security_policy(self, name, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_pod_security_policy_with_http_info(name, body, **kwargs) + return self.delete_pod_security_policy_with_http_info(name, **kwargs) else: - (data) = self.delete_pod_security_policy_with_http_info(name, body, **kwargs) + (data) = self.delete_pod_security_policy_with_http_info(name, **kwargs) return data - def delete_pod_security_policy_with_http_info(self, name, body, **kwargs): + def delete_pod_security_policy_with_http_info(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_with_http_info(name, body, async_req=True) + >>> thread = api.delete_pod_security_policy_with_http_info(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the PodSecurityPolicy (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -2323,7 +2308,7 @@ def delete_pod_security_policy_with_http_info(self, name, body, **kwargs): returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -2341,9 +2326,6 @@ def delete_pod_security_policy_with_http_info(self, name, body, **kwargs): # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): raise ValueError("Missing the required parameter `name` when calling `delete_pod_security_policy`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_pod_security_policy`") collection_formats = {} diff --git a/kubernetes/client/apis/logs_api.py b/kubernetes/client/apis/logs_api.py index f4a0009e0a..fd6ad6c12a 100644 --- a/kubernetes/client/apis/logs_api.py +++ b/kubernetes/client/apis/logs_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/networking_api.py b/kubernetes/client/apis/networking_api.py index ae191f0450..2228e618b0 100644 --- a/kubernetes/client/apis/networking_api.py +++ b/kubernetes/client/apis/networking_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/networking_v1_api.py b/kubernetes/client/apis/networking_v1_api.py index c35ddd8c66..6698bdafa0 100644 --- a/kubernetes/client/apis/networking_v1_api.py +++ b/kubernetes/client/apis/networking_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -282,19 +282,19 @@ def delete_collection_namespaced_network_policy_with_http_info(self, namespace, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_network_policy(self, name, namespace, body, **kwargs): + 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, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_network_policy(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the NetworkPolicy (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -305,24 +305,24 @@ def delete_namespaced_network_policy(self, name, namespace, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespaced_network_policy_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_network_policy_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_network_policy_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_network_policy_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_network_policy_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_network_policy_with_http_info(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_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_network_policy_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the NetworkPolicy (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -332,7 +332,7 @@ def delete_namespaced_network_policy_with_http_info(self, name, namespace, body, returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'namespace', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -353,9 +353,6 @@ def delete_namespaced_network_policy_with_http_info(self, name, namespace, body, # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_network_policy`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_network_policy`") collection_formats = {} diff --git a/kubernetes/client/apis/policy_api.py b/kubernetes/client/apis/policy_api.py index b596445e31..7aa1c462d5 100644 --- a/kubernetes/client/apis/policy_api.py +++ b/kubernetes/client/apis/policy_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/policy_v1beta1_api.py b/kubernetes/client/apis/policy_v1beta1_api.py index 33fc5ce7a0..b050f2debb 100644 --- a/kubernetes/client/apis/policy_v1beta1_api.py +++ b/kubernetes/client/apis/policy_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -515,19 +515,19 @@ def delete_collection_pod_security_policy_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_pod_disruption_budget(self, name, namespace, body, **kwargs): + def delete_namespaced_pod_disruption_budget(self, name, namespace, **kwargs): """ delete a PodDisruptionBudget This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_pod_disruption_budget(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_pod_disruption_budget(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the PodDisruptionBudget (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -538,24 +538,24 @@ def delete_namespaced_pod_disruption_budget(self, name, namespace, body, **kwarg """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespaced_pod_disruption_budget_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_pod_disruption_budget_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_pod_disruption_budget_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_pod_disruption_budget_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_pod_disruption_budget_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_pod_disruption_budget_with_http_info(self, name, namespace, **kwargs): """ delete a PodDisruptionBudget This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_pod_disruption_budget_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_pod_disruption_budget_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the PodDisruptionBudget (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -565,7 +565,7 @@ def delete_namespaced_pod_disruption_budget_with_http_info(self, name, namespace returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'namespace', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -586,9 +586,6 @@ def delete_namespaced_pod_disruption_budget_with_http_info(self, name, namespace # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_pod_disruption_budget`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_pod_disruption_budget`") collection_formats = {} @@ -645,18 +642,18 @@ def delete_namespaced_pod_disruption_budget_with_http_info(self, name, namespace _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_pod_security_policy(self, name, body, **kwargs): + 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, body, async_req=True) + >>> thread = api.delete_pod_security_policy(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the PodSecurityPolicy (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -667,23 +664,23 @@ def delete_pod_security_policy(self, name, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_pod_security_policy_with_http_info(name, body, **kwargs) + return self.delete_pod_security_policy_with_http_info(name, **kwargs) else: - (data) = self.delete_pod_security_policy_with_http_info(name, body, **kwargs) + (data) = self.delete_pod_security_policy_with_http_info(name, **kwargs) return data - def delete_pod_security_policy_with_http_info(self, name, body, **kwargs): + def delete_pod_security_policy_with_http_info(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_with_http_info(name, body, async_req=True) + >>> thread = api.delete_pod_security_policy_with_http_info(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the PodSecurityPolicy (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -693,7 +690,7 @@ def delete_pod_security_policy_with_http_info(self, name, body, **kwargs): returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -711,9 +708,6 @@ def delete_pod_security_policy_with_http_info(self, name, body, **kwargs): # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): raise ValueError("Missing the required parameter `name` when calling `delete_pod_security_policy`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_pod_security_policy`") collection_formats = {} diff --git a/kubernetes/client/apis/rbac_authorization_api.py b/kubernetes/client/apis/rbac_authorization_api.py index a722074960..9c31f2980a 100644 --- a/kubernetes/client/apis/rbac_authorization_api.py +++ b/kubernetes/client/apis/rbac_authorization_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/rbac_authorization_v1_api.py b/kubernetes/client/apis/rbac_authorization_v1_api.py index 585432eff6..d34cd297b3 100644 --- a/kubernetes/client/apis/rbac_authorization_v1_api.py +++ b/kubernetes/client/apis/rbac_authorization_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -481,18 +481,18 @@ def create_namespaced_role_binding_with_http_info(self, namespace, body, **kwarg _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_cluster_role(self, name, body, **kwargs): + 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, body, async_req=True) + >>> thread = api.delete_cluster_role(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the ClusterRole (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -503,23 +503,23 @@ def delete_cluster_role(self, name, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_cluster_role_with_http_info(name, body, **kwargs) + return self.delete_cluster_role_with_http_info(name, **kwargs) else: - (data) = self.delete_cluster_role_with_http_info(name, body, **kwargs) + (data) = self.delete_cluster_role_with_http_info(name, **kwargs) return data - def delete_cluster_role_with_http_info(self, name, body, **kwargs): + def delete_cluster_role_with_http_info(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_with_http_info(name, body, async_req=True) + >>> thread = api.delete_cluster_role_with_http_info(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the ClusterRole (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -529,7 +529,7 @@ def delete_cluster_role_with_http_info(self, name, body, **kwargs): returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -547,9 +547,6 @@ def delete_cluster_role_with_http_info(self, name, body, **kwargs): # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): raise ValueError("Missing the required parameter `name` when calling `delete_cluster_role`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_cluster_role`") collection_formats = {} @@ -604,18 +601,18 @@ def delete_cluster_role_with_http_info(self, name, body, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_cluster_role_binding(self, name, body, **kwargs): + def delete_cluster_role_binding(self, name, **kwargs): """ delete a ClusterRoleBinding 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_binding(name, body, async_req=True) + >>> thread = api.delete_cluster_role_binding(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the ClusterRoleBinding (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -626,23 +623,23 @@ def delete_cluster_role_binding(self, name, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_cluster_role_binding_with_http_info(name, body, **kwargs) + return self.delete_cluster_role_binding_with_http_info(name, **kwargs) else: - (data) = self.delete_cluster_role_binding_with_http_info(name, body, **kwargs) + (data) = self.delete_cluster_role_binding_with_http_info(name, **kwargs) return data - def delete_cluster_role_binding_with_http_info(self, name, body, **kwargs): + def delete_cluster_role_binding_with_http_info(self, name, **kwargs): """ delete a ClusterRoleBinding 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_binding_with_http_info(name, body, async_req=True) + >>> thread = api.delete_cluster_role_binding_with_http_info(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the ClusterRoleBinding (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -652,7 +649,7 @@ def delete_cluster_role_binding_with_http_info(self, name, body, **kwargs): returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -670,9 +667,6 @@ def delete_cluster_role_binding_with_http_info(self, name, body, **kwargs): # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): raise ValueError("Missing the required parameter `name` when calling `delete_cluster_role_binding`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_cluster_role_binding`") collection_formats = {} @@ -1241,19 +1235,19 @@ def delete_collection_namespaced_role_binding_with_http_info(self, namespace, ** _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_role(self, name, namespace, body, **kwargs): + 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, body, async_req=True) + >>> thread = api.delete_namespaced_role(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the Role (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1264,24 +1258,24 @@ def delete_namespaced_role(self, name, namespace, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespaced_role_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_role_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_role_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_role_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_role_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_role_with_http_info(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_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_role_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the Role (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1291,7 +1285,7 @@ def delete_namespaced_role_with_http_info(self, name, namespace, body, **kwargs) returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'namespace', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1312,9 +1306,6 @@ def delete_namespaced_role_with_http_info(self, name, namespace, body, **kwargs) # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_role`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_role`") collection_formats = {} @@ -1371,19 +1362,19 @@ def delete_namespaced_role_with_http_info(self, name, namespace, body, **kwargs) _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_role_binding(self, name, namespace, body, **kwargs): + 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, body, async_req=True) + >>> thread = api.delete_namespaced_role_binding(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the RoleBinding (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1394,24 +1385,24 @@ def delete_namespaced_role_binding(self, name, namespace, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespaced_role_binding_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_role_binding_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_role_binding_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_role_binding_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_role_binding_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_role_binding_with_http_info(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_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_role_binding_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the RoleBinding (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1421,7 +1412,7 @@ def delete_namespaced_role_binding_with_http_info(self, name, namespace, body, * returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'namespace', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1442,9 +1433,6 @@ def delete_namespaced_role_binding_with_http_info(self, name, namespace, body, * # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_role_binding`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_role_binding`") collection_formats = {} diff --git a/kubernetes/client/apis/rbac_authorization_v1alpha1_api.py b/kubernetes/client/apis/rbac_authorization_v1alpha1_api.py index 53580747eb..d5b7a646ec 100644 --- a/kubernetes/client/apis/rbac_authorization_v1alpha1_api.py +++ b/kubernetes/client/apis/rbac_authorization_v1alpha1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -481,18 +481,18 @@ def create_namespaced_role_binding_with_http_info(self, namespace, body, **kwarg _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_cluster_role(self, name, body, **kwargs): + 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, body, async_req=True) + >>> thread = api.delete_cluster_role(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the ClusterRole (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -503,23 +503,23 @@ def delete_cluster_role(self, name, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_cluster_role_with_http_info(name, body, **kwargs) + return self.delete_cluster_role_with_http_info(name, **kwargs) else: - (data) = self.delete_cluster_role_with_http_info(name, body, **kwargs) + (data) = self.delete_cluster_role_with_http_info(name, **kwargs) return data - def delete_cluster_role_with_http_info(self, name, body, **kwargs): + def delete_cluster_role_with_http_info(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_with_http_info(name, body, async_req=True) + >>> thread = api.delete_cluster_role_with_http_info(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the ClusterRole (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -529,7 +529,7 @@ def delete_cluster_role_with_http_info(self, name, body, **kwargs): returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -547,9 +547,6 @@ def delete_cluster_role_with_http_info(self, name, body, **kwargs): # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): raise ValueError("Missing the required parameter `name` when calling `delete_cluster_role`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_cluster_role`") collection_formats = {} @@ -604,18 +601,18 @@ def delete_cluster_role_with_http_info(self, name, body, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_cluster_role_binding(self, name, body, **kwargs): + def delete_cluster_role_binding(self, name, **kwargs): """ delete a ClusterRoleBinding 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_binding(name, body, async_req=True) + >>> thread = api.delete_cluster_role_binding(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the ClusterRoleBinding (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -626,23 +623,23 @@ def delete_cluster_role_binding(self, name, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_cluster_role_binding_with_http_info(name, body, **kwargs) + return self.delete_cluster_role_binding_with_http_info(name, **kwargs) else: - (data) = self.delete_cluster_role_binding_with_http_info(name, body, **kwargs) + (data) = self.delete_cluster_role_binding_with_http_info(name, **kwargs) return data - def delete_cluster_role_binding_with_http_info(self, name, body, **kwargs): + def delete_cluster_role_binding_with_http_info(self, name, **kwargs): """ delete a ClusterRoleBinding 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_binding_with_http_info(name, body, async_req=True) + >>> thread = api.delete_cluster_role_binding_with_http_info(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the ClusterRoleBinding (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -652,7 +649,7 @@ def delete_cluster_role_binding_with_http_info(self, name, body, **kwargs): returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -670,9 +667,6 @@ def delete_cluster_role_binding_with_http_info(self, name, body, **kwargs): # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): raise ValueError("Missing the required parameter `name` when calling `delete_cluster_role_binding`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_cluster_role_binding`") collection_formats = {} @@ -1241,19 +1235,19 @@ def delete_collection_namespaced_role_binding_with_http_info(self, namespace, ** _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_role(self, name, namespace, body, **kwargs): + 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, body, async_req=True) + >>> thread = api.delete_namespaced_role(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the Role (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1264,24 +1258,24 @@ def delete_namespaced_role(self, name, namespace, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespaced_role_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_role_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_role_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_role_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_role_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_role_with_http_info(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_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_role_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the Role (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1291,7 +1285,7 @@ def delete_namespaced_role_with_http_info(self, name, namespace, body, **kwargs) returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'namespace', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1312,9 +1306,6 @@ def delete_namespaced_role_with_http_info(self, name, namespace, body, **kwargs) # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_role`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_role`") collection_formats = {} @@ -1371,19 +1362,19 @@ def delete_namespaced_role_with_http_info(self, name, namespace, body, **kwargs) _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_role_binding(self, name, namespace, body, **kwargs): + 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, body, async_req=True) + >>> thread = api.delete_namespaced_role_binding(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the RoleBinding (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1394,24 +1385,24 @@ def delete_namespaced_role_binding(self, name, namespace, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespaced_role_binding_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_role_binding_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_role_binding_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_role_binding_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_role_binding_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_role_binding_with_http_info(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_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_role_binding_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the RoleBinding (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1421,7 +1412,7 @@ def delete_namespaced_role_binding_with_http_info(self, name, namespace, body, * returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'namespace', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1442,9 +1433,6 @@ def delete_namespaced_role_binding_with_http_info(self, name, namespace, body, * # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_role_binding`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_role_binding`") collection_formats = {} diff --git a/kubernetes/client/apis/rbac_authorization_v1beta1_api.py b/kubernetes/client/apis/rbac_authorization_v1beta1_api.py index f80d027db4..7e0927bde0 100644 --- a/kubernetes/client/apis/rbac_authorization_v1beta1_api.py +++ b/kubernetes/client/apis/rbac_authorization_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -481,18 +481,18 @@ def create_namespaced_role_binding_with_http_info(self, namespace, body, **kwarg _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_cluster_role(self, name, body, **kwargs): + 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, body, async_req=True) + >>> thread = api.delete_cluster_role(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the ClusterRole (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -503,23 +503,23 @@ def delete_cluster_role(self, name, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_cluster_role_with_http_info(name, body, **kwargs) + return self.delete_cluster_role_with_http_info(name, **kwargs) else: - (data) = self.delete_cluster_role_with_http_info(name, body, **kwargs) + (data) = self.delete_cluster_role_with_http_info(name, **kwargs) return data - def delete_cluster_role_with_http_info(self, name, body, **kwargs): + def delete_cluster_role_with_http_info(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_with_http_info(name, body, async_req=True) + >>> thread = api.delete_cluster_role_with_http_info(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the ClusterRole (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -529,7 +529,7 @@ def delete_cluster_role_with_http_info(self, name, body, **kwargs): returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -547,9 +547,6 @@ def delete_cluster_role_with_http_info(self, name, body, **kwargs): # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): raise ValueError("Missing the required parameter `name` when calling `delete_cluster_role`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_cluster_role`") collection_formats = {} @@ -604,18 +601,18 @@ def delete_cluster_role_with_http_info(self, name, body, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_cluster_role_binding(self, name, body, **kwargs): + def delete_cluster_role_binding(self, name, **kwargs): """ delete a ClusterRoleBinding 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_binding(name, body, async_req=True) + >>> thread = api.delete_cluster_role_binding(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the ClusterRoleBinding (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -626,23 +623,23 @@ def delete_cluster_role_binding(self, name, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_cluster_role_binding_with_http_info(name, body, **kwargs) + return self.delete_cluster_role_binding_with_http_info(name, **kwargs) else: - (data) = self.delete_cluster_role_binding_with_http_info(name, body, **kwargs) + (data) = self.delete_cluster_role_binding_with_http_info(name, **kwargs) return data - def delete_cluster_role_binding_with_http_info(self, name, body, **kwargs): + def delete_cluster_role_binding_with_http_info(self, name, **kwargs): """ delete a ClusterRoleBinding 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_binding_with_http_info(name, body, async_req=True) + >>> thread = api.delete_cluster_role_binding_with_http_info(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the ClusterRoleBinding (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -652,7 +649,7 @@ def delete_cluster_role_binding_with_http_info(self, name, body, **kwargs): returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -670,9 +667,6 @@ def delete_cluster_role_binding_with_http_info(self, name, body, **kwargs): # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): raise ValueError("Missing the required parameter `name` when calling `delete_cluster_role_binding`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_cluster_role_binding`") collection_formats = {} @@ -1241,19 +1235,19 @@ def delete_collection_namespaced_role_binding_with_http_info(self, namespace, ** _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_role(self, name, namespace, body, **kwargs): + 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, body, async_req=True) + >>> thread = api.delete_namespaced_role(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the Role (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1264,24 +1258,24 @@ def delete_namespaced_role(self, name, namespace, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespaced_role_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_role_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_role_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_role_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_role_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_role_with_http_info(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_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_role_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the Role (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1291,7 +1285,7 @@ def delete_namespaced_role_with_http_info(self, name, namespace, body, **kwargs) returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'namespace', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1312,9 +1306,6 @@ def delete_namespaced_role_with_http_info(self, name, namespace, body, **kwargs) # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_role`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_role`") collection_formats = {} @@ -1371,19 +1362,19 @@ def delete_namespaced_role_with_http_info(self, name, namespace, body, **kwargs) _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_role_binding(self, name, namespace, body, **kwargs): + 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, body, async_req=True) + >>> thread = api.delete_namespaced_role_binding(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the RoleBinding (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1394,24 +1385,24 @@ def delete_namespaced_role_binding(self, name, namespace, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespaced_role_binding_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_role_binding_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_role_binding_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_role_binding_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_role_binding_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_role_binding_with_http_info(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_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_role_binding_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the RoleBinding (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1421,7 +1412,7 @@ def delete_namespaced_role_binding_with_http_info(self, name, namespace, body, * returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'namespace', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1442,9 +1433,6 @@ def delete_namespaced_role_binding_with_http_info(self, name, namespace, body, * # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_role_binding`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_role_binding`") collection_formats = {} diff --git a/kubernetes/client/apis/scheduling_api.py b/kubernetes/client/apis/scheduling_api.py index 420790db27..9924765cbd 100644 --- a/kubernetes/client/apis/scheduling_api.py +++ b/kubernetes/client/apis/scheduling_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/scheduling_v1alpha1_api.py b/kubernetes/client/apis/scheduling_v1alpha1_api.py index be2daee52d..5999e4e01c 100644 --- a/kubernetes/client/apis/scheduling_v1alpha1_api.py +++ b/kubernetes/client/apis/scheduling_v1alpha1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -268,18 +268,18 @@ def delete_collection_priority_class_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_priority_class(self, name, body, **kwargs): + def delete_priority_class(self, name, **kwargs): """ delete a PriorityClass This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_priority_class(name, body, async_req=True) + >>> thread = api.delete_priority_class(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the PriorityClass (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -290,23 +290,23 @@ def delete_priority_class(self, name, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_priority_class_with_http_info(name, body, **kwargs) + return self.delete_priority_class_with_http_info(name, **kwargs) else: - (data) = self.delete_priority_class_with_http_info(name, body, **kwargs) + (data) = self.delete_priority_class_with_http_info(name, **kwargs) return data - def delete_priority_class_with_http_info(self, name, body, **kwargs): + def delete_priority_class_with_http_info(self, name, **kwargs): """ delete a PriorityClass This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_priority_class_with_http_info(name, body, async_req=True) + >>> thread = api.delete_priority_class_with_http_info(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the PriorityClass (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -316,7 +316,7 @@ def delete_priority_class_with_http_info(self, name, body, **kwargs): returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -334,9 +334,6 @@ def delete_priority_class_with_http_info(self, name, body, **kwargs): # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): raise ValueError("Missing the required parameter `name` when calling `delete_priority_class`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_priority_class`") collection_formats = {} diff --git a/kubernetes/client/apis/scheduling_v1beta1_api.py b/kubernetes/client/apis/scheduling_v1beta1_api.py index e0bb2ca625..07100141dc 100644 --- a/kubernetes/client/apis/scheduling_v1beta1_api.py +++ b/kubernetes/client/apis/scheduling_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -268,18 +268,18 @@ def delete_collection_priority_class_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_priority_class(self, name, body, **kwargs): + def delete_priority_class(self, name, **kwargs): """ delete a PriorityClass This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_priority_class(name, body, async_req=True) + >>> thread = api.delete_priority_class(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the PriorityClass (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -290,23 +290,23 @@ def delete_priority_class(self, name, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_priority_class_with_http_info(name, body, **kwargs) + return self.delete_priority_class_with_http_info(name, **kwargs) else: - (data) = self.delete_priority_class_with_http_info(name, body, **kwargs) + (data) = self.delete_priority_class_with_http_info(name, **kwargs) return data - def delete_priority_class_with_http_info(self, name, body, **kwargs): + def delete_priority_class_with_http_info(self, name, **kwargs): """ delete a PriorityClass This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_priority_class_with_http_info(name, body, async_req=True) + >>> thread = api.delete_priority_class_with_http_info(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the PriorityClass (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -316,7 +316,7 @@ def delete_priority_class_with_http_info(self, name, body, **kwargs): returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -334,9 +334,6 @@ def delete_priority_class_with_http_info(self, name, body, **kwargs): # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): raise ValueError("Missing the required parameter `name` when calling `delete_priority_class`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_priority_class`") collection_formats = {} diff --git a/kubernetes/client/apis/settings_api.py b/kubernetes/client/apis/settings_api.py index 56228a1799..99bf30a159 100644 --- a/kubernetes/client/apis/settings_api.py +++ b/kubernetes/client/apis/settings_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/settings_v1alpha1_api.py b/kubernetes/client/apis/settings_v1alpha1_api.py index 285f161873..f03d61c24c 100644 --- a/kubernetes/client/apis/settings_v1alpha1_api.py +++ b/kubernetes/client/apis/settings_v1alpha1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -282,19 +282,19 @@ def delete_collection_namespaced_pod_preset_with_http_info(self, namespace, **kw _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_pod_preset(self, name, namespace, body, **kwargs): + def delete_namespaced_pod_preset(self, name, namespace, **kwargs): """ delete a PodPreset This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_pod_preset(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_pod_preset(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the PodPreset (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -305,24 +305,24 @@ def delete_namespaced_pod_preset(self, name, namespace, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_namespaced_pod_preset_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_pod_preset_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_pod_preset_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_pod_preset_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_pod_preset_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_pod_preset_with_http_info(self, name, namespace, **kwargs): """ delete a PodPreset This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_namespaced_pod_preset_with_http_info(name, namespace, body, async_req=True) + >>> thread = api.delete_namespaced_pod_preset_with_http_info(name, namespace, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the PodPreset (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -332,7 +332,7 @@ def delete_namespaced_pod_preset_with_http_info(self, name, namespace, body, **k returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'namespace', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -353,9 +353,6 @@ def delete_namespaced_pod_preset_with_http_info(self, name, namespace, body, **k # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_pod_preset`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_pod_preset`") collection_formats = {} diff --git a/kubernetes/client/apis/storage_api.py b/kubernetes/client/apis/storage_api.py index bb05389d9b..61a47e8987 100644 --- a/kubernetes/client/apis/storage_api.py +++ b/kubernetes/client/apis/storage_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/apis/storage_v1_api.py b/kubernetes/client/apis/storage_v1_api.py index 5699e94001..a7c8336f75 100644 --- a/kubernetes/client/apis/storage_v1_api.py +++ b/kubernetes/client/apis/storage_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -143,6 +143,114 @@ def create_storage_class_with_http_info(self, body, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) + def create_volume_attachment(self, body, **kwargs): + """ + create a VolumeAttachment + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_volume_attachment(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param V1VolumeAttachment body: (required) + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :return: V1VolumeAttachment + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.create_volume_attachment_with_http_info(body, **kwargs) + else: + (data) = self.create_volume_attachment_with_http_info(body, **kwargs) + return data + + def create_volume_attachment_with_http_info(self, body, **kwargs): + """ + create a VolumeAttachment + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_volume_attachment_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param V1VolumeAttachment body: (required) + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :return: V1VolumeAttachment + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body', 'include_uninitialized', 'pretty', 'dry_run'] + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method create_volume_attachment" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_volume_attachment`") + + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'include_uninitialized' in params: + query_params.append(('includeUninitialized', params['include_uninitialized'])) + if 'pretty' in params: + query_params.append(('pretty', params['pretty'])) + if 'dry_run' in params: + query_params.append(('dryRun', params['dry_run'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['*/*']) + + # Authentication setting + auth_settings = ['BearerToken'] + + return self.api_client.call_api('/apis/storage.k8s.io/v1/volumeattachments', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1VolumeAttachment', + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + def delete_collection_storage_class(self, **kwargs): """ delete collection of StorageClass @@ -195,7 +303,1047 @@ def delete_collection_storage_class_with_http_info(self, **kwargs): returns the request thread. """ - all_params = ['include_uninitialized', 'pretty', '_continue', 'field_selector', 'label_selector', 'limit', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['include_uninitialized', 'pretty', '_continue', 'field_selector', 'label_selector', 'limit', 'resource_version', 'timeout_seconds', 'watch'] + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_collection_storage_class" % key + ) + params[key] = val + del params['kwargs'] + + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'include_uninitialized' in params: + query_params.append(('includeUninitialized', params['include_uninitialized'])) + if 'pretty' in params: + query_params.append(('pretty', params['pretty'])) + if '_continue' in params: + query_params.append(('continue', params['_continue'])) + if 'field_selector' in params: + query_params.append(('fieldSelector', params['field_selector'])) + if 'label_selector' in params: + query_params.append(('labelSelector', params['label_selector'])) + if 'limit' in params: + query_params.append(('limit', params['limit'])) + if 'resource_version' in params: + query_params.append(('resourceVersion', params['resource_version'])) + if 'timeout_seconds' in params: + query_params.append(('timeoutSeconds', params['timeout_seconds'])) + if 'watch' in params: + query_params.append(('watch', params['watch'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['*/*']) + + # Authentication setting + auth_settings = ['BearerToken'] + + return self.api_client.call_api('/apis/storage.k8s.io/v1/storageclasses', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Status', + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + 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_req=True) + >>> result = thread.get() + + :param async_req bool + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str pretty: If 'true', then the output is pretty printed. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.delete_collection_volume_attachment_with_http_info(**kwargs) + else: + (data) = self.delete_collection_volume_attachment_with_http_info(**kwargs) + return data + + def delete_collection_volume_attachment_with_http_info(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_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str pretty: If 'true', then the output is pretty printed. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['include_uninitialized', 'pretty', '_continue', 'field_selector', 'label_selector', 'limit', 'resource_version', 'timeout_seconds', 'watch'] + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_collection_volume_attachment" % key + ) + params[key] = val + del params['kwargs'] + + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'include_uninitialized' in params: + query_params.append(('includeUninitialized', params['include_uninitialized'])) + if 'pretty' in params: + query_params.append(('pretty', params['pretty'])) + if '_continue' in params: + query_params.append(('continue', params['_continue'])) + if 'field_selector' in params: + query_params.append(('fieldSelector', params['field_selector'])) + if 'label_selector' in params: + query_params.append(('labelSelector', params['label_selector'])) + if 'limit' in params: + query_params.append(('limit', params['limit'])) + if 'resource_version' in params: + query_params.append(('resourceVersion', params['resource_version'])) + if 'timeout_seconds' in params: + query_params.append(('timeoutSeconds', params['timeout_seconds'])) + if 'watch' in params: + query_params.append(('watch', params['watch'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['*/*']) + + # Authentication setting + auth_settings = ['BearerToken'] + + return self.api_client.call_api('/apis/storage.k8s.io/v1/volumeattachments', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Status', + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_storage_class(self, name, **kwargs): + """ + delete a StorageClass + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_storage_class(name, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str name: name of the StorageClass (required) + :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.delete_storage_class_with_http_info(name, **kwargs) + else: + (data) = self.delete_storage_class_with_http_info(name, **kwargs) + return data + + def delete_storage_class_with_http_info(self, name, **kwargs): + """ + delete a StorageClass + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_storage_class_with_http_info(name, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str name: name of the StorageClass (required) + :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['name', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_storage_class" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'name' is set + if ('name' not in params) or (params['name'] is None): + raise ValueError("Missing the required parameter `name` when calling `delete_storage_class`") + + + collection_formats = {} + + path_params = {} + if 'name' in params: + path_params['name'] = params['name'] + + query_params = [] + if 'pretty' in params: + query_params.append(('pretty', params['pretty'])) + if 'dry_run' in params: + query_params.append(('dryRun', params['dry_run'])) + if 'grace_period_seconds' in params: + query_params.append(('gracePeriodSeconds', params['grace_period_seconds'])) + if 'orphan_dependents' in params: + query_params.append(('orphanDependents', params['orphan_dependents'])) + if 'propagation_policy' in params: + query_params.append(('propagationPolicy', params['propagation_policy'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['*/*']) + + # Authentication setting + auth_settings = ['BearerToken'] + + return self.api_client.call_api('/apis/storage.k8s.io/v1/storageclasses/{name}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Status', + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_volume_attachment(self, name, **kwargs): + """ + delete a VolumeAttachment + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_volume_attachment(name, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str name: name of the VolumeAttachment (required) + :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.delete_volume_attachment_with_http_info(name, **kwargs) + else: + (data) = self.delete_volume_attachment_with_http_info(name, **kwargs) + return data + + def delete_volume_attachment_with_http_info(self, name, **kwargs): + """ + delete a VolumeAttachment + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_volume_attachment_with_http_info(name, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str name: name of the VolumeAttachment (required) + :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['name', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_volume_attachment" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'name' is set + if ('name' not in params) or (params['name'] is None): + raise ValueError("Missing the required parameter `name` when calling `delete_volume_attachment`") + + + collection_formats = {} + + path_params = {} + if 'name' in params: + path_params['name'] = params['name'] + + query_params = [] + if 'pretty' in params: + query_params.append(('pretty', params['pretty'])) + if 'dry_run' in params: + query_params.append(('dryRun', params['dry_run'])) + if 'grace_period_seconds' in params: + query_params.append(('gracePeriodSeconds', params['grace_period_seconds'])) + if 'orphan_dependents' in params: + query_params.append(('orphanDependents', params['orphan_dependents'])) + if 'propagation_policy' in params: + query_params.append(('propagationPolicy', params['propagation_policy'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['*/*']) + + # Authentication setting + auth_settings = ['BearerToken'] + + return self.api_client.call_api('/apis/storage.k8s.io/v1/volumeattachments/{name}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Status', + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_api_resources(self, **kwargs): + """ + get available resources + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_api_resources(async_req=True) + >>> result = thread.get() + + :param async_req bool + :return: V1APIResourceList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_api_resources_with_http_info(**kwargs) + else: + (data) = self.get_api_resources_with_http_info(**kwargs) + return data + + def get_api_resources_with_http_info(self, **kwargs): + """ + get available resources + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_api_resources_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :return: V1APIResourceList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = [] + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_api_resources" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # Authentication setting + auth_settings = ['BearerToken'] + + return self.api_client.call_api('/apis/storage.k8s.io/v1/', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1APIResourceList', + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + 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 = thread.get() + + :param async_req bool + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str pretty: If 'true', then the output is pretty printed. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1StorageClassList + If the method is called asynchronously, + returns the request thread. + """ + 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(**kwargs) + return data + + def list_storage_class_with_http_info(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_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str pretty: If 'true', then the output is pretty printed. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1StorageClassList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['include_uninitialized', 'pretty', '_continue', 'field_selector', 'label_selector', 'limit', 'resource_version', 'timeout_seconds', 'watch'] + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method list_storage_class" % key + ) + params[key] = val + del params['kwargs'] + + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'include_uninitialized' in params: + query_params.append(('includeUninitialized', params['include_uninitialized'])) + if 'pretty' in params: + query_params.append(('pretty', params['pretty'])) + if '_continue' in params: + query_params.append(('continue', params['_continue'])) + if 'field_selector' in params: + query_params.append(('fieldSelector', params['field_selector'])) + if 'label_selector' in params: + query_params.append(('labelSelector', params['label_selector'])) + if 'limit' in params: + query_params.append(('limit', params['limit'])) + if 'resource_version' in params: + query_params.append(('resourceVersion', params['resource_version'])) + if 'timeout_seconds' in params: + query_params.append(('timeoutSeconds', params['timeout_seconds'])) + if 'watch' in params: + query_params.append(('watch', params['watch'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['*/*']) + + # Authentication setting + auth_settings = ['BearerToken'] + + return self.api_client.call_api('/apis/storage.k8s.io/v1/storageclasses', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1StorageClassList', + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + 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) + >>> result = thread.get() + + :param async_req bool + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str pretty: If 'true', then the output is pretty printed. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1VolumeAttachmentList + If the method is called asynchronously, + returns the request thread. + """ + 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_with_http_info(**kwargs) + return data + + def list_volume_attachment_with_http_info(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_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str pretty: If 'true', then the output is pretty printed. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1VolumeAttachmentList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['include_uninitialized', 'pretty', '_continue', 'field_selector', 'label_selector', 'limit', 'resource_version', 'timeout_seconds', 'watch'] + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method list_volume_attachment" % key + ) + params[key] = val + del params['kwargs'] + + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'include_uninitialized' in params: + query_params.append(('includeUninitialized', params['include_uninitialized'])) + if 'pretty' in params: + query_params.append(('pretty', params['pretty'])) + if '_continue' in params: + query_params.append(('continue', params['_continue'])) + if 'field_selector' in params: + query_params.append(('fieldSelector', params['field_selector'])) + if 'label_selector' in params: + query_params.append(('labelSelector', params['label_selector'])) + if 'limit' in params: + query_params.append(('limit', params['limit'])) + if 'resource_version' in params: + query_params.append(('resourceVersion', params['resource_version'])) + if 'timeout_seconds' in params: + query_params.append(('timeoutSeconds', params['timeout_seconds'])) + if 'watch' in params: + query_params.append(('watch', params['watch'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['*/*']) + + # Authentication setting + auth_settings = ['BearerToken'] + + return self.api_client.call_api('/apis/storage.k8s.io/v1/volumeattachments', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1VolumeAttachmentList', + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def patch_storage_class(self, name, body, **kwargs): + """ + partially update 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.patch_storage_class(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str name: name of the StorageClass (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :return: V1StorageClass + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.patch_storage_class_with_http_info(name, body, **kwargs) + else: + (data) = self.patch_storage_class_with_http_info(name, body, **kwargs) + return data + + def patch_storage_class_with_http_info(self, name, body, **kwargs): + """ + partially update 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.patch_storage_class_with_http_info(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str name: name of the StorageClass (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :return: V1StorageClass + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['name', 'body', 'pretty', 'dry_run'] + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_storage_class" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'name' is set + if ('name' not in params) or (params['name'] is None): + raise ValueError("Missing the required parameter `name` when calling `patch_storage_class`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `patch_storage_class`") + + + collection_formats = {} + + path_params = {} + if 'name' in params: + path_params['name'] = params['name'] + + query_params = [] + if 'pretty' in params: + query_params.append(('pretty', params['pretty'])) + if 'dry_run' in params: + query_params.append(('dryRun', params['dry_run'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) + + # Authentication setting + auth_settings = ['BearerToken'] + + return self.api_client.call_api('/apis/storage.k8s.io/v1/storageclasses/{name}', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1StorageClass', + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def patch_volume_attachment(self, name, body, **kwargs): + """ + partially update 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(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str name: name of the VolumeAttachment (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :return: V1VolumeAttachment + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.patch_volume_attachment_with_http_info(name, body, **kwargs) + else: + (data) = self.patch_volume_attachment_with_http_info(name, body, **kwargs) + return data + + def patch_volume_attachment_with_http_info(self, name, body, **kwargs): + """ + partially update 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_with_http_info(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str name: name of the VolumeAttachment (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :return: V1VolumeAttachment + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['name', 'body', 'pretty', 'dry_run'] + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_volume_attachment" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'name' is set + if ('name' not in params) or (params['name'] is None): + raise ValueError("Missing the required parameter `name` when calling `patch_volume_attachment`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `patch_volume_attachment`") + + + collection_formats = {} + + path_params = {} + if 'name' in params: + path_params['name'] = params['name'] + + query_params = [] + if 'pretty' in params: + query_params.append(('pretty', params['pretty'])) + if 'dry_run' in params: + query_params.append(('dryRun', params['dry_run'])) + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) + + # Authentication setting + auth_settings = ['BearerToken'] + + return self.api_client.call_api('/apis/storage.k8s.io/v1/volumeattachments/{name}', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1VolumeAttachment', + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + 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_attachment_status(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str name: name of the VolumeAttachment (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :return: V1VolumeAttachment + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.patch_volume_attachment_status_with_http_info(name, body, **kwargs) + else: + (data) = self.patch_volume_attachment_status_with_http_info(name, body, **kwargs) + return data + + def patch_volume_attachment_status_with_http_info(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_attachment_status_with_http_info(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str name: name of the VolumeAttachment (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :return: V1VolumeAttachment + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['name', 'body', 'pretty', 'dry_run'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -206,35 +1354,29 @@ def delete_collection_storage_class_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_collection_storage_class" % key + " to method patch_volume_attachment_status" % key ) params[key] = val del params['kwargs'] + # verify the required parameter 'name' is set + if ('name' not in params) or (params['name'] is None): + raise ValueError("Missing the required parameter `name` when calling `patch_volume_attachment_status`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `patch_volume_attachment_status`") collection_formats = {} path_params = {} + if 'name' in params: + path_params['name'] = params['name'] query_params = [] - if 'include_uninitialized' in params: - query_params.append(('includeUninitialized', params['include_uninitialized'])) if 'pretty' in params: query_params.append(('pretty', params['pretty'])) - if '_continue' in params: - query_params.append(('continue', params['_continue'])) - if 'field_selector' in params: - query_params.append(('fieldSelector', params['field_selector'])) - if 'label_selector' in params: - query_params.append(('labelSelector', params['label_selector'])) - if 'limit' in params: - query_params.append(('limit', params['limit'])) - if 'resource_version' in params: - query_params.append(('resourceVersion', params['resource_version'])) - if 'timeout_seconds' in params: - query_params.append(('timeoutSeconds', params['timeout_seconds'])) - if 'watch' in params: - query_params.append(('watch', params['watch'])) + if 'dry_run' in params: + query_params.append(('dryRun', params['dry_run'])) header_params = {} @@ -242,25 +1384,27 @@ def delete_collection_storage_class_with_http_info(self, **kwargs): local_var_files = {} body_params = None + if 'body' in params: + body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) + select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting auth_settings = ['BearerToken'] - return self.api_client.call_api('/apis/storage.k8s.io/v1/storageclasses', 'DELETE', + return self.api_client.call_api('/apis/storage.k8s.io/v1/volumeattachments/{name}/status', 'PATCH', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1Status', + response_type='V1VolumeAttachment', auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), @@ -268,55 +1412,49 @@ def delete_collection_storage_class_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_storage_class(self, name, body, **kwargs): + def read_storage_class(self, name, **kwargs): """ - delete a StorageClass + 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.delete_storage_class(name, body, async_req=True) + >>> thread = api.read_storage_class(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the StorageClass (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - :return: V1Status + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + :param bool export: Should this value be exported. Export strips fields that a user can not specify. + :return: V1StorageClass If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_storage_class_with_http_info(name, body, **kwargs) + return self.read_storage_class_with_http_info(name, **kwargs) else: - (data) = self.delete_storage_class_with_http_info(name, body, **kwargs) + (data) = self.read_storage_class_with_http_info(name, **kwargs) return data - def delete_storage_class_with_http_info(self, name, body, **kwargs): + def read_storage_class_with_http_info(self, name, **kwargs): """ - delete a StorageClass + 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.delete_storage_class_with_http_info(name, body, async_req=True) + >>> thread = api.read_storage_class_with_http_info(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the StorageClass (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. - :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - :return: V1Status + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + :param bool export: Should this value be exported. Export strips fields that a user can not specify. + :return: V1StorageClass If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'pretty', 'exact', 'export'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -327,16 +1465,13 @@ def delete_storage_class_with_http_info(self, name, body, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_storage_class" % key + " to method read_storage_class" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_storage_class`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_storage_class`") + raise ValueError("Missing the required parameter `name` when calling `read_storage_class`") collection_formats = {} @@ -348,14 +1483,10 @@ def delete_storage_class_with_http_info(self, name, body, **kwargs): query_params = [] if 'pretty' in params: query_params.append(('pretty', params['pretty'])) - if 'dry_run' in params: - query_params.append(('dryRun', params['dry_run'])) - if 'grace_period_seconds' in params: - query_params.append(('gracePeriodSeconds', params['grace_period_seconds'])) - if 'orphan_dependents' in params: - query_params.append(('orphanDependents', params['orphan_dependents'])) - if 'propagation_policy' in params: - query_params.append(('propagationPolicy', params['propagation_policy'])) + if 'exact' in params: + query_params.append(('exact', params['exact'])) + if 'export' in params: + query_params.append(('export', params['export'])) header_params = {} @@ -363,8 +1494,6 @@ def delete_storage_class_with_http_info(self, name, body, **kwargs): local_var_files = {} body_params = None - if 'body' in params: - body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) @@ -376,14 +1505,14 @@ def delete_storage_class_with_http_info(self, name, body, **kwargs): # Authentication setting auth_settings = ['BearerToken'] - return self.api_client.call_api('/apis/storage.k8s.io/v1/storageclasses/{name}', 'DELETE', + return self.api_client.call_api('/apis/storage.k8s.io/v1/storageclasses/{name}', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1Status', + response_type='V1StorageClass', auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), @@ -391,41 +1520,49 @@ def delete_storage_class_with_http_info(self, name, body, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def get_api_resources(self, **kwargs): + def read_volume_attachment(self, name, **kwargs): """ - get available resources + read 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.get_api_resources(async_req=True) + >>> thread = api.read_volume_attachment(name, async_req=True) >>> result = thread.get() :param async_req bool - :return: V1APIResourceList + :param str name: name of the VolumeAttachment (required) + :param str pretty: If 'true', then the output is pretty printed. + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + :param bool export: Should this value be exported. Export strips fields that a user can not specify. + :return: V1VolumeAttachment If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.get_api_resources_with_http_info(**kwargs) + return self.read_volume_attachment_with_http_info(name, **kwargs) else: - (data) = self.get_api_resources_with_http_info(**kwargs) + (data) = self.read_volume_attachment_with_http_info(name, **kwargs) return data - def get_api_resources_with_http_info(self, **kwargs): + def read_volume_attachment_with_http_info(self, name, **kwargs): """ - get available resources + read 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.get_api_resources_with_http_info(async_req=True) + >>> thread = api.read_volume_attachment_with_http_info(name, async_req=True) >>> result = thread.get() :param async_req bool - :return: V1APIResourceList + :param str name: name of the VolumeAttachment (required) + :param str pretty: If 'true', then the output is pretty printed. + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + :param bool export: Should this value be exported. Export strips fields that a user can not specify. + :return: V1VolumeAttachment If the method is called asynchronously, returns the request thread. """ - all_params = [] + all_params = ['name', 'pretty', 'exact', 'export'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -436,16 +1573,28 @@ def get_api_resources_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_api_resources" % key + " to method read_volume_attachment" % key ) params[key] = val del params['kwargs'] + # verify the required parameter 'name' is set + if ('name' not in params) or (params['name'] is None): + raise ValueError("Missing the required parameter `name` when calling `read_volume_attachment`") + collection_formats = {} path_params = {} + if 'name' in params: + path_params['name'] = params['name'] query_params = [] + if 'pretty' in params: + query_params.append(('pretty', params['pretty'])) + if 'exact' in params: + query_params.append(('exact', params['exact'])) + if 'export' in params: + query_params.append(('export', params['export'])) header_params = {} @@ -459,19 +1608,19 @@ def get_api_resources_with_http_info(self, **kwargs): # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + select_header_content_type(['*/*']) # Authentication setting auth_settings = ['BearerToken'] - return self.api_client.call_api('/apis/storage.k8s.io/v1/', 'GET', + return self.api_client.call_api('/apis/storage.k8s.io/v1/volumeattachments/{name}', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1APIResourceList', + response_type='V1VolumeAttachment', auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), @@ -479,59 +1628,45 @@ def get_api_resources_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def list_storage_class(self, **kwargs): + def read_volume_attachment_status(self, name, **kwargs): """ - list or watch objects of kind StorageClass + read 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.list_storage_class(async_req=True) + >>> thread = api.read_volume_attachment_status(name, async_req=True) >>> result = thread.get() :param async_req bool - :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str name: name of the VolumeAttachment (required) :param str pretty: If 'true', then the output is pretty printed. - :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1StorageClassList + :return: V1VolumeAttachment If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.list_storage_class_with_http_info(**kwargs) + return self.read_volume_attachment_status_with_http_info(name, **kwargs) else: - (data) = self.list_storage_class_with_http_info(**kwargs) + (data) = self.read_volume_attachment_status_with_http_info(name, **kwargs) return data - def list_storage_class_with_http_info(self, **kwargs): + def read_volume_attachment_status_with_http_info(self, name, **kwargs): """ - list or watch objects of kind StorageClass + read 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.list_storage_class_with_http_info(async_req=True) + >>> thread = api.read_volume_attachment_status_with_http_info(name, async_req=True) >>> result = thread.get() :param async_req bool - :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str name: name of the VolumeAttachment (required) :param str pretty: If 'true', then the output is pretty printed. - :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1StorageClassList + :return: V1VolumeAttachment If the method is called asynchronously, returns the request thread. """ - all_params = ['include_uninitialized', 'pretty', '_continue', 'field_selector', 'label_selector', 'limit', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['name', 'pretty'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -542,35 +1677,24 @@ def list_storage_class_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method list_storage_class" % key + " to method read_volume_attachment_status" % key ) params[key] = val del params['kwargs'] + # verify the required parameter 'name' is set + if ('name' not in params) or (params['name'] is None): + raise ValueError("Missing the required parameter `name` when calling `read_volume_attachment_status`") collection_formats = {} path_params = {} + if 'name' in params: + path_params['name'] = params['name'] query_params = [] - if 'include_uninitialized' in params: - query_params.append(('includeUninitialized', params['include_uninitialized'])) if 'pretty' in params: query_params.append(('pretty', params['pretty'])) - if '_continue' in params: - query_params.append(('continue', params['_continue'])) - if 'field_selector' in params: - query_params.append(('fieldSelector', params['field_selector'])) - if 'label_selector' in params: - query_params.append(('labelSelector', params['label_selector'])) - if 'limit' in params: - query_params.append(('limit', params['limit'])) - if 'resource_version' in params: - query_params.append(('resourceVersion', params['resource_version'])) - if 'timeout_seconds' in params: - query_params.append(('timeoutSeconds', params['timeout_seconds'])) - if 'watch' in params: - query_params.append(('watch', params['watch'])) header_params = {} @@ -580,7 +1704,7 @@ def list_storage_class_with_http_info(self, **kwargs): body_params = None # HTTP header `Accept` header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -589,14 +1713,14 @@ def list_storage_class_with_http_info(self, **kwargs): # Authentication setting auth_settings = ['BearerToken'] - return self.api_client.call_api('/apis/storage.k8s.io/v1/storageclasses', 'GET', + return self.api_client.call_api('/apis/storage.k8s.io/v1/volumeattachments/{name}/status', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1StorageClassList', + response_type='V1VolumeAttachment', auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), @@ -604,17 +1728,17 @@ def list_storage_class_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def patch_storage_class(self, name, body, **kwargs): + def replace_storage_class(self, name, body, **kwargs): """ - partially update the specified StorageClass + 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.patch_storage_class(name, body, async_req=True) + >>> thread = api.replace_storage_class(name, body, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the StorageClass (required) - :param object body: (required) + :param V1StorageClass body: (required) :param str pretty: If 'true', then the output is pretty printed. :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :return: V1StorageClass @@ -623,22 +1747,22 @@ def patch_storage_class(self, name, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.patch_storage_class_with_http_info(name, body, **kwargs) + return self.replace_storage_class_with_http_info(name, body, **kwargs) else: - (data) = self.patch_storage_class_with_http_info(name, body, **kwargs) + (data) = self.replace_storage_class_with_http_info(name, body, **kwargs) return data - def patch_storage_class_with_http_info(self, name, body, **kwargs): + def replace_storage_class_with_http_info(self, name, body, **kwargs): """ - partially update the specified StorageClass + 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.patch_storage_class_with_http_info(name, body, async_req=True) + >>> thread = api.replace_storage_class_with_http_info(name, body, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the StorageClass (required) - :param object body: (required) + :param V1StorageClass body: (required) :param str pretty: If 'true', then the output is pretty printed. :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :return: V1StorageClass @@ -657,16 +1781,16 @@ def patch_storage_class_with_http_info(self, name, body, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method patch_storage_class" % key + " to method replace_storage_class" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `patch_storage_class`") + raise ValueError("Missing the required parameter `name` when calling `replace_storage_class`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `patch_storage_class`") + raise ValueError("Missing the required parameter `body` when calling `replace_storage_class`") collection_formats = {} @@ -695,12 +1819,12 @@ def patch_storage_class_with_http_info(self, name, body, **kwargs): # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) + select_header_content_type(['*/*']) # Authentication setting auth_settings = ['BearerToken'] - return self.api_client.call_api('/apis/storage.k8s.io/v1/storageclasses/{name}', 'PATCH', + return self.api_client.call_api('/apis/storage.k8s.io/v1/storageclasses/{name}', 'PUT', path_params, query_params, header_params, @@ -715,49 +1839,49 @@ def patch_storage_class_with_http_info(self, name, body, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def read_storage_class(self, name, **kwargs): + def replace_volume_attachment(self, name, body, **kwargs): """ - read the specified StorageClass + 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.read_storage_class(name, async_req=True) + >>> thread = api.replace_volume_attachment(name, body, async_req=True) >>> result = thread.get() :param async_req bool - :param str name: name of the StorageClass (required) + :param str name: name of the VolumeAttachment (required) + :param V1VolumeAttachment body: (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - :param bool export: Should this value be exported. Export strips fields that a user can not specify. - :return: V1StorageClass + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :return: V1VolumeAttachment If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.read_storage_class_with_http_info(name, **kwargs) + return self.replace_volume_attachment_with_http_info(name, body, **kwargs) else: - (data) = self.read_storage_class_with_http_info(name, **kwargs) + (data) = self.replace_volume_attachment_with_http_info(name, body, **kwargs) return data - def read_storage_class_with_http_info(self, name, **kwargs): + def replace_volume_attachment_with_http_info(self, name, body, **kwargs): """ - read the specified StorageClass + 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.read_storage_class_with_http_info(name, async_req=True) + >>> thread = api.replace_volume_attachment_with_http_info(name, body, async_req=True) >>> result = thread.get() :param async_req bool - :param str name: name of the StorageClass (required) + :param str name: name of the VolumeAttachment (required) + :param V1VolumeAttachment body: (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - :param bool export: Should this value be exported. Export strips fields that a user can not specify. - :return: V1StorageClass + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :return: V1VolumeAttachment If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'pretty', 'exact', 'export'] + all_params = ['name', 'body', 'pretty', 'dry_run'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -768,13 +1892,16 @@ def read_storage_class_with_http_info(self, name, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method read_storage_class" % key + " to method replace_volume_attachment" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_storage_class`") + raise ValueError("Missing the required parameter `name` when calling `replace_volume_attachment`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `replace_volume_attachment`") collection_formats = {} @@ -786,10 +1913,8 @@ def read_storage_class_with_http_info(self, name, **kwargs): query_params = [] if 'pretty' in params: query_params.append(('pretty', params['pretty'])) - if 'exact' in params: - query_params.append(('exact', params['exact'])) - if 'export' in params: - query_params.append(('export', params['export'])) + if 'dry_run' in params: + query_params.append(('dryRun', params['dry_run'])) header_params = {} @@ -797,6 +1922,8 @@ def read_storage_class_with_http_info(self, name, **kwargs): local_var_files = {} body_params = None + if 'body' in params: + body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) @@ -808,14 +1935,14 @@ def read_storage_class_with_http_info(self, name, **kwargs): # Authentication setting auth_settings = ['BearerToken'] - return self.api_client.call_api('/apis/storage.k8s.io/v1/storageclasses/{name}', 'GET', + return self.api_client.call_api('/apis/storage.k8s.io/v1/volumeattachments/{name}', 'PUT', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1StorageClass', + response_type='V1VolumeAttachment', auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), @@ -823,44 +1950,44 @@ def read_storage_class_with_http_info(self, name, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def replace_storage_class(self, name, body, **kwargs): + def replace_volume_attachment_status(self, name, body, **kwargs): """ - replace the specified StorageClass + replace 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.replace_storage_class(name, body, async_req=True) + >>> thread = api.replace_volume_attachment_status(name, body, async_req=True) >>> result = thread.get() :param async_req bool - :param str name: name of the StorageClass (required) - :param V1StorageClass body: (required) + :param str name: name of the VolumeAttachment (required) + :param V1VolumeAttachment body: (required) :param str pretty: If 'true', then the output is pretty printed. :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :return: V1StorageClass + :return: V1VolumeAttachment If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.replace_storage_class_with_http_info(name, body, **kwargs) + return self.replace_volume_attachment_status_with_http_info(name, body, **kwargs) else: - (data) = self.replace_storage_class_with_http_info(name, body, **kwargs) + (data) = self.replace_volume_attachment_status_with_http_info(name, body, **kwargs) return data - def replace_storage_class_with_http_info(self, name, body, **kwargs): + def replace_volume_attachment_status_with_http_info(self, name, body, **kwargs): """ - replace the specified StorageClass + replace 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.replace_storage_class_with_http_info(name, body, async_req=True) + >>> thread = api.replace_volume_attachment_status_with_http_info(name, body, async_req=True) >>> result = thread.get() :param async_req bool - :param str name: name of the StorageClass (required) - :param V1StorageClass body: (required) + :param str name: name of the VolumeAttachment (required) + :param V1VolumeAttachment body: (required) :param str pretty: If 'true', then the output is pretty printed. :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - :return: V1StorageClass + :return: V1VolumeAttachment If the method is called asynchronously, returns the request thread. """ @@ -876,16 +2003,16 @@ def replace_storage_class_with_http_info(self, name, body, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method replace_storage_class" % key + " to method replace_volume_attachment_status" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `replace_storage_class`") + raise ValueError("Missing the required parameter `name` when calling `replace_volume_attachment_status`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `replace_storage_class`") + raise ValueError("Missing the required parameter `body` when calling `replace_volume_attachment_status`") collection_formats = {} @@ -919,14 +2046,14 @@ def replace_storage_class_with_http_info(self, name, body, **kwargs): # Authentication setting auth_settings = ['BearerToken'] - return self.api_client.call_api('/apis/storage.k8s.io/v1/storageclasses/{name}', 'PUT', + return self.api_client.call_api('/apis/storage.k8s.io/v1/volumeattachments/{name}/status', 'PUT', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1StorageClass', + response_type='V1VolumeAttachment', auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), diff --git a/kubernetes/client/apis/storage_v1alpha1_api.py b/kubernetes/client/apis/storage_v1alpha1_api.py index e013c79487..326c8eae52 100644 --- a/kubernetes/client/apis/storage_v1alpha1_api.py +++ b/kubernetes/client/apis/storage_v1alpha1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -268,18 +268,18 @@ def delete_collection_volume_attachment_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_volume_attachment(self, name, body, **kwargs): + def delete_volume_attachment(self, name, **kwargs): """ delete a VolumeAttachment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_volume_attachment(name, body, async_req=True) + >>> thread = api.delete_volume_attachment(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the VolumeAttachment (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -290,23 +290,23 @@ def delete_volume_attachment(self, name, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_volume_attachment_with_http_info(name, body, **kwargs) + return self.delete_volume_attachment_with_http_info(name, **kwargs) else: - (data) = self.delete_volume_attachment_with_http_info(name, body, **kwargs) + (data) = self.delete_volume_attachment_with_http_info(name, **kwargs) return data - def delete_volume_attachment_with_http_info(self, name, body, **kwargs): + def delete_volume_attachment_with_http_info(self, name, **kwargs): """ delete a VolumeAttachment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_volume_attachment_with_http_info(name, body, async_req=True) + >>> thread = api.delete_volume_attachment_with_http_info(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the VolumeAttachment (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -316,7 +316,7 @@ def delete_volume_attachment_with_http_info(self, name, body, **kwargs): returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -334,9 +334,6 @@ def delete_volume_attachment_with_http_info(self, name, body, **kwargs): # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): raise ValueError("Missing the required parameter `name` when calling `delete_volume_attachment`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_volume_attachment`") collection_formats = {} diff --git a/kubernetes/client/apis/storage_v1beta1_api.py b/kubernetes/client/apis/storage_v1beta1_api.py index 3e88534ea4..4219201c20 100644 --- a/kubernetes/client/apis/storage_v1beta1_api.py +++ b/kubernetes/client/apis/storage_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -501,18 +501,18 @@ def delete_collection_volume_attachment_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_storage_class(self, name, body, **kwargs): + def delete_storage_class(self, name, **kwargs): """ delete a StorageClass This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_storage_class(name, body, async_req=True) + >>> thread = api.delete_storage_class(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the StorageClass (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -523,23 +523,23 @@ def delete_storage_class(self, name, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_storage_class_with_http_info(name, body, **kwargs) + return self.delete_storage_class_with_http_info(name, **kwargs) else: - (data) = self.delete_storage_class_with_http_info(name, body, **kwargs) + (data) = self.delete_storage_class_with_http_info(name, **kwargs) return data - def delete_storage_class_with_http_info(self, name, body, **kwargs): + def delete_storage_class_with_http_info(self, name, **kwargs): """ delete a StorageClass This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_storage_class_with_http_info(name, body, async_req=True) + >>> thread = api.delete_storage_class_with_http_info(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the StorageClass (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -549,7 +549,7 @@ def delete_storage_class_with_http_info(self, name, body, **kwargs): returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -567,9 +567,6 @@ def delete_storage_class_with_http_info(self, name, body, **kwargs): # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): raise ValueError("Missing the required parameter `name` when calling `delete_storage_class`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_storage_class`") collection_formats = {} @@ -624,18 +621,18 @@ def delete_storage_class_with_http_info(self, name, body, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_volume_attachment(self, name, body, **kwargs): + def delete_volume_attachment(self, name, **kwargs): """ delete a VolumeAttachment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_volume_attachment(name, body, async_req=True) + >>> thread = api.delete_volume_attachment(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the VolumeAttachment (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -646,23 +643,23 @@ def delete_volume_attachment(self, name, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.delete_volume_attachment_with_http_info(name, body, **kwargs) + return self.delete_volume_attachment_with_http_info(name, **kwargs) else: - (data) = self.delete_volume_attachment_with_http_info(name, body, **kwargs) + (data) = self.delete_volume_attachment_with_http_info(name, **kwargs) return data - def delete_volume_attachment_with_http_info(self, name, body, **kwargs): + def delete_volume_attachment_with_http_info(self, name, **kwargs): """ delete a VolumeAttachment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_volume_attachment_with_http_info(name, body, async_req=True) + >>> thread = api.delete_volume_attachment_with_http_info(name, async_req=True) >>> result = thread.get() :param async_req bool :param str name: name of the VolumeAttachment (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. + :param V1DeleteOptions body: :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -672,7 +669,7 @@ def delete_volume_attachment_with_http_info(self, name, body, **kwargs): returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params = ['name', 'pretty', 'body', 'dry_run', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -690,9 +687,6 @@ def delete_volume_attachment_with_http_info(self, name, body, **kwargs): # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): raise ValueError("Missing the required parameter `name` when calling `delete_volume_attachment`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_volume_attachment`") collection_formats = {} diff --git a/kubernetes/client/apis/version_api.py b/kubernetes/client/apis/version_api.py index 3d2a3996b7..b96bb1574e 100644 --- a/kubernetes/client/apis/version_api.py +++ b/kubernetes/client/apis/version_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/configuration.py b/kubernetes/client/configuration.py index ffed1fd579..7f984825af 100644 --- a/kubernetes/client/configuration.py +++ b/kubernetes/client/configuration.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -239,6 +239,6 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: v1.12.2\n"\ - "SDK Package Version: 8.0.0-snapshot".\ + "Version of the API: v1.13.1\n"\ + "SDK Package Version: 9.0.0-snapshot".\ format(env=sys.platform, pyversion=sys.version) diff --git a/kubernetes/client/models/__init__.py b/kubernetes/client/models/__init__.py index e7eee3a388..fb4d4d044f 100644 --- a/kubernetes/client/models/__init__.py +++ b/kubernetes/client/models/__init__.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -15,6 +15,9 @@ # import models into model package from .admissionregistration_v1beta1_service_reference import AdmissionregistrationV1beta1ServiceReference +from .admissionregistration_v1beta1_webhook_client_config import AdmissionregistrationV1beta1WebhookClientConfig +from .apiextensions_v1beta1_service_reference import ApiextensionsV1beta1ServiceReference +from .apiextensions_v1beta1_webhook_client_config import ApiextensionsV1beta1WebhookClientConfig from .apiregistration_v1beta1_service_reference import ApiregistrationV1beta1ServiceReference from .apps_v1beta1_deployment import AppsV1beta1Deployment from .apps_v1beta1_deployment_condition import AppsV1beta1DeploymentCondition @@ -45,6 +48,7 @@ from .extensions_v1beta1_pod_security_policy_spec import ExtensionsV1beta1PodSecurityPolicySpec from .extensions_v1beta1_rollback_config import ExtensionsV1beta1RollbackConfig from .extensions_v1beta1_rolling_update_deployment import ExtensionsV1beta1RollingUpdateDeployment +from .extensions_v1beta1_run_as_group_strategy_options import ExtensionsV1beta1RunAsGroupStrategyOptions from .extensions_v1beta1_run_as_user_strategy_options import ExtensionsV1beta1RunAsUserStrategyOptions from .extensions_v1beta1_se_linux_strategy_options import ExtensionsV1beta1SELinuxStrategyOptions from .extensions_v1beta1_scale import ExtensionsV1beta1Scale @@ -59,6 +63,7 @@ from .policy_v1beta1_pod_security_policy import PolicyV1beta1PodSecurityPolicy from .policy_v1beta1_pod_security_policy_list import PolicyV1beta1PodSecurityPolicyList from .policy_v1beta1_pod_security_policy_spec import PolicyV1beta1PodSecurityPolicySpec +from .policy_v1beta1_run_as_group_strategy_options import PolicyV1beta1RunAsGroupStrategyOptions from .policy_v1beta1_run_as_user_strategy_options import PolicyV1beta1RunAsUserStrategyOptions from .policy_v1beta1_se_linux_strategy_options import PolicyV1beta1SELinuxStrategyOptions from .policy_v1beta1_supplemental_groups_strategy_options import PolicyV1beta1SupplementalGroupsStrategyOptions @@ -150,6 +155,7 @@ from .v1_flocker_volume_source import V1FlockerVolumeSource from .v1_gce_persistent_disk_volume_source import V1GCEPersistentDiskVolumeSource from .v1_git_repo_volume_source import V1GitRepoVolumeSource +from .v1_glusterfs_persistent_volume_source import V1GlusterfsPersistentVolumeSource from .v1_glusterfs_volume_source import V1GlusterfsVolumeSource from .v1_group_version_for_discovery import V1GroupVersionForDiscovery from .v1_http_get_action import V1HTTPGetAction @@ -339,7 +345,13 @@ from .v1_typed_local_object_reference import V1TypedLocalObjectReference from .v1_user_info import V1UserInfo from .v1_volume import V1Volume +from .v1_volume_attachment import V1VolumeAttachment +from .v1_volume_attachment_list import V1VolumeAttachmentList +from .v1_volume_attachment_source import V1VolumeAttachmentSource +from .v1_volume_attachment_spec import V1VolumeAttachmentSpec +from .v1_volume_attachment_status import V1VolumeAttachmentStatus from .v1_volume_device import V1VolumeDevice +from .v1_volume_error import V1VolumeError from .v1_volume_mount import V1VolumeMount from .v1_volume_node_affinity import V1VolumeNodeAffinity from .v1_volume_projection import V1VolumeProjection @@ -347,6 +359,9 @@ from .v1_watch_event import V1WatchEvent from .v1_weighted_pod_affinity_term import V1WeightedPodAffinityTerm from .v1alpha1_aggregation_rule import V1alpha1AggregationRule +from .v1alpha1_audit_sink import V1alpha1AuditSink +from .v1alpha1_audit_sink_list import V1alpha1AuditSinkList +from .v1alpha1_audit_sink_spec import V1alpha1AuditSinkSpec from .v1alpha1_cluster_role import V1alpha1ClusterRole from .v1alpha1_cluster_role_binding import V1alpha1ClusterRoleBinding from .v1alpha1_cluster_role_binding_list import V1alpha1ClusterRoleBindingList @@ -357,6 +372,7 @@ from .v1alpha1_pod_preset import V1alpha1PodPreset from .v1alpha1_pod_preset_list import V1alpha1PodPresetList from .v1alpha1_pod_preset_spec import V1alpha1PodPresetSpec +from .v1alpha1_policy import V1alpha1Policy from .v1alpha1_policy_rule import V1alpha1PolicyRule from .v1alpha1_priority_class import V1alpha1PriorityClass from .v1alpha1_priority_class_list import V1alpha1PriorityClassList @@ -366,6 +382,7 @@ from .v1alpha1_role_list import V1alpha1RoleList from .v1alpha1_role_ref import V1alpha1RoleRef from .v1alpha1_rule import V1alpha1Rule +from .v1alpha1_service_reference import V1alpha1ServiceReference from .v1alpha1_subject import V1alpha1Subject from .v1alpha1_volume_attachment import V1alpha1VolumeAttachment from .v1alpha1_volume_attachment_list import V1alpha1VolumeAttachmentList @@ -373,6 +390,9 @@ from .v1alpha1_volume_attachment_spec import V1alpha1VolumeAttachmentSpec from .v1alpha1_volume_attachment_status import V1alpha1VolumeAttachmentStatus from .v1alpha1_volume_error import V1alpha1VolumeError +from .v1alpha1_webhook import V1alpha1Webhook +from .v1alpha1_webhook_client_config import V1alpha1WebhookClientConfig +from .v1alpha1_webhook_throttle_config import V1alpha1WebhookThrottleConfig from .v1beta1_api_service import V1beta1APIService from .v1beta1_api_service_condition import V1beta1APIServiceCondition from .v1beta1_api_service_list import V1beta1APIServiceList @@ -395,6 +415,7 @@ from .v1beta1_cron_job_spec import V1beta1CronJobSpec from .v1beta1_cron_job_status import V1beta1CronJobStatus from .v1beta1_custom_resource_column_definition import V1beta1CustomResourceColumnDefinition +from .v1beta1_custom_resource_conversion import V1beta1CustomResourceConversion from .v1beta1_custom_resource_definition import V1beta1CustomResourceDefinition from .v1beta1_custom_resource_definition_condition import V1beta1CustomResourceDefinitionCondition from .v1beta1_custom_resource_definition_list import V1beta1CustomResourceDefinitionList @@ -495,7 +516,6 @@ from .v1beta1_volume_attachment_status import V1beta1VolumeAttachmentStatus from .v1beta1_volume_error import V1beta1VolumeError from .v1beta1_webhook import V1beta1Webhook -from .v1beta1_webhook_client_config import V1beta1WebhookClientConfig from .v1beta2_controller_revision import V1beta2ControllerRevision from .v1beta2_controller_revision_list import V1beta2ControllerRevisionList from .v1beta2_daemon_set import V1beta2DaemonSet diff --git a/kubernetes/client/models/admissionregistration_v1beta1_service_reference.py b/kubernetes/client/models/admissionregistration_v1beta1_service_reference.py index 6f4020c4db..1509dc7e01 100644 --- a/kubernetes/client/models/admissionregistration_v1beta1_service_reference.py +++ b/kubernetes/client/models/admissionregistration_v1beta1_service_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_webhook_client_config.py b/kubernetes/client/models/admissionregistration_v1beta1_webhook_client_config.py similarity index 54% rename from kubernetes/client/models/v1beta1_webhook_client_config.py rename to kubernetes/client/models/admissionregistration_v1beta1_webhook_client_config.py index ad5e20baad..0cad222c57 100644 --- a/kubernetes/client/models/v1beta1_webhook_client_config.py +++ b/kubernetes/client/models/admissionregistration_v1beta1_webhook_client_config.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -16,7 +16,7 @@ import re -class V1beta1WebhookClientConfig(object): +class AdmissionregistrationV1beta1WebhookClientConfig(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -44,7 +44,7 @@ class V1beta1WebhookClientConfig(object): def __init__(self, ca_bundle=None, service=None, url=None): """ - V1beta1WebhookClientConfig - a model defined in Swagger + AdmissionregistrationV1beta1WebhookClientConfig - a model defined in Swagger """ self._ca_bundle = None @@ -52,7 +52,8 @@ def __init__(self, ca_bundle=None, service=None, url=None): self._url = None self.discriminator = None - self.ca_bundle = ca_bundle + if ca_bundle is not None: + self.ca_bundle = ca_bundle if service is not None: self.service = service if url is not None: @@ -61,10 +62,10 @@ def __init__(self, ca_bundle=None, service=None, url=None): @property def ca_bundle(self): """ - Gets the ca_bundle of this V1beta1WebhookClientConfig. - `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. Required. + Gets the ca_bundle of this AdmissionregistrationV1beta1WebhookClientConfig. + `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used. - :return: The ca_bundle of this V1beta1WebhookClientConfig. + :return: The ca_bundle of this AdmissionregistrationV1beta1WebhookClientConfig. :rtype: str """ return self._ca_bundle @@ -72,14 +73,12 @@ def ca_bundle(self): @ca_bundle.setter def ca_bundle(self, ca_bundle): """ - Sets the ca_bundle of this V1beta1WebhookClientConfig. - `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. Required. + Sets the ca_bundle of this AdmissionregistrationV1beta1WebhookClientConfig. + `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used. - :param ca_bundle: The ca_bundle of this V1beta1WebhookClientConfig. + :param ca_bundle: The ca_bundle of this AdmissionregistrationV1beta1WebhookClientConfig. :type: str """ - if ca_bundle is None: - raise ValueError("Invalid value for `ca_bundle`, must not be `None`") if ca_bundle is not None and not re.search('^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$', ca_bundle): raise ValueError("Invalid value for `ca_bundle`, must be a follow pattern or equal to `/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/`") @@ -88,10 +87,10 @@ def ca_bundle(self, ca_bundle): @property def service(self): """ - Gets the service of this V1beta1WebhookClientConfig. + Gets the service of this AdmissionregistrationV1beta1WebhookClientConfig. `service` is a reference to the service for this webhook. Either `service` or `url` must be specified. If the webhook is running within the cluster, then you should use `service`. Port 443 will be used if it is open, otherwise it is an error. - :return: The service of this V1beta1WebhookClientConfig. + :return: The service of this AdmissionregistrationV1beta1WebhookClientConfig. :rtype: AdmissionregistrationV1beta1ServiceReference """ return self._service @@ -99,10 +98,10 @@ def service(self): @service.setter def service(self, service): """ - Sets the service of this V1beta1WebhookClientConfig. + Sets the service of this AdmissionregistrationV1beta1WebhookClientConfig. `service` is a reference to the service for this webhook. Either `service` or `url` must be specified. If the webhook is running within the cluster, then you should use `service`. Port 443 will be used if it is open, otherwise it is an error. - :param service: The service of this V1beta1WebhookClientConfig. + :param service: The service of this AdmissionregistrationV1beta1WebhookClientConfig. :type: AdmissionregistrationV1beta1ServiceReference """ @@ -111,10 +110,10 @@ def service(self, service): @property def url(self): """ - Gets the url of this V1beta1WebhookClientConfig. - `url` gives the location of the webhook, in standard URL form (`[scheme://]host:port/path`). Exactly one of `url` or `service` must be specified. The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address. Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster. The scheme must be \"https\"; the URL must begin with \"https://\". A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either. + Gets the url of this AdmissionregistrationV1beta1WebhookClientConfig. + `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified. The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address. Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster. The scheme must be \"https\"; the URL must begin with \"https://\". A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either. - :return: The url of this V1beta1WebhookClientConfig. + :return: The url of this AdmissionregistrationV1beta1WebhookClientConfig. :rtype: str """ return self._url @@ -122,10 +121,10 @@ def url(self): @url.setter def url(self, url): """ - Sets the url of this V1beta1WebhookClientConfig. - `url` gives the location of the webhook, in standard URL form (`[scheme://]host:port/path`). Exactly one of `url` or `service` must be specified. The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address. Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster. The scheme must be \"https\"; the URL must begin with \"https://\". A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either. + Sets the url of this AdmissionregistrationV1beta1WebhookClientConfig. + `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified. The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address. Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster. The scheme must be \"https\"; the URL must begin with \"https://\". A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either. - :param url: The url of this V1beta1WebhookClientConfig. + :param url: The url of this AdmissionregistrationV1beta1WebhookClientConfig. :type: str """ @@ -173,7 +172,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, V1beta1WebhookClientConfig): + if not isinstance(other, AdmissionregistrationV1beta1WebhookClientConfig): return False return self.__dict__ == other.__dict__ diff --git a/kubernetes/client/models/apiextensions_v1beta1_service_reference.py b/kubernetes/client/models/apiextensions_v1beta1_service_reference.py new file mode 100644 index 0000000000..b1de2da17b --- /dev/null +++ b/kubernetes/client/models/apiextensions_v1beta1_service_reference.py @@ -0,0 +1,184 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.13.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class ApiextensionsV1beta1ServiceReference(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'name': 'str', + 'namespace': 'str', + 'path': 'str' + } + + attribute_map = { + 'name': 'name', + 'namespace': 'namespace', + 'path': 'path' + } + + def __init__(self, name=None, namespace=None, path=None): + """ + ApiextensionsV1beta1ServiceReference - a model defined in Swagger + """ + + self._name = None + self._namespace = None + self._path = None + self.discriminator = None + + self.name = name + self.namespace = namespace + if path is not None: + self.path = path + + @property + def name(self): + """ + Gets the name of this ApiextensionsV1beta1ServiceReference. + `name` is the name of the service. Required + + :return: The name of this ApiextensionsV1beta1ServiceReference. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """ + Sets the name of this ApiextensionsV1beta1ServiceReference. + `name` is the name of the service. Required + + :param name: The name of this ApiextensionsV1beta1ServiceReference. + :type: str + """ + if name is None: + raise ValueError("Invalid value for `name`, must not be `None`") + + self._name = name + + @property + def namespace(self): + """ + Gets the namespace of this ApiextensionsV1beta1ServiceReference. + `namespace` is the namespace of the service. Required + + :return: The namespace of this ApiextensionsV1beta1ServiceReference. + :rtype: str + """ + return self._namespace + + @namespace.setter + def namespace(self, namespace): + """ + Sets the namespace of this ApiextensionsV1beta1ServiceReference. + `namespace` is the namespace of the service. Required + + :param namespace: The namespace of this ApiextensionsV1beta1ServiceReference. + :type: str + """ + if namespace is None: + raise ValueError("Invalid value for `namespace`, must not be `None`") + + self._namespace = namespace + + @property + def path(self): + """ + Gets the path of this ApiextensionsV1beta1ServiceReference. + `path` is an optional URL path which will be sent in any request to this service. + + :return: The path of this ApiextensionsV1beta1ServiceReference. + :rtype: str + """ + return self._path + + @path.setter + def path(self, path): + """ + Sets the path of this ApiextensionsV1beta1ServiceReference. + `path` is an optional URL path which will be sent in any request to this service. + + :param path: The path of this ApiextensionsV1beta1ServiceReference. + :type: str + """ + + self._path = path + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, ApiextensionsV1beta1ServiceReference): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/apiextensions_v1beta1_webhook_client_config.py b/kubernetes/client/models/apiextensions_v1beta1_webhook_client_config.py new file mode 100644 index 0000000000..6beccfa5ef --- /dev/null +++ b/kubernetes/client/models/apiextensions_v1beta1_webhook_client_config.py @@ -0,0 +1,184 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.13.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class ApiextensionsV1beta1WebhookClientConfig(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'ca_bundle': 'str', + 'service': 'ApiextensionsV1beta1ServiceReference', + 'url': 'str' + } + + attribute_map = { + 'ca_bundle': 'caBundle', + 'service': 'service', + 'url': 'url' + } + + def __init__(self, ca_bundle=None, service=None, url=None): + """ + ApiextensionsV1beta1WebhookClientConfig - a model defined in Swagger + """ + + self._ca_bundle = None + self._service = None + self._url = None + self.discriminator = None + + if ca_bundle is not None: + self.ca_bundle = ca_bundle + if service is not None: + self.service = service + if url is not None: + self.url = url + + @property + def ca_bundle(self): + """ + Gets the ca_bundle of this ApiextensionsV1beta1WebhookClientConfig. + `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used. + + :return: The ca_bundle of this ApiextensionsV1beta1WebhookClientConfig. + :rtype: str + """ + return self._ca_bundle + + @ca_bundle.setter + def ca_bundle(self, ca_bundle): + """ + Sets the ca_bundle of this ApiextensionsV1beta1WebhookClientConfig. + `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used. + + :param ca_bundle: The ca_bundle of this ApiextensionsV1beta1WebhookClientConfig. + :type: str + """ + if ca_bundle is not None and not re.search('^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$', ca_bundle): + raise ValueError("Invalid value for `ca_bundle`, must be a follow pattern or equal to `/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/`") + + self._ca_bundle = ca_bundle + + @property + def service(self): + """ + Gets the service of this ApiextensionsV1beta1WebhookClientConfig. + `service` is a reference to the service for this webhook. Either `service` or `url` must be specified. If the webhook is running within the cluster, then you should use `service`. Port 443 will be used if it is open, otherwise it is an error. + + :return: The service of this ApiextensionsV1beta1WebhookClientConfig. + :rtype: ApiextensionsV1beta1ServiceReference + """ + return self._service + + @service.setter + def service(self, service): + """ + Sets the service of this ApiextensionsV1beta1WebhookClientConfig. + `service` is a reference to the service for this webhook. Either `service` or `url` must be specified. If the webhook is running within the cluster, then you should use `service`. Port 443 will be used if it is open, otherwise it is an error. + + :param service: The service of this ApiextensionsV1beta1WebhookClientConfig. + :type: ApiextensionsV1beta1ServiceReference + """ + + self._service = service + + @property + def url(self): + """ + Gets the url of this ApiextensionsV1beta1WebhookClientConfig. + `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified. The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address. Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster. The scheme must be \"https\"; the URL must begin with \"https://\". A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either. + + :return: The url of this ApiextensionsV1beta1WebhookClientConfig. + :rtype: str + """ + return self._url + + @url.setter + def url(self, url): + """ + Sets the url of this ApiextensionsV1beta1WebhookClientConfig. + `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified. The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address. Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster. The scheme must be \"https\"; the URL must begin with \"https://\". A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either. + + :param url: The url of this ApiextensionsV1beta1WebhookClientConfig. + :type: str + """ + + self._url = url + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, ApiextensionsV1beta1WebhookClientConfig): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/apiregistration_v1beta1_service_reference.py b/kubernetes/client/models/apiregistration_v1beta1_service_reference.py index 0a994bf2e5..5514071058 100644 --- a/kubernetes/client/models/apiregistration_v1beta1_service_reference.py +++ b/kubernetes/client/models/apiregistration_v1beta1_service_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/apps_v1beta1_deployment.py b/kubernetes/client/models/apps_v1beta1_deployment.py index 27fdaf6083..c98cfa2b6b 100644 --- a/kubernetes/client/models/apps_v1beta1_deployment.py +++ b/kubernetes/client/models/apps_v1beta1_deployment.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/apps_v1beta1_deployment_condition.py b/kubernetes/client/models/apps_v1beta1_deployment_condition.py index dd92437c1c..16dca16239 100644 --- a/kubernetes/client/models/apps_v1beta1_deployment_condition.py +++ b/kubernetes/client/models/apps_v1beta1_deployment_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/apps_v1beta1_deployment_list.py b/kubernetes/client/models/apps_v1beta1_deployment_list.py index ed6f0fc784..acd17f1cbd 100644 --- a/kubernetes/client/models/apps_v1beta1_deployment_list.py +++ b/kubernetes/client/models/apps_v1beta1_deployment_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/apps_v1beta1_deployment_rollback.py b/kubernetes/client/models/apps_v1beta1_deployment_rollback.py index 67bcc9b795..5cdd0892eb 100644 --- a/kubernetes/client/models/apps_v1beta1_deployment_rollback.py +++ b/kubernetes/client/models/apps_v1beta1_deployment_rollback.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/apps_v1beta1_deployment_spec.py b/kubernetes/client/models/apps_v1beta1_deployment_spec.py index bbce3427ed..2a71339645 100644 --- a/kubernetes/client/models/apps_v1beta1_deployment_spec.py +++ b/kubernetes/client/models/apps_v1beta1_deployment_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/apps_v1beta1_deployment_status.py b/kubernetes/client/models/apps_v1beta1_deployment_status.py index 8351710a0a..515680aa99 100644 --- a/kubernetes/client/models/apps_v1beta1_deployment_status.py +++ b/kubernetes/client/models/apps_v1beta1_deployment_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/apps_v1beta1_deployment_strategy.py b/kubernetes/client/models/apps_v1beta1_deployment_strategy.py index 5b7f2616e4..78e3e382fc 100644 --- a/kubernetes/client/models/apps_v1beta1_deployment_strategy.py +++ b/kubernetes/client/models/apps_v1beta1_deployment_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/apps_v1beta1_rollback_config.py b/kubernetes/client/models/apps_v1beta1_rollback_config.py index 43df538265..6e9b9ce5e0 100644 --- a/kubernetes/client/models/apps_v1beta1_rollback_config.py +++ b/kubernetes/client/models/apps_v1beta1_rollback_config.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/apps_v1beta1_rolling_update_deployment.py b/kubernetes/client/models/apps_v1beta1_rolling_update_deployment.py index f4234ba1e8..559285ce8a 100644 --- a/kubernetes/client/models/apps_v1beta1_rolling_update_deployment.py +++ b/kubernetes/client/models/apps_v1beta1_rolling_update_deployment.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/apps_v1beta1_scale.py b/kubernetes/client/models/apps_v1beta1_scale.py index 2c200eb983..a3f956da07 100644 --- a/kubernetes/client/models/apps_v1beta1_scale.py +++ b/kubernetes/client/models/apps_v1beta1_scale.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/apps_v1beta1_scale_spec.py b/kubernetes/client/models/apps_v1beta1_scale_spec.py index 4fe11d84b8..898a2148fd 100644 --- a/kubernetes/client/models/apps_v1beta1_scale_spec.py +++ b/kubernetes/client/models/apps_v1beta1_scale_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/apps_v1beta1_scale_status.py b/kubernetes/client/models/apps_v1beta1_scale_status.py index d2e740c08f..1cb072f96d 100644 --- a/kubernetes/client/models/apps_v1beta1_scale_status.py +++ b/kubernetes/client/models/apps_v1beta1_scale_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/extensions_v1beta1_allowed_flex_volume.py b/kubernetes/client/models/extensions_v1beta1_allowed_flex_volume.py index 2438530be6..54f09eb097 100644 --- a/kubernetes/client/models/extensions_v1beta1_allowed_flex_volume.py +++ b/kubernetes/client/models/extensions_v1beta1_allowed_flex_volume.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/extensions_v1beta1_allowed_host_path.py b/kubernetes/client/models/extensions_v1beta1_allowed_host_path.py index 226c905d78..66bde4deca 100644 --- a/kubernetes/client/models/extensions_v1beta1_allowed_host_path.py +++ b/kubernetes/client/models/extensions_v1beta1_allowed_host_path.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/extensions_v1beta1_deployment.py b/kubernetes/client/models/extensions_v1beta1_deployment.py index 095abe152d..c4b8429a2f 100644 --- a/kubernetes/client/models/extensions_v1beta1_deployment.py +++ b/kubernetes/client/models/extensions_v1beta1_deployment.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/extensions_v1beta1_deployment_condition.py b/kubernetes/client/models/extensions_v1beta1_deployment_condition.py index ff1d41fba1..d089048a1e 100644 --- a/kubernetes/client/models/extensions_v1beta1_deployment_condition.py +++ b/kubernetes/client/models/extensions_v1beta1_deployment_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/extensions_v1beta1_deployment_list.py b/kubernetes/client/models/extensions_v1beta1_deployment_list.py index 5df36bf7b8..5f5ff5fe98 100644 --- a/kubernetes/client/models/extensions_v1beta1_deployment_list.py +++ b/kubernetes/client/models/extensions_v1beta1_deployment_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/extensions_v1beta1_deployment_rollback.py b/kubernetes/client/models/extensions_v1beta1_deployment_rollback.py index 67abce0629..81e4b32d4a 100644 --- a/kubernetes/client/models/extensions_v1beta1_deployment_rollback.py +++ b/kubernetes/client/models/extensions_v1beta1_deployment_rollback.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/extensions_v1beta1_deployment_spec.py b/kubernetes/client/models/extensions_v1beta1_deployment_spec.py index d88ad82c0a..6900153e7f 100644 --- a/kubernetes/client/models/extensions_v1beta1_deployment_spec.py +++ b/kubernetes/client/models/extensions_v1beta1_deployment_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -184,7 +184,7 @@ def replicas(self, replicas): def revision_history_limit(self): """ Gets the revision_history_limit of this ExtensionsV1beta1DeploymentSpec. - The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. + The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"retaining all old RelicaSets\". :return: The revision_history_limit of this ExtensionsV1beta1DeploymentSpec. :rtype: int @@ -195,7 +195,7 @@ def revision_history_limit(self): def revision_history_limit(self, revision_history_limit): """ Sets the revision_history_limit of this ExtensionsV1beta1DeploymentSpec. - The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. + The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"retaining all old RelicaSets\". :param revision_history_limit: The revision_history_limit of this ExtensionsV1beta1DeploymentSpec. :type: int diff --git a/kubernetes/client/models/extensions_v1beta1_deployment_status.py b/kubernetes/client/models/extensions_v1beta1_deployment_status.py index 27c4b1782f..d96f70f7f5 100644 --- a/kubernetes/client/models/extensions_v1beta1_deployment_status.py +++ b/kubernetes/client/models/extensions_v1beta1_deployment_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/extensions_v1beta1_deployment_strategy.py b/kubernetes/client/models/extensions_v1beta1_deployment_strategy.py index d91bc4a5ee..b1c9527118 100644 --- a/kubernetes/client/models/extensions_v1beta1_deployment_strategy.py +++ b/kubernetes/client/models/extensions_v1beta1_deployment_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/extensions_v1beta1_fs_group_strategy_options.py b/kubernetes/client/models/extensions_v1beta1_fs_group_strategy_options.py index caadde57f0..8aafe56f3d 100644 --- a/kubernetes/client/models/extensions_v1beta1_fs_group_strategy_options.py +++ b/kubernetes/client/models/extensions_v1beta1_fs_group_strategy_options.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/extensions_v1beta1_host_port_range.py b/kubernetes/client/models/extensions_v1beta1_host_port_range.py index 1164f367e6..fb185dd66a 100644 --- a/kubernetes/client/models/extensions_v1beta1_host_port_range.py +++ b/kubernetes/client/models/extensions_v1beta1_host_port_range.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/extensions_v1beta1_id_range.py b/kubernetes/client/models/extensions_v1beta1_id_range.py index a168dd87d0..4597f710ea 100644 --- a/kubernetes/client/models/extensions_v1beta1_id_range.py +++ b/kubernetes/client/models/extensions_v1beta1_id_range.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/extensions_v1beta1_pod_security_policy.py b/kubernetes/client/models/extensions_v1beta1_pod_security_policy.py index 7e6467918a..337329625c 100644 --- a/kubernetes/client/models/extensions_v1beta1_pod_security_policy.py +++ b/kubernetes/client/models/extensions_v1beta1_pod_security_policy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/extensions_v1beta1_pod_security_policy_list.py b/kubernetes/client/models/extensions_v1beta1_pod_security_policy_list.py index 9a0fb197d4..73abaf3d3f 100644 --- a/kubernetes/client/models/extensions_v1beta1_pod_security_policy_list.py +++ b/kubernetes/client/models/extensions_v1beta1_pod_security_policy_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/extensions_v1beta1_pod_security_policy_spec.py b/kubernetes/client/models/extensions_v1beta1_pod_security_policy_spec.py index 614d606d64..402a217a14 100644 --- a/kubernetes/client/models/extensions_v1beta1_pod_security_policy_spec.py +++ b/kubernetes/client/models/extensions_v1beta1_pod_security_policy_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -48,6 +48,7 @@ class ExtensionsV1beta1PodSecurityPolicySpec(object): 'privileged': 'bool', 'read_only_root_filesystem': 'bool', 'required_drop_capabilities': 'list[str]', + 'run_as_group': 'ExtensionsV1beta1RunAsGroupStrategyOptions', 'run_as_user': 'ExtensionsV1beta1RunAsUserStrategyOptions', 'se_linux': 'ExtensionsV1beta1SELinuxStrategyOptions', 'supplemental_groups': 'ExtensionsV1beta1SupplementalGroupsStrategyOptions', @@ -72,13 +73,14 @@ class ExtensionsV1beta1PodSecurityPolicySpec(object): 'privileged': 'privileged', 'read_only_root_filesystem': 'readOnlyRootFilesystem', 'required_drop_capabilities': 'requiredDropCapabilities', + 'run_as_group': 'runAsGroup', 'run_as_user': 'runAsUser', 'se_linux': 'seLinux', 'supplemental_groups': 'supplementalGroups', 'volumes': 'volumes' } - def __init__(self, allow_privilege_escalation=None, allowed_capabilities=None, allowed_flex_volumes=None, allowed_host_paths=None, allowed_proc_mount_types=None, allowed_unsafe_sysctls=None, default_add_capabilities=None, default_allow_privilege_escalation=None, forbidden_sysctls=None, fs_group=None, host_ipc=None, host_network=None, host_pid=None, host_ports=None, privileged=None, read_only_root_filesystem=None, required_drop_capabilities=None, run_as_user=None, se_linux=None, supplemental_groups=None, volumes=None): + def __init__(self, allow_privilege_escalation=None, allowed_capabilities=None, allowed_flex_volumes=None, allowed_host_paths=None, allowed_proc_mount_types=None, allowed_unsafe_sysctls=None, default_add_capabilities=None, default_allow_privilege_escalation=None, forbidden_sysctls=None, fs_group=None, host_ipc=None, host_network=None, host_pid=None, host_ports=None, privileged=None, read_only_root_filesystem=None, required_drop_capabilities=None, run_as_group=None, run_as_user=None, se_linux=None, supplemental_groups=None, volumes=None): """ ExtensionsV1beta1PodSecurityPolicySpec - a model defined in Swagger """ @@ -100,6 +102,7 @@ def __init__(self, allow_privilege_escalation=None, allowed_capabilities=None, a self._privileged = None self._read_only_root_filesystem = None self._required_drop_capabilities = None + self._run_as_group = None self._run_as_user = None self._se_linux = None self._supplemental_groups = None @@ -139,6 +142,8 @@ def __init__(self, allow_privilege_escalation=None, allowed_capabilities=None, a self.read_only_root_filesystem = read_only_root_filesystem if required_drop_capabilities is not None: self.required_drop_capabilities = required_drop_capabilities + if run_as_group is not None: + self.run_as_group = run_as_group self.run_as_user = run_as_user self.se_linux = se_linux self.supplemental_groups = supplemental_groups @@ -538,6 +543,29 @@ def required_drop_capabilities(self, required_drop_capabilities): self._required_drop_capabilities = required_drop_capabilities + @property + def run_as_group(self): + """ + Gets the run_as_group of this ExtensionsV1beta1PodSecurityPolicySpec. + RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled. + + :return: The run_as_group of this ExtensionsV1beta1PodSecurityPolicySpec. + :rtype: ExtensionsV1beta1RunAsGroupStrategyOptions + """ + return self._run_as_group + + @run_as_group.setter + def run_as_group(self, run_as_group): + """ + Sets the run_as_group of this ExtensionsV1beta1PodSecurityPolicySpec. + RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled. + + :param run_as_group: The run_as_group of this ExtensionsV1beta1PodSecurityPolicySpec. + :type: ExtensionsV1beta1RunAsGroupStrategyOptions + """ + + self._run_as_group = run_as_group + @property def run_as_user(self): """ diff --git a/kubernetes/client/models/extensions_v1beta1_rollback_config.py b/kubernetes/client/models/extensions_v1beta1_rollback_config.py index d8130078c7..ece0e49216 100644 --- a/kubernetes/client/models/extensions_v1beta1_rollback_config.py +++ b/kubernetes/client/models/extensions_v1beta1_rollback_config.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/extensions_v1beta1_rolling_update_deployment.py b/kubernetes/client/models/extensions_v1beta1_rolling_update_deployment.py index 2206ebc8c0..e1232be3cc 100644 --- a/kubernetes/client/models/extensions_v1beta1_rolling_update_deployment.py +++ b/kubernetes/client/models/extensions_v1beta1_rolling_update_deployment.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/extensions_v1beta1_run_as_group_strategy_options.py b/kubernetes/client/models/extensions_v1beta1_run_as_group_strategy_options.py new file mode 100644 index 0000000000..1f370ef3b8 --- /dev/null +++ b/kubernetes/client/models/extensions_v1beta1_run_as_group_strategy_options.py @@ -0,0 +1,155 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.13.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class ExtensionsV1beta1RunAsGroupStrategyOptions(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'ranges': 'list[ExtensionsV1beta1IDRange]', + 'rule': 'str' + } + + attribute_map = { + 'ranges': 'ranges', + 'rule': 'rule' + } + + def __init__(self, ranges=None, rule=None): + """ + ExtensionsV1beta1RunAsGroupStrategyOptions - a model defined in Swagger + """ + + self._ranges = None + self._rule = None + self.discriminator = None + + if ranges is not None: + self.ranges = ranges + self.rule = rule + + @property + def ranges(self): + """ + Gets the ranges of this ExtensionsV1beta1RunAsGroupStrategyOptions. + ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs. + + :return: The ranges of this ExtensionsV1beta1RunAsGroupStrategyOptions. + :rtype: list[ExtensionsV1beta1IDRange] + """ + return self._ranges + + @ranges.setter + def ranges(self, ranges): + """ + Sets the ranges of this ExtensionsV1beta1RunAsGroupStrategyOptions. + ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs. + + :param ranges: The ranges of this ExtensionsV1beta1RunAsGroupStrategyOptions. + :type: list[ExtensionsV1beta1IDRange] + """ + + self._ranges = ranges + + @property + def rule(self): + """ + Gets the rule of this ExtensionsV1beta1RunAsGroupStrategyOptions. + rule is the strategy that will dictate the allowable RunAsGroup values that may be set. + + :return: The rule of this ExtensionsV1beta1RunAsGroupStrategyOptions. + :rtype: str + """ + return self._rule + + @rule.setter + def rule(self, rule): + """ + Sets the rule of this ExtensionsV1beta1RunAsGroupStrategyOptions. + rule is the strategy that will dictate the allowable RunAsGroup values that may be set. + + :param rule: The rule of this ExtensionsV1beta1RunAsGroupStrategyOptions. + :type: str + """ + if rule is None: + raise ValueError("Invalid value for `rule`, must not be `None`") + + self._rule = rule + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, ExtensionsV1beta1RunAsGroupStrategyOptions): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/extensions_v1beta1_run_as_user_strategy_options.py b/kubernetes/client/models/extensions_v1beta1_run_as_user_strategy_options.py index 6a5870765c..28617dfa75 100644 --- a/kubernetes/client/models/extensions_v1beta1_run_as_user_strategy_options.py +++ b/kubernetes/client/models/extensions_v1beta1_run_as_user_strategy_options.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/extensions_v1beta1_scale.py b/kubernetes/client/models/extensions_v1beta1_scale.py index 249bca7dc5..76aae2d8f3 100644 --- a/kubernetes/client/models/extensions_v1beta1_scale.py +++ b/kubernetes/client/models/extensions_v1beta1_scale.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/extensions_v1beta1_scale_spec.py b/kubernetes/client/models/extensions_v1beta1_scale_spec.py index 3e77e0b139..aa21274efc 100644 --- a/kubernetes/client/models/extensions_v1beta1_scale_spec.py +++ b/kubernetes/client/models/extensions_v1beta1_scale_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/extensions_v1beta1_scale_status.py b/kubernetes/client/models/extensions_v1beta1_scale_status.py index 0d91ba3d85..7114c2b98f 100644 --- a/kubernetes/client/models/extensions_v1beta1_scale_status.py +++ b/kubernetes/client/models/extensions_v1beta1_scale_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/extensions_v1beta1_se_linux_strategy_options.py b/kubernetes/client/models/extensions_v1beta1_se_linux_strategy_options.py index a37f473d00..6f0a72e806 100644 --- a/kubernetes/client/models/extensions_v1beta1_se_linux_strategy_options.py +++ b/kubernetes/client/models/extensions_v1beta1_se_linux_strategy_options.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/extensions_v1beta1_supplemental_groups_strategy_options.py b/kubernetes/client/models/extensions_v1beta1_supplemental_groups_strategy_options.py index 3727f23bec..98ffe156ec 100644 --- a/kubernetes/client/models/extensions_v1beta1_supplemental_groups_strategy_options.py +++ b/kubernetes/client/models/extensions_v1beta1_supplemental_groups_strategy_options.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/policy_v1beta1_allowed_flex_volume.py b/kubernetes/client/models/policy_v1beta1_allowed_flex_volume.py index 84a2e04739..d404d43404 100644 --- a/kubernetes/client/models/policy_v1beta1_allowed_flex_volume.py +++ b/kubernetes/client/models/policy_v1beta1_allowed_flex_volume.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/policy_v1beta1_allowed_host_path.py b/kubernetes/client/models/policy_v1beta1_allowed_host_path.py index bc7d475bb9..27c1829461 100644 --- a/kubernetes/client/models/policy_v1beta1_allowed_host_path.py +++ b/kubernetes/client/models/policy_v1beta1_allowed_host_path.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/policy_v1beta1_fs_group_strategy_options.py b/kubernetes/client/models/policy_v1beta1_fs_group_strategy_options.py index 74e045d51a..d7913351bc 100644 --- a/kubernetes/client/models/policy_v1beta1_fs_group_strategy_options.py +++ b/kubernetes/client/models/policy_v1beta1_fs_group_strategy_options.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/policy_v1beta1_host_port_range.py b/kubernetes/client/models/policy_v1beta1_host_port_range.py index 84cbbf4b4d..459a1f2351 100644 --- a/kubernetes/client/models/policy_v1beta1_host_port_range.py +++ b/kubernetes/client/models/policy_v1beta1_host_port_range.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/policy_v1beta1_id_range.py b/kubernetes/client/models/policy_v1beta1_id_range.py index dd8b0401f8..4982de4b43 100644 --- a/kubernetes/client/models/policy_v1beta1_id_range.py +++ b/kubernetes/client/models/policy_v1beta1_id_range.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/policy_v1beta1_pod_security_policy.py b/kubernetes/client/models/policy_v1beta1_pod_security_policy.py index 3109d00e20..1f5220da43 100644 --- a/kubernetes/client/models/policy_v1beta1_pod_security_policy.py +++ b/kubernetes/client/models/policy_v1beta1_pod_security_policy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/policy_v1beta1_pod_security_policy_list.py b/kubernetes/client/models/policy_v1beta1_pod_security_policy_list.py index 150ab50ff5..6723e207e9 100644 --- a/kubernetes/client/models/policy_v1beta1_pod_security_policy_list.py +++ b/kubernetes/client/models/policy_v1beta1_pod_security_policy_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/policy_v1beta1_pod_security_policy_spec.py b/kubernetes/client/models/policy_v1beta1_pod_security_policy_spec.py index 0e5ecfc39b..338816208e 100644 --- a/kubernetes/client/models/policy_v1beta1_pod_security_policy_spec.py +++ b/kubernetes/client/models/policy_v1beta1_pod_security_policy_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -48,6 +48,7 @@ class PolicyV1beta1PodSecurityPolicySpec(object): 'privileged': 'bool', 'read_only_root_filesystem': 'bool', 'required_drop_capabilities': 'list[str]', + 'run_as_group': 'PolicyV1beta1RunAsGroupStrategyOptions', 'run_as_user': 'PolicyV1beta1RunAsUserStrategyOptions', 'se_linux': 'PolicyV1beta1SELinuxStrategyOptions', 'supplemental_groups': 'PolicyV1beta1SupplementalGroupsStrategyOptions', @@ -72,13 +73,14 @@ class PolicyV1beta1PodSecurityPolicySpec(object): 'privileged': 'privileged', 'read_only_root_filesystem': 'readOnlyRootFilesystem', 'required_drop_capabilities': 'requiredDropCapabilities', + 'run_as_group': 'runAsGroup', 'run_as_user': 'runAsUser', 'se_linux': 'seLinux', 'supplemental_groups': 'supplementalGroups', 'volumes': 'volumes' } - def __init__(self, allow_privilege_escalation=None, allowed_capabilities=None, allowed_flex_volumes=None, allowed_host_paths=None, allowed_proc_mount_types=None, allowed_unsafe_sysctls=None, default_add_capabilities=None, default_allow_privilege_escalation=None, forbidden_sysctls=None, fs_group=None, host_ipc=None, host_network=None, host_pid=None, host_ports=None, privileged=None, read_only_root_filesystem=None, required_drop_capabilities=None, run_as_user=None, se_linux=None, supplemental_groups=None, volumes=None): + def __init__(self, allow_privilege_escalation=None, allowed_capabilities=None, allowed_flex_volumes=None, allowed_host_paths=None, allowed_proc_mount_types=None, allowed_unsafe_sysctls=None, default_add_capabilities=None, default_allow_privilege_escalation=None, forbidden_sysctls=None, fs_group=None, host_ipc=None, host_network=None, host_pid=None, host_ports=None, privileged=None, read_only_root_filesystem=None, required_drop_capabilities=None, run_as_group=None, run_as_user=None, se_linux=None, supplemental_groups=None, volumes=None): """ PolicyV1beta1PodSecurityPolicySpec - a model defined in Swagger """ @@ -100,6 +102,7 @@ def __init__(self, allow_privilege_escalation=None, allowed_capabilities=None, a self._privileged = None self._read_only_root_filesystem = None self._required_drop_capabilities = None + self._run_as_group = None self._run_as_user = None self._se_linux = None self._supplemental_groups = None @@ -139,6 +142,8 @@ def __init__(self, allow_privilege_escalation=None, allowed_capabilities=None, a self.read_only_root_filesystem = read_only_root_filesystem if required_drop_capabilities is not None: self.required_drop_capabilities = required_drop_capabilities + if run_as_group is not None: + self.run_as_group = run_as_group self.run_as_user = run_as_user self.se_linux = se_linux self.supplemental_groups = supplemental_groups @@ -538,6 +543,29 @@ def required_drop_capabilities(self, required_drop_capabilities): self._required_drop_capabilities = required_drop_capabilities + @property + def run_as_group(self): + """ + Gets the run_as_group of this PolicyV1beta1PodSecurityPolicySpec. + RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled. + + :return: The run_as_group of this PolicyV1beta1PodSecurityPolicySpec. + :rtype: PolicyV1beta1RunAsGroupStrategyOptions + """ + return self._run_as_group + + @run_as_group.setter + def run_as_group(self, run_as_group): + """ + Sets the run_as_group of this PolicyV1beta1PodSecurityPolicySpec. + RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled. + + :param run_as_group: The run_as_group of this PolicyV1beta1PodSecurityPolicySpec. + :type: PolicyV1beta1RunAsGroupStrategyOptions + """ + + self._run_as_group = run_as_group + @property def run_as_user(self): """ diff --git a/kubernetes/client/models/policy_v1beta1_run_as_group_strategy_options.py b/kubernetes/client/models/policy_v1beta1_run_as_group_strategy_options.py new file mode 100644 index 0000000000..064ae8583d --- /dev/null +++ b/kubernetes/client/models/policy_v1beta1_run_as_group_strategy_options.py @@ -0,0 +1,155 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.13.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class PolicyV1beta1RunAsGroupStrategyOptions(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'ranges': 'list[PolicyV1beta1IDRange]', + 'rule': 'str' + } + + attribute_map = { + 'ranges': 'ranges', + 'rule': 'rule' + } + + def __init__(self, ranges=None, rule=None): + """ + PolicyV1beta1RunAsGroupStrategyOptions - a model defined in Swagger + """ + + self._ranges = None + self._rule = None + self.discriminator = None + + if ranges is not None: + self.ranges = ranges + self.rule = rule + + @property + def ranges(self): + """ + Gets the ranges of this PolicyV1beta1RunAsGroupStrategyOptions. + ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs. + + :return: The ranges of this PolicyV1beta1RunAsGroupStrategyOptions. + :rtype: list[PolicyV1beta1IDRange] + """ + return self._ranges + + @ranges.setter + def ranges(self, ranges): + """ + Sets the ranges of this PolicyV1beta1RunAsGroupStrategyOptions. + ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs. + + :param ranges: The ranges of this PolicyV1beta1RunAsGroupStrategyOptions. + :type: list[PolicyV1beta1IDRange] + """ + + self._ranges = ranges + + @property + def rule(self): + """ + Gets the rule of this PolicyV1beta1RunAsGroupStrategyOptions. + rule is the strategy that will dictate the allowable RunAsGroup values that may be set. + + :return: The rule of this PolicyV1beta1RunAsGroupStrategyOptions. + :rtype: str + """ + return self._rule + + @rule.setter + def rule(self, rule): + """ + Sets the rule of this PolicyV1beta1RunAsGroupStrategyOptions. + rule is the strategy that will dictate the allowable RunAsGroup values that may be set. + + :param rule: The rule of this PolicyV1beta1RunAsGroupStrategyOptions. + :type: str + """ + if rule is None: + raise ValueError("Invalid value for `rule`, must not be `None`") + + self._rule = rule + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, PolicyV1beta1RunAsGroupStrategyOptions): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/policy_v1beta1_run_as_user_strategy_options.py b/kubernetes/client/models/policy_v1beta1_run_as_user_strategy_options.py index d4c9b0359c..e0152fff74 100644 --- a/kubernetes/client/models/policy_v1beta1_run_as_user_strategy_options.py +++ b/kubernetes/client/models/policy_v1beta1_run_as_user_strategy_options.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/policy_v1beta1_se_linux_strategy_options.py b/kubernetes/client/models/policy_v1beta1_se_linux_strategy_options.py index 6793cefe15..5d8ed67779 100644 --- a/kubernetes/client/models/policy_v1beta1_se_linux_strategy_options.py +++ b/kubernetes/client/models/policy_v1beta1_se_linux_strategy_options.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/policy_v1beta1_supplemental_groups_strategy_options.py b/kubernetes/client/models/policy_v1beta1_supplemental_groups_strategy_options.py index 25dcd25eaa..3d352108d3 100644 --- a/kubernetes/client/models/policy_v1beta1_supplemental_groups_strategy_options.py +++ b/kubernetes/client/models/policy_v1beta1_supplemental_groups_strategy_options.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/runtime_raw_extension.py b/kubernetes/client/models/runtime_raw_extension.py index bad3b287b2..b2fa92e614 100644 --- a/kubernetes/client/models/runtime_raw_extension.py +++ b/kubernetes/client/models/runtime_raw_extension.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_affinity.py b/kubernetes/client/models/v1_affinity.py index 7da65160a1..48fd9eb7d9 100644 --- a/kubernetes/client/models/v1_affinity.py +++ b/kubernetes/client/models/v1_affinity.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_aggregation_rule.py b/kubernetes/client/models/v1_aggregation_rule.py index e799143e33..76be63b222 100644 --- a/kubernetes/client/models/v1_aggregation_rule.py +++ b/kubernetes/client/models/v1_aggregation_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_api_group.py b/kubernetes/client/models/v1_api_group.py index f54bd74a08..8756f3b57d 100644 --- a/kubernetes/client/models/v1_api_group.py +++ b/kubernetes/client/models/v1_api_group.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_api_group_list.py b/kubernetes/client/models/v1_api_group_list.py index 5ea72e8c3f..690fc0b4e5 100644 --- a/kubernetes/client/models/v1_api_group_list.py +++ b/kubernetes/client/models/v1_api_group_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_api_resource.py b/kubernetes/client/models/v1_api_resource.py index bdcb3980f4..00df2af8c3 100644 --- a/kubernetes/client/models/v1_api_resource.py +++ b/kubernetes/client/models/v1_api_resource.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_api_resource_list.py b/kubernetes/client/models/v1_api_resource_list.py index 1545ed909c..4193fea908 100644 --- a/kubernetes/client/models/v1_api_resource_list.py +++ b/kubernetes/client/models/v1_api_resource_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_api_service.py b/kubernetes/client/models/v1_api_service.py index 65d0bd2692..0ee7a70b19 100644 --- a/kubernetes/client/models/v1_api_service.py +++ b/kubernetes/client/models/v1_api_service.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_api_service_condition.py b/kubernetes/client/models/v1_api_service_condition.py index 32b5537969..bb3c88bc3c 100644 --- a/kubernetes/client/models/v1_api_service_condition.py +++ b/kubernetes/client/models/v1_api_service_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_api_service_list.py b/kubernetes/client/models/v1_api_service_list.py index 9bcc609e8c..a7cf102411 100644 --- a/kubernetes/client/models/v1_api_service_list.py +++ b/kubernetes/client/models/v1_api_service_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_api_service_spec.py b/kubernetes/client/models/v1_api_service_spec.py index 2a74a116c8..2067c233a8 100644 --- a/kubernetes/client/models/v1_api_service_spec.py +++ b/kubernetes/client/models/v1_api_service_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -80,7 +80,7 @@ def __init__(self, ca_bundle=None, group=None, group_priority_minimum=None, inse def ca_bundle(self): """ Gets the ca_bundle of this V1APIServiceSpec. - CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. + CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used. :return: The ca_bundle of this V1APIServiceSpec. :rtype: str @@ -91,7 +91,7 @@ def ca_bundle(self): def ca_bundle(self, ca_bundle): """ Sets the ca_bundle of this V1APIServiceSpec. - CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. + CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used. :param ca_bundle: The ca_bundle of this V1APIServiceSpec. :type: str diff --git a/kubernetes/client/models/v1_api_service_status.py b/kubernetes/client/models/v1_api_service_status.py index 095bef54e8..ae1e2c7154 100644 --- a/kubernetes/client/models/v1_api_service_status.py +++ b/kubernetes/client/models/v1_api_service_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_api_versions.py b/kubernetes/client/models/v1_api_versions.py index a1034d25a5..a849d472cd 100644 --- a/kubernetes/client/models/v1_api_versions.py +++ b/kubernetes/client/models/v1_api_versions.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_attached_volume.py b/kubernetes/client/models/v1_attached_volume.py index cf831033d5..b8726e011e 100644 --- a/kubernetes/client/models/v1_attached_volume.py +++ b/kubernetes/client/models/v1_attached_volume.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_aws_elastic_block_store_volume_source.py b/kubernetes/client/models/v1_aws_elastic_block_store_volume_source.py index 6798667a96..7b342f8cc7 100644 --- a/kubernetes/client/models/v1_aws_elastic_block_store_volume_source.py +++ b/kubernetes/client/models/v1_aws_elastic_block_store_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_azure_disk_volume_source.py b/kubernetes/client/models/v1_azure_disk_volume_source.py index 4c6684db93..448af575db 100644 --- a/kubernetes/client/models/v1_azure_disk_volume_source.py +++ b/kubernetes/client/models/v1_azure_disk_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_azure_file_persistent_volume_source.py b/kubernetes/client/models/v1_azure_file_persistent_volume_source.py index 2e6f49083f..c2b32a6a97 100644 --- a/kubernetes/client/models/v1_azure_file_persistent_volume_source.py +++ b/kubernetes/client/models/v1_azure_file_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_azure_file_volume_source.py b/kubernetes/client/models/v1_azure_file_volume_source.py index 07c40fe354..b92dd3a1c2 100644 --- a/kubernetes/client/models/v1_azure_file_volume_source.py +++ b/kubernetes/client/models/v1_azure_file_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_binding.py b/kubernetes/client/models/v1_binding.py index 0363359bfa..3ae5c4fdca 100644 --- a/kubernetes/client/models/v1_binding.py +++ b/kubernetes/client/models/v1_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_capabilities.py b/kubernetes/client/models/v1_capabilities.py index aaa20dd0a5..2565b835e0 100644 --- a/kubernetes/client/models/v1_capabilities.py +++ b/kubernetes/client/models/v1_capabilities.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_ceph_fs_persistent_volume_source.py b/kubernetes/client/models/v1_ceph_fs_persistent_volume_source.py index fa28213e66..4d9f175dce 100644 --- a/kubernetes/client/models/v1_ceph_fs_persistent_volume_source.py +++ b/kubernetes/client/models/v1_ceph_fs_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_ceph_fs_volume_source.py b/kubernetes/client/models/v1_ceph_fs_volume_source.py index 890f41787d..c7ec6d5abf 100644 --- a/kubernetes/client/models/v1_ceph_fs_volume_source.py +++ b/kubernetes/client/models/v1_ceph_fs_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_cinder_persistent_volume_source.py b/kubernetes/client/models/v1_cinder_persistent_volume_source.py index aa904a32f8..c62f457dcf 100644 --- a/kubernetes/client/models/v1_cinder_persistent_volume_source.py +++ b/kubernetes/client/models/v1_cinder_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_cinder_volume_source.py b/kubernetes/client/models/v1_cinder_volume_source.py index cb76ec1f29..9cea622754 100644 --- a/kubernetes/client/models/v1_cinder_volume_source.py +++ b/kubernetes/client/models/v1_cinder_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_client_ip_config.py b/kubernetes/client/models/v1_client_ip_config.py index 225144c35f..1bd5e9d660 100644 --- a/kubernetes/client/models/v1_client_ip_config.py +++ b/kubernetes/client/models/v1_client_ip_config.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_cluster_role.py b/kubernetes/client/models/v1_cluster_role.py index 7383564984..9f65ab7849 100644 --- a/kubernetes/client/models/v1_cluster_role.py +++ b/kubernetes/client/models/v1_cluster_role.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_cluster_role_binding.py b/kubernetes/client/models/v1_cluster_role_binding.py index 8c0b557a10..ebd03f30a3 100644 --- a/kubernetes/client/models/v1_cluster_role_binding.py +++ b/kubernetes/client/models/v1_cluster_role_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_cluster_role_binding_list.py b/kubernetes/client/models/v1_cluster_role_binding_list.py index 9931084fcf..fe09cec9e2 100644 --- a/kubernetes/client/models/v1_cluster_role_binding_list.py +++ b/kubernetes/client/models/v1_cluster_role_binding_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_cluster_role_list.py b/kubernetes/client/models/v1_cluster_role_list.py index 8b34039c82..db477dfb2f 100644 --- a/kubernetes/client/models/v1_cluster_role_list.py +++ b/kubernetes/client/models/v1_cluster_role_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_component_condition.py b/kubernetes/client/models/v1_component_condition.py index 53acf04b0f..0e41587ed0 100644 --- a/kubernetes/client/models/v1_component_condition.py +++ b/kubernetes/client/models/v1_component_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_component_status.py b/kubernetes/client/models/v1_component_status.py index df3c6bef09..ed051da6b7 100644 --- a/kubernetes/client/models/v1_component_status.py +++ b/kubernetes/client/models/v1_component_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_component_status_list.py b/kubernetes/client/models/v1_component_status_list.py index 86ecb33cd3..66dd8af7a2 100644 --- a/kubernetes/client/models/v1_component_status_list.py +++ b/kubernetes/client/models/v1_component_status_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_config_map.py b/kubernetes/client/models/v1_config_map.py index 5ea2421471..f635f0256d 100644 --- a/kubernetes/client/models/v1_config_map.py +++ b/kubernetes/client/models/v1_config_map.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_config_map_env_source.py b/kubernetes/client/models/v1_config_map_env_source.py index 1c239319ac..e8791ac129 100644 --- a/kubernetes/client/models/v1_config_map_env_source.py +++ b/kubernetes/client/models/v1_config_map_env_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_config_map_key_selector.py b/kubernetes/client/models/v1_config_map_key_selector.py index c22f4a4e73..f24308538f 100644 --- a/kubernetes/client/models/v1_config_map_key_selector.py +++ b/kubernetes/client/models/v1_config_map_key_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_config_map_list.py b/kubernetes/client/models/v1_config_map_list.py index 34ca762ee3..891e1b9f93 100644 --- a/kubernetes/client/models/v1_config_map_list.py +++ b/kubernetes/client/models/v1_config_map_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_config_map_node_config_source.py b/kubernetes/client/models/v1_config_map_node_config_source.py index 69221d0d2c..03419e916c 100644 --- a/kubernetes/client/models/v1_config_map_node_config_source.py +++ b/kubernetes/client/models/v1_config_map_node_config_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_config_map_projection.py b/kubernetes/client/models/v1_config_map_projection.py index d75d7f93b9..adc9114c11 100644 --- a/kubernetes/client/models/v1_config_map_projection.py +++ b/kubernetes/client/models/v1_config_map_projection.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_config_map_volume_source.py b/kubernetes/client/models/v1_config_map_volume_source.py index d8173a6758..ebd514e160 100644 --- a/kubernetes/client/models/v1_config_map_volume_source.py +++ b/kubernetes/client/models/v1_config_map_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_container.py b/kubernetes/client/models/v1_container.py index 00ad69a757..cc5fb94e1e 100644 --- a/kubernetes/client/models/v1_container.py +++ b/kubernetes/client/models/v1_container.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -568,7 +568,7 @@ def tty(self, tty): def volume_devices(self): """ Gets the volume_devices of this V1Container. - volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future. + volumeDevices is the list of block devices to be used by the container. This is a beta feature. :return: The volume_devices of this V1Container. :rtype: list[V1VolumeDevice] @@ -579,7 +579,7 @@ def volume_devices(self): def volume_devices(self, volume_devices): """ Sets the volume_devices of this V1Container. - volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future. + volumeDevices is the list of block devices to be used by the container. This is a beta feature. :param volume_devices: The volume_devices of this V1Container. :type: list[V1VolumeDevice] diff --git a/kubernetes/client/models/v1_container_image.py b/kubernetes/client/models/v1_container_image.py index 75b0736044..8ee2c9e52c 100644 --- a/kubernetes/client/models/v1_container_image.py +++ b/kubernetes/client/models/v1_container_image.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_container_port.py b/kubernetes/client/models/v1_container_port.py index 87666408e8..d28eb8eaa7 100644 --- a/kubernetes/client/models/v1_container_port.py +++ b/kubernetes/client/models/v1_container_port.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_container_state.py b/kubernetes/client/models/v1_container_state.py index f1d15ba329..9817c77204 100644 --- a/kubernetes/client/models/v1_container_state.py +++ b/kubernetes/client/models/v1_container_state.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_container_state_running.py b/kubernetes/client/models/v1_container_state_running.py index 725de3c64c..ef45c87520 100644 --- a/kubernetes/client/models/v1_container_state_running.py +++ b/kubernetes/client/models/v1_container_state_running.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_container_state_terminated.py b/kubernetes/client/models/v1_container_state_terminated.py index b7dd8d29d7..44cb819c7a 100644 --- a/kubernetes/client/models/v1_container_state_terminated.py +++ b/kubernetes/client/models/v1_container_state_terminated.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_container_state_waiting.py b/kubernetes/client/models/v1_container_state_waiting.py index c9d7a56c41..0a07b4341b 100644 --- a/kubernetes/client/models/v1_container_state_waiting.py +++ b/kubernetes/client/models/v1_container_state_waiting.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_container_status.py b/kubernetes/client/models/v1_container_status.py index 503536dbee..fa8b7515f5 100644 --- a/kubernetes/client/models/v1_container_status.py +++ b/kubernetes/client/models/v1_container_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_controller_revision.py b/kubernetes/client/models/v1_controller_revision.py index 3d006b76fa..d4639d6bec 100644 --- a/kubernetes/client/models/v1_controller_revision.py +++ b/kubernetes/client/models/v1_controller_revision.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_controller_revision_list.py b/kubernetes/client/models/v1_controller_revision_list.py index 5a05db3145..423c04b78c 100644 --- a/kubernetes/client/models/v1_controller_revision_list.py +++ b/kubernetes/client/models/v1_controller_revision_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_cross_version_object_reference.py b/kubernetes/client/models/v1_cross_version_object_reference.py index 30ab7bdc75..0d88c22375 100644 --- a/kubernetes/client/models/v1_cross_version_object_reference.py +++ b/kubernetes/client/models/v1_cross_version_object_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_csi_persistent_volume_source.py b/kubernetes/client/models/v1_csi_persistent_volume_source.py index d40fd80087..bd84de48d9 100644 --- a/kubernetes/client/models/v1_csi_persistent_volume_source.py +++ b/kubernetes/client/models/v1_csi_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -86,7 +86,7 @@ def __init__(self, controller_publish_secret_ref=None, driver=None, fs_type=None def controller_publish_secret_ref(self): """ Gets the controller_publish_secret_ref of this V1CSIPersistentVolumeSource. - ControllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. + ControllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. :return: The controller_publish_secret_ref of this V1CSIPersistentVolumeSource. :rtype: V1SecretReference @@ -97,7 +97,7 @@ def controller_publish_secret_ref(self): def controller_publish_secret_ref(self, controller_publish_secret_ref): """ Sets the controller_publish_secret_ref of this V1CSIPersistentVolumeSource. - ControllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. + ControllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. :param controller_publish_secret_ref: The controller_publish_secret_ref of this V1CSIPersistentVolumeSource. :type: V1SecretReference @@ -157,7 +157,7 @@ def fs_type(self, fs_type): def node_publish_secret_ref(self): """ Gets the node_publish_secret_ref of this V1CSIPersistentVolumeSource. - NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. + NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. :return: The node_publish_secret_ref of this V1CSIPersistentVolumeSource. :rtype: V1SecretReference @@ -168,7 +168,7 @@ def node_publish_secret_ref(self): def node_publish_secret_ref(self, node_publish_secret_ref): """ Sets the node_publish_secret_ref of this V1CSIPersistentVolumeSource. - NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. + NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. :param node_publish_secret_ref: The node_publish_secret_ref of this V1CSIPersistentVolumeSource. :type: V1SecretReference @@ -180,7 +180,7 @@ def node_publish_secret_ref(self, node_publish_secret_ref): def node_stage_secret_ref(self): """ Gets the node_stage_secret_ref of this V1CSIPersistentVolumeSource. - NodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. + NodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. :return: The node_stage_secret_ref of this V1CSIPersistentVolumeSource. :rtype: V1SecretReference @@ -191,7 +191,7 @@ def node_stage_secret_ref(self): def node_stage_secret_ref(self, node_stage_secret_ref): """ Sets the node_stage_secret_ref of this V1CSIPersistentVolumeSource. - NodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. + NodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. :param node_stage_secret_ref: The node_stage_secret_ref of this V1CSIPersistentVolumeSource. :type: V1SecretReference diff --git a/kubernetes/client/models/v1_daemon_endpoint.py b/kubernetes/client/models/v1_daemon_endpoint.py index 95f4c1815c..e9e609a02d 100644 --- a/kubernetes/client/models/v1_daemon_endpoint.py +++ b/kubernetes/client/models/v1_daemon_endpoint.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_daemon_set.py b/kubernetes/client/models/v1_daemon_set.py index 9b492ef999..53e7ac4a3f 100644 --- a/kubernetes/client/models/v1_daemon_set.py +++ b/kubernetes/client/models/v1_daemon_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_daemon_set_condition.py b/kubernetes/client/models/v1_daemon_set_condition.py index aa5e329296..093d531dea 100644 --- a/kubernetes/client/models/v1_daemon_set_condition.py +++ b/kubernetes/client/models/v1_daemon_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_daemon_set_list.py b/kubernetes/client/models/v1_daemon_set_list.py index 6f0a3d9579..0c556ce71c 100644 --- a/kubernetes/client/models/v1_daemon_set_list.py +++ b/kubernetes/client/models/v1_daemon_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_daemon_set_spec.py b/kubernetes/client/models/v1_daemon_set_spec.py index 47c799294a..a2bce8e5b5 100644 --- a/kubernetes/client/models/v1_daemon_set_spec.py +++ b/kubernetes/client/models/v1_daemon_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_daemon_set_status.py b/kubernetes/client/models/v1_daemon_set_status.py index 4fde20038a..2f53955652 100644 --- a/kubernetes/client/models/v1_daemon_set_status.py +++ b/kubernetes/client/models/v1_daemon_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_daemon_set_update_strategy.py b/kubernetes/client/models/v1_daemon_set_update_strategy.py index 9e9ab0a727..ee4f3b35b0 100644 --- a/kubernetes/client/models/v1_daemon_set_update_strategy.py +++ b/kubernetes/client/models/v1_daemon_set_update_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_delete_options.py b/kubernetes/client/models/v1_delete_options.py index 4c8432868b..d315bc2545 100644 --- a/kubernetes/client/models/v1_delete_options.py +++ b/kubernetes/client/models/v1_delete_options.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_deployment.py b/kubernetes/client/models/v1_deployment.py index e6ff9df69f..69f4da71b1 100644 --- a/kubernetes/client/models/v1_deployment.py +++ b/kubernetes/client/models/v1_deployment.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_deployment_condition.py b/kubernetes/client/models/v1_deployment_condition.py index b325ce44c6..173f0909f1 100644 --- a/kubernetes/client/models/v1_deployment_condition.py +++ b/kubernetes/client/models/v1_deployment_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_deployment_list.py b/kubernetes/client/models/v1_deployment_list.py index 2e1c3f3ffb..ef6879b606 100644 --- a/kubernetes/client/models/v1_deployment_list.py +++ b/kubernetes/client/models/v1_deployment_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_deployment_spec.py b/kubernetes/client/models/v1_deployment_spec.py index c162e22bb6..b5101baf2d 100644 --- a/kubernetes/client/models/v1_deployment_spec.py +++ b/kubernetes/client/models/v1_deployment_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_deployment_status.py b/kubernetes/client/models/v1_deployment_status.py index f68dee42c9..f0760bfc22 100644 --- a/kubernetes/client/models/v1_deployment_status.py +++ b/kubernetes/client/models/v1_deployment_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_deployment_strategy.py b/kubernetes/client/models/v1_deployment_strategy.py index a221df33a8..f1ddccc18e 100644 --- a/kubernetes/client/models/v1_deployment_strategy.py +++ b/kubernetes/client/models/v1_deployment_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_downward_api_projection.py b/kubernetes/client/models/v1_downward_api_projection.py index bf9e2992ef..84936910b2 100644 --- a/kubernetes/client/models/v1_downward_api_projection.py +++ b/kubernetes/client/models/v1_downward_api_projection.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_downward_api_volume_file.py b/kubernetes/client/models/v1_downward_api_volume_file.py index e90cb3b4d1..c8dd7d9619 100644 --- a/kubernetes/client/models/v1_downward_api_volume_file.py +++ b/kubernetes/client/models/v1_downward_api_volume_file.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_downward_api_volume_source.py b/kubernetes/client/models/v1_downward_api_volume_source.py index 778627caeb..503995190e 100644 --- a/kubernetes/client/models/v1_downward_api_volume_source.py +++ b/kubernetes/client/models/v1_downward_api_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_empty_dir_volume_source.py b/kubernetes/client/models/v1_empty_dir_volume_source.py index 5941496c09..78a5e8503f 100644 --- a/kubernetes/client/models/v1_empty_dir_volume_source.py +++ b/kubernetes/client/models/v1_empty_dir_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_endpoint_address.py b/kubernetes/client/models/v1_endpoint_address.py index 43e7bf683e..24637fe14b 100644 --- a/kubernetes/client/models/v1_endpoint_address.py +++ b/kubernetes/client/models/v1_endpoint_address.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_endpoint_port.py b/kubernetes/client/models/v1_endpoint_port.py index e82077a544..70c70b28f3 100644 --- a/kubernetes/client/models/v1_endpoint_port.py +++ b/kubernetes/client/models/v1_endpoint_port.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_endpoint_subset.py b/kubernetes/client/models/v1_endpoint_subset.py index 1ec278ea0a..1265c7a018 100644 --- a/kubernetes/client/models/v1_endpoint_subset.py +++ b/kubernetes/client/models/v1_endpoint_subset.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_endpoints.py b/kubernetes/client/models/v1_endpoints.py index 5da557e723..201dc1ba05 100644 --- a/kubernetes/client/models/v1_endpoints.py +++ b/kubernetes/client/models/v1_endpoints.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_endpoints_list.py b/kubernetes/client/models/v1_endpoints_list.py index 2a88f2f931..e8a555ef29 100644 --- a/kubernetes/client/models/v1_endpoints_list.py +++ b/kubernetes/client/models/v1_endpoints_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_env_from_source.py b/kubernetes/client/models/v1_env_from_source.py index 3ab65b99de..962332614e 100644 --- a/kubernetes/client/models/v1_env_from_source.py +++ b/kubernetes/client/models/v1_env_from_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_env_var.py b/kubernetes/client/models/v1_env_var.py index 4deb3bf935..53587d7879 100644 --- a/kubernetes/client/models/v1_env_var.py +++ b/kubernetes/client/models/v1_env_var.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_env_var_source.py b/kubernetes/client/models/v1_env_var_source.py index 9d615bdd27..78f7daf851 100644 --- a/kubernetes/client/models/v1_env_var_source.py +++ b/kubernetes/client/models/v1_env_var_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_event.py b/kubernetes/client/models/v1_event.py index 811df45217..c9c6ddba47 100644 --- a/kubernetes/client/models/v1_event.py +++ b/kubernetes/client/models/v1_event.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_event_list.py b/kubernetes/client/models/v1_event_list.py index 2266aa50bb..003cf77a51 100644 --- a/kubernetes/client/models/v1_event_list.py +++ b/kubernetes/client/models/v1_event_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_event_series.py b/kubernetes/client/models/v1_event_series.py index 6e29fb2e27..fcc11fd24f 100644 --- a/kubernetes/client/models/v1_event_series.py +++ b/kubernetes/client/models/v1_event_series.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_event_source.py b/kubernetes/client/models/v1_event_source.py index 3db3b948df..807ad2eeef 100644 --- a/kubernetes/client/models/v1_event_source.py +++ b/kubernetes/client/models/v1_event_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_exec_action.py b/kubernetes/client/models/v1_exec_action.py index f5cbb5fe74..165808a893 100644 --- a/kubernetes/client/models/v1_exec_action.py +++ b/kubernetes/client/models/v1_exec_action.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_fc_volume_source.py b/kubernetes/client/models/v1_fc_volume_source.py index 849fea2f24..1795067c24 100644 --- a/kubernetes/client/models/v1_fc_volume_source.py +++ b/kubernetes/client/models/v1_fc_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_flex_persistent_volume_source.py b/kubernetes/client/models/v1_flex_persistent_volume_source.py index c4f6656295..34298a6418 100644 --- a/kubernetes/client/models/v1_flex_persistent_volume_source.py +++ b/kubernetes/client/models/v1_flex_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_flex_volume_source.py b/kubernetes/client/models/v1_flex_volume_source.py index 873642e9ae..adcd3ecaae 100644 --- a/kubernetes/client/models/v1_flex_volume_source.py +++ b/kubernetes/client/models/v1_flex_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_flocker_volume_source.py b/kubernetes/client/models/v1_flocker_volume_source.py index f244419cde..ef1a98f14c 100644 --- a/kubernetes/client/models/v1_flocker_volume_source.py +++ b/kubernetes/client/models/v1_flocker_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_gce_persistent_disk_volume_source.py b/kubernetes/client/models/v1_gce_persistent_disk_volume_source.py index f08df91cc4..ae51d3ab1b 100644 --- a/kubernetes/client/models/v1_gce_persistent_disk_volume_source.py +++ b/kubernetes/client/models/v1_gce_persistent_disk_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_git_repo_volume_source.py b/kubernetes/client/models/v1_git_repo_volume_source.py index b92b61be25..419cd03532 100644 --- a/kubernetes/client/models/v1_git_repo_volume_source.py +++ b/kubernetes/client/models/v1_git_repo_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_glusterfs_persistent_volume_source.py b/kubernetes/client/models/v1_glusterfs_persistent_volume_source.py new file mode 100644 index 0000000000..7222f9a9b9 --- /dev/null +++ b/kubernetes/client/models/v1_glusterfs_persistent_volume_source.py @@ -0,0 +1,212 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.13.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class V1GlusterfsPersistentVolumeSource(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'endpoints': 'str', + 'endpoints_namespace': 'str', + 'path': 'str', + 'read_only': 'bool' + } + + attribute_map = { + 'endpoints': 'endpoints', + 'endpoints_namespace': 'endpointsNamespace', + 'path': 'path', + 'read_only': 'readOnly' + } + + def __init__(self, endpoints=None, endpoints_namespace=None, path=None, read_only=None): + """ + V1GlusterfsPersistentVolumeSource - a model defined in Swagger + """ + + self._endpoints = None + self._endpoints_namespace = None + self._path = None + self._read_only = None + self.discriminator = None + + self.endpoints = endpoints + if endpoints_namespace is not None: + self.endpoints_namespace = endpoints_namespace + self.path = path + if read_only is not None: + self.read_only = read_only + + @property + def endpoints(self): + """ + Gets the endpoints of this V1GlusterfsPersistentVolumeSource. + EndpointsName is the endpoint name that details Glusterfs topology. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod + + :return: The endpoints of this V1GlusterfsPersistentVolumeSource. + :rtype: str + """ + return self._endpoints + + @endpoints.setter + def endpoints(self, endpoints): + """ + Sets the endpoints of this V1GlusterfsPersistentVolumeSource. + EndpointsName is the endpoint name that details Glusterfs topology. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod + + :param endpoints: The endpoints of this V1GlusterfsPersistentVolumeSource. + :type: str + """ + if endpoints is None: + raise ValueError("Invalid value for `endpoints`, must not be `None`") + + self._endpoints = endpoints + + @property + def endpoints_namespace(self): + """ + Gets the endpoints_namespace of this V1GlusterfsPersistentVolumeSource. + EndpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod + + :return: The endpoints_namespace of this V1GlusterfsPersistentVolumeSource. + :rtype: str + """ + return self._endpoints_namespace + + @endpoints_namespace.setter + def endpoints_namespace(self, endpoints_namespace): + """ + Sets the endpoints_namespace of this V1GlusterfsPersistentVolumeSource. + EndpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod + + :param endpoints_namespace: The endpoints_namespace of this V1GlusterfsPersistentVolumeSource. + :type: str + """ + + self._endpoints_namespace = endpoints_namespace + + @property + def path(self): + """ + Gets the path of this V1GlusterfsPersistentVolumeSource. + Path is the Glusterfs volume path. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod + + :return: The path of this V1GlusterfsPersistentVolumeSource. + :rtype: str + """ + return self._path + + @path.setter + def path(self, path): + """ + Sets the path of this V1GlusterfsPersistentVolumeSource. + Path is the Glusterfs volume path. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod + + :param path: The path of this V1GlusterfsPersistentVolumeSource. + :type: str + """ + if path is None: + raise ValueError("Invalid value for `path`, must not be `None`") + + self._path = path + + @property + def read_only(self): + """ + Gets the read_only of this V1GlusterfsPersistentVolumeSource. + ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod + + :return: The read_only of this V1GlusterfsPersistentVolumeSource. + :rtype: bool + """ + return self._read_only + + @read_only.setter + def read_only(self, read_only): + """ + Sets the read_only of this V1GlusterfsPersistentVolumeSource. + ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod + + :param read_only: The read_only of this V1GlusterfsPersistentVolumeSource. + :type: bool + """ + + self._read_only = read_only + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, V1GlusterfsPersistentVolumeSource): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1_glusterfs_volume_source.py b/kubernetes/client/models/v1_glusterfs_volume_source.py index 775fac26ba..491157c879 100644 --- a/kubernetes/client/models/v1_glusterfs_volume_source.py +++ b/kubernetes/client/models/v1_glusterfs_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_group_version_for_discovery.py b/kubernetes/client/models/v1_group_version_for_discovery.py index cf44787536..1f4644e92d 100644 --- a/kubernetes/client/models/v1_group_version_for_discovery.py +++ b/kubernetes/client/models/v1_group_version_for_discovery.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_handler.py b/kubernetes/client/models/v1_handler.py index 60ad553d99..735f8b344b 100644 --- a/kubernetes/client/models/v1_handler.py +++ b/kubernetes/client/models/v1_handler.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_horizontal_pod_autoscaler.py b/kubernetes/client/models/v1_horizontal_pod_autoscaler.py index 8caa264531..067a4a92c7 100644 --- a/kubernetes/client/models/v1_horizontal_pod_autoscaler.py +++ b/kubernetes/client/models/v1_horizontal_pod_autoscaler.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_horizontal_pod_autoscaler_list.py b/kubernetes/client/models/v1_horizontal_pod_autoscaler_list.py index 577d77e47f..007ff71a06 100644 --- a/kubernetes/client/models/v1_horizontal_pod_autoscaler_list.py +++ b/kubernetes/client/models/v1_horizontal_pod_autoscaler_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_horizontal_pod_autoscaler_spec.py b/kubernetes/client/models/v1_horizontal_pod_autoscaler_spec.py index ae975a4909..41c594dc63 100644 --- a/kubernetes/client/models/v1_horizontal_pod_autoscaler_spec.py +++ b/kubernetes/client/models/v1_horizontal_pod_autoscaler_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_horizontal_pod_autoscaler_status.py b/kubernetes/client/models/v1_horizontal_pod_autoscaler_status.py index 1442ea5f52..4d7df645b6 100644 --- a/kubernetes/client/models/v1_horizontal_pod_autoscaler_status.py +++ b/kubernetes/client/models/v1_horizontal_pod_autoscaler_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_host_alias.py b/kubernetes/client/models/v1_host_alias.py index ace595b0f4..18d358d6fc 100644 --- a/kubernetes/client/models/v1_host_alias.py +++ b/kubernetes/client/models/v1_host_alias.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_host_path_volume_source.py b/kubernetes/client/models/v1_host_path_volume_source.py index a518036fbd..7fdf3efd60 100644 --- a/kubernetes/client/models/v1_host_path_volume_source.py +++ b/kubernetes/client/models/v1_host_path_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_http_get_action.py b/kubernetes/client/models/v1_http_get_action.py index 6e49b48305..54f5806a5b 100644 --- a/kubernetes/client/models/v1_http_get_action.py +++ b/kubernetes/client/models/v1_http_get_action.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_http_header.py b/kubernetes/client/models/v1_http_header.py index 31c4e278e9..05187de7cb 100644 --- a/kubernetes/client/models/v1_http_header.py +++ b/kubernetes/client/models/v1_http_header.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_initializer.py b/kubernetes/client/models/v1_initializer.py index c7a5fc41c7..c1a24e981b 100644 --- a/kubernetes/client/models/v1_initializer.py +++ b/kubernetes/client/models/v1_initializer.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_initializers.py b/kubernetes/client/models/v1_initializers.py index 4c7fcdb89f..e2f5b5d79e 100644 --- a/kubernetes/client/models/v1_initializers.py +++ b/kubernetes/client/models/v1_initializers.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_ip_block.py b/kubernetes/client/models/v1_ip_block.py index bad050c4e7..780ca99a87 100644 --- a/kubernetes/client/models/v1_ip_block.py +++ b/kubernetes/client/models/v1_ip_block.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_iscsi_persistent_volume_source.py b/kubernetes/client/models/v1_iscsi_persistent_volume_source.py index 317c576250..02b3f8d50e 100644 --- a/kubernetes/client/models/v1_iscsi_persistent_volume_source.py +++ b/kubernetes/client/models/v1_iscsi_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_iscsi_volume_source.py b/kubernetes/client/models/v1_iscsi_volume_source.py index 0b2d8e1092..6525a0ae69 100644 --- a/kubernetes/client/models/v1_iscsi_volume_source.py +++ b/kubernetes/client/models/v1_iscsi_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_job.py b/kubernetes/client/models/v1_job.py index 3cc839dea2..40f89b5c9f 100644 --- a/kubernetes/client/models/v1_job.py +++ b/kubernetes/client/models/v1_job.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_job_condition.py b/kubernetes/client/models/v1_job_condition.py index 705d69266e..75f2557316 100644 --- a/kubernetes/client/models/v1_job_condition.py +++ b/kubernetes/client/models/v1_job_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_job_list.py b/kubernetes/client/models/v1_job_list.py index 65654b97bd..3188834a98 100644 --- a/kubernetes/client/models/v1_job_list.py +++ b/kubernetes/client/models/v1_job_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_job_spec.py b/kubernetes/client/models/v1_job_spec.py index 6899c71cab..476b24c86d 100644 --- a/kubernetes/client/models/v1_job_spec.py +++ b/kubernetes/client/models/v1_job_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_job_status.py b/kubernetes/client/models/v1_job_status.py index 13793816d2..b869ffb1bc 100644 --- a/kubernetes/client/models/v1_job_status.py +++ b/kubernetes/client/models/v1_job_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_key_to_path.py b/kubernetes/client/models/v1_key_to_path.py index f8f2cb6cb6..d0f632fc25 100644 --- a/kubernetes/client/models/v1_key_to_path.py +++ b/kubernetes/client/models/v1_key_to_path.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_label_selector.py b/kubernetes/client/models/v1_label_selector.py index fc697d7010..4cf9ff67ab 100644 --- a/kubernetes/client/models/v1_label_selector.py +++ b/kubernetes/client/models/v1_label_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_label_selector_requirement.py b/kubernetes/client/models/v1_label_selector_requirement.py index c3097f23af..717fe33e63 100644 --- a/kubernetes/client/models/v1_label_selector_requirement.py +++ b/kubernetes/client/models/v1_label_selector_requirement.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_lifecycle.py b/kubernetes/client/models/v1_lifecycle.py index 5059adaf04..ed030cf1ea 100644 --- a/kubernetes/client/models/v1_lifecycle.py +++ b/kubernetes/client/models/v1_lifecycle.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_limit_range.py b/kubernetes/client/models/v1_limit_range.py index 25ef667b3b..9843b08988 100644 --- a/kubernetes/client/models/v1_limit_range.py +++ b/kubernetes/client/models/v1_limit_range.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_limit_range_item.py b/kubernetes/client/models/v1_limit_range_item.py index 9284342e17..5e54abca9d 100644 --- a/kubernetes/client/models/v1_limit_range_item.py +++ b/kubernetes/client/models/v1_limit_range_item.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_limit_range_list.py b/kubernetes/client/models/v1_limit_range_list.py index 06749c2fa0..cb410739b5 100644 --- a/kubernetes/client/models/v1_limit_range_list.py +++ b/kubernetes/client/models/v1_limit_range_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_limit_range_spec.py b/kubernetes/client/models/v1_limit_range_spec.py index 9a5e5e654b..c1f3fcf95a 100644 --- a/kubernetes/client/models/v1_limit_range_spec.py +++ b/kubernetes/client/models/v1_limit_range_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_list_meta.py b/kubernetes/client/models/v1_list_meta.py index 77aed5f7e9..b61c7db7a3 100644 --- a/kubernetes/client/models/v1_list_meta.py +++ b/kubernetes/client/models/v1_list_meta.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_load_balancer_ingress.py b/kubernetes/client/models/v1_load_balancer_ingress.py index a6773b86f8..42e9bb4981 100644 --- a/kubernetes/client/models/v1_load_balancer_ingress.py +++ b/kubernetes/client/models/v1_load_balancer_ingress.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_load_balancer_status.py b/kubernetes/client/models/v1_load_balancer_status.py index d2fd62dd06..4f57e4b105 100644 --- a/kubernetes/client/models/v1_load_balancer_status.py +++ b/kubernetes/client/models/v1_load_balancer_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_local_object_reference.py b/kubernetes/client/models/v1_local_object_reference.py index 154a50d61c..144eea742a 100644 --- a/kubernetes/client/models/v1_local_object_reference.py +++ b/kubernetes/client/models/v1_local_object_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_local_subject_access_review.py b/kubernetes/client/models/v1_local_subject_access_review.py index a2ac28f324..05c75d0e7f 100644 --- a/kubernetes/client/models/v1_local_subject_access_review.py +++ b/kubernetes/client/models/v1_local_subject_access_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_local_volume_source.py b/kubernetes/client/models/v1_local_volume_source.py index d9bda51ac1..22a15808cc 100644 --- a/kubernetes/client/models/v1_local_volume_source.py +++ b/kubernetes/client/models/v1_local_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_namespace.py b/kubernetes/client/models/v1_namespace.py index cf8471a52c..21f0a97e89 100644 --- a/kubernetes/client/models/v1_namespace.py +++ b/kubernetes/client/models/v1_namespace.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_namespace_list.py b/kubernetes/client/models/v1_namespace_list.py index 375ad06499..d1ddf7c020 100644 --- a/kubernetes/client/models/v1_namespace_list.py +++ b/kubernetes/client/models/v1_namespace_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_namespace_spec.py b/kubernetes/client/models/v1_namespace_spec.py index 693566b048..1400b7b823 100644 --- a/kubernetes/client/models/v1_namespace_spec.py +++ b/kubernetes/client/models/v1_namespace_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_namespace_status.py b/kubernetes/client/models/v1_namespace_status.py index c2a7ffec74..e8eb747ac1 100644 --- a/kubernetes/client/models/v1_namespace_status.py +++ b/kubernetes/client/models/v1_namespace_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_network_policy.py b/kubernetes/client/models/v1_network_policy.py index b505653e43..8518aac5a1 100644 --- a/kubernetes/client/models/v1_network_policy.py +++ b/kubernetes/client/models/v1_network_policy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_network_policy_egress_rule.py b/kubernetes/client/models/v1_network_policy_egress_rule.py index 35e170fd0b..1a638dda14 100644 --- a/kubernetes/client/models/v1_network_policy_egress_rule.py +++ b/kubernetes/client/models/v1_network_policy_egress_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_network_policy_ingress_rule.py b/kubernetes/client/models/v1_network_policy_ingress_rule.py index dea767e213..f75288a751 100644 --- a/kubernetes/client/models/v1_network_policy_ingress_rule.py +++ b/kubernetes/client/models/v1_network_policy_ingress_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_network_policy_list.py b/kubernetes/client/models/v1_network_policy_list.py index 9eee429489..df82e42013 100644 --- a/kubernetes/client/models/v1_network_policy_list.py +++ b/kubernetes/client/models/v1_network_policy_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_network_policy_peer.py b/kubernetes/client/models/v1_network_policy_peer.py index 7effc88795..b23c2cbd2a 100644 --- a/kubernetes/client/models/v1_network_policy_peer.py +++ b/kubernetes/client/models/v1_network_policy_peer.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_network_policy_port.py b/kubernetes/client/models/v1_network_policy_port.py index 0b385d13bc..2364e2c509 100644 --- a/kubernetes/client/models/v1_network_policy_port.py +++ b/kubernetes/client/models/v1_network_policy_port.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_network_policy_spec.py b/kubernetes/client/models/v1_network_policy_spec.py index 7638f90e07..1bbaab7431 100644 --- a/kubernetes/client/models/v1_network_policy_spec.py +++ b/kubernetes/client/models/v1_network_policy_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_nfs_volume_source.py b/kubernetes/client/models/v1_nfs_volume_source.py index f52619f481..df1ce9463d 100644 --- a/kubernetes/client/models/v1_nfs_volume_source.py +++ b/kubernetes/client/models/v1_nfs_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_node.py b/kubernetes/client/models/v1_node.py index f60370325d..69a8203bba 100644 --- a/kubernetes/client/models/v1_node.py +++ b/kubernetes/client/models/v1_node.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_node_address.py b/kubernetes/client/models/v1_node_address.py index 6254e5ba92..0653e24bc2 100644 --- a/kubernetes/client/models/v1_node_address.py +++ b/kubernetes/client/models/v1_node_address.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_node_affinity.py b/kubernetes/client/models/v1_node_affinity.py index f4de6bb4c0..a0ee82d8d8 100644 --- a/kubernetes/client/models/v1_node_affinity.py +++ b/kubernetes/client/models/v1_node_affinity.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_node_condition.py b/kubernetes/client/models/v1_node_condition.py index ab15b47fb8..edc7a685e7 100644 --- a/kubernetes/client/models/v1_node_condition.py +++ b/kubernetes/client/models/v1_node_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_node_config_source.py b/kubernetes/client/models/v1_node_config_source.py index 9858da852a..b2e7fb7bfe 100644 --- a/kubernetes/client/models/v1_node_config_source.py +++ b/kubernetes/client/models/v1_node_config_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_node_config_status.py b/kubernetes/client/models/v1_node_config_status.py index a878fd8c50..62096fee42 100644 --- a/kubernetes/client/models/v1_node_config_status.py +++ b/kubernetes/client/models/v1_node_config_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_node_daemon_endpoints.py b/kubernetes/client/models/v1_node_daemon_endpoints.py index 13dd2fa445..89049af15b 100644 --- a/kubernetes/client/models/v1_node_daemon_endpoints.py +++ b/kubernetes/client/models/v1_node_daemon_endpoints.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_node_list.py b/kubernetes/client/models/v1_node_list.py index cdce9c6f2d..875a975855 100644 --- a/kubernetes/client/models/v1_node_list.py +++ b/kubernetes/client/models/v1_node_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_node_selector.py b/kubernetes/client/models/v1_node_selector.py index 286e9cd641..7588bf85bd 100644 --- a/kubernetes/client/models/v1_node_selector.py +++ b/kubernetes/client/models/v1_node_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_node_selector_requirement.py b/kubernetes/client/models/v1_node_selector_requirement.py index 29498e09c8..bdb08c1708 100644 --- a/kubernetes/client/models/v1_node_selector_requirement.py +++ b/kubernetes/client/models/v1_node_selector_requirement.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_node_selector_term.py b/kubernetes/client/models/v1_node_selector_term.py index 67f4425c38..7288bcc855 100644 --- a/kubernetes/client/models/v1_node_selector_term.py +++ b/kubernetes/client/models/v1_node_selector_term.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_node_spec.py b/kubernetes/client/models/v1_node_spec.py index 09e97d297e..8dcc5542a9 100644 --- a/kubernetes/client/models/v1_node_spec.py +++ b/kubernetes/client/models/v1_node_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_node_status.py b/kubernetes/client/models/v1_node_status.py index 2810a71894..e805cd1ef0 100644 --- a/kubernetes/client/models/v1_node_status.py +++ b/kubernetes/client/models/v1_node_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_node_system_info.py b/kubernetes/client/models/v1_node_system_info.py index 3231085a0c..f793a69944 100644 --- a/kubernetes/client/models/v1_node_system_info.py +++ b/kubernetes/client/models/v1_node_system_info.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_non_resource_attributes.py b/kubernetes/client/models/v1_non_resource_attributes.py index 7955eb745a..46d5196187 100644 --- a/kubernetes/client/models/v1_non_resource_attributes.py +++ b/kubernetes/client/models/v1_non_resource_attributes.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_non_resource_rule.py b/kubernetes/client/models/v1_non_resource_rule.py index 8bf2053eaa..a60de7ba28 100644 --- a/kubernetes/client/models/v1_non_resource_rule.py +++ b/kubernetes/client/models/v1_non_resource_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_object_field_selector.py b/kubernetes/client/models/v1_object_field_selector.py index 55cebbfc78..d41280ba49 100644 --- a/kubernetes/client/models/v1_object_field_selector.py +++ b/kubernetes/client/models/v1_object_field_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_object_meta.py b/kubernetes/client/models/v1_object_meta.py index e02641c19a..25d0f3c4d8 100644 --- a/kubernetes/client/models/v1_object_meta.py +++ b/kubernetes/client/models/v1_object_meta.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_object_reference.py b/kubernetes/client/models/v1_object_reference.py index 0523ded161..4ae550f497 100644 --- a/kubernetes/client/models/v1_object_reference.py +++ b/kubernetes/client/models/v1_object_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_owner_reference.py b/kubernetes/client/models/v1_owner_reference.py index 24b8d0bcea..f8a96250be 100644 --- a/kubernetes/client/models/v1_owner_reference.py +++ b/kubernetes/client/models/v1_owner_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_persistent_volume.py b/kubernetes/client/models/v1_persistent_volume.py index 4fbb8e45d2..ec986ed9f8 100644 --- a/kubernetes/client/models/v1_persistent_volume.py +++ b/kubernetes/client/models/v1_persistent_volume.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_persistent_volume_claim.py b/kubernetes/client/models/v1_persistent_volume_claim.py index 421b9d3693..18446f57b2 100644 --- a/kubernetes/client/models/v1_persistent_volume_claim.py +++ b/kubernetes/client/models/v1_persistent_volume_claim.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_persistent_volume_claim_condition.py b/kubernetes/client/models/v1_persistent_volume_claim_condition.py index 8433270ffa..fd551a67d5 100644 --- a/kubernetes/client/models/v1_persistent_volume_claim_condition.py +++ b/kubernetes/client/models/v1_persistent_volume_claim_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_persistent_volume_claim_list.py b/kubernetes/client/models/v1_persistent_volume_claim_list.py index b4b3de74d8..04bdf3ebfc 100644 --- a/kubernetes/client/models/v1_persistent_volume_claim_list.py +++ b/kubernetes/client/models/v1_persistent_volume_claim_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_persistent_volume_claim_spec.py b/kubernetes/client/models/v1_persistent_volume_claim_spec.py index 82934f47bd..ee52192aed 100644 --- a/kubernetes/client/models/v1_persistent_volume_claim_spec.py +++ b/kubernetes/client/models/v1_persistent_volume_claim_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -198,7 +198,7 @@ def storage_class_name(self, storage_class_name): def volume_mode(self): """ Gets the volume_mode of this V1PersistentVolumeClaimSpec. - volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. This is an alpha feature and may change in the future. + volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. This is a beta feature. :return: The volume_mode of this V1PersistentVolumeClaimSpec. :rtype: str @@ -209,7 +209,7 @@ def volume_mode(self): def volume_mode(self, volume_mode): """ Sets the volume_mode of this V1PersistentVolumeClaimSpec. - volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. This is an alpha feature and may change in the future. + volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. This is a beta feature. :param volume_mode: The volume_mode of this V1PersistentVolumeClaimSpec. :type: str diff --git a/kubernetes/client/models/v1_persistent_volume_claim_status.py b/kubernetes/client/models/v1_persistent_volume_claim_status.py index 64cf7ef35c..71d89d71ab 100644 --- a/kubernetes/client/models/v1_persistent_volume_claim_status.py +++ b/kubernetes/client/models/v1_persistent_volume_claim_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_persistent_volume_claim_volume_source.py b/kubernetes/client/models/v1_persistent_volume_claim_volume_source.py index bd581823a1..2c092f2ad6 100644 --- a/kubernetes/client/models/v1_persistent_volume_claim_volume_source.py +++ b/kubernetes/client/models/v1_persistent_volume_claim_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_persistent_volume_list.py b/kubernetes/client/models/v1_persistent_volume_list.py index f241eec332..16dfb79170 100644 --- a/kubernetes/client/models/v1_persistent_volume_list.py +++ b/kubernetes/client/models/v1_persistent_volume_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_persistent_volume_spec.py b/kubernetes/client/models/v1_persistent_volume_spec.py index 3d3c0c231a..183cceb27d 100644 --- a/kubernetes/client/models/v1_persistent_volume_spec.py +++ b/kubernetes/client/models/v1_persistent_volume_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -44,7 +44,7 @@ class V1PersistentVolumeSpec(object): 'flex_volume': 'V1FlexPersistentVolumeSource', 'flocker': 'V1FlockerVolumeSource', 'gce_persistent_disk': 'V1GCEPersistentDiskVolumeSource', - 'glusterfs': 'V1GlusterfsVolumeSource', + 'glusterfs': 'V1GlusterfsPersistentVolumeSource', 'host_path': 'V1HostPathVolumeSource', 'iscsi': 'V1ISCSIPersistentVolumeSource', 'local': 'V1LocalVolumeSource', @@ -500,7 +500,7 @@ def glusterfs(self): Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md :return: The glusterfs of this V1PersistentVolumeSpec. - :rtype: V1GlusterfsVolumeSource + :rtype: V1GlusterfsPersistentVolumeSource """ return self._glusterfs @@ -511,7 +511,7 @@ def glusterfs(self, glusterfs): Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md :param glusterfs: The glusterfs of this V1PersistentVolumeSpec. - :type: V1GlusterfsVolumeSource + :type: V1GlusterfsPersistentVolumeSource """ self._glusterfs = glusterfs @@ -842,7 +842,7 @@ def storageos(self, storageos): def volume_mode(self): """ Gets the volume_mode of this V1PersistentVolumeSpec. - volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec. This is an alpha feature and may change in the future. + volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec. This is a beta feature. :return: The volume_mode of this V1PersistentVolumeSpec. :rtype: str @@ -853,7 +853,7 @@ def volume_mode(self): def volume_mode(self, volume_mode): """ Sets the volume_mode of this V1PersistentVolumeSpec. - volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec. This is an alpha feature and may change in the future. + volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec. This is a beta feature. :param volume_mode: The volume_mode of this V1PersistentVolumeSpec. :type: str diff --git a/kubernetes/client/models/v1_persistent_volume_status.py b/kubernetes/client/models/v1_persistent_volume_status.py index f75fc4f447..a5ea7f40d5 100644 --- a/kubernetes/client/models/v1_persistent_volume_status.py +++ b/kubernetes/client/models/v1_persistent_volume_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_photon_persistent_disk_volume_source.py b/kubernetes/client/models/v1_photon_persistent_disk_volume_source.py index 97c7cdd8b8..fab94b58ec 100644 --- a/kubernetes/client/models/v1_photon_persistent_disk_volume_source.py +++ b/kubernetes/client/models/v1_photon_persistent_disk_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_pod.py b/kubernetes/client/models/v1_pod.py index c960e42eca..aed3e35e54 100644 --- a/kubernetes/client/models/v1_pod.py +++ b/kubernetes/client/models/v1_pod.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_pod_affinity.py b/kubernetes/client/models/v1_pod_affinity.py index ce69e0de8a..c8a30e1e46 100644 --- a/kubernetes/client/models/v1_pod_affinity.py +++ b/kubernetes/client/models/v1_pod_affinity.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_pod_affinity_term.py b/kubernetes/client/models/v1_pod_affinity_term.py index 1b80d52bc1..874967bfbf 100644 --- a/kubernetes/client/models/v1_pod_affinity_term.py +++ b/kubernetes/client/models/v1_pod_affinity_term.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_pod_anti_affinity.py b/kubernetes/client/models/v1_pod_anti_affinity.py index add7fdb015..343619e045 100644 --- a/kubernetes/client/models/v1_pod_anti_affinity.py +++ b/kubernetes/client/models/v1_pod_anti_affinity.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_pod_condition.py b/kubernetes/client/models/v1_pod_condition.py index c1f8c5fb25..7e19203565 100644 --- a/kubernetes/client/models/v1_pod_condition.py +++ b/kubernetes/client/models/v1_pod_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_pod_dns_config.py b/kubernetes/client/models/v1_pod_dns_config.py index b170ff98e8..d1cf7d44c1 100644 --- a/kubernetes/client/models/v1_pod_dns_config.py +++ b/kubernetes/client/models/v1_pod_dns_config.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_pod_dns_config_option.py b/kubernetes/client/models/v1_pod_dns_config_option.py index d723c3f7d4..6217dd0a07 100644 --- a/kubernetes/client/models/v1_pod_dns_config_option.py +++ b/kubernetes/client/models/v1_pod_dns_config_option.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_pod_list.py b/kubernetes/client/models/v1_pod_list.py index 055b6b2f89..8c221ac5f0 100644 --- a/kubernetes/client/models/v1_pod_list.py +++ b/kubernetes/client/models/v1_pod_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_pod_readiness_gate.py b/kubernetes/client/models/v1_pod_readiness_gate.py index d17cab97bf..1c32edfabd 100644 --- a/kubernetes/client/models/v1_pod_readiness_gate.py +++ b/kubernetes/client/models/v1_pod_readiness_gate.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_pod_security_context.py b/kubernetes/client/models/v1_pod_security_context.py index 3cf3815078..6b4dcf979b 100644 --- a/kubernetes/client/models/v1_pod_security_context.py +++ b/kubernetes/client/models/v1_pod_security_context.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_pod_spec.py b/kubernetes/client/models/v1_pod_spec.py index c4639a8a4e..0a6de94aa8 100644 --- a/kubernetes/client/models/v1_pod_spec.py +++ b/kubernetes/client/models/v1_pod_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -37,6 +37,7 @@ class V1PodSpec(object): 'containers': 'list[V1Container]', 'dns_config': 'V1PodDNSConfig', 'dns_policy': 'str', + 'enable_service_links': 'bool', 'host_aliases': 'list[V1HostAlias]', 'host_ipc': 'bool', 'host_network': 'bool', @@ -69,6 +70,7 @@ class V1PodSpec(object): 'containers': 'containers', 'dns_config': 'dnsConfig', 'dns_policy': 'dnsPolicy', + 'enable_service_links': 'enableServiceLinks', 'host_aliases': 'hostAliases', 'host_ipc': 'hostIPC', 'host_network': 'hostNetwork', @@ -94,7 +96,7 @@ class V1PodSpec(object): 'volumes': 'volumes' } - def __init__(self, active_deadline_seconds=None, affinity=None, automount_service_account_token=None, containers=None, dns_config=None, dns_policy=None, host_aliases=None, host_ipc=None, host_network=None, host_pid=None, hostname=None, image_pull_secrets=None, init_containers=None, node_name=None, node_selector=None, priority=None, priority_class_name=None, readiness_gates=None, restart_policy=None, runtime_class_name=None, scheduler_name=None, security_context=None, service_account=None, service_account_name=None, share_process_namespace=None, subdomain=None, termination_grace_period_seconds=None, tolerations=None, volumes=None): + def __init__(self, active_deadline_seconds=None, affinity=None, automount_service_account_token=None, containers=None, dns_config=None, dns_policy=None, enable_service_links=None, host_aliases=None, host_ipc=None, host_network=None, host_pid=None, hostname=None, image_pull_secrets=None, init_containers=None, node_name=None, node_selector=None, priority=None, priority_class_name=None, readiness_gates=None, restart_policy=None, runtime_class_name=None, scheduler_name=None, security_context=None, service_account=None, service_account_name=None, share_process_namespace=None, subdomain=None, termination_grace_period_seconds=None, tolerations=None, volumes=None): """ V1PodSpec - a model defined in Swagger """ @@ -105,6 +107,7 @@ def __init__(self, active_deadline_seconds=None, affinity=None, automount_servic self._containers = None self._dns_config = None self._dns_policy = None + self._enable_service_links = None self._host_aliases = None self._host_ipc = None self._host_network = None @@ -141,6 +144,8 @@ def __init__(self, active_deadline_seconds=None, affinity=None, automount_servic self.dns_config = dns_config if dns_policy is not None: self.dns_policy = dns_policy + if enable_service_links is not None: + self.enable_service_links = enable_service_links if host_aliases is not None: self.host_aliases = host_aliases if host_ipc is not None: @@ -328,6 +333,29 @@ def dns_policy(self, dns_policy): self._dns_policy = dns_policy + @property + def enable_service_links(self): + """ + Gets the enable_service_links of this V1PodSpec. + EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. + + :return: The enable_service_links of this V1PodSpec. + :rtype: bool + """ + return self._enable_service_links + + @enable_service_links.setter + def enable_service_links(self, enable_service_links): + """ + Sets the enable_service_links of this V1PodSpec. + EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. + + :param enable_service_links: The enable_service_links of this V1PodSpec. + :type: bool + """ + + self._enable_service_links = enable_service_links + @property def host_aliases(self): """ diff --git a/kubernetes/client/models/v1_pod_status.py b/kubernetes/client/models/v1_pod_status.py index cf7ea45270..54464f1c40 100644 --- a/kubernetes/client/models/v1_pod_status.py +++ b/kubernetes/client/models/v1_pod_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_pod_template.py b/kubernetes/client/models/v1_pod_template.py index 5d767d6894..3097b42e78 100644 --- a/kubernetes/client/models/v1_pod_template.py +++ b/kubernetes/client/models/v1_pod_template.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_pod_template_list.py b/kubernetes/client/models/v1_pod_template_list.py index 04175ef87a..05d12f36c5 100644 --- a/kubernetes/client/models/v1_pod_template_list.py +++ b/kubernetes/client/models/v1_pod_template_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_pod_template_spec.py b/kubernetes/client/models/v1_pod_template_spec.py index 3d110e4f2e..b9aad68a6b 100644 --- a/kubernetes/client/models/v1_pod_template_spec.py +++ b/kubernetes/client/models/v1_pod_template_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_policy_rule.py b/kubernetes/client/models/v1_policy_rule.py index d747c16f32..aec10f7d4b 100644 --- a/kubernetes/client/models/v1_policy_rule.py +++ b/kubernetes/client/models/v1_policy_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_portworx_volume_source.py b/kubernetes/client/models/v1_portworx_volume_source.py index efaef2803a..b405a1b13e 100644 --- a/kubernetes/client/models/v1_portworx_volume_source.py +++ b/kubernetes/client/models/v1_portworx_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_preconditions.py b/kubernetes/client/models/v1_preconditions.py index bf8b2020eb..0774b7f4d6 100644 --- a/kubernetes/client/models/v1_preconditions.py +++ b/kubernetes/client/models/v1_preconditions.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_preferred_scheduling_term.py b/kubernetes/client/models/v1_preferred_scheduling_term.py index 3cdec6b51d..7dd22f7ab4 100644 --- a/kubernetes/client/models/v1_preferred_scheduling_term.py +++ b/kubernetes/client/models/v1_preferred_scheduling_term.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_probe.py b/kubernetes/client/models/v1_probe.py index 19be6b49c1..92d3ade7cf 100644 --- a/kubernetes/client/models/v1_probe.py +++ b/kubernetes/client/models/v1_probe.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_projected_volume_source.py b/kubernetes/client/models/v1_projected_volume_source.py index 6d76585493..272cafca01 100644 --- a/kubernetes/client/models/v1_projected_volume_source.py +++ b/kubernetes/client/models/v1_projected_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_quobyte_volume_source.py b/kubernetes/client/models/v1_quobyte_volume_source.py index c4e865d276..f5f1f55975 100644 --- a/kubernetes/client/models/v1_quobyte_volume_source.py +++ b/kubernetes/client/models/v1_quobyte_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_rbd_persistent_volume_source.py b/kubernetes/client/models/v1_rbd_persistent_volume_source.py index f0b1c9b6ec..faad3e219d 100644 --- a/kubernetes/client/models/v1_rbd_persistent_volume_source.py +++ b/kubernetes/client/models/v1_rbd_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_rbd_volume_source.py b/kubernetes/client/models/v1_rbd_volume_source.py index 8dd3351f67..505baf9523 100644 --- a/kubernetes/client/models/v1_rbd_volume_source.py +++ b/kubernetes/client/models/v1_rbd_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_replica_set.py b/kubernetes/client/models/v1_replica_set.py index 93287dde52..19a70a3110 100644 --- a/kubernetes/client/models/v1_replica_set.py +++ b/kubernetes/client/models/v1_replica_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_replica_set_condition.py b/kubernetes/client/models/v1_replica_set_condition.py index 2f81a90666..1a47e99595 100644 --- a/kubernetes/client/models/v1_replica_set_condition.py +++ b/kubernetes/client/models/v1_replica_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_replica_set_list.py b/kubernetes/client/models/v1_replica_set_list.py index 498cb26ee9..e4284e0da8 100644 --- a/kubernetes/client/models/v1_replica_set_list.py +++ b/kubernetes/client/models/v1_replica_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_replica_set_spec.py b/kubernetes/client/models/v1_replica_set_spec.py index 002c07e3f8..a990b30d76 100644 --- a/kubernetes/client/models/v1_replica_set_spec.py +++ b/kubernetes/client/models/v1_replica_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_replica_set_status.py b/kubernetes/client/models/v1_replica_set_status.py index d2a0ee7cc9..baff0918e5 100644 --- a/kubernetes/client/models/v1_replica_set_status.py +++ b/kubernetes/client/models/v1_replica_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_replication_controller.py b/kubernetes/client/models/v1_replication_controller.py index d7910c680d..816a4c96c5 100644 --- a/kubernetes/client/models/v1_replication_controller.py +++ b/kubernetes/client/models/v1_replication_controller.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_replication_controller_condition.py b/kubernetes/client/models/v1_replication_controller_condition.py index c5bcd9e576..ca333dd4d3 100644 --- a/kubernetes/client/models/v1_replication_controller_condition.py +++ b/kubernetes/client/models/v1_replication_controller_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_replication_controller_list.py b/kubernetes/client/models/v1_replication_controller_list.py index 3fefb2ef0a..ea17724b00 100644 --- a/kubernetes/client/models/v1_replication_controller_list.py +++ b/kubernetes/client/models/v1_replication_controller_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_replication_controller_spec.py b/kubernetes/client/models/v1_replication_controller_spec.py index d91fe5aee0..babaef1f8d 100644 --- a/kubernetes/client/models/v1_replication_controller_spec.py +++ b/kubernetes/client/models/v1_replication_controller_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_replication_controller_status.py b/kubernetes/client/models/v1_replication_controller_status.py index f6e55ffd77..dbb52294cd 100644 --- a/kubernetes/client/models/v1_replication_controller_status.py +++ b/kubernetes/client/models/v1_replication_controller_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_resource_attributes.py b/kubernetes/client/models/v1_resource_attributes.py index 1b1f2dbc39..09ee0a95ed 100644 --- a/kubernetes/client/models/v1_resource_attributes.py +++ b/kubernetes/client/models/v1_resource_attributes.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_resource_field_selector.py b/kubernetes/client/models/v1_resource_field_selector.py index bfbd6716f8..490826ac56 100644 --- a/kubernetes/client/models/v1_resource_field_selector.py +++ b/kubernetes/client/models/v1_resource_field_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_resource_quota.py b/kubernetes/client/models/v1_resource_quota.py index ae67772240..66fe59c75d 100644 --- a/kubernetes/client/models/v1_resource_quota.py +++ b/kubernetes/client/models/v1_resource_quota.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_resource_quota_list.py b/kubernetes/client/models/v1_resource_quota_list.py index 08c8e550f4..891812cde5 100644 --- a/kubernetes/client/models/v1_resource_quota_list.py +++ b/kubernetes/client/models/v1_resource_quota_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_resource_quota_spec.py b/kubernetes/client/models/v1_resource_quota_spec.py index f3b0cd134a..2e83ab0101 100644 --- a/kubernetes/client/models/v1_resource_quota_spec.py +++ b/kubernetes/client/models/v1_resource_quota_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_resource_quota_status.py b/kubernetes/client/models/v1_resource_quota_status.py index ea7325f69a..f811461695 100644 --- a/kubernetes/client/models/v1_resource_quota_status.py +++ b/kubernetes/client/models/v1_resource_quota_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_resource_requirements.py b/kubernetes/client/models/v1_resource_requirements.py index 4aec2e6862..a171216bb7 100644 --- a/kubernetes/client/models/v1_resource_requirements.py +++ b/kubernetes/client/models/v1_resource_requirements.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_resource_rule.py b/kubernetes/client/models/v1_resource_rule.py index bc4193dc79..7184e65c6e 100644 --- a/kubernetes/client/models/v1_resource_rule.py +++ b/kubernetes/client/models/v1_resource_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_role.py b/kubernetes/client/models/v1_role.py index 37d09a3e1d..66a1e94989 100644 --- a/kubernetes/client/models/v1_role.py +++ b/kubernetes/client/models/v1_role.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_role_binding.py b/kubernetes/client/models/v1_role_binding.py index e4f47a2330..296b553859 100644 --- a/kubernetes/client/models/v1_role_binding.py +++ b/kubernetes/client/models/v1_role_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_role_binding_list.py b/kubernetes/client/models/v1_role_binding_list.py index 0e9d7e5198..64ae0cb02a 100644 --- a/kubernetes/client/models/v1_role_binding_list.py +++ b/kubernetes/client/models/v1_role_binding_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_role_list.py b/kubernetes/client/models/v1_role_list.py index 93d967d8eb..ad922fa6c6 100644 --- a/kubernetes/client/models/v1_role_list.py +++ b/kubernetes/client/models/v1_role_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_role_ref.py b/kubernetes/client/models/v1_role_ref.py index e1be3fc751..9d82be531d 100644 --- a/kubernetes/client/models/v1_role_ref.py +++ b/kubernetes/client/models/v1_role_ref.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_rolling_update_daemon_set.py b/kubernetes/client/models/v1_rolling_update_daemon_set.py index 49f4a95932..6097e3cc5e 100644 --- a/kubernetes/client/models/v1_rolling_update_daemon_set.py +++ b/kubernetes/client/models/v1_rolling_update_daemon_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_rolling_update_deployment.py b/kubernetes/client/models/v1_rolling_update_deployment.py index 0a570336cd..d6a1f49094 100644 --- a/kubernetes/client/models/v1_rolling_update_deployment.py +++ b/kubernetes/client/models/v1_rolling_update_deployment.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_rolling_update_stateful_set_strategy.py b/kubernetes/client/models/v1_rolling_update_stateful_set_strategy.py index 96614910ed..ec67d7a48c 100644 --- a/kubernetes/client/models/v1_rolling_update_stateful_set_strategy.py +++ b/kubernetes/client/models/v1_rolling_update_stateful_set_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_scale.py b/kubernetes/client/models/v1_scale.py index bdd36c7851..d719cdae81 100644 --- a/kubernetes/client/models/v1_scale.py +++ b/kubernetes/client/models/v1_scale.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_scale_io_persistent_volume_source.py b/kubernetes/client/models/v1_scale_io_persistent_volume_source.py index f1208299de..f666ca922d 100644 --- a/kubernetes/client/models/v1_scale_io_persistent_volume_source.py +++ b/kubernetes/client/models/v1_scale_io_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_scale_io_volume_source.py b/kubernetes/client/models/v1_scale_io_volume_source.py index c08cd56fcf..5d4a9f46cf 100644 --- a/kubernetes/client/models/v1_scale_io_volume_source.py +++ b/kubernetes/client/models/v1_scale_io_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_scale_spec.py b/kubernetes/client/models/v1_scale_spec.py index 019c4e26c4..c11b613aa2 100644 --- a/kubernetes/client/models/v1_scale_spec.py +++ b/kubernetes/client/models/v1_scale_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_scale_status.py b/kubernetes/client/models/v1_scale_status.py index 9ba2ea85c5..ae84395def 100644 --- a/kubernetes/client/models/v1_scale_status.py +++ b/kubernetes/client/models/v1_scale_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_scope_selector.py b/kubernetes/client/models/v1_scope_selector.py index b011d5b1e2..1c82579c2a 100644 --- a/kubernetes/client/models/v1_scope_selector.py +++ b/kubernetes/client/models/v1_scope_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_scoped_resource_selector_requirement.py b/kubernetes/client/models/v1_scoped_resource_selector_requirement.py index 8b57a5afbd..dceb5287a1 100644 --- a/kubernetes/client/models/v1_scoped_resource_selector_requirement.py +++ b/kubernetes/client/models/v1_scoped_resource_selector_requirement.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_se_linux_options.py b/kubernetes/client/models/v1_se_linux_options.py index d614c24eb8..be177d691a 100644 --- a/kubernetes/client/models/v1_se_linux_options.py +++ b/kubernetes/client/models/v1_se_linux_options.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_secret.py b/kubernetes/client/models/v1_secret.py index b861426459..023b389ac2 100644 --- a/kubernetes/client/models/v1_secret.py +++ b/kubernetes/client/models/v1_secret.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_secret_env_source.py b/kubernetes/client/models/v1_secret_env_source.py index d17e96c8b8..a3ebd8e70d 100644 --- a/kubernetes/client/models/v1_secret_env_source.py +++ b/kubernetes/client/models/v1_secret_env_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_secret_key_selector.py b/kubernetes/client/models/v1_secret_key_selector.py index e7c491706a..2c9130ac8b 100644 --- a/kubernetes/client/models/v1_secret_key_selector.py +++ b/kubernetes/client/models/v1_secret_key_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_secret_list.py b/kubernetes/client/models/v1_secret_list.py index 9f4f758514..3d4c561162 100644 --- a/kubernetes/client/models/v1_secret_list.py +++ b/kubernetes/client/models/v1_secret_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_secret_projection.py b/kubernetes/client/models/v1_secret_projection.py index 3ab7eda951..fc95f706bc 100644 --- a/kubernetes/client/models/v1_secret_projection.py +++ b/kubernetes/client/models/v1_secret_projection.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_secret_reference.py b/kubernetes/client/models/v1_secret_reference.py index 6d38f1c67d..bef562b828 100644 --- a/kubernetes/client/models/v1_secret_reference.py +++ b/kubernetes/client/models/v1_secret_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_secret_volume_source.py b/kubernetes/client/models/v1_secret_volume_source.py index ccf9646ee3..e053a40192 100644 --- a/kubernetes/client/models/v1_secret_volume_source.py +++ b/kubernetes/client/models/v1_secret_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_security_context.py b/kubernetes/client/models/v1_security_context.py index ce19c5d9c8..5a2428d386 100644 --- a/kubernetes/client/models/v1_security_context.py +++ b/kubernetes/client/models/v1_security_context.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_self_subject_access_review.py b/kubernetes/client/models/v1_self_subject_access_review.py index 5b7a362bb4..88bdade9ad 100644 --- a/kubernetes/client/models/v1_self_subject_access_review.py +++ b/kubernetes/client/models/v1_self_subject_access_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_self_subject_access_review_spec.py b/kubernetes/client/models/v1_self_subject_access_review_spec.py index a547430fcb..3aedfbb724 100644 --- a/kubernetes/client/models/v1_self_subject_access_review_spec.py +++ b/kubernetes/client/models/v1_self_subject_access_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_self_subject_rules_review.py b/kubernetes/client/models/v1_self_subject_rules_review.py index 6bace5ccf2..3440513935 100644 --- a/kubernetes/client/models/v1_self_subject_rules_review.py +++ b/kubernetes/client/models/v1_self_subject_rules_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_self_subject_rules_review_spec.py b/kubernetes/client/models/v1_self_subject_rules_review_spec.py index fe54f60f8e..99eb4fe8ba 100644 --- a/kubernetes/client/models/v1_self_subject_rules_review_spec.py +++ b/kubernetes/client/models/v1_self_subject_rules_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_server_address_by_client_cidr.py b/kubernetes/client/models/v1_server_address_by_client_cidr.py index fc5665981a..27f5ad5852 100644 --- a/kubernetes/client/models/v1_server_address_by_client_cidr.py +++ b/kubernetes/client/models/v1_server_address_by_client_cidr.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_service.py b/kubernetes/client/models/v1_service.py index 01a5c67272..f1eedb39c7 100644 --- a/kubernetes/client/models/v1_service.py +++ b/kubernetes/client/models/v1_service.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_service_account.py b/kubernetes/client/models/v1_service_account.py index 2005bd9c51..13bf1b2573 100644 --- a/kubernetes/client/models/v1_service_account.py +++ b/kubernetes/client/models/v1_service_account.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_service_account_list.py b/kubernetes/client/models/v1_service_account_list.py index 1bd7ba8f7b..333924d4c5 100644 --- a/kubernetes/client/models/v1_service_account_list.py +++ b/kubernetes/client/models/v1_service_account_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_service_account_token_projection.py b/kubernetes/client/models/v1_service_account_token_projection.py index 23e2fda534..c5fe52a338 100644 --- a/kubernetes/client/models/v1_service_account_token_projection.py +++ b/kubernetes/client/models/v1_service_account_token_projection.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_service_list.py b/kubernetes/client/models/v1_service_list.py index 2df94827b3..3e8e06b509 100644 --- a/kubernetes/client/models/v1_service_list.py +++ b/kubernetes/client/models/v1_service_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_service_port.py b/kubernetes/client/models/v1_service_port.py index 52aaf467fb..adfbef4644 100644 --- a/kubernetes/client/models/v1_service_port.py +++ b/kubernetes/client/models/v1_service_port.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_service_reference.py b/kubernetes/client/models/v1_service_reference.py index 9b5c4e8bc7..3a71eeab25 100644 --- a/kubernetes/client/models/v1_service_reference.py +++ b/kubernetes/client/models/v1_service_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_service_spec.py b/kubernetes/client/models/v1_service_spec.py index 141f3e3af7..7f07e9bdee 100644 --- a/kubernetes/client/models/v1_service_spec.py +++ b/kubernetes/client/models/v1_service_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_service_status.py b/kubernetes/client/models/v1_service_status.py index 0b762342eb..9ac3a85f09 100644 --- a/kubernetes/client/models/v1_service_status.py +++ b/kubernetes/client/models/v1_service_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_session_affinity_config.py b/kubernetes/client/models/v1_session_affinity_config.py index cc314a16bd..5425263e11 100644 --- a/kubernetes/client/models/v1_session_affinity_config.py +++ b/kubernetes/client/models/v1_session_affinity_config.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_stateful_set.py b/kubernetes/client/models/v1_stateful_set.py index b827b02f6e..771e66210c 100644 --- a/kubernetes/client/models/v1_stateful_set.py +++ b/kubernetes/client/models/v1_stateful_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_stateful_set_condition.py b/kubernetes/client/models/v1_stateful_set_condition.py index 23d96eaad1..3466dc095f 100644 --- a/kubernetes/client/models/v1_stateful_set_condition.py +++ b/kubernetes/client/models/v1_stateful_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_stateful_set_list.py b/kubernetes/client/models/v1_stateful_set_list.py index 377a7d2a6f..fbdf142cd2 100644 --- a/kubernetes/client/models/v1_stateful_set_list.py +++ b/kubernetes/client/models/v1_stateful_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_stateful_set_spec.py b/kubernetes/client/models/v1_stateful_set_spec.py index fe2f97f896..ce4528a5d3 100644 --- a/kubernetes/client/models/v1_stateful_set_spec.py +++ b/kubernetes/client/models/v1_stateful_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_stateful_set_status.py b/kubernetes/client/models/v1_stateful_set_status.py index 179097cbba..0d7c7f5432 100644 --- a/kubernetes/client/models/v1_stateful_set_status.py +++ b/kubernetes/client/models/v1_stateful_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_stateful_set_update_strategy.py b/kubernetes/client/models/v1_stateful_set_update_strategy.py index b2e4bd8ff2..9ffca285c4 100644 --- a/kubernetes/client/models/v1_stateful_set_update_strategy.py +++ b/kubernetes/client/models/v1_stateful_set_update_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_status.py b/kubernetes/client/models/v1_status.py index 85bdae2641..ee89fdc347 100644 --- a/kubernetes/client/models/v1_status.py +++ b/kubernetes/client/models/v1_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_status_cause.py b/kubernetes/client/models/v1_status_cause.py index 8714dd927b..1e9716c806 100644 --- a/kubernetes/client/models/v1_status_cause.py +++ b/kubernetes/client/models/v1_status_cause.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_status_details.py b/kubernetes/client/models/v1_status_details.py index 54192818cc..37e1fae4a7 100644 --- a/kubernetes/client/models/v1_status_details.py +++ b/kubernetes/client/models/v1_status_details.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_storage_class.py b/kubernetes/client/models/v1_storage_class.py index 89d5bb5157..f013f72c62 100644 --- a/kubernetes/client/models/v1_storage_class.py +++ b/kubernetes/client/models/v1_storage_class.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_storage_class_list.py b/kubernetes/client/models/v1_storage_class_list.py index 7f6992401d..521439c6b3 100644 --- a/kubernetes/client/models/v1_storage_class_list.py +++ b/kubernetes/client/models/v1_storage_class_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_storage_os_persistent_volume_source.py b/kubernetes/client/models/v1_storage_os_persistent_volume_source.py index 0f0dbe6b84..57d1997a13 100644 --- a/kubernetes/client/models/v1_storage_os_persistent_volume_source.py +++ b/kubernetes/client/models/v1_storage_os_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_storage_os_volume_source.py b/kubernetes/client/models/v1_storage_os_volume_source.py index af5fb868ce..2106970f96 100644 --- a/kubernetes/client/models/v1_storage_os_volume_source.py +++ b/kubernetes/client/models/v1_storage_os_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_subject.py b/kubernetes/client/models/v1_subject.py index dfacaf6ce0..be46e5285b 100644 --- a/kubernetes/client/models/v1_subject.py +++ b/kubernetes/client/models/v1_subject.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_subject_access_review.py b/kubernetes/client/models/v1_subject_access_review.py index 97bf2ecbe7..c49eaf3803 100644 --- a/kubernetes/client/models/v1_subject_access_review.py +++ b/kubernetes/client/models/v1_subject_access_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_subject_access_review_spec.py b/kubernetes/client/models/v1_subject_access_review_spec.py index 72bf6638d0..e36d3bb30e 100644 --- a/kubernetes/client/models/v1_subject_access_review_spec.py +++ b/kubernetes/client/models/v1_subject_access_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_subject_access_review_status.py b/kubernetes/client/models/v1_subject_access_review_status.py index 4179fa29da..9b22788287 100644 --- a/kubernetes/client/models/v1_subject_access_review_status.py +++ b/kubernetes/client/models/v1_subject_access_review_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_subject_rules_review_status.py b/kubernetes/client/models/v1_subject_rules_review_status.py index 9fc12458a4..b5022b86ff 100644 --- a/kubernetes/client/models/v1_subject_rules_review_status.py +++ b/kubernetes/client/models/v1_subject_rules_review_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_sysctl.py b/kubernetes/client/models/v1_sysctl.py index 4f60a0c08e..37259988d2 100644 --- a/kubernetes/client/models/v1_sysctl.py +++ b/kubernetes/client/models/v1_sysctl.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_taint.py b/kubernetes/client/models/v1_taint.py index c07279be56..6acdb9c0e9 100644 --- a/kubernetes/client/models/v1_taint.py +++ b/kubernetes/client/models/v1_taint.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_tcp_socket_action.py b/kubernetes/client/models/v1_tcp_socket_action.py index 602fdf8a9b..21f1c834b4 100644 --- a/kubernetes/client/models/v1_tcp_socket_action.py +++ b/kubernetes/client/models/v1_tcp_socket_action.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_token_review.py b/kubernetes/client/models/v1_token_review.py index 7f0bcacee0..beb32f8276 100644 --- a/kubernetes/client/models/v1_token_review.py +++ b/kubernetes/client/models/v1_token_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_token_review_spec.py b/kubernetes/client/models/v1_token_review_spec.py index 6ca55287f0..e0aa92e0bc 100644 --- a/kubernetes/client/models/v1_token_review_spec.py +++ b/kubernetes/client/models/v1_token_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -31,24 +31,52 @@ class V1TokenReviewSpec(object): and the value is json key in definition. """ swagger_types = { + 'audiences': 'list[str]', 'token': 'str' } attribute_map = { + 'audiences': 'audiences', 'token': 'token' } - def __init__(self, token=None): + def __init__(self, audiences=None, token=None): """ V1TokenReviewSpec - a model defined in Swagger """ + self._audiences = None self._token = None self.discriminator = None + if audiences is not None: + self.audiences = audiences if token is not None: self.token = token + @property + def audiences(self): + """ + Gets the audiences of this V1TokenReviewSpec. + Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver. + + :return: The audiences of this V1TokenReviewSpec. + :rtype: list[str] + """ + return self._audiences + + @audiences.setter + def audiences(self, audiences): + """ + Sets the audiences of this V1TokenReviewSpec. + Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver. + + :param audiences: The audiences of this V1TokenReviewSpec. + :type: list[str] + """ + + self._audiences = audiences + @property def token(self): """ diff --git a/kubernetes/client/models/v1_token_review_status.py b/kubernetes/client/models/v1_token_review_status.py index 2b5d9a3212..f362e0bf76 100644 --- a/kubernetes/client/models/v1_token_review_status.py +++ b/kubernetes/client/models/v1_token_review_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -31,27 +31,32 @@ class V1TokenReviewStatus(object): and the value is json key in definition. """ swagger_types = { + 'audiences': 'list[str]', 'authenticated': 'bool', 'error': 'str', 'user': 'V1UserInfo' } attribute_map = { + 'audiences': 'audiences', 'authenticated': 'authenticated', 'error': 'error', 'user': 'user' } - def __init__(self, authenticated=None, error=None, user=None): + def __init__(self, audiences=None, authenticated=None, error=None, user=None): """ V1TokenReviewStatus - a model defined in Swagger """ + self._audiences = None self._authenticated = None self._error = None self._user = None self.discriminator = None + if audiences is not None: + self.audiences = audiences if authenticated is not None: self.authenticated = authenticated if error is not None: @@ -59,6 +64,29 @@ def __init__(self, authenticated=None, error=None, user=None): if user is not None: self.user = user + @property + def audiences(self): + """ + Gets the audiences of this V1TokenReviewStatus. + Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is \"true\", the token is valid against the audience of the Kubernetes API server. + + :return: The audiences of this V1TokenReviewStatus. + :rtype: list[str] + """ + return self._audiences + + @audiences.setter + def audiences(self, audiences): + """ + Sets the audiences of this V1TokenReviewStatus. + Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is \"true\", the token is valid against the audience of the Kubernetes API server. + + :param audiences: The audiences of this V1TokenReviewStatus. + :type: list[str] + """ + + self._audiences = audiences + @property def authenticated(self): """ diff --git a/kubernetes/client/models/v1_toleration.py b/kubernetes/client/models/v1_toleration.py index cbec4c396a..fb2d6ca17c 100644 --- a/kubernetes/client/models/v1_toleration.py +++ b/kubernetes/client/models/v1_toleration.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_topology_selector_label_requirement.py b/kubernetes/client/models/v1_topology_selector_label_requirement.py index 91e984d217..f8fbed763c 100644 --- a/kubernetes/client/models/v1_topology_selector_label_requirement.py +++ b/kubernetes/client/models/v1_topology_selector_label_requirement.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_topology_selector_term.py b/kubernetes/client/models/v1_topology_selector_term.py index 510f72c4de..b45a3b87f2 100644 --- a/kubernetes/client/models/v1_topology_selector_term.py +++ b/kubernetes/client/models/v1_topology_selector_term.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_typed_local_object_reference.py b/kubernetes/client/models/v1_typed_local_object_reference.py index d5a63d0faf..d7c016ef2b 100644 --- a/kubernetes/client/models/v1_typed_local_object_reference.py +++ b/kubernetes/client/models/v1_typed_local_object_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_user_info.py b/kubernetes/client/models/v1_user_info.py index 700dae7ed1..95045f75ab 100644 --- a/kubernetes/client/models/v1_user_info.py +++ b/kubernetes/client/models/v1_user_info.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_volume.py b/kubernetes/client/models/v1_volume.py index 40021b8ca4..cca277dee5 100644 --- a/kubernetes/client/models/v1_volume.py +++ b/kubernetes/client/models/v1_volume.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_volume_attachment.py b/kubernetes/client/models/v1_volume_attachment.py new file mode 100644 index 0000000000..692665e212 --- /dev/null +++ b/kubernetes/client/models/v1_volume_attachment.py @@ -0,0 +1,239 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.13.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class V1VolumeAttachment(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'api_version': 'str', + 'kind': 'str', + 'metadata': 'V1ObjectMeta', + 'spec': 'V1VolumeAttachmentSpec', + 'status': 'V1VolumeAttachmentStatus' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', + 'metadata': 'metadata', + 'spec': 'spec', + 'status': 'status' + } + + def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status=None): + """ + V1VolumeAttachment - a model defined in Swagger + """ + + self._api_version = None + self._kind = None + self._metadata = None + self._spec = None + self._status = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + self.spec = spec + if status is not None: + self.status = status + + @property + def api_version(self): + """ + Gets the api_version of this V1VolumeAttachment. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + + :return: The api_version of this V1VolumeAttachment. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1VolumeAttachment. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1VolumeAttachment. + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """ + Gets the kind of this V1VolumeAttachment. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + + :return: The kind of this V1VolumeAttachment. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1VolumeAttachment. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1VolumeAttachment. + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """ + Gets the metadata of this V1VolumeAttachment. + Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + + :return: The metadata of this V1VolumeAttachment. + :rtype: V1ObjectMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """ + Sets the metadata of this V1VolumeAttachment. + Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + + :param metadata: The metadata of this V1VolumeAttachment. + :type: V1ObjectMeta + """ + + self._metadata = metadata + + @property + def spec(self): + """ + Gets the spec of this V1VolumeAttachment. + Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system. + + :return: The spec of this V1VolumeAttachment. + :rtype: V1VolumeAttachmentSpec + """ + return self._spec + + @spec.setter + def spec(self, spec): + """ + Sets the spec of this V1VolumeAttachment. + Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system. + + :param spec: The spec of this V1VolumeAttachment. + :type: V1VolumeAttachmentSpec + """ + if spec is None: + raise ValueError("Invalid value for `spec`, must not be `None`") + + self._spec = spec + + @property + def status(self): + """ + Gets the status of this V1VolumeAttachment. + Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher. + + :return: The status of this V1VolumeAttachment. + :rtype: V1VolumeAttachmentStatus + """ + return self._status + + @status.setter + def status(self, status): + """ + Sets the status of this V1VolumeAttachment. + Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher. + + :param status: The status of this V1VolumeAttachment. + :type: V1VolumeAttachmentStatus + """ + + self._status = status + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, V1VolumeAttachment): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1_volume_attachment_list.py b/kubernetes/client/models/v1_volume_attachment_list.py new file mode 100644 index 0000000000..df993b0030 --- /dev/null +++ b/kubernetes/client/models/v1_volume_attachment_list.py @@ -0,0 +1,211 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.13.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class V1VolumeAttachmentList(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'api_version': 'str', + 'items': 'list[V1VolumeAttachment]', + 'kind': 'str', + 'metadata': 'V1ListMeta' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'items': 'items', + 'kind': 'kind', + 'metadata': 'metadata' + } + + def __init__(self, api_version=None, items=None, kind=None, metadata=None): + """ + V1VolumeAttachmentList - a model defined in Swagger + """ + + self._api_version = None + self._items = None + self._kind = None + self._metadata = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + self.items = items + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + + @property + def api_version(self): + """ + Gets the api_version of this V1VolumeAttachmentList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + + :return: The api_version of this V1VolumeAttachmentList. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1VolumeAttachmentList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1VolumeAttachmentList. + :type: str + """ + + self._api_version = api_version + + @property + def items(self): + """ + Gets the items of this V1VolumeAttachmentList. + Items is the list of VolumeAttachments + + :return: The items of this V1VolumeAttachmentList. + :rtype: list[V1VolumeAttachment] + """ + return self._items + + @items.setter + def items(self, items): + """ + Sets the items of this V1VolumeAttachmentList. + Items is the list of VolumeAttachments + + :param items: The items of this V1VolumeAttachmentList. + :type: list[V1VolumeAttachment] + """ + if items is None: + raise ValueError("Invalid value for `items`, must not be `None`") + + self._items = items + + @property + def kind(self): + """ + Gets the kind of this V1VolumeAttachmentList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + + :return: The kind of this V1VolumeAttachmentList. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1VolumeAttachmentList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1VolumeAttachmentList. + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """ + Gets the metadata of this V1VolumeAttachmentList. + Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + + :return: The metadata of this V1VolumeAttachmentList. + :rtype: V1ListMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """ + Sets the metadata of this V1VolumeAttachmentList. + Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + + :param metadata: The metadata of this V1VolumeAttachmentList. + :type: V1ListMeta + """ + + self._metadata = metadata + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, V1VolumeAttachmentList): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1_volume_attachment_source.py b/kubernetes/client/models/v1_volume_attachment_source.py new file mode 100644 index 0000000000..77f7e3cb6b --- /dev/null +++ b/kubernetes/client/models/v1_volume_attachment_source.py @@ -0,0 +1,126 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.13.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class V1VolumeAttachmentSource(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'persistent_volume_name': 'str' + } + + attribute_map = { + 'persistent_volume_name': 'persistentVolumeName' + } + + def __init__(self, persistent_volume_name=None): + """ + V1VolumeAttachmentSource - a model defined in Swagger + """ + + self._persistent_volume_name = None + self.discriminator = None + + if persistent_volume_name is not None: + self.persistent_volume_name = persistent_volume_name + + @property + def persistent_volume_name(self): + """ + Gets the persistent_volume_name of this V1VolumeAttachmentSource. + Name of the persistent volume to attach. + + :return: The persistent_volume_name of this V1VolumeAttachmentSource. + :rtype: str + """ + return self._persistent_volume_name + + @persistent_volume_name.setter + def persistent_volume_name(self, persistent_volume_name): + """ + Sets the persistent_volume_name of this V1VolumeAttachmentSource. + Name of the persistent volume to attach. + + :param persistent_volume_name: The persistent_volume_name of this V1VolumeAttachmentSource. + :type: str + """ + + self._persistent_volume_name = persistent_volume_name + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, V1VolumeAttachmentSource): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1_volume_attachment_spec.py b/kubernetes/client/models/v1_volume_attachment_spec.py new file mode 100644 index 0000000000..11cf4aca98 --- /dev/null +++ b/kubernetes/client/models/v1_volume_attachment_spec.py @@ -0,0 +1,185 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.13.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class V1VolumeAttachmentSpec(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'attacher': 'str', + 'node_name': 'str', + 'source': 'V1VolumeAttachmentSource' + } + + attribute_map = { + 'attacher': 'attacher', + 'node_name': 'nodeName', + 'source': 'source' + } + + def __init__(self, attacher=None, node_name=None, source=None): + """ + V1VolumeAttachmentSpec - a model defined in Swagger + """ + + self._attacher = None + self._node_name = None + self._source = None + self.discriminator = None + + self.attacher = attacher + self.node_name = node_name + self.source = source + + @property + def attacher(self): + """ + Gets the attacher of this V1VolumeAttachmentSpec. + Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName(). + + :return: The attacher of this V1VolumeAttachmentSpec. + :rtype: str + """ + return self._attacher + + @attacher.setter + def attacher(self, attacher): + """ + Sets the attacher of this V1VolumeAttachmentSpec. + Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName(). + + :param attacher: The attacher of this V1VolumeAttachmentSpec. + :type: str + """ + if attacher is None: + raise ValueError("Invalid value for `attacher`, must not be `None`") + + self._attacher = attacher + + @property + def node_name(self): + """ + Gets the node_name of this V1VolumeAttachmentSpec. + The node that the volume should be attached to. + + :return: The node_name of this V1VolumeAttachmentSpec. + :rtype: str + """ + return self._node_name + + @node_name.setter + def node_name(self, node_name): + """ + Sets the node_name of this V1VolumeAttachmentSpec. + The node that the volume should be attached to. + + :param node_name: The node_name of this V1VolumeAttachmentSpec. + :type: str + """ + if node_name is None: + raise ValueError("Invalid value for `node_name`, must not be `None`") + + self._node_name = node_name + + @property + def source(self): + """ + Gets the source of this V1VolumeAttachmentSpec. + Source represents the volume that should be attached. + + :return: The source of this V1VolumeAttachmentSpec. + :rtype: V1VolumeAttachmentSource + """ + return self._source + + @source.setter + def source(self, source): + """ + Sets the source of this V1VolumeAttachmentSpec. + Source represents the volume that should be attached. + + :param source: The source of this V1VolumeAttachmentSpec. + :type: V1VolumeAttachmentSource + """ + if source is None: + raise ValueError("Invalid value for `source`, must not be `None`") + + self._source = source + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, V1VolumeAttachmentSpec): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1_volume_attachment_status.py b/kubernetes/client/models/v1_volume_attachment_status.py new file mode 100644 index 0000000000..01205f43e0 --- /dev/null +++ b/kubernetes/client/models/v1_volume_attachment_status.py @@ -0,0 +1,211 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.13.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class V1VolumeAttachmentStatus(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'attach_error': 'V1VolumeError', + 'attached': 'bool', + 'attachment_metadata': 'dict(str, str)', + 'detach_error': 'V1VolumeError' + } + + attribute_map = { + 'attach_error': 'attachError', + 'attached': 'attached', + 'attachment_metadata': 'attachmentMetadata', + 'detach_error': 'detachError' + } + + def __init__(self, attach_error=None, attached=None, attachment_metadata=None, detach_error=None): + """ + V1VolumeAttachmentStatus - a model defined in Swagger + """ + + self._attach_error = None + self._attached = None + self._attachment_metadata = None + self._detach_error = None + self.discriminator = None + + if attach_error is not None: + self.attach_error = attach_error + self.attached = attached + if attachment_metadata is not None: + self.attachment_metadata = attachment_metadata + if detach_error is not None: + self.detach_error = detach_error + + @property + def attach_error(self): + """ + Gets the attach_error of this V1VolumeAttachmentStatus. + The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. + + :return: The attach_error of this V1VolumeAttachmentStatus. + :rtype: V1VolumeError + """ + return self._attach_error + + @attach_error.setter + def attach_error(self, attach_error): + """ + Sets the attach_error of this V1VolumeAttachmentStatus. + The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. + + :param attach_error: The attach_error of this V1VolumeAttachmentStatus. + :type: V1VolumeError + """ + + self._attach_error = attach_error + + @property + def attached(self): + """ + Gets the attached of this V1VolumeAttachmentStatus. + Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. + + :return: The attached of this V1VolumeAttachmentStatus. + :rtype: bool + """ + return self._attached + + @attached.setter + def attached(self, attached): + """ + Sets the attached of this V1VolumeAttachmentStatus. + Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. + + :param attached: The attached of this V1VolumeAttachmentStatus. + :type: bool + """ + if attached is None: + raise ValueError("Invalid value for `attached`, must not be `None`") + + self._attached = attached + + @property + def attachment_metadata(self): + """ + Gets the attachment_metadata of this V1VolumeAttachmentStatus. + Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. + + :return: The attachment_metadata of this V1VolumeAttachmentStatus. + :rtype: dict(str, str) + """ + return self._attachment_metadata + + @attachment_metadata.setter + def attachment_metadata(self, attachment_metadata): + """ + Sets the attachment_metadata of this V1VolumeAttachmentStatus. + Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. + + :param attachment_metadata: The attachment_metadata of this V1VolumeAttachmentStatus. + :type: dict(str, str) + """ + + self._attachment_metadata = attachment_metadata + + @property + def detach_error(self): + """ + Gets the detach_error of this V1VolumeAttachmentStatus. + The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher. + + :return: The detach_error of this V1VolumeAttachmentStatus. + :rtype: V1VolumeError + """ + return self._detach_error + + @detach_error.setter + def detach_error(self, detach_error): + """ + Sets the detach_error of this V1VolumeAttachmentStatus. + The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher. + + :param detach_error: The detach_error of this V1VolumeAttachmentStatus. + :type: V1VolumeError + """ + + self._detach_error = detach_error + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, V1VolumeAttachmentStatus): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1_volume_device.py b/kubernetes/client/models/v1_volume_device.py index bada157190..b505cd2473 100644 --- a/kubernetes/client/models/v1_volume_device.py +++ b/kubernetes/client/models/v1_volume_device.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_volume_error.py b/kubernetes/client/models/v1_volume_error.py new file mode 100644 index 0000000000..75e3861d68 --- /dev/null +++ b/kubernetes/client/models/v1_volume_error.py @@ -0,0 +1,154 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.13.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class V1VolumeError(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'message': 'str', + 'time': 'datetime' + } + + attribute_map = { + 'message': 'message', + 'time': 'time' + } + + def __init__(self, message=None, time=None): + """ + V1VolumeError - a model defined in Swagger + """ + + self._message = None + self._time = None + self.discriminator = None + + if message is not None: + self.message = message + if time is not None: + self.time = time + + @property + def message(self): + """ + Gets the message of this V1VolumeError. + String detailing the error encountered during Attach or Detach operation. This string maybe logged, so it should not contain sensitive information. + + :return: The message of this V1VolumeError. + :rtype: str + """ + return self._message + + @message.setter + def message(self, message): + """ + Sets the message of this V1VolumeError. + String detailing the error encountered during Attach or Detach operation. This string maybe logged, so it should not contain sensitive information. + + :param message: The message of this V1VolumeError. + :type: str + """ + + self._message = message + + @property + def time(self): + """ + Gets the time of this V1VolumeError. + Time the error was encountered. + + :return: The time of this V1VolumeError. + :rtype: datetime + """ + return self._time + + @time.setter + def time(self, time): + """ + Sets the time of this V1VolumeError. + Time the error was encountered. + + :param time: The time of this V1VolumeError. + :type: datetime + """ + + self._time = time + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, V1VolumeError): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1_volume_mount.py b/kubernetes/client/models/v1_volume_mount.py index dbf726f444..cb4e685931 100644 --- a/kubernetes/client/models/v1_volume_mount.py +++ b/kubernetes/client/models/v1_volume_mount.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_volume_node_affinity.py b/kubernetes/client/models/v1_volume_node_affinity.py index e725b4ac45..03dde987cf 100644 --- a/kubernetes/client/models/v1_volume_node_affinity.py +++ b/kubernetes/client/models/v1_volume_node_affinity.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_volume_projection.py b/kubernetes/client/models/v1_volume_projection.py index 4a88001086..493b853f98 100644 --- a/kubernetes/client/models/v1_volume_projection.py +++ b/kubernetes/client/models/v1_volume_projection.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_vsphere_virtual_disk_volume_source.py b/kubernetes/client/models/v1_vsphere_virtual_disk_volume_source.py index 63629d58bf..9515952eab 100644 --- a/kubernetes/client/models/v1_vsphere_virtual_disk_volume_source.py +++ b/kubernetes/client/models/v1_vsphere_virtual_disk_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_watch_event.py b/kubernetes/client/models/v1_watch_event.py index 8b9933e36f..1fb495d8a0 100644 --- a/kubernetes/client/models/v1_watch_event.py +++ b/kubernetes/client/models/v1_watch_event.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1_weighted_pod_affinity_term.py b/kubernetes/client/models/v1_weighted_pod_affinity_term.py index c3da0ba891..f4f42d479f 100644 --- a/kubernetes/client/models/v1_weighted_pod_affinity_term.py +++ b/kubernetes/client/models/v1_weighted_pod_affinity_term.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_aggregation_rule.py b/kubernetes/client/models/v1alpha1_aggregation_rule.py index d3ea77d768..21e1c74861 100644 --- a/kubernetes/client/models/v1alpha1_aggregation_rule.py +++ b/kubernetes/client/models/v1alpha1_aggregation_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_audit_sink.py b/kubernetes/client/models/v1alpha1_audit_sink.py new file mode 100644 index 0000000000..2760f75c28 --- /dev/null +++ b/kubernetes/client/models/v1alpha1_audit_sink.py @@ -0,0 +1,208 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.13.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class V1alpha1AuditSink(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'api_version': 'str', + 'kind': 'str', + 'metadata': 'V1ObjectMeta', + 'spec': 'V1alpha1AuditSinkSpec' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', + 'metadata': 'metadata', + 'spec': 'spec' + } + + def __init__(self, api_version=None, kind=None, metadata=None, spec=None): + """ + V1alpha1AuditSink - a model defined in Swagger + """ + + self._api_version = None + self._kind = None + self._metadata = None + self._spec = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + if spec is not None: + self.spec = spec + + @property + def api_version(self): + """ + Gets the api_version of this V1alpha1AuditSink. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + + :return: The api_version of this V1alpha1AuditSink. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1alpha1AuditSink. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1alpha1AuditSink. + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """ + Gets the kind of this V1alpha1AuditSink. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + + :return: The kind of this V1alpha1AuditSink. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1alpha1AuditSink. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1alpha1AuditSink. + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """ + Gets the metadata of this V1alpha1AuditSink. + + :return: The metadata of this V1alpha1AuditSink. + :rtype: V1ObjectMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """ + Sets the metadata of this V1alpha1AuditSink. + + :param metadata: The metadata of this V1alpha1AuditSink. + :type: V1ObjectMeta + """ + + self._metadata = metadata + + @property + def spec(self): + """ + Gets the spec of this V1alpha1AuditSink. + Spec defines the audit configuration spec + + :return: The spec of this V1alpha1AuditSink. + :rtype: V1alpha1AuditSinkSpec + """ + return self._spec + + @spec.setter + def spec(self, spec): + """ + Sets the spec of this V1alpha1AuditSink. + Spec defines the audit configuration spec + + :param spec: The spec of this V1alpha1AuditSink. + :type: V1alpha1AuditSinkSpec + """ + + self._spec = spec + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, V1alpha1AuditSink): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1alpha1_audit_sink_list.py b/kubernetes/client/models/v1alpha1_audit_sink_list.py new file mode 100644 index 0000000000..2000202d5c --- /dev/null +++ b/kubernetes/client/models/v1alpha1_audit_sink_list.py @@ -0,0 +1,209 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.13.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class V1alpha1AuditSinkList(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'api_version': 'str', + 'items': 'list[V1alpha1AuditSink]', + 'kind': 'str', + 'metadata': 'V1ListMeta' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'items': 'items', + 'kind': 'kind', + 'metadata': 'metadata' + } + + def __init__(self, api_version=None, items=None, kind=None, metadata=None): + """ + V1alpha1AuditSinkList - a model defined in Swagger + """ + + self._api_version = None + self._items = None + self._kind = None + self._metadata = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + self.items = items + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + + @property + def api_version(self): + """ + Gets the api_version of this V1alpha1AuditSinkList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + + :return: The api_version of this V1alpha1AuditSinkList. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1alpha1AuditSinkList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1alpha1AuditSinkList. + :type: str + """ + + self._api_version = api_version + + @property + def items(self): + """ + Gets the items of this V1alpha1AuditSinkList. + List of audit configurations. + + :return: The items of this V1alpha1AuditSinkList. + :rtype: list[V1alpha1AuditSink] + """ + return self._items + + @items.setter + def items(self, items): + """ + Sets the items of this V1alpha1AuditSinkList. + List of audit configurations. + + :param items: The items of this V1alpha1AuditSinkList. + :type: list[V1alpha1AuditSink] + """ + if items is None: + raise ValueError("Invalid value for `items`, must not be `None`") + + self._items = items + + @property + def kind(self): + """ + Gets the kind of this V1alpha1AuditSinkList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + + :return: The kind of this V1alpha1AuditSinkList. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1alpha1AuditSinkList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1alpha1AuditSinkList. + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """ + Gets the metadata of this V1alpha1AuditSinkList. + + :return: The metadata of this V1alpha1AuditSinkList. + :rtype: V1ListMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """ + Sets the metadata of this V1alpha1AuditSinkList. + + :param metadata: The metadata of this V1alpha1AuditSinkList. + :type: V1ListMeta + """ + + self._metadata = metadata + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, V1alpha1AuditSinkList): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1alpha1_audit_sink_spec.py b/kubernetes/client/models/v1alpha1_audit_sink_spec.py new file mode 100644 index 0000000000..b6b60acc50 --- /dev/null +++ b/kubernetes/client/models/v1alpha1_audit_sink_spec.py @@ -0,0 +1,156 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.13.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class V1alpha1AuditSinkSpec(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'policy': 'V1alpha1Policy', + 'webhook': 'V1alpha1Webhook' + } + + attribute_map = { + 'policy': 'policy', + 'webhook': 'webhook' + } + + def __init__(self, policy=None, webhook=None): + """ + V1alpha1AuditSinkSpec - a model defined in Swagger + """ + + self._policy = None + self._webhook = None + self.discriminator = None + + self.policy = policy + self.webhook = webhook + + @property + def policy(self): + """ + Gets the policy of this V1alpha1AuditSinkSpec. + Policy defines the policy for selecting which events should be sent to the webhook required + + :return: The policy of this V1alpha1AuditSinkSpec. + :rtype: V1alpha1Policy + """ + return self._policy + + @policy.setter + def policy(self, policy): + """ + Sets the policy of this V1alpha1AuditSinkSpec. + Policy defines the policy for selecting which events should be sent to the webhook required + + :param policy: The policy of this V1alpha1AuditSinkSpec. + :type: V1alpha1Policy + """ + if policy is None: + raise ValueError("Invalid value for `policy`, must not be `None`") + + self._policy = policy + + @property + def webhook(self): + """ + Gets the webhook of this V1alpha1AuditSinkSpec. + Webhook to send events required + + :return: The webhook of this V1alpha1AuditSinkSpec. + :rtype: V1alpha1Webhook + """ + return self._webhook + + @webhook.setter + def webhook(self, webhook): + """ + Sets the webhook of this V1alpha1AuditSinkSpec. + Webhook to send events required + + :param webhook: The webhook of this V1alpha1AuditSinkSpec. + :type: V1alpha1Webhook + """ + if webhook is None: + raise ValueError("Invalid value for `webhook`, must not be `None`") + + self._webhook = webhook + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, V1alpha1AuditSinkSpec): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1alpha1_cluster_role.py b/kubernetes/client/models/v1alpha1_cluster_role.py index 1d4ded23dc..a3d9c79a6a 100644 --- a/kubernetes/client/models/v1alpha1_cluster_role.py +++ b/kubernetes/client/models/v1alpha1_cluster_role.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_cluster_role_binding.py b/kubernetes/client/models/v1alpha1_cluster_role_binding.py index 75575e5443..cc1f00afc4 100644 --- a/kubernetes/client/models/v1alpha1_cluster_role_binding.py +++ b/kubernetes/client/models/v1alpha1_cluster_role_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_cluster_role_binding_list.py b/kubernetes/client/models/v1alpha1_cluster_role_binding_list.py index 42fe39d654..7d7753058d 100644 --- a/kubernetes/client/models/v1alpha1_cluster_role_binding_list.py +++ b/kubernetes/client/models/v1alpha1_cluster_role_binding_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_cluster_role_list.py b/kubernetes/client/models/v1alpha1_cluster_role_list.py index 9457cdb9cd..9f286e54cf 100644 --- a/kubernetes/client/models/v1alpha1_cluster_role_list.py +++ b/kubernetes/client/models/v1alpha1_cluster_role_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_initializer.py b/kubernetes/client/models/v1alpha1_initializer.py index d9cf24e691..d86c613ab2 100644 --- a/kubernetes/client/models/v1alpha1_initializer.py +++ b/kubernetes/client/models/v1alpha1_initializer.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_initializer_configuration.py b/kubernetes/client/models/v1alpha1_initializer_configuration.py index 1738034b80..358b0eaa2b 100644 --- a/kubernetes/client/models/v1alpha1_initializer_configuration.py +++ b/kubernetes/client/models/v1alpha1_initializer_configuration.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_initializer_configuration_list.py b/kubernetes/client/models/v1alpha1_initializer_configuration_list.py index 82cb4e4f72..5c4e390b8c 100644 --- a/kubernetes/client/models/v1alpha1_initializer_configuration_list.py +++ b/kubernetes/client/models/v1alpha1_initializer_configuration_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_pod_preset.py b/kubernetes/client/models/v1alpha1_pod_preset.py index 73c9fe6a67..8af9a8b38d 100644 --- a/kubernetes/client/models/v1alpha1_pod_preset.py +++ b/kubernetes/client/models/v1alpha1_pod_preset.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_pod_preset_list.py b/kubernetes/client/models/v1alpha1_pod_preset_list.py index a81ad056d1..b8e627656f 100644 --- a/kubernetes/client/models/v1alpha1_pod_preset_list.py +++ b/kubernetes/client/models/v1alpha1_pod_preset_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_pod_preset_spec.py b/kubernetes/client/models/v1alpha1_pod_preset_spec.py index 7d2c496021..fb0d74ec42 100644 --- a/kubernetes/client/models/v1alpha1_pod_preset_spec.py +++ b/kubernetes/client/models/v1alpha1_pod_preset_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_policy.py b/kubernetes/client/models/v1alpha1_policy.py new file mode 100644 index 0000000000..757544fd5e --- /dev/null +++ b/kubernetes/client/models/v1alpha1_policy.py @@ -0,0 +1,155 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.13.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class V1alpha1Policy(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'level': 'str', + 'stages': 'list[str]' + } + + attribute_map = { + 'level': 'level', + 'stages': 'stages' + } + + def __init__(self, level=None, stages=None): + """ + V1alpha1Policy - a model defined in Swagger + """ + + self._level = None + self._stages = None + self.discriminator = None + + self.level = level + if stages is not None: + self.stages = stages + + @property + def level(self): + """ + Gets the level of this V1alpha1Policy. + The Level that all requests are recorded at. available options: None, Metadata, Request, RequestResponse required + + :return: The level of this V1alpha1Policy. + :rtype: str + """ + return self._level + + @level.setter + def level(self, level): + """ + Sets the level of this V1alpha1Policy. + The Level that all requests are recorded at. available options: None, Metadata, Request, RequestResponse required + + :param level: The level of this V1alpha1Policy. + :type: str + """ + if level is None: + raise ValueError("Invalid value for `level`, must not be `None`") + + self._level = level + + @property + def stages(self): + """ + Gets the stages of this V1alpha1Policy. + Stages is a list of stages for which events are created. + + :return: The stages of this V1alpha1Policy. + :rtype: list[str] + """ + return self._stages + + @stages.setter + def stages(self, stages): + """ + Sets the stages of this V1alpha1Policy. + Stages is a list of stages for which events are created. + + :param stages: The stages of this V1alpha1Policy. + :type: list[str] + """ + + self._stages = stages + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, V1alpha1Policy): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1alpha1_policy_rule.py b/kubernetes/client/models/v1alpha1_policy_rule.py index 514e78bfe9..c6ea8ed25e 100644 --- a/kubernetes/client/models/v1alpha1_policy_rule.py +++ b/kubernetes/client/models/v1alpha1_policy_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_priority_class.py b/kubernetes/client/models/v1alpha1_priority_class.py index c210b232b6..8e64aa9536 100644 --- a/kubernetes/client/models/v1alpha1_priority_class.py +++ b/kubernetes/client/models/v1alpha1_priority_class.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_priority_class_list.py b/kubernetes/client/models/v1alpha1_priority_class_list.py index e32b34565f..13d9de29c2 100644 --- a/kubernetes/client/models/v1alpha1_priority_class_list.py +++ b/kubernetes/client/models/v1alpha1_priority_class_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_role.py b/kubernetes/client/models/v1alpha1_role.py index 6ac7fae71f..dc302bed43 100644 --- a/kubernetes/client/models/v1alpha1_role.py +++ b/kubernetes/client/models/v1alpha1_role.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_role_binding.py b/kubernetes/client/models/v1alpha1_role_binding.py index 70a217d880..60fe8643e5 100644 --- a/kubernetes/client/models/v1alpha1_role_binding.py +++ b/kubernetes/client/models/v1alpha1_role_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_role_binding_list.py b/kubernetes/client/models/v1alpha1_role_binding_list.py index 95c5c766f9..c7fdc38b85 100644 --- a/kubernetes/client/models/v1alpha1_role_binding_list.py +++ b/kubernetes/client/models/v1alpha1_role_binding_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_role_list.py b/kubernetes/client/models/v1alpha1_role_list.py index a43645228d..1f79911fed 100644 --- a/kubernetes/client/models/v1alpha1_role_list.py +++ b/kubernetes/client/models/v1alpha1_role_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_role_ref.py b/kubernetes/client/models/v1alpha1_role_ref.py index 363a0cd61c..013f0d7e9a 100644 --- a/kubernetes/client/models/v1alpha1_role_ref.py +++ b/kubernetes/client/models/v1alpha1_role_ref.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_rule.py b/kubernetes/client/models/v1alpha1_rule.py index 7f226ad98c..c3d8746447 100644 --- a/kubernetes/client/models/v1alpha1_rule.py +++ b/kubernetes/client/models/v1alpha1_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_service_reference.py b/kubernetes/client/models/v1alpha1_service_reference.py new file mode 100644 index 0000000000..6bc8ff665a --- /dev/null +++ b/kubernetes/client/models/v1alpha1_service_reference.py @@ -0,0 +1,184 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.13.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class V1alpha1ServiceReference(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'name': 'str', + 'namespace': 'str', + 'path': 'str' + } + + attribute_map = { + 'name': 'name', + 'namespace': 'namespace', + 'path': 'path' + } + + def __init__(self, name=None, namespace=None, path=None): + """ + V1alpha1ServiceReference - a model defined in Swagger + """ + + self._name = None + self._namespace = None + self._path = None + self.discriminator = None + + self.name = name + self.namespace = namespace + if path is not None: + self.path = path + + @property + def name(self): + """ + Gets the name of this V1alpha1ServiceReference. + `name` is the name of the service. Required + + :return: The name of this V1alpha1ServiceReference. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """ + Sets the name of this V1alpha1ServiceReference. + `name` is the name of the service. Required + + :param name: The name of this V1alpha1ServiceReference. + :type: str + """ + if name is None: + raise ValueError("Invalid value for `name`, must not be `None`") + + self._name = name + + @property + def namespace(self): + """ + Gets the namespace of this V1alpha1ServiceReference. + `namespace` is the namespace of the service. Required + + :return: The namespace of this V1alpha1ServiceReference. + :rtype: str + """ + return self._namespace + + @namespace.setter + def namespace(self, namespace): + """ + Sets the namespace of this V1alpha1ServiceReference. + `namespace` is the namespace of the service. Required + + :param namespace: The namespace of this V1alpha1ServiceReference. + :type: str + """ + if namespace is None: + raise ValueError("Invalid value for `namespace`, must not be `None`") + + self._namespace = namespace + + @property + def path(self): + """ + Gets the path of this V1alpha1ServiceReference. + `path` is an optional URL path which will be sent in any request to this service. + + :return: The path of this V1alpha1ServiceReference. + :rtype: str + """ + return self._path + + @path.setter + def path(self, path): + """ + Sets the path of this V1alpha1ServiceReference. + `path` is an optional URL path which will be sent in any request to this service. + + :param path: The path of this V1alpha1ServiceReference. + :type: str + """ + + self._path = path + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, V1alpha1ServiceReference): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1alpha1_subject.py b/kubernetes/client/models/v1alpha1_subject.py index 62b0606f97..50541a3d6c 100644 --- a/kubernetes/client/models/v1alpha1_subject.py +++ b/kubernetes/client/models/v1alpha1_subject.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_volume_attachment.py b/kubernetes/client/models/v1alpha1_volume_attachment.py index f25346cf4a..d1beae154d 100644 --- a/kubernetes/client/models/v1alpha1_volume_attachment.py +++ b/kubernetes/client/models/v1alpha1_volume_attachment.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_volume_attachment_list.py b/kubernetes/client/models/v1alpha1_volume_attachment_list.py index 3841d32193..bebc669246 100644 --- a/kubernetes/client/models/v1alpha1_volume_attachment_list.py +++ b/kubernetes/client/models/v1alpha1_volume_attachment_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_volume_attachment_source.py b/kubernetes/client/models/v1alpha1_volume_attachment_source.py index 92d619365d..b5210e21e6 100644 --- a/kubernetes/client/models/v1alpha1_volume_attachment_source.py +++ b/kubernetes/client/models/v1alpha1_volume_attachment_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_volume_attachment_spec.py b/kubernetes/client/models/v1alpha1_volume_attachment_spec.py index cdede83c86..5094a0e625 100644 --- a/kubernetes/client/models/v1alpha1_volume_attachment_spec.py +++ b/kubernetes/client/models/v1alpha1_volume_attachment_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_volume_attachment_status.py b/kubernetes/client/models/v1alpha1_volume_attachment_status.py index 12cdd17827..9f9dc47271 100644 --- a/kubernetes/client/models/v1alpha1_volume_attachment_status.py +++ b/kubernetes/client/models/v1alpha1_volume_attachment_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_volume_error.py b/kubernetes/client/models/v1alpha1_volume_error.py index ad4871f2fd..a7f0a5174c 100644 --- a/kubernetes/client/models/v1alpha1_volume_error.py +++ b/kubernetes/client/models/v1alpha1_volume_error.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1alpha1_webhook.py b/kubernetes/client/models/v1alpha1_webhook.py new file mode 100644 index 0000000000..3f6f6545d3 --- /dev/null +++ b/kubernetes/client/models/v1alpha1_webhook.py @@ -0,0 +1,155 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.13.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class V1alpha1Webhook(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'client_config': 'V1alpha1WebhookClientConfig', + 'throttle': 'V1alpha1WebhookThrottleConfig' + } + + attribute_map = { + 'client_config': 'clientConfig', + 'throttle': 'throttle' + } + + def __init__(self, client_config=None, throttle=None): + """ + V1alpha1Webhook - a model defined in Swagger + """ + + self._client_config = None + self._throttle = None + self.discriminator = None + + self.client_config = client_config + if throttle is not None: + self.throttle = throttle + + @property + def client_config(self): + """ + Gets the client_config of this V1alpha1Webhook. + ClientConfig holds the connection parameters for the webhook required + + :return: The client_config of this V1alpha1Webhook. + :rtype: V1alpha1WebhookClientConfig + """ + return self._client_config + + @client_config.setter + def client_config(self, client_config): + """ + Sets the client_config of this V1alpha1Webhook. + ClientConfig holds the connection parameters for the webhook required + + :param client_config: The client_config of this V1alpha1Webhook. + :type: V1alpha1WebhookClientConfig + """ + if client_config is None: + raise ValueError("Invalid value for `client_config`, must not be `None`") + + self._client_config = client_config + + @property + def throttle(self): + """ + Gets the throttle of this V1alpha1Webhook. + Throttle holds the options for throttling the webhook + + :return: The throttle of this V1alpha1Webhook. + :rtype: V1alpha1WebhookThrottleConfig + """ + return self._throttle + + @throttle.setter + def throttle(self, throttle): + """ + Sets the throttle of this V1alpha1Webhook. + Throttle holds the options for throttling the webhook + + :param throttle: The throttle of this V1alpha1Webhook. + :type: V1alpha1WebhookThrottleConfig + """ + + self._throttle = throttle + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, V1alpha1Webhook): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1alpha1_webhook_client_config.py b/kubernetes/client/models/v1alpha1_webhook_client_config.py new file mode 100644 index 0000000000..17e2a242ba --- /dev/null +++ b/kubernetes/client/models/v1alpha1_webhook_client_config.py @@ -0,0 +1,184 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.13.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class V1alpha1WebhookClientConfig(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'ca_bundle': 'str', + 'service': 'V1alpha1ServiceReference', + 'url': 'str' + } + + attribute_map = { + 'ca_bundle': 'caBundle', + 'service': 'service', + 'url': 'url' + } + + def __init__(self, ca_bundle=None, service=None, url=None): + """ + V1alpha1WebhookClientConfig - a model defined in Swagger + """ + + self._ca_bundle = None + self._service = None + self._url = None + self.discriminator = None + + if ca_bundle is not None: + self.ca_bundle = ca_bundle + if service is not None: + self.service = service + if url is not None: + self.url = url + + @property + def ca_bundle(self): + """ + Gets the ca_bundle of this V1alpha1WebhookClientConfig. + `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used. + + :return: The ca_bundle of this V1alpha1WebhookClientConfig. + :rtype: str + """ + return self._ca_bundle + + @ca_bundle.setter + def ca_bundle(self, ca_bundle): + """ + Sets the ca_bundle of this V1alpha1WebhookClientConfig. + `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used. + + :param ca_bundle: The ca_bundle of this V1alpha1WebhookClientConfig. + :type: str + """ + if ca_bundle is not None and not re.search('^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$', ca_bundle): + raise ValueError("Invalid value for `ca_bundle`, must be a follow pattern or equal to `/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/`") + + self._ca_bundle = ca_bundle + + @property + def service(self): + """ + Gets the service of this V1alpha1WebhookClientConfig. + `service` is a reference to the service for this webhook. Either `service` or `url` must be specified. If the webhook is running within the cluster, then you should use `service`. Port 443 will be used if it is open, otherwise it is an error. + + :return: The service of this V1alpha1WebhookClientConfig. + :rtype: V1alpha1ServiceReference + """ + return self._service + + @service.setter + def service(self, service): + """ + Sets the service of this V1alpha1WebhookClientConfig. + `service` is a reference to the service for this webhook. Either `service` or `url` must be specified. If the webhook is running within the cluster, then you should use `service`. Port 443 will be used if it is open, otherwise it is an error. + + :param service: The service of this V1alpha1WebhookClientConfig. + :type: V1alpha1ServiceReference + """ + + self._service = service + + @property + def url(self): + """ + Gets the url of this V1alpha1WebhookClientConfig. + `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified. The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address. Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster. The scheme must be \"https\"; the URL must begin with \"https://\". A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either. + + :return: The url of this V1alpha1WebhookClientConfig. + :rtype: str + """ + return self._url + + @url.setter + def url(self, url): + """ + Sets the url of this V1alpha1WebhookClientConfig. + `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified. The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address. Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster. The scheme must be \"https\"; the URL must begin with \"https://\". A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either. + + :param url: The url of this V1alpha1WebhookClientConfig. + :type: str + """ + + self._url = url + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, V1alpha1WebhookClientConfig): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1alpha1_webhook_throttle_config.py b/kubernetes/client/models/v1alpha1_webhook_throttle_config.py new file mode 100644 index 0000000000..42b4418ded --- /dev/null +++ b/kubernetes/client/models/v1alpha1_webhook_throttle_config.py @@ -0,0 +1,154 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.13.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class V1alpha1WebhookThrottleConfig(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'burst': 'int', + 'qps': 'int' + } + + attribute_map = { + 'burst': 'burst', + 'qps': 'qps' + } + + def __init__(self, burst=None, qps=None): + """ + V1alpha1WebhookThrottleConfig - a model defined in Swagger + """ + + self._burst = None + self._qps = None + self.discriminator = None + + if burst is not None: + self.burst = burst + if qps is not None: + self.qps = qps + + @property + def burst(self): + """ + Gets the burst of this V1alpha1WebhookThrottleConfig. + ThrottleBurst is the maximum number of events sent at the same moment default 15 QPS + + :return: The burst of this V1alpha1WebhookThrottleConfig. + :rtype: int + """ + return self._burst + + @burst.setter + def burst(self, burst): + """ + Sets the burst of this V1alpha1WebhookThrottleConfig. + ThrottleBurst is the maximum number of events sent at the same moment default 15 QPS + + :param burst: The burst of this V1alpha1WebhookThrottleConfig. + :type: int + """ + + self._burst = burst + + @property + def qps(self): + """ + Gets the qps of this V1alpha1WebhookThrottleConfig. + ThrottleQPS maximum number of batches per second default 10 QPS + + :return: The qps of this V1alpha1WebhookThrottleConfig. + :rtype: int + """ + return self._qps + + @qps.setter + def qps(self, qps): + """ + Sets the qps of this V1alpha1WebhookThrottleConfig. + ThrottleQPS maximum number of batches per second default 10 QPS + + :param qps: The qps of this V1alpha1WebhookThrottleConfig. + :type: int + """ + + self._qps = qps + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, V1alpha1WebhookThrottleConfig): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1beta1_aggregation_rule.py b/kubernetes/client/models/v1beta1_aggregation_rule.py index a3351798f2..5e04f770ff 100644 --- a/kubernetes/client/models/v1beta1_aggregation_rule.py +++ b/kubernetes/client/models/v1beta1_aggregation_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_api_service.py b/kubernetes/client/models/v1beta1_api_service.py index 4e05fbb20c..0f7ebe2605 100644 --- a/kubernetes/client/models/v1beta1_api_service.py +++ b/kubernetes/client/models/v1beta1_api_service.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_api_service_condition.py b/kubernetes/client/models/v1beta1_api_service_condition.py index d2fc467a86..09e515cd05 100644 --- a/kubernetes/client/models/v1beta1_api_service_condition.py +++ b/kubernetes/client/models/v1beta1_api_service_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_api_service_list.py b/kubernetes/client/models/v1beta1_api_service_list.py index 0ebbf92377..9000e6462b 100644 --- a/kubernetes/client/models/v1beta1_api_service_list.py +++ b/kubernetes/client/models/v1beta1_api_service_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_api_service_spec.py b/kubernetes/client/models/v1beta1_api_service_spec.py index 4647dd7665..97e0aaa1fd 100644 --- a/kubernetes/client/models/v1beta1_api_service_spec.py +++ b/kubernetes/client/models/v1beta1_api_service_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -80,7 +80,7 @@ def __init__(self, ca_bundle=None, group=None, group_priority_minimum=None, inse def ca_bundle(self): """ Gets the ca_bundle of this V1beta1APIServiceSpec. - CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. + CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used. :return: The ca_bundle of this V1beta1APIServiceSpec. :rtype: str @@ -91,7 +91,7 @@ def ca_bundle(self): def ca_bundle(self, ca_bundle): """ Sets the ca_bundle of this V1beta1APIServiceSpec. - CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. + CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used. :param ca_bundle: The ca_bundle of this V1beta1APIServiceSpec. :type: str diff --git a/kubernetes/client/models/v1beta1_api_service_status.py b/kubernetes/client/models/v1beta1_api_service_status.py index 05ac6c9b2e..8aaaeb807f 100644 --- a/kubernetes/client/models/v1beta1_api_service_status.py +++ b/kubernetes/client/models/v1beta1_api_service_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_certificate_signing_request.py b/kubernetes/client/models/v1beta1_certificate_signing_request.py index 80267b9d4f..442fabb806 100644 --- a/kubernetes/client/models/v1beta1_certificate_signing_request.py +++ b/kubernetes/client/models/v1beta1_certificate_signing_request.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_certificate_signing_request_condition.py b/kubernetes/client/models/v1beta1_certificate_signing_request_condition.py index 6d62c46ec9..01f81d6f66 100644 --- a/kubernetes/client/models/v1beta1_certificate_signing_request_condition.py +++ b/kubernetes/client/models/v1beta1_certificate_signing_request_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_certificate_signing_request_list.py b/kubernetes/client/models/v1beta1_certificate_signing_request_list.py index b277e246fc..65a38fc0e9 100644 --- a/kubernetes/client/models/v1beta1_certificate_signing_request_list.py +++ b/kubernetes/client/models/v1beta1_certificate_signing_request_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_certificate_signing_request_spec.py b/kubernetes/client/models/v1beta1_certificate_signing_request_spec.py index ec45cd2638..178f45f1bb 100644 --- a/kubernetes/client/models/v1beta1_certificate_signing_request_spec.py +++ b/kubernetes/client/models/v1beta1_certificate_signing_request_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_certificate_signing_request_status.py b/kubernetes/client/models/v1beta1_certificate_signing_request_status.py index c210c70b85..d442441d1e 100644 --- a/kubernetes/client/models/v1beta1_certificate_signing_request_status.py +++ b/kubernetes/client/models/v1beta1_certificate_signing_request_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_cluster_role.py b/kubernetes/client/models/v1beta1_cluster_role.py index c525488099..e327631085 100644 --- a/kubernetes/client/models/v1beta1_cluster_role.py +++ b/kubernetes/client/models/v1beta1_cluster_role.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_cluster_role_binding.py b/kubernetes/client/models/v1beta1_cluster_role_binding.py index 82b3f4d6e6..955f8d7916 100644 --- a/kubernetes/client/models/v1beta1_cluster_role_binding.py +++ b/kubernetes/client/models/v1beta1_cluster_role_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_cluster_role_binding_list.py b/kubernetes/client/models/v1beta1_cluster_role_binding_list.py index 864b38f2f9..9cfa1d4d7d 100644 --- a/kubernetes/client/models/v1beta1_cluster_role_binding_list.py +++ b/kubernetes/client/models/v1beta1_cluster_role_binding_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_cluster_role_list.py b/kubernetes/client/models/v1beta1_cluster_role_list.py index 04e0fc3651..7c3a9f973d 100644 --- a/kubernetes/client/models/v1beta1_cluster_role_list.py +++ b/kubernetes/client/models/v1beta1_cluster_role_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_controller_revision.py b/kubernetes/client/models/v1beta1_controller_revision.py index 8594bbe081..de544783d9 100644 --- a/kubernetes/client/models/v1beta1_controller_revision.py +++ b/kubernetes/client/models/v1beta1_controller_revision.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_controller_revision_list.py b/kubernetes/client/models/v1beta1_controller_revision_list.py index 94e85af901..37e0bb452a 100644 --- a/kubernetes/client/models/v1beta1_controller_revision_list.py +++ b/kubernetes/client/models/v1beta1_controller_revision_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_cron_job.py b/kubernetes/client/models/v1beta1_cron_job.py index 758d6dd60d..ca8f03da4b 100644 --- a/kubernetes/client/models/v1beta1_cron_job.py +++ b/kubernetes/client/models/v1beta1_cron_job.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_cron_job_list.py b/kubernetes/client/models/v1beta1_cron_job_list.py index 2246d0bb06..e68a83140d 100644 --- a/kubernetes/client/models/v1beta1_cron_job_list.py +++ b/kubernetes/client/models/v1beta1_cron_job_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_cron_job_spec.py b/kubernetes/client/models/v1beta1_cron_job_spec.py index 9790bce6e7..9cd14b194c 100644 --- a/kubernetes/client/models/v1beta1_cron_job_spec.py +++ b/kubernetes/client/models/v1beta1_cron_job_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_cron_job_status.py b/kubernetes/client/models/v1beta1_cron_job_status.py index efda8c4487..6d8bdc664f 100644 --- a/kubernetes/client/models/v1beta1_cron_job_status.py +++ b/kubernetes/client/models/v1beta1_cron_job_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_custom_resource_column_definition.py b/kubernetes/client/models/v1beta1_custom_resource_column_definition.py index fb1b70e115..ea48587988 100644 --- a/kubernetes/client/models/v1beta1_custom_resource_column_definition.py +++ b/kubernetes/client/models/v1beta1_custom_resource_column_definition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_custom_resource_conversion.py b/kubernetes/client/models/v1beta1_custom_resource_conversion.py new file mode 100644 index 0000000000..1cd31acd8c --- /dev/null +++ b/kubernetes/client/models/v1beta1_custom_resource_conversion.py @@ -0,0 +1,155 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.13.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class V1beta1CustomResourceConversion(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'strategy': 'str', + 'webhook_client_config': 'ApiextensionsV1beta1WebhookClientConfig' + } + + attribute_map = { + 'strategy': 'strategy', + 'webhook_client_config': 'webhookClientConfig' + } + + def __init__(self, strategy=None, webhook_client_config=None): + """ + V1beta1CustomResourceConversion - a model defined in Swagger + """ + + self._strategy = None + self._webhook_client_config = None + self.discriminator = None + + self.strategy = strategy + if webhook_client_config is not None: + self.webhook_client_config = webhook_client_config + + @property + def strategy(self): + """ + Gets the strategy of this V1beta1CustomResourceConversion. + `strategy` specifies the conversion strategy. Allowed values are: - `None`: The converter only change the apiVersion and would not touch any other field in the CR. - `Webhook`: API Server will call to an external webhook to do the conversion. Additional information is needed for this option. + + :return: The strategy of this V1beta1CustomResourceConversion. + :rtype: str + """ + return self._strategy + + @strategy.setter + def strategy(self, strategy): + """ + Sets the strategy of this V1beta1CustomResourceConversion. + `strategy` specifies the conversion strategy. Allowed values are: - `None`: The converter only change the apiVersion and would not touch any other field in the CR. - `Webhook`: API Server will call to an external webhook to do the conversion. Additional information is needed for this option. + + :param strategy: The strategy of this V1beta1CustomResourceConversion. + :type: str + """ + if strategy is None: + raise ValueError("Invalid value for `strategy`, must not be `None`") + + self._strategy = strategy + + @property + def webhook_client_config(self): + """ + Gets the webhook_client_config of this V1beta1CustomResourceConversion. + `webhookClientConfig` is the instructions for how to call the webhook if strategy is `Webhook`. This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature. + + :return: The webhook_client_config of this V1beta1CustomResourceConversion. + :rtype: ApiextensionsV1beta1WebhookClientConfig + """ + return self._webhook_client_config + + @webhook_client_config.setter + def webhook_client_config(self, webhook_client_config): + """ + Sets the webhook_client_config of this V1beta1CustomResourceConversion. + `webhookClientConfig` is the instructions for how to call the webhook if strategy is `Webhook`. This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature. + + :param webhook_client_config: The webhook_client_config of this V1beta1CustomResourceConversion. + :type: ApiextensionsV1beta1WebhookClientConfig + """ + + self._webhook_client_config = webhook_client_config + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, V1beta1CustomResourceConversion): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1beta1_custom_resource_definition.py b/kubernetes/client/models/v1beta1_custom_resource_definition.py index 6c820d5a62..b581921d29 100644 --- a/kubernetes/client/models/v1beta1_custom_resource_definition.py +++ b/kubernetes/client/models/v1beta1_custom_resource_definition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_custom_resource_definition_condition.py b/kubernetes/client/models/v1beta1_custom_resource_definition_condition.py index e18c56412d..7a82cacbee 100644 --- a/kubernetes/client/models/v1beta1_custom_resource_definition_condition.py +++ b/kubernetes/client/models/v1beta1_custom_resource_definition_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_custom_resource_definition_list.py b/kubernetes/client/models/v1beta1_custom_resource_definition_list.py index 6169cbfdc0..cba60bc53a 100644 --- a/kubernetes/client/models/v1beta1_custom_resource_definition_list.py +++ b/kubernetes/client/models/v1beta1_custom_resource_definition_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_custom_resource_definition_names.py b/kubernetes/client/models/v1beta1_custom_resource_definition_names.py index 6374cf47fd..a07251abbf 100644 --- a/kubernetes/client/models/v1beta1_custom_resource_definition_names.py +++ b/kubernetes/client/models/v1beta1_custom_resource_definition_names.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_custom_resource_definition_spec.py b/kubernetes/client/models/v1beta1_custom_resource_definition_spec.py index e78aebf649..1700c3d443 100644 --- a/kubernetes/client/models/v1beta1_custom_resource_definition_spec.py +++ b/kubernetes/client/models/v1beta1_custom_resource_definition_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -32,6 +32,7 @@ class V1beta1CustomResourceDefinitionSpec(object): """ swagger_types = { 'additional_printer_columns': 'list[V1beta1CustomResourceColumnDefinition]', + 'conversion': 'V1beta1CustomResourceConversion', 'group': 'str', 'names': 'V1beta1CustomResourceDefinitionNames', 'scope': 'str', @@ -43,6 +44,7 @@ class V1beta1CustomResourceDefinitionSpec(object): attribute_map = { 'additional_printer_columns': 'additionalPrinterColumns', + 'conversion': 'conversion', 'group': 'group', 'names': 'names', 'scope': 'scope', @@ -52,12 +54,13 @@ class V1beta1CustomResourceDefinitionSpec(object): 'versions': 'versions' } - def __init__(self, additional_printer_columns=None, group=None, names=None, scope=None, subresources=None, validation=None, version=None, versions=None): + def __init__(self, additional_printer_columns=None, conversion=None, group=None, names=None, scope=None, subresources=None, validation=None, version=None, versions=None): """ V1beta1CustomResourceDefinitionSpec - a model defined in Swagger """ self._additional_printer_columns = None + self._conversion = None self._group = None self._names = None self._scope = None @@ -69,6 +72,8 @@ def __init__(self, additional_printer_columns=None, group=None, names=None, scop if additional_printer_columns is not None: self.additional_printer_columns = additional_printer_columns + if conversion is not None: + self.conversion = conversion self.group = group self.names = names self.scope = scope @@ -85,7 +90,7 @@ def __init__(self, additional_printer_columns=None, group=None, names=None, scop def additional_printer_columns(self): """ Gets the additional_printer_columns of this V1beta1CustomResourceDefinitionSpec. - AdditionalPrinterColumns are additional columns shown e.g. in kubectl next to the name. Defaults to a created-at column. + AdditionalPrinterColumns are additional columns shown e.g. in kubectl next to the name. Defaults to a created-at column. Optional, the global columns for all versions. Top-level and per-version columns are mutually exclusive. :return: The additional_printer_columns of this V1beta1CustomResourceDefinitionSpec. :rtype: list[V1beta1CustomResourceColumnDefinition] @@ -96,7 +101,7 @@ def additional_printer_columns(self): def additional_printer_columns(self, additional_printer_columns): """ Sets the additional_printer_columns of this V1beta1CustomResourceDefinitionSpec. - AdditionalPrinterColumns are additional columns shown e.g. in kubectl next to the name. Defaults to a created-at column. + AdditionalPrinterColumns are additional columns shown e.g. in kubectl next to the name. Defaults to a created-at column. Optional, the global columns for all versions. Top-level and per-version columns are mutually exclusive. :param additional_printer_columns: The additional_printer_columns of this V1beta1CustomResourceDefinitionSpec. :type: list[V1beta1CustomResourceColumnDefinition] @@ -104,6 +109,29 @@ def additional_printer_columns(self, additional_printer_columns): self._additional_printer_columns = additional_printer_columns + @property + def conversion(self): + """ + Gets the conversion of this V1beta1CustomResourceDefinitionSpec. + `conversion` defines conversion settings for the CRD. + + :return: The conversion of this V1beta1CustomResourceDefinitionSpec. + :rtype: V1beta1CustomResourceConversion + """ + return self._conversion + + @conversion.setter + def conversion(self, conversion): + """ + Sets the conversion of this V1beta1CustomResourceDefinitionSpec. + `conversion` defines conversion settings for the CRD. + + :param conversion: The conversion of this V1beta1CustomResourceDefinitionSpec. + :type: V1beta1CustomResourceConversion + """ + + self._conversion = conversion + @property def group(self): """ @@ -183,7 +211,7 @@ def scope(self, scope): def subresources(self): """ Gets the subresources of this V1beta1CustomResourceDefinitionSpec. - Subresources describes the subresources for CustomResources + Subresources describes the subresources for CustomResource Optional, the global subresources for all versions. Top-level and per-version subresources are mutually exclusive. :return: The subresources of this V1beta1CustomResourceDefinitionSpec. :rtype: V1beta1CustomResourceSubresources @@ -194,7 +222,7 @@ def subresources(self): def subresources(self, subresources): """ Sets the subresources of this V1beta1CustomResourceDefinitionSpec. - Subresources describes the subresources for CustomResources + Subresources describes the subresources for CustomResource Optional, the global subresources for all versions. Top-level and per-version subresources are mutually exclusive. :param subresources: The subresources of this V1beta1CustomResourceDefinitionSpec. :type: V1beta1CustomResourceSubresources @@ -206,7 +234,7 @@ def subresources(self, subresources): def validation(self): """ Gets the validation of this V1beta1CustomResourceDefinitionSpec. - Validation describes the validation methods for CustomResources + Validation describes the validation methods for CustomResources Optional, the global validation schema for all versions. Top-level and per-version schemas are mutually exclusive. :return: The validation of this V1beta1CustomResourceDefinitionSpec. :rtype: V1beta1CustomResourceValidation @@ -217,7 +245,7 @@ def validation(self): def validation(self, validation): """ Sets the validation of this V1beta1CustomResourceDefinitionSpec. - Validation describes the validation methods for CustomResources + Validation describes the validation methods for CustomResources Optional, the global validation schema for all versions. Top-level and per-version schemas are mutually exclusive. :param validation: The validation of this V1beta1CustomResourceDefinitionSpec. :type: V1beta1CustomResourceValidation diff --git a/kubernetes/client/models/v1beta1_custom_resource_definition_status.py b/kubernetes/client/models/v1beta1_custom_resource_definition_status.py index 99be296e87..0b45ee8fb6 100644 --- a/kubernetes/client/models/v1beta1_custom_resource_definition_status.py +++ b/kubernetes/client/models/v1beta1_custom_resource_definition_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_custom_resource_definition_version.py b/kubernetes/client/models/v1beta1_custom_resource_definition_version.py index d1a3a8ed90..89d95039ae 100644 --- a/kubernetes/client/models/v1beta1_custom_resource_definition_version.py +++ b/kubernetes/client/models/v1beta1_custom_resource_definition_version.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -31,30 +31,68 @@ class V1beta1CustomResourceDefinitionVersion(object): and the value is json key in definition. """ swagger_types = { + 'additional_printer_columns': 'list[V1beta1CustomResourceColumnDefinition]', 'name': 'str', + 'schema': 'V1beta1CustomResourceValidation', 'served': 'bool', - 'storage': 'bool' + 'storage': 'bool', + 'subresources': 'V1beta1CustomResourceSubresources' } attribute_map = { + 'additional_printer_columns': 'additionalPrinterColumns', 'name': 'name', + 'schema': 'schema', 'served': 'served', - 'storage': 'storage' + 'storage': 'storage', + 'subresources': 'subresources' } - def __init__(self, name=None, served=None, storage=None): + def __init__(self, additional_printer_columns=None, name=None, schema=None, served=None, storage=None, subresources=None): """ V1beta1CustomResourceDefinitionVersion - a model defined in Swagger """ + self._additional_printer_columns = None self._name = None + self._schema = None self._served = None self._storage = None + self._subresources = None self.discriminator = None + if additional_printer_columns is not None: + self.additional_printer_columns = additional_printer_columns self.name = name + if schema is not None: + self.schema = schema self.served = served self.storage = storage + if subresources is not None: + self.subresources = subresources + + @property + def additional_printer_columns(self): + """ + Gets the additional_printer_columns of this V1beta1CustomResourceDefinitionVersion. + AdditionalPrinterColumns are additional columns shown e.g. in kubectl next to the name. Defaults to a created-at column. Top-level and per-version columns are mutually exclusive. Per-version columns must not all be set to identical values (top-level columns should be used instead) This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature. NOTE: CRDs created prior to 1.13 populated the top-level additionalPrinterColumns field by default. To apply an update that changes to per-version additionalPrinterColumns, the top-level additionalPrinterColumns field must be explicitly set to null + + :return: The additional_printer_columns of this V1beta1CustomResourceDefinitionVersion. + :rtype: list[V1beta1CustomResourceColumnDefinition] + """ + return self._additional_printer_columns + + @additional_printer_columns.setter + def additional_printer_columns(self, additional_printer_columns): + """ + Sets the additional_printer_columns of this V1beta1CustomResourceDefinitionVersion. + AdditionalPrinterColumns are additional columns shown e.g. in kubectl next to the name. Defaults to a created-at column. Top-level and per-version columns are mutually exclusive. Per-version columns must not all be set to identical values (top-level columns should be used instead) This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature. NOTE: CRDs created prior to 1.13 populated the top-level additionalPrinterColumns field by default. To apply an update that changes to per-version additionalPrinterColumns, the top-level additionalPrinterColumns field must be explicitly set to null + + :param additional_printer_columns: The additional_printer_columns of this V1beta1CustomResourceDefinitionVersion. + :type: list[V1beta1CustomResourceColumnDefinition] + """ + + self._additional_printer_columns = additional_printer_columns @property def name(self): @@ -81,6 +119,29 @@ def name(self, name): self._name = name + @property + def schema(self): + """ + Gets the schema of this V1beta1CustomResourceDefinitionVersion. + Schema describes the schema for CustomResource used in validation, pruning, and defaulting. Top-level and per-version schemas are mutually exclusive. Per-version schemas must not all be set to identical values (top-level validation schema should be used instead) This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature. + + :return: The schema of this V1beta1CustomResourceDefinitionVersion. + :rtype: V1beta1CustomResourceValidation + """ + return self._schema + + @schema.setter + def schema(self, schema): + """ + Sets the schema of this V1beta1CustomResourceDefinitionVersion. + Schema describes the schema for CustomResource used in validation, pruning, and defaulting. Top-level and per-version schemas are mutually exclusive. Per-version schemas must not all be set to identical values (top-level validation schema should be used instead) This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature. + + :param schema: The schema of this V1beta1CustomResourceDefinitionVersion. + :type: V1beta1CustomResourceValidation + """ + + self._schema = schema + @property def served(self): """ @@ -131,6 +192,29 @@ def storage(self, storage): self._storage = storage + @property + def subresources(self): + """ + Gets the subresources of this V1beta1CustomResourceDefinitionVersion. + Subresources describes the subresources for CustomResource Top-level and per-version subresources are mutually exclusive. Per-version subresources must not all be set to identical values (top-level subresources should be used instead) This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature. + + :return: The subresources of this V1beta1CustomResourceDefinitionVersion. + :rtype: V1beta1CustomResourceSubresources + """ + return self._subresources + + @subresources.setter + def subresources(self, subresources): + """ + Sets the subresources of this V1beta1CustomResourceDefinitionVersion. + Subresources describes the subresources for CustomResource Top-level and per-version subresources are mutually exclusive. Per-version subresources must not all be set to identical values (top-level subresources should be used instead) This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature. + + :param subresources: The subresources of this V1beta1CustomResourceDefinitionVersion. + :type: V1beta1CustomResourceSubresources + """ + + self._subresources = subresources + def to_dict(self): """ Returns the model properties as a dict diff --git a/kubernetes/client/models/v1beta1_custom_resource_subresource_scale.py b/kubernetes/client/models/v1beta1_custom_resource_subresource_scale.py index d41d1d091b..c13feb471d 100644 --- a/kubernetes/client/models/v1beta1_custom_resource_subresource_scale.py +++ b/kubernetes/client/models/v1beta1_custom_resource_subresource_scale.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_custom_resource_subresources.py b/kubernetes/client/models/v1beta1_custom_resource_subresources.py index dd70cde420..00dbe7bc61 100644 --- a/kubernetes/client/models/v1beta1_custom_resource_subresources.py +++ b/kubernetes/client/models/v1beta1_custom_resource_subresources.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_custom_resource_validation.py b/kubernetes/client/models/v1beta1_custom_resource_validation.py index 1f5751affd..2b1d6ad4a0 100644 --- a/kubernetes/client/models/v1beta1_custom_resource_validation.py +++ b/kubernetes/client/models/v1beta1_custom_resource_validation.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_daemon_set.py b/kubernetes/client/models/v1beta1_daemon_set.py index b7f55f043d..1e6701cfee 100644 --- a/kubernetes/client/models/v1beta1_daemon_set.py +++ b/kubernetes/client/models/v1beta1_daemon_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_daemon_set_condition.py b/kubernetes/client/models/v1beta1_daemon_set_condition.py index b0b7afa424..a386d1c70d 100644 --- a/kubernetes/client/models/v1beta1_daemon_set_condition.py +++ b/kubernetes/client/models/v1beta1_daemon_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_daemon_set_list.py b/kubernetes/client/models/v1beta1_daemon_set_list.py index 735750119a..3539515387 100644 --- a/kubernetes/client/models/v1beta1_daemon_set_list.py +++ b/kubernetes/client/models/v1beta1_daemon_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_daemon_set_spec.py b/kubernetes/client/models/v1beta1_daemon_set_spec.py index bc5716d514..8cdbb38589 100644 --- a/kubernetes/client/models/v1beta1_daemon_set_spec.py +++ b/kubernetes/client/models/v1beta1_daemon_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_daemon_set_status.py b/kubernetes/client/models/v1beta1_daemon_set_status.py index f39fbafdb1..12494d5ee9 100644 --- a/kubernetes/client/models/v1beta1_daemon_set_status.py +++ b/kubernetes/client/models/v1beta1_daemon_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_daemon_set_update_strategy.py b/kubernetes/client/models/v1beta1_daemon_set_update_strategy.py index 6141b872c2..2c7cb1e98f 100644 --- a/kubernetes/client/models/v1beta1_daemon_set_update_strategy.py +++ b/kubernetes/client/models/v1beta1_daemon_set_update_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_event.py b/kubernetes/client/models/v1beta1_event.py index 503ed512de..f703e4a702 100644 --- a/kubernetes/client/models/v1beta1_event.py +++ b/kubernetes/client/models/v1beta1_event.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_event_list.py b/kubernetes/client/models/v1beta1_event_list.py index 21b2aec8b2..c6b3214c68 100644 --- a/kubernetes/client/models/v1beta1_event_list.py +++ b/kubernetes/client/models/v1beta1_event_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_event_series.py b/kubernetes/client/models/v1beta1_event_series.py index 8936239e84..d183f14e96 100644 --- a/kubernetes/client/models/v1beta1_event_series.py +++ b/kubernetes/client/models/v1beta1_event_series.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_eviction.py b/kubernetes/client/models/v1beta1_eviction.py index 754c7fd3ae..e9ad50de7b 100644 --- a/kubernetes/client/models/v1beta1_eviction.py +++ b/kubernetes/client/models/v1beta1_eviction.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_external_documentation.py b/kubernetes/client/models/v1beta1_external_documentation.py index df3a36d18d..ad84a243bb 100644 --- a/kubernetes/client/models/v1beta1_external_documentation.py +++ b/kubernetes/client/models/v1beta1_external_documentation.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_http_ingress_path.py b/kubernetes/client/models/v1beta1_http_ingress_path.py index d2f2e4b509..8c54d0f90c 100644 --- a/kubernetes/client/models/v1beta1_http_ingress_path.py +++ b/kubernetes/client/models/v1beta1_http_ingress_path.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_http_ingress_rule_value.py b/kubernetes/client/models/v1beta1_http_ingress_rule_value.py index a1964027e2..4480bfc50b 100644 --- a/kubernetes/client/models/v1beta1_http_ingress_rule_value.py +++ b/kubernetes/client/models/v1beta1_http_ingress_rule_value.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_ingress.py b/kubernetes/client/models/v1beta1_ingress.py index 05bb5009db..1d7f3e5040 100644 --- a/kubernetes/client/models/v1beta1_ingress.py +++ b/kubernetes/client/models/v1beta1_ingress.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_ingress_backend.py b/kubernetes/client/models/v1beta1_ingress_backend.py index 5b9ca46ce4..bd07fa7d79 100644 --- a/kubernetes/client/models/v1beta1_ingress_backend.py +++ b/kubernetes/client/models/v1beta1_ingress_backend.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_ingress_list.py b/kubernetes/client/models/v1beta1_ingress_list.py index 86f1c3967b..c5fa30f759 100644 --- a/kubernetes/client/models/v1beta1_ingress_list.py +++ b/kubernetes/client/models/v1beta1_ingress_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_ingress_rule.py b/kubernetes/client/models/v1beta1_ingress_rule.py index 278ce8ab7a..5d07de5f86 100644 --- a/kubernetes/client/models/v1beta1_ingress_rule.py +++ b/kubernetes/client/models/v1beta1_ingress_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_ingress_spec.py b/kubernetes/client/models/v1beta1_ingress_spec.py index 0a6289215e..f7abb36654 100644 --- a/kubernetes/client/models/v1beta1_ingress_spec.py +++ b/kubernetes/client/models/v1beta1_ingress_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_ingress_status.py b/kubernetes/client/models/v1beta1_ingress_status.py index e851ef2462..2112e7d28d 100644 --- a/kubernetes/client/models/v1beta1_ingress_status.py +++ b/kubernetes/client/models/v1beta1_ingress_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_ingress_tls.py b/kubernetes/client/models/v1beta1_ingress_tls.py index 887ac089b0..c6ab8c715b 100644 --- a/kubernetes/client/models/v1beta1_ingress_tls.py +++ b/kubernetes/client/models/v1beta1_ingress_tls.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_ip_block.py b/kubernetes/client/models/v1beta1_ip_block.py index 5b136fc9a2..69ebc53f84 100644 --- a/kubernetes/client/models/v1beta1_ip_block.py +++ b/kubernetes/client/models/v1beta1_ip_block.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_job_template_spec.py b/kubernetes/client/models/v1beta1_job_template_spec.py index 18d0a7d7bf..4f64d57a03 100644 --- a/kubernetes/client/models/v1beta1_job_template_spec.py +++ b/kubernetes/client/models/v1beta1_job_template_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_json_schema_props.py b/kubernetes/client/models/v1beta1_json_schema_props.py index 2a74564454..9f04fa9fc4 100644 --- a/kubernetes/client/models/v1beta1_json_schema_props.py +++ b/kubernetes/client/models/v1beta1_json_schema_props.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_lease.py b/kubernetes/client/models/v1beta1_lease.py index 801c370f55..edf26b68c2 100644 --- a/kubernetes/client/models/v1beta1_lease.py +++ b/kubernetes/client/models/v1beta1_lease.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_lease_list.py b/kubernetes/client/models/v1beta1_lease_list.py index 8d32132726..c18b33fbbf 100644 --- a/kubernetes/client/models/v1beta1_lease_list.py +++ b/kubernetes/client/models/v1beta1_lease_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_lease_spec.py b/kubernetes/client/models/v1beta1_lease_spec.py index b8adeec2a5..ef09717311 100644 --- a/kubernetes/client/models/v1beta1_lease_spec.py +++ b/kubernetes/client/models/v1beta1_lease_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_local_subject_access_review.py b/kubernetes/client/models/v1beta1_local_subject_access_review.py index 43f9916a1f..0a53abcd79 100644 --- a/kubernetes/client/models/v1beta1_local_subject_access_review.py +++ b/kubernetes/client/models/v1beta1_local_subject_access_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_mutating_webhook_configuration.py b/kubernetes/client/models/v1beta1_mutating_webhook_configuration.py index 146fcb052c..364e0de61b 100644 --- a/kubernetes/client/models/v1beta1_mutating_webhook_configuration.py +++ b/kubernetes/client/models/v1beta1_mutating_webhook_configuration.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_mutating_webhook_configuration_list.py b/kubernetes/client/models/v1beta1_mutating_webhook_configuration_list.py index 653650258b..b3d9cb4aae 100644 --- a/kubernetes/client/models/v1beta1_mutating_webhook_configuration_list.py +++ b/kubernetes/client/models/v1beta1_mutating_webhook_configuration_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_network_policy.py b/kubernetes/client/models/v1beta1_network_policy.py index 027ddb318a..401d5af808 100644 --- a/kubernetes/client/models/v1beta1_network_policy.py +++ b/kubernetes/client/models/v1beta1_network_policy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_network_policy_egress_rule.py b/kubernetes/client/models/v1beta1_network_policy_egress_rule.py index 2c6f75e7ba..81028b0c8a 100644 --- a/kubernetes/client/models/v1beta1_network_policy_egress_rule.py +++ b/kubernetes/client/models/v1beta1_network_policy_egress_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_network_policy_ingress_rule.py b/kubernetes/client/models/v1beta1_network_policy_ingress_rule.py index 5dfb8f70b2..37a353e796 100644 --- a/kubernetes/client/models/v1beta1_network_policy_ingress_rule.py +++ b/kubernetes/client/models/v1beta1_network_policy_ingress_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_network_policy_list.py b/kubernetes/client/models/v1beta1_network_policy_list.py index fe1070e04d..85d7582479 100644 --- a/kubernetes/client/models/v1beta1_network_policy_list.py +++ b/kubernetes/client/models/v1beta1_network_policy_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_network_policy_peer.py b/kubernetes/client/models/v1beta1_network_policy_peer.py index f8486cfe1b..e6b38fedf0 100644 --- a/kubernetes/client/models/v1beta1_network_policy_peer.py +++ b/kubernetes/client/models/v1beta1_network_policy_peer.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_network_policy_port.py b/kubernetes/client/models/v1beta1_network_policy_port.py index 600e18dda5..7321630e18 100644 --- a/kubernetes/client/models/v1beta1_network_policy_port.py +++ b/kubernetes/client/models/v1beta1_network_policy_port.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_network_policy_spec.py b/kubernetes/client/models/v1beta1_network_policy_spec.py index 3fa12a93c8..67110a6410 100644 --- a/kubernetes/client/models/v1beta1_network_policy_spec.py +++ b/kubernetes/client/models/v1beta1_network_policy_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_non_resource_attributes.py b/kubernetes/client/models/v1beta1_non_resource_attributes.py index b773d57abc..3bc55e3faf 100644 --- a/kubernetes/client/models/v1beta1_non_resource_attributes.py +++ b/kubernetes/client/models/v1beta1_non_resource_attributes.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_non_resource_rule.py b/kubernetes/client/models/v1beta1_non_resource_rule.py index 97590a3b43..d15bf5eb46 100644 --- a/kubernetes/client/models/v1beta1_non_resource_rule.py +++ b/kubernetes/client/models/v1beta1_non_resource_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_pod_disruption_budget.py b/kubernetes/client/models/v1beta1_pod_disruption_budget.py index 1390ae5b2e..515bcb5caf 100644 --- a/kubernetes/client/models/v1beta1_pod_disruption_budget.py +++ b/kubernetes/client/models/v1beta1_pod_disruption_budget.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_pod_disruption_budget_list.py b/kubernetes/client/models/v1beta1_pod_disruption_budget_list.py index d25392c808..e9e8032612 100644 --- a/kubernetes/client/models/v1beta1_pod_disruption_budget_list.py +++ b/kubernetes/client/models/v1beta1_pod_disruption_budget_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_pod_disruption_budget_spec.py b/kubernetes/client/models/v1beta1_pod_disruption_budget_spec.py index 29c8271eb5..5afd992d56 100644 --- a/kubernetes/client/models/v1beta1_pod_disruption_budget_spec.py +++ b/kubernetes/client/models/v1beta1_pod_disruption_budget_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_pod_disruption_budget_status.py b/kubernetes/client/models/v1beta1_pod_disruption_budget_status.py index 362ed22721..b338875559 100644 --- a/kubernetes/client/models/v1beta1_pod_disruption_budget_status.py +++ b/kubernetes/client/models/v1beta1_pod_disruption_budget_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_policy_rule.py b/kubernetes/client/models/v1beta1_policy_rule.py index d7280f6fed..221aa8f553 100644 --- a/kubernetes/client/models/v1beta1_policy_rule.py +++ b/kubernetes/client/models/v1beta1_policy_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_priority_class.py b/kubernetes/client/models/v1beta1_priority_class.py index 4b3cd39eec..2d7c6b4387 100644 --- a/kubernetes/client/models/v1beta1_priority_class.py +++ b/kubernetes/client/models/v1beta1_priority_class.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_priority_class_list.py b/kubernetes/client/models/v1beta1_priority_class_list.py index d94ebc3ea8..503cba4796 100644 --- a/kubernetes/client/models/v1beta1_priority_class_list.py +++ b/kubernetes/client/models/v1beta1_priority_class_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_replica_set.py b/kubernetes/client/models/v1beta1_replica_set.py index fffa096de0..ba350c504f 100644 --- a/kubernetes/client/models/v1beta1_replica_set.py +++ b/kubernetes/client/models/v1beta1_replica_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_replica_set_condition.py b/kubernetes/client/models/v1beta1_replica_set_condition.py index 13e0535894..d126c17c17 100644 --- a/kubernetes/client/models/v1beta1_replica_set_condition.py +++ b/kubernetes/client/models/v1beta1_replica_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_replica_set_list.py b/kubernetes/client/models/v1beta1_replica_set_list.py index d3135e26c5..e30b23d4e4 100644 --- a/kubernetes/client/models/v1beta1_replica_set_list.py +++ b/kubernetes/client/models/v1beta1_replica_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_replica_set_spec.py b/kubernetes/client/models/v1beta1_replica_set_spec.py index 375e280a0e..84394dc291 100644 --- a/kubernetes/client/models/v1beta1_replica_set_spec.py +++ b/kubernetes/client/models/v1beta1_replica_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_replica_set_status.py b/kubernetes/client/models/v1beta1_replica_set_status.py index a664206e03..6e7a72f072 100644 --- a/kubernetes/client/models/v1beta1_replica_set_status.py +++ b/kubernetes/client/models/v1beta1_replica_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_resource_attributes.py b/kubernetes/client/models/v1beta1_resource_attributes.py index ffa443180e..9778e0c0cf 100644 --- a/kubernetes/client/models/v1beta1_resource_attributes.py +++ b/kubernetes/client/models/v1beta1_resource_attributes.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_resource_rule.py b/kubernetes/client/models/v1beta1_resource_rule.py index ee23ffbd87..7c96146d1d 100644 --- a/kubernetes/client/models/v1beta1_resource_rule.py +++ b/kubernetes/client/models/v1beta1_resource_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_role.py b/kubernetes/client/models/v1beta1_role.py index eef56fdc13..b2a59edcea 100644 --- a/kubernetes/client/models/v1beta1_role.py +++ b/kubernetes/client/models/v1beta1_role.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_role_binding.py b/kubernetes/client/models/v1beta1_role_binding.py index 5e814a1326..e0fdeaee14 100644 --- a/kubernetes/client/models/v1beta1_role_binding.py +++ b/kubernetes/client/models/v1beta1_role_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_role_binding_list.py b/kubernetes/client/models/v1beta1_role_binding_list.py index fa3baae9c9..30e4158cdd 100644 --- a/kubernetes/client/models/v1beta1_role_binding_list.py +++ b/kubernetes/client/models/v1beta1_role_binding_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_role_list.py b/kubernetes/client/models/v1beta1_role_list.py index df9e1c4ade..57674eae2e 100644 --- a/kubernetes/client/models/v1beta1_role_list.py +++ b/kubernetes/client/models/v1beta1_role_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_role_ref.py b/kubernetes/client/models/v1beta1_role_ref.py index ef0c3e8d9c..683d9f45f1 100644 --- a/kubernetes/client/models/v1beta1_role_ref.py +++ b/kubernetes/client/models/v1beta1_role_ref.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_rolling_update_daemon_set.py b/kubernetes/client/models/v1beta1_rolling_update_daemon_set.py index 183721bafe..881fafa69a 100644 --- a/kubernetes/client/models/v1beta1_rolling_update_daemon_set.py +++ b/kubernetes/client/models/v1beta1_rolling_update_daemon_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_rolling_update_stateful_set_strategy.py b/kubernetes/client/models/v1beta1_rolling_update_stateful_set_strategy.py index 7aae0bc6ff..b6d9eae571 100644 --- a/kubernetes/client/models/v1beta1_rolling_update_stateful_set_strategy.py +++ b/kubernetes/client/models/v1beta1_rolling_update_stateful_set_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_rule_with_operations.py b/kubernetes/client/models/v1beta1_rule_with_operations.py index d58304f1c9..4fb1a569c9 100644 --- a/kubernetes/client/models/v1beta1_rule_with_operations.py +++ b/kubernetes/client/models/v1beta1_rule_with_operations.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_self_subject_access_review.py b/kubernetes/client/models/v1beta1_self_subject_access_review.py index f55be19fad..fb9e21ae53 100644 --- a/kubernetes/client/models/v1beta1_self_subject_access_review.py +++ b/kubernetes/client/models/v1beta1_self_subject_access_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_self_subject_access_review_spec.py b/kubernetes/client/models/v1beta1_self_subject_access_review_spec.py index fd297e9b55..d9da5db935 100644 --- a/kubernetes/client/models/v1beta1_self_subject_access_review_spec.py +++ b/kubernetes/client/models/v1beta1_self_subject_access_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_self_subject_rules_review.py b/kubernetes/client/models/v1beta1_self_subject_rules_review.py index 4b0a23714e..1c82362a34 100644 --- a/kubernetes/client/models/v1beta1_self_subject_rules_review.py +++ b/kubernetes/client/models/v1beta1_self_subject_rules_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_self_subject_rules_review_spec.py b/kubernetes/client/models/v1beta1_self_subject_rules_review_spec.py index 23cddf33a9..34fba9d88a 100644 --- a/kubernetes/client/models/v1beta1_self_subject_rules_review_spec.py +++ b/kubernetes/client/models/v1beta1_self_subject_rules_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_stateful_set.py b/kubernetes/client/models/v1beta1_stateful_set.py index 5d83f5d33f..ede66fcc42 100644 --- a/kubernetes/client/models/v1beta1_stateful_set.py +++ b/kubernetes/client/models/v1beta1_stateful_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_stateful_set_condition.py b/kubernetes/client/models/v1beta1_stateful_set_condition.py index c1adba4ed4..223a8cd0f7 100644 --- a/kubernetes/client/models/v1beta1_stateful_set_condition.py +++ b/kubernetes/client/models/v1beta1_stateful_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_stateful_set_list.py b/kubernetes/client/models/v1beta1_stateful_set_list.py index 5d8b432e56..e54d8f3574 100644 --- a/kubernetes/client/models/v1beta1_stateful_set_list.py +++ b/kubernetes/client/models/v1beta1_stateful_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_stateful_set_spec.py b/kubernetes/client/models/v1beta1_stateful_set_spec.py index 3f7ccace50..92665f8a47 100644 --- a/kubernetes/client/models/v1beta1_stateful_set_spec.py +++ b/kubernetes/client/models/v1beta1_stateful_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_stateful_set_status.py b/kubernetes/client/models/v1beta1_stateful_set_status.py index 831fe208a9..4268e59e5b 100644 --- a/kubernetes/client/models/v1beta1_stateful_set_status.py +++ b/kubernetes/client/models/v1beta1_stateful_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_stateful_set_update_strategy.py b/kubernetes/client/models/v1beta1_stateful_set_update_strategy.py index 05f8243609..b4763007ef 100644 --- a/kubernetes/client/models/v1beta1_stateful_set_update_strategy.py +++ b/kubernetes/client/models/v1beta1_stateful_set_update_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_storage_class.py b/kubernetes/client/models/v1beta1_storage_class.py index ebc76ca654..315838cf84 100644 --- a/kubernetes/client/models/v1beta1_storage_class.py +++ b/kubernetes/client/models/v1beta1_storage_class.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_storage_class_list.py b/kubernetes/client/models/v1beta1_storage_class_list.py index 14c7a63873..6bac80d70a 100644 --- a/kubernetes/client/models/v1beta1_storage_class_list.py +++ b/kubernetes/client/models/v1beta1_storage_class_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_subject.py b/kubernetes/client/models/v1beta1_subject.py index 6ab81d45ed..49af4d9535 100644 --- a/kubernetes/client/models/v1beta1_subject.py +++ b/kubernetes/client/models/v1beta1_subject.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_subject_access_review.py b/kubernetes/client/models/v1beta1_subject_access_review.py index 2e386e15dc..e87f33b4c5 100644 --- a/kubernetes/client/models/v1beta1_subject_access_review.py +++ b/kubernetes/client/models/v1beta1_subject_access_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_subject_access_review_spec.py b/kubernetes/client/models/v1beta1_subject_access_review_spec.py index 0f0204fe39..53698a2fb1 100644 --- a/kubernetes/client/models/v1beta1_subject_access_review_spec.py +++ b/kubernetes/client/models/v1beta1_subject_access_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_subject_access_review_status.py b/kubernetes/client/models/v1beta1_subject_access_review_status.py index d760af0f92..0e10174d0c 100644 --- a/kubernetes/client/models/v1beta1_subject_access_review_status.py +++ b/kubernetes/client/models/v1beta1_subject_access_review_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_subject_rules_review_status.py b/kubernetes/client/models/v1beta1_subject_rules_review_status.py index d225a4a940..3b101dd4b2 100644 --- a/kubernetes/client/models/v1beta1_subject_rules_review_status.py +++ b/kubernetes/client/models/v1beta1_subject_rules_review_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_token_review.py b/kubernetes/client/models/v1beta1_token_review.py index 8a24f6e68f..8199b89d18 100644 --- a/kubernetes/client/models/v1beta1_token_review.py +++ b/kubernetes/client/models/v1beta1_token_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_token_review_spec.py b/kubernetes/client/models/v1beta1_token_review_spec.py index da6bf736e2..f34d52ac37 100644 --- a/kubernetes/client/models/v1beta1_token_review_spec.py +++ b/kubernetes/client/models/v1beta1_token_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -31,24 +31,52 @@ class V1beta1TokenReviewSpec(object): and the value is json key in definition. """ swagger_types = { + 'audiences': 'list[str]', 'token': 'str' } attribute_map = { + 'audiences': 'audiences', 'token': 'token' } - def __init__(self, token=None): + def __init__(self, audiences=None, token=None): """ V1beta1TokenReviewSpec - a model defined in Swagger """ + self._audiences = None self._token = None self.discriminator = None + if audiences is not None: + self.audiences = audiences if token is not None: self.token = token + @property + def audiences(self): + """ + Gets the audiences of this V1beta1TokenReviewSpec. + Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver. + + :return: The audiences of this V1beta1TokenReviewSpec. + :rtype: list[str] + """ + return self._audiences + + @audiences.setter + def audiences(self, audiences): + """ + Sets the audiences of this V1beta1TokenReviewSpec. + Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver. + + :param audiences: The audiences of this V1beta1TokenReviewSpec. + :type: list[str] + """ + + self._audiences = audiences + @property def token(self): """ diff --git a/kubernetes/client/models/v1beta1_token_review_status.py b/kubernetes/client/models/v1beta1_token_review_status.py index 4d5e2199c7..bcdc95b528 100644 --- a/kubernetes/client/models/v1beta1_token_review_status.py +++ b/kubernetes/client/models/v1beta1_token_review_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -31,27 +31,32 @@ class V1beta1TokenReviewStatus(object): and the value is json key in definition. """ swagger_types = { + 'audiences': 'list[str]', 'authenticated': 'bool', 'error': 'str', 'user': 'V1beta1UserInfo' } attribute_map = { + 'audiences': 'audiences', 'authenticated': 'authenticated', 'error': 'error', 'user': 'user' } - def __init__(self, authenticated=None, error=None, user=None): + def __init__(self, audiences=None, authenticated=None, error=None, user=None): """ V1beta1TokenReviewStatus - a model defined in Swagger """ + self._audiences = None self._authenticated = None self._error = None self._user = None self.discriminator = None + if audiences is not None: + self.audiences = audiences if authenticated is not None: self.authenticated = authenticated if error is not None: @@ -59,6 +64,29 @@ def __init__(self, authenticated=None, error=None, user=None): if user is not None: self.user = user + @property + def audiences(self): + """ + Gets the audiences of this V1beta1TokenReviewStatus. + Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is \"true\", the token is valid against the audience of the Kubernetes API server. + + :return: The audiences of this V1beta1TokenReviewStatus. + :rtype: list[str] + """ + return self._audiences + + @audiences.setter + def audiences(self, audiences): + """ + Sets the audiences of this V1beta1TokenReviewStatus. + Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is \"true\", the token is valid against the audience of the Kubernetes API server. + + :param audiences: The audiences of this V1beta1TokenReviewStatus. + :type: list[str] + """ + + self._audiences = audiences + @property def authenticated(self): """ diff --git a/kubernetes/client/models/v1beta1_user_info.py b/kubernetes/client/models/v1beta1_user_info.py index ffeb616ec2..73a5d3abfa 100644 --- a/kubernetes/client/models/v1beta1_user_info.py +++ b/kubernetes/client/models/v1beta1_user_info.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_validating_webhook_configuration.py b/kubernetes/client/models/v1beta1_validating_webhook_configuration.py index 6487dd24e4..831bb77c4f 100644 --- a/kubernetes/client/models/v1beta1_validating_webhook_configuration.py +++ b/kubernetes/client/models/v1beta1_validating_webhook_configuration.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_validating_webhook_configuration_list.py b/kubernetes/client/models/v1beta1_validating_webhook_configuration_list.py index 18f99d1948..97e0f20703 100644 --- a/kubernetes/client/models/v1beta1_validating_webhook_configuration_list.py +++ b/kubernetes/client/models/v1beta1_validating_webhook_configuration_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_volume_attachment.py b/kubernetes/client/models/v1beta1_volume_attachment.py index 640c951cd4..245a3c7692 100644 --- a/kubernetes/client/models/v1beta1_volume_attachment.py +++ b/kubernetes/client/models/v1beta1_volume_attachment.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_volume_attachment_list.py b/kubernetes/client/models/v1beta1_volume_attachment_list.py index 21a727a328..bf514e46ac 100644 --- a/kubernetes/client/models/v1beta1_volume_attachment_list.py +++ b/kubernetes/client/models/v1beta1_volume_attachment_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_volume_attachment_source.py b/kubernetes/client/models/v1beta1_volume_attachment_source.py index 75441b1fa9..06754dac73 100644 --- a/kubernetes/client/models/v1beta1_volume_attachment_source.py +++ b/kubernetes/client/models/v1beta1_volume_attachment_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_volume_attachment_spec.py b/kubernetes/client/models/v1beta1_volume_attachment_spec.py index d4117255c9..f2c7504222 100644 --- a/kubernetes/client/models/v1beta1_volume_attachment_spec.py +++ b/kubernetes/client/models/v1beta1_volume_attachment_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_volume_attachment_status.py b/kubernetes/client/models/v1beta1_volume_attachment_status.py index 565a176c91..1fb92ea544 100644 --- a/kubernetes/client/models/v1beta1_volume_attachment_status.py +++ b/kubernetes/client/models/v1beta1_volume_attachment_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_volume_error.py b/kubernetes/client/models/v1beta1_volume_error.py index 91281a8809..b33a02af1a 100644 --- a/kubernetes/client/models/v1beta1_volume_error.py +++ b/kubernetes/client/models/v1beta1_volume_error.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta1_webhook.py b/kubernetes/client/models/v1beta1_webhook.py index af406b22b4..179cda6cce 100644 --- a/kubernetes/client/models/v1beta1_webhook.py +++ b/kubernetes/client/models/v1beta1_webhook.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -31,7 +31,7 @@ class V1beta1Webhook(object): and the value is json key in definition. """ swagger_types = { - 'client_config': 'V1beta1WebhookClientConfig', + 'client_config': 'AdmissionregistrationV1beta1WebhookClientConfig', 'failure_policy': 'str', 'name': 'str', 'namespace_selector': 'V1LabelSelector', @@ -79,7 +79,7 @@ def client_config(self): ClientConfig defines how to communicate with the hook. Required :return: The client_config of this V1beta1Webhook. - :rtype: V1beta1WebhookClientConfig + :rtype: AdmissionregistrationV1beta1WebhookClientConfig """ return self._client_config @@ -90,7 +90,7 @@ def client_config(self, client_config): ClientConfig defines how to communicate with the hook. Required :param client_config: The client_config of this V1beta1Webhook. - :type: V1beta1WebhookClientConfig + :type: AdmissionregistrationV1beta1WebhookClientConfig """ if client_config is None: raise ValueError("Invalid value for `client_config`, must not be `None`") diff --git a/kubernetes/client/models/v1beta2_controller_revision.py b/kubernetes/client/models/v1beta2_controller_revision.py index 6f38998044..272bb0db5e 100644 --- a/kubernetes/client/models/v1beta2_controller_revision.py +++ b/kubernetes/client/models/v1beta2_controller_revision.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_controller_revision_list.py b/kubernetes/client/models/v1beta2_controller_revision_list.py index 1c05caa06f..a203893571 100644 --- a/kubernetes/client/models/v1beta2_controller_revision_list.py +++ b/kubernetes/client/models/v1beta2_controller_revision_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_daemon_set.py b/kubernetes/client/models/v1beta2_daemon_set.py index 9d5a217a0d..1f5c5ec852 100644 --- a/kubernetes/client/models/v1beta2_daemon_set.py +++ b/kubernetes/client/models/v1beta2_daemon_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_daemon_set_condition.py b/kubernetes/client/models/v1beta2_daemon_set_condition.py index 99e4401f43..d8d1c112b0 100644 --- a/kubernetes/client/models/v1beta2_daemon_set_condition.py +++ b/kubernetes/client/models/v1beta2_daemon_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_daemon_set_list.py b/kubernetes/client/models/v1beta2_daemon_set_list.py index cbb3333c0d..470bfdc576 100644 --- a/kubernetes/client/models/v1beta2_daemon_set_list.py +++ b/kubernetes/client/models/v1beta2_daemon_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_daemon_set_spec.py b/kubernetes/client/models/v1beta2_daemon_set_spec.py index 3560c28853..64fc80ac5e 100644 --- a/kubernetes/client/models/v1beta2_daemon_set_spec.py +++ b/kubernetes/client/models/v1beta2_daemon_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_daemon_set_status.py b/kubernetes/client/models/v1beta2_daemon_set_status.py index 3a9de01300..8eea0c2ff4 100644 --- a/kubernetes/client/models/v1beta2_daemon_set_status.py +++ b/kubernetes/client/models/v1beta2_daemon_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_daemon_set_update_strategy.py b/kubernetes/client/models/v1beta2_daemon_set_update_strategy.py index a9e4a04a86..24edb752cb 100644 --- a/kubernetes/client/models/v1beta2_daemon_set_update_strategy.py +++ b/kubernetes/client/models/v1beta2_daemon_set_update_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_deployment.py b/kubernetes/client/models/v1beta2_deployment.py index 4f5591130d..490f9d72da 100644 --- a/kubernetes/client/models/v1beta2_deployment.py +++ b/kubernetes/client/models/v1beta2_deployment.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_deployment_condition.py b/kubernetes/client/models/v1beta2_deployment_condition.py index 6005ccb6c6..ced1ecc808 100644 --- a/kubernetes/client/models/v1beta2_deployment_condition.py +++ b/kubernetes/client/models/v1beta2_deployment_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_deployment_list.py b/kubernetes/client/models/v1beta2_deployment_list.py index 6bc09c09d6..447ede9ddf 100644 --- a/kubernetes/client/models/v1beta2_deployment_list.py +++ b/kubernetes/client/models/v1beta2_deployment_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_deployment_spec.py b/kubernetes/client/models/v1beta2_deployment_spec.py index f6a1ff9927..2f9e52bbbd 100644 --- a/kubernetes/client/models/v1beta2_deployment_spec.py +++ b/kubernetes/client/models/v1beta2_deployment_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_deployment_status.py b/kubernetes/client/models/v1beta2_deployment_status.py index 1a2c105ac8..c8690fa977 100644 --- a/kubernetes/client/models/v1beta2_deployment_status.py +++ b/kubernetes/client/models/v1beta2_deployment_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_deployment_strategy.py b/kubernetes/client/models/v1beta2_deployment_strategy.py index fcf8e3865a..fc4bf836af 100644 --- a/kubernetes/client/models/v1beta2_deployment_strategy.py +++ b/kubernetes/client/models/v1beta2_deployment_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_replica_set.py b/kubernetes/client/models/v1beta2_replica_set.py index aa560c13d1..6e96ba4e4a 100644 --- a/kubernetes/client/models/v1beta2_replica_set.py +++ b/kubernetes/client/models/v1beta2_replica_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_replica_set_condition.py b/kubernetes/client/models/v1beta2_replica_set_condition.py index 144f024009..3991ce03bf 100644 --- a/kubernetes/client/models/v1beta2_replica_set_condition.py +++ b/kubernetes/client/models/v1beta2_replica_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_replica_set_list.py b/kubernetes/client/models/v1beta2_replica_set_list.py index 07da6dc31e..006e795f0d 100644 --- a/kubernetes/client/models/v1beta2_replica_set_list.py +++ b/kubernetes/client/models/v1beta2_replica_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_replica_set_spec.py b/kubernetes/client/models/v1beta2_replica_set_spec.py index 0825420cac..eecf92092c 100644 --- a/kubernetes/client/models/v1beta2_replica_set_spec.py +++ b/kubernetes/client/models/v1beta2_replica_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_replica_set_status.py b/kubernetes/client/models/v1beta2_replica_set_status.py index a974e0295d..f17de28a0c 100644 --- a/kubernetes/client/models/v1beta2_replica_set_status.py +++ b/kubernetes/client/models/v1beta2_replica_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_rolling_update_daemon_set.py b/kubernetes/client/models/v1beta2_rolling_update_daemon_set.py index e4cbe69314..83832d52e5 100644 --- a/kubernetes/client/models/v1beta2_rolling_update_daemon_set.py +++ b/kubernetes/client/models/v1beta2_rolling_update_daemon_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_rolling_update_deployment.py b/kubernetes/client/models/v1beta2_rolling_update_deployment.py index c756207043..d56f929ff6 100644 --- a/kubernetes/client/models/v1beta2_rolling_update_deployment.py +++ b/kubernetes/client/models/v1beta2_rolling_update_deployment.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_rolling_update_stateful_set_strategy.py b/kubernetes/client/models/v1beta2_rolling_update_stateful_set_strategy.py index 7d013e091f..4092665b6d 100644 --- a/kubernetes/client/models/v1beta2_rolling_update_stateful_set_strategy.py +++ b/kubernetes/client/models/v1beta2_rolling_update_stateful_set_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_scale.py b/kubernetes/client/models/v1beta2_scale.py index 80597edf8a..dcd5ef70c4 100644 --- a/kubernetes/client/models/v1beta2_scale.py +++ b/kubernetes/client/models/v1beta2_scale.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_scale_spec.py b/kubernetes/client/models/v1beta2_scale_spec.py index 0b86f59f5b..7033fc2714 100644 --- a/kubernetes/client/models/v1beta2_scale_spec.py +++ b/kubernetes/client/models/v1beta2_scale_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_scale_status.py b/kubernetes/client/models/v1beta2_scale_status.py index 5808472f35..5b4be66834 100644 --- a/kubernetes/client/models/v1beta2_scale_status.py +++ b/kubernetes/client/models/v1beta2_scale_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_stateful_set.py b/kubernetes/client/models/v1beta2_stateful_set.py index 2b7c2e870d..d1fa9d5fbf 100644 --- a/kubernetes/client/models/v1beta2_stateful_set.py +++ b/kubernetes/client/models/v1beta2_stateful_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_stateful_set_condition.py b/kubernetes/client/models/v1beta2_stateful_set_condition.py index 13336b3cf9..f41ac88417 100644 --- a/kubernetes/client/models/v1beta2_stateful_set_condition.py +++ b/kubernetes/client/models/v1beta2_stateful_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_stateful_set_list.py b/kubernetes/client/models/v1beta2_stateful_set_list.py index d1e41735b6..b4326decbc 100644 --- a/kubernetes/client/models/v1beta2_stateful_set_list.py +++ b/kubernetes/client/models/v1beta2_stateful_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_stateful_set_spec.py b/kubernetes/client/models/v1beta2_stateful_set_spec.py index 71b3594b63..3ff23437bf 100644 --- a/kubernetes/client/models/v1beta2_stateful_set_spec.py +++ b/kubernetes/client/models/v1beta2_stateful_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_stateful_set_status.py b/kubernetes/client/models/v1beta2_stateful_set_status.py index c7dab1df84..8e49e0abdd 100644 --- a/kubernetes/client/models/v1beta2_stateful_set_status.py +++ b/kubernetes/client/models/v1beta2_stateful_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v1beta2_stateful_set_update_strategy.py b/kubernetes/client/models/v1beta2_stateful_set_update_strategy.py index aac61b2794..0c62053dde 100644 --- a/kubernetes/client/models/v1beta2_stateful_set_update_strategy.py +++ b/kubernetes/client/models/v1beta2_stateful_set_update_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2alpha1_cron_job.py b/kubernetes/client/models/v2alpha1_cron_job.py index c7d852ae4f..0b581760cd 100644 --- a/kubernetes/client/models/v2alpha1_cron_job.py +++ b/kubernetes/client/models/v2alpha1_cron_job.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2alpha1_cron_job_list.py b/kubernetes/client/models/v2alpha1_cron_job_list.py index 707dde3951..299725cfc7 100644 --- a/kubernetes/client/models/v2alpha1_cron_job_list.py +++ b/kubernetes/client/models/v2alpha1_cron_job_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2alpha1_cron_job_spec.py b/kubernetes/client/models/v2alpha1_cron_job_spec.py index f5f37870d5..a727043fe3 100644 --- a/kubernetes/client/models/v2alpha1_cron_job_spec.py +++ b/kubernetes/client/models/v2alpha1_cron_job_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2alpha1_cron_job_status.py b/kubernetes/client/models/v2alpha1_cron_job_status.py index 63dd0f075e..46dcc592ae 100644 --- a/kubernetes/client/models/v2alpha1_cron_job_status.py +++ b/kubernetes/client/models/v2alpha1_cron_job_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2alpha1_job_template_spec.py b/kubernetes/client/models/v2alpha1_job_template_spec.py index f3cbd74b50..bc67ec200e 100644 --- a/kubernetes/client/models/v2alpha1_job_template_spec.py +++ b/kubernetes/client/models/v2alpha1_job_template_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta1_cross_version_object_reference.py b/kubernetes/client/models/v2beta1_cross_version_object_reference.py index 589a026e7a..c3a28b2b6f 100644 --- a/kubernetes/client/models/v2beta1_cross_version_object_reference.py +++ b/kubernetes/client/models/v2beta1_cross_version_object_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta1_external_metric_source.py b/kubernetes/client/models/v2beta1_external_metric_source.py index 61f211c374..c7fa72a19e 100644 --- a/kubernetes/client/models/v2beta1_external_metric_source.py +++ b/kubernetes/client/models/v2beta1_external_metric_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta1_external_metric_status.py b/kubernetes/client/models/v2beta1_external_metric_status.py index db4538452f..fdae337934 100644 --- a/kubernetes/client/models/v2beta1_external_metric_status.py +++ b/kubernetes/client/models/v2beta1_external_metric_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler.py b/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler.py index 94e2d9d001..a259045433 100644 --- a/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler.py +++ b/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_condition.py b/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_condition.py index f4a59c4eda..ce748cfb01 100644 --- a/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_condition.py +++ b/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_list.py b/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_list.py index 67ccef3498..545fb79861 100644 --- a/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_list.py +++ b/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_spec.py b/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_spec.py index acaa999b14..fb1ed413fe 100644 --- a/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_spec.py +++ b/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_status.py b/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_status.py index b4d458aa8c..c769b61c1f 100644 --- a/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_status.py +++ b/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta1_metric_spec.py b/kubernetes/client/models/v2beta1_metric_spec.py index f0cbb528fb..29acd632c4 100644 --- a/kubernetes/client/models/v2beta1_metric_spec.py +++ b/kubernetes/client/models/v2beta1_metric_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta1_metric_status.py b/kubernetes/client/models/v2beta1_metric_status.py index 642e37de4a..817a446234 100644 --- a/kubernetes/client/models/v2beta1_metric_status.py +++ b/kubernetes/client/models/v2beta1_metric_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta1_object_metric_source.py b/kubernetes/client/models/v2beta1_object_metric_source.py index 6df62975b9..1ce618b6e9 100644 --- a/kubernetes/client/models/v2beta1_object_metric_source.py +++ b/kubernetes/client/models/v2beta1_object_metric_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta1_object_metric_status.py b/kubernetes/client/models/v2beta1_object_metric_status.py index 316ecc5f30..f4cc17da07 100644 --- a/kubernetes/client/models/v2beta1_object_metric_status.py +++ b/kubernetes/client/models/v2beta1_object_metric_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta1_pods_metric_source.py b/kubernetes/client/models/v2beta1_pods_metric_source.py index c7f1e441e1..8f4b4219e5 100644 --- a/kubernetes/client/models/v2beta1_pods_metric_source.py +++ b/kubernetes/client/models/v2beta1_pods_metric_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta1_pods_metric_status.py b/kubernetes/client/models/v2beta1_pods_metric_status.py index 866cf36c68..f7527c98cf 100644 --- a/kubernetes/client/models/v2beta1_pods_metric_status.py +++ b/kubernetes/client/models/v2beta1_pods_metric_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta1_resource_metric_source.py b/kubernetes/client/models/v2beta1_resource_metric_source.py index 4fb06d9f14..c47a6dbdcb 100644 --- a/kubernetes/client/models/v2beta1_resource_metric_source.py +++ b/kubernetes/client/models/v2beta1_resource_metric_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta1_resource_metric_status.py b/kubernetes/client/models/v2beta1_resource_metric_status.py index a21d03c215..cc1634cf44 100644 --- a/kubernetes/client/models/v2beta1_resource_metric_status.py +++ b/kubernetes/client/models/v2beta1_resource_metric_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta2_cross_version_object_reference.py b/kubernetes/client/models/v2beta2_cross_version_object_reference.py index dbc4a3a81c..65fe13cada 100644 --- a/kubernetes/client/models/v2beta2_cross_version_object_reference.py +++ b/kubernetes/client/models/v2beta2_cross_version_object_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta2_external_metric_source.py b/kubernetes/client/models/v2beta2_external_metric_source.py index 1af478dbb9..1016f8cf6a 100644 --- a/kubernetes/client/models/v2beta2_external_metric_source.py +++ b/kubernetes/client/models/v2beta2_external_metric_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta2_external_metric_status.py b/kubernetes/client/models/v2beta2_external_metric_status.py index b7c8ce23c7..4ffaca608f 100644 --- a/kubernetes/client/models/v2beta2_external_metric_status.py +++ b/kubernetes/client/models/v2beta2_external_metric_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta2_horizontal_pod_autoscaler.py b/kubernetes/client/models/v2beta2_horizontal_pod_autoscaler.py index aedc20e18a..270bbc45c3 100644 --- a/kubernetes/client/models/v2beta2_horizontal_pod_autoscaler.py +++ b/kubernetes/client/models/v2beta2_horizontal_pod_autoscaler.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta2_horizontal_pod_autoscaler_condition.py b/kubernetes/client/models/v2beta2_horizontal_pod_autoscaler_condition.py index d24e879046..e4b7b1826c 100644 --- a/kubernetes/client/models/v2beta2_horizontal_pod_autoscaler_condition.py +++ b/kubernetes/client/models/v2beta2_horizontal_pod_autoscaler_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta2_horizontal_pod_autoscaler_list.py b/kubernetes/client/models/v2beta2_horizontal_pod_autoscaler_list.py index 6d657fea98..83210a1eaa 100644 --- a/kubernetes/client/models/v2beta2_horizontal_pod_autoscaler_list.py +++ b/kubernetes/client/models/v2beta2_horizontal_pod_autoscaler_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta2_horizontal_pod_autoscaler_spec.py b/kubernetes/client/models/v2beta2_horizontal_pod_autoscaler_spec.py index ea09dfea36..52b75fd1dc 100644 --- a/kubernetes/client/models/v2beta2_horizontal_pod_autoscaler_spec.py +++ b/kubernetes/client/models/v2beta2_horizontal_pod_autoscaler_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta2_horizontal_pod_autoscaler_status.py b/kubernetes/client/models/v2beta2_horizontal_pod_autoscaler_status.py index c6f7a8e000..ceebff5556 100644 --- a/kubernetes/client/models/v2beta2_horizontal_pod_autoscaler_status.py +++ b/kubernetes/client/models/v2beta2_horizontal_pod_autoscaler_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta2_metric_identifier.py b/kubernetes/client/models/v2beta2_metric_identifier.py index f0dc4b1705..1b62d6a37e 100644 --- a/kubernetes/client/models/v2beta2_metric_identifier.py +++ b/kubernetes/client/models/v2beta2_metric_identifier.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta2_metric_spec.py b/kubernetes/client/models/v2beta2_metric_spec.py index 15af8dc934..91293c2dfc 100644 --- a/kubernetes/client/models/v2beta2_metric_spec.py +++ b/kubernetes/client/models/v2beta2_metric_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta2_metric_status.py b/kubernetes/client/models/v2beta2_metric_status.py index 3438ff4446..1c657049c5 100644 --- a/kubernetes/client/models/v2beta2_metric_status.py +++ b/kubernetes/client/models/v2beta2_metric_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta2_metric_target.py b/kubernetes/client/models/v2beta2_metric_target.py index 74ac2ed27f..4c72c79bb4 100644 --- a/kubernetes/client/models/v2beta2_metric_target.py +++ b/kubernetes/client/models/v2beta2_metric_target.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta2_metric_value_status.py b/kubernetes/client/models/v2beta2_metric_value_status.py index 7d454c5d09..1ea0f2f47c 100644 --- a/kubernetes/client/models/v2beta2_metric_value_status.py +++ b/kubernetes/client/models/v2beta2_metric_value_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta2_object_metric_source.py b/kubernetes/client/models/v2beta2_object_metric_source.py index 3559be8b76..3231474799 100644 --- a/kubernetes/client/models/v2beta2_object_metric_source.py +++ b/kubernetes/client/models/v2beta2_object_metric_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta2_object_metric_status.py b/kubernetes/client/models/v2beta2_object_metric_status.py index 48343abad0..ecec793f45 100644 --- a/kubernetes/client/models/v2beta2_object_metric_status.py +++ b/kubernetes/client/models/v2beta2_object_metric_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta2_pods_metric_source.py b/kubernetes/client/models/v2beta2_pods_metric_source.py index fb3c27346a..027bcc614b 100644 --- a/kubernetes/client/models/v2beta2_pods_metric_source.py +++ b/kubernetes/client/models/v2beta2_pods_metric_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta2_pods_metric_status.py b/kubernetes/client/models/v2beta2_pods_metric_status.py index 60f19c2ebe..ca6787b99b 100644 --- a/kubernetes/client/models/v2beta2_pods_metric_status.py +++ b/kubernetes/client/models/v2beta2_pods_metric_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta2_resource_metric_source.py b/kubernetes/client/models/v2beta2_resource_metric_source.py index a09a8f2d84..143b032903 100644 --- a/kubernetes/client/models/v2beta2_resource_metric_source.py +++ b/kubernetes/client/models/v2beta2_resource_metric_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/v2beta2_resource_metric_status.py b/kubernetes/client/models/v2beta2_resource_metric_status.py index 97dfd62b7e..f2834a2b44 100644 --- a/kubernetes/client/models/v2beta2_resource_metric_status.py +++ b/kubernetes/client/models/v2beta2_resource_metric_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/models/version_info.py b/kubernetes/client/models/version_info.py index b375e29f13..7886bf4ebd 100644 --- a/kubernetes/client/models/version_info.py +++ b/kubernetes/client/models/version_info.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/client/rest.py b/kubernetes/client/rest.py index 4cdc83bb8d..1de3c1a788 100644 --- a/kubernetes/client/rest.py +++ b/kubernetes/client/rest.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/docs/AdmissionregistrationV1alpha1Api.md b/kubernetes/docs/AdmissionregistrationV1alpha1Api.md index c854432bcb..b6892b8dbd 100644 --- a/kubernetes/docs/AdmissionregistrationV1alpha1Api.md +++ b/kubernetes/docs/AdmissionregistrationV1alpha1Api.md @@ -143,7 +143,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_initializer_configuration** -> V1Status delete_initializer_configuration(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_initializer_configuration(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -166,15 +166,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = kubernetes.client.AdmissionregistrationV1alpha1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the InitializerConfiguration -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_initializer_configuration(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_initializer_configuration(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling AdmissionregistrationV1alpha1Api->delete_initializer_configuration: %s\n" % e) @@ -185,8 +185,8 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the InitializerConfiguration | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] diff --git a/kubernetes/docs/AdmissionregistrationV1beta1Api.md b/kubernetes/docs/AdmissionregistrationV1beta1Api.md index 9b7ea6cf86..7804db3635 100644 --- a/kubernetes/docs/AdmissionregistrationV1beta1Api.md +++ b/kubernetes/docs/AdmissionregistrationV1beta1Api.md @@ -278,7 +278,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_mutating_webhook_configuration** -> V1Status delete_mutating_webhook_configuration(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_mutating_webhook_configuration(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -301,15 +301,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = kubernetes.client.AdmissionregistrationV1beta1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the MutatingWebhookConfiguration -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_mutating_webhook_configuration(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_mutating_webhook_configuration(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling AdmissionregistrationV1beta1Api->delete_mutating_webhook_configuration: %s\n" % e) @@ -320,8 +320,8 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the MutatingWebhookConfiguration | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] @@ -343,7 +343,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_validating_webhook_configuration** -> V1Status delete_validating_webhook_configuration(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_validating_webhook_configuration(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -366,15 +366,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = kubernetes.client.AdmissionregistrationV1beta1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the ValidatingWebhookConfiguration -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_validating_webhook_configuration(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_validating_webhook_configuration(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling AdmissionregistrationV1beta1Api->delete_validating_webhook_configuration: %s\n" % e) @@ -385,8 +385,8 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the ValidatingWebhookConfiguration | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] diff --git a/kubernetes/docs/AdmissionregistrationV1beta1WebhookClientConfig.md b/kubernetes/docs/AdmissionregistrationV1beta1WebhookClientConfig.md new file mode 100644 index 0000000000..5a1804f96f --- /dev/null +++ b/kubernetes/docs/AdmissionregistrationV1beta1WebhookClientConfig.md @@ -0,0 +1,12 @@ +# AdmissionregistrationV1beta1WebhookClientConfig + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ca_bundle** | **str** | `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used. | [optional] +**service** | [**AdmissionregistrationV1beta1ServiceReference**](AdmissionregistrationV1beta1ServiceReference.md) | `service` is a reference to the service for this webhook. Either `service` or `url` must be specified. If the webhook is running within the cluster, then you should use `service`. Port 443 will be used if it is open, otherwise it is an error. | [optional] +**url** | **str** | `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified. The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address. Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster. The scheme must be \"https\"; the URL must begin with \"https://\". A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/ApiextensionsV1beta1Api.md b/kubernetes/docs/ApiextensionsV1beta1Api.md index 359d01bc1e..c3f4269d20 100644 --- a/kubernetes/docs/ApiextensionsV1beta1Api.md +++ b/kubernetes/docs/ApiextensionsV1beta1Api.md @@ -146,7 +146,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_custom_resource_definition** -> V1Status delete_custom_resource_definition(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_custom_resource_definition(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -169,15 +169,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = kubernetes.client.ApiextensionsV1beta1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the CustomResourceDefinition -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_custom_resource_definition(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_custom_resource_definition(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling ApiextensionsV1beta1Api->delete_custom_resource_definition: %s\n" % e) @@ -188,8 +188,8 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the CustomResourceDefinition | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] diff --git a/kubernetes/docs/ApiextensionsV1beta1ServiceReference.md b/kubernetes/docs/ApiextensionsV1beta1ServiceReference.md new file mode 100644 index 0000000000..fcf244eda1 --- /dev/null +++ b/kubernetes/docs/ApiextensionsV1beta1ServiceReference.md @@ -0,0 +1,12 @@ +# ApiextensionsV1beta1ServiceReference + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **str** | `name` is the name of the service. Required | +**namespace** | **str** | `namespace` is the namespace of the service. Required | +**path** | **str** | `path` is an optional URL path which will be sent in any request to this service. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/ApiextensionsV1beta1WebhookClientConfig.md b/kubernetes/docs/ApiextensionsV1beta1WebhookClientConfig.md new file mode 100644 index 0000000000..e9dd06059b --- /dev/null +++ b/kubernetes/docs/ApiextensionsV1beta1WebhookClientConfig.md @@ -0,0 +1,12 @@ +# ApiextensionsV1beta1WebhookClientConfig + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ca_bundle** | **str** | `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used. | [optional] +**service** | [**ApiextensionsV1beta1ServiceReference**](ApiextensionsV1beta1ServiceReference.md) | `service` is a reference to the service for this webhook. Either `service` or `url` must be specified. If the webhook is running within the cluster, then you should use `service`. Port 443 will be used if it is open, otherwise it is an error. | [optional] +**url** | **str** | `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified. The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address. Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster. The scheme must be \"https\"; the URL must begin with \"https://\". A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/ApiregistrationV1Api.md b/kubernetes/docs/ApiregistrationV1Api.md index 52eb349701..35a0bb4bb9 100644 --- a/kubernetes/docs/ApiregistrationV1Api.md +++ b/kubernetes/docs/ApiregistrationV1Api.md @@ -77,7 +77,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_api_service** -> V1Status delete_api_service(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_api_service(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -100,15 +100,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = kubernetes.client.ApiregistrationV1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the APIService -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_api_service(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_api_service(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling ApiregistrationV1Api->delete_api_service: %s\n" % e) @@ -119,8 +119,8 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the APIService | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] diff --git a/kubernetes/docs/ApiregistrationV1beta1Api.md b/kubernetes/docs/ApiregistrationV1beta1Api.md index 4347e72a36..f95c404b45 100644 --- a/kubernetes/docs/ApiregistrationV1beta1Api.md +++ b/kubernetes/docs/ApiregistrationV1beta1Api.md @@ -77,7 +77,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_api_service** -> V1Status delete_api_service(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_api_service(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -100,15 +100,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = kubernetes.client.ApiregistrationV1beta1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the APIService -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_api_service(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_api_service(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling ApiregistrationV1beta1Api->delete_api_service: %s\n" % e) @@ -119,8 +119,8 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the APIService | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] diff --git a/kubernetes/docs/AppsV1Api.md b/kubernetes/docs/AppsV1Api.md index 23e0ba7ead..a7945161dd 100644 --- a/kubernetes/docs/AppsV1Api.md +++ b/kubernetes/docs/AppsV1Api.md @@ -729,7 +729,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_controller_revision** -> V1Status delete_namespaced_controller_revision(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespaced_controller_revision(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -753,15 +753,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' api_instance = kubernetes.client.AppsV1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the ControllerRevision namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespaced_controller_revision(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespaced_controller_revision(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling AppsV1Api->delete_namespaced_controller_revision: %s\n" % e) @@ -773,8 +773,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the ControllerRevision | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] @@ -796,7 +796,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_daemon_set** -> V1Status delete_namespaced_daemon_set(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespaced_daemon_set(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -820,15 +820,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' api_instance = kubernetes.client.AppsV1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the DaemonSet namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespaced_daemon_set(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespaced_daemon_set(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling AppsV1Api->delete_namespaced_daemon_set: %s\n" % e) @@ -840,8 +840,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the DaemonSet | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] @@ -863,7 +863,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_deployment** -> V1Status delete_namespaced_deployment(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespaced_deployment(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -887,15 +887,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' api_instance = kubernetes.client.AppsV1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the Deployment namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespaced_deployment(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespaced_deployment(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling AppsV1Api->delete_namespaced_deployment: %s\n" % e) @@ -907,8 +907,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the Deployment | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] @@ -930,7 +930,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_replica_set** -> V1Status delete_namespaced_replica_set(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespaced_replica_set(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -954,15 +954,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' api_instance = kubernetes.client.AppsV1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the ReplicaSet namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespaced_replica_set(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespaced_replica_set(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling AppsV1Api->delete_namespaced_replica_set: %s\n" % e) @@ -974,8 +974,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the ReplicaSet | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] @@ -997,7 +997,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_stateful_set** -> V1Status delete_namespaced_stateful_set(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespaced_stateful_set(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -1021,15 +1021,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' api_instance = kubernetes.client.AppsV1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the StatefulSet namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespaced_stateful_set(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespaced_stateful_set(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling AppsV1Api->delete_namespaced_stateful_set: %s\n" % e) @@ -1041,8 +1041,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the StatefulSet | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] diff --git a/kubernetes/docs/AppsV1beta1Api.md b/kubernetes/docs/AppsV1beta1Api.md index 4f14a8159b..5f962b6c54 100644 --- a/kubernetes/docs/AppsV1beta1Api.md +++ b/kubernetes/docs/AppsV1beta1Api.md @@ -504,7 +504,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_controller_revision** -> V1Status delete_namespaced_controller_revision(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespaced_controller_revision(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -528,15 +528,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' api_instance = kubernetes.client.AppsV1beta1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the ControllerRevision namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespaced_controller_revision(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespaced_controller_revision(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling AppsV1beta1Api->delete_namespaced_controller_revision: %s\n" % e) @@ -548,8 +548,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the ControllerRevision | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] @@ -571,7 +571,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_deployment** -> V1Status delete_namespaced_deployment(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespaced_deployment(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -595,15 +595,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' api_instance = kubernetes.client.AppsV1beta1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the Deployment namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespaced_deployment(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespaced_deployment(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling AppsV1beta1Api->delete_namespaced_deployment: %s\n" % e) @@ -615,8 +615,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the Deployment | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] @@ -638,7 +638,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_stateful_set** -> V1Status delete_namespaced_stateful_set(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespaced_stateful_set(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -662,15 +662,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' api_instance = kubernetes.client.AppsV1beta1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the StatefulSet namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespaced_stateful_set(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespaced_stateful_set(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling AppsV1beta1Api->delete_namespaced_stateful_set: %s\n" % e) @@ -682,8 +682,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the StatefulSet | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] diff --git a/kubernetes/docs/AppsV1beta2Api.md b/kubernetes/docs/AppsV1beta2Api.md index 6f6cdda713..88543ee4b9 100644 --- a/kubernetes/docs/AppsV1beta2Api.md +++ b/kubernetes/docs/AppsV1beta2Api.md @@ -729,7 +729,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_controller_revision** -> V1Status delete_namespaced_controller_revision(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespaced_controller_revision(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -753,15 +753,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' api_instance = kubernetes.client.AppsV1beta2Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the ControllerRevision namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespaced_controller_revision(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespaced_controller_revision(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling AppsV1beta2Api->delete_namespaced_controller_revision: %s\n" % e) @@ -773,8 +773,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the ControllerRevision | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] @@ -796,7 +796,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_daemon_set** -> V1Status delete_namespaced_daemon_set(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespaced_daemon_set(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -820,15 +820,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' api_instance = kubernetes.client.AppsV1beta2Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the DaemonSet namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespaced_daemon_set(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespaced_daemon_set(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling AppsV1beta2Api->delete_namespaced_daemon_set: %s\n" % e) @@ -840,8 +840,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the DaemonSet | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] @@ -863,7 +863,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_deployment** -> V1Status delete_namespaced_deployment(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespaced_deployment(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -887,15 +887,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' api_instance = kubernetes.client.AppsV1beta2Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the Deployment namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespaced_deployment(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespaced_deployment(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling AppsV1beta2Api->delete_namespaced_deployment: %s\n" % e) @@ -907,8 +907,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the Deployment | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] @@ -930,7 +930,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_replica_set** -> V1Status delete_namespaced_replica_set(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespaced_replica_set(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -954,15 +954,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' api_instance = kubernetes.client.AppsV1beta2Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the ReplicaSet namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespaced_replica_set(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespaced_replica_set(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling AppsV1beta2Api->delete_namespaced_replica_set: %s\n" % e) @@ -974,8 +974,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the ReplicaSet | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] @@ -997,7 +997,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_stateful_set** -> V1Status delete_namespaced_stateful_set(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespaced_stateful_set(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -1021,15 +1021,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' api_instance = kubernetes.client.AppsV1beta2Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the StatefulSet namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespaced_stateful_set(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespaced_stateful_set(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling AppsV1beta2Api->delete_namespaced_stateful_set: %s\n" % e) @@ -1041,8 +1041,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the StatefulSet | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] diff --git a/kubernetes/docs/AuditregistrationApi.md b/kubernetes/docs/AuditregistrationApi.md new file mode 100644 index 0000000000..9328e33d23 --- /dev/null +++ b/kubernetes/docs/AuditregistrationApi.md @@ -0,0 +1,58 @@ +# kubernetes.client.AuditregistrationApi + +All URIs are relative to *https://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**get_api_group**](AuditregistrationApi.md#get_api_group) | **GET** /apis/auditregistration.k8s.io/ | + + +# **get_api_group** +> V1APIGroup get_api_group() + + + +get information of a group + +### Example +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: BearerToken +configuration = kubernetes.client.Configuration() +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = kubernetes.client.AuditregistrationApi(kubernetes.client.ApiClient(configuration)) + +try: + api_response = api_instance.get_api_group() + pprint(api_response) +except ApiException as e: + print("Exception when calling AuditregistrationApi->get_api_group: %s\n" % e) +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**V1APIGroup**](V1APIGroup.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/kubernetes/docs/AuditregistrationV1alpha1Api.md b/kubernetes/docs/AuditregistrationV1alpha1Api.md new file mode 100644 index 0000000000..ee4dddbedb --- /dev/null +++ b/kubernetes/docs/AuditregistrationV1alpha1Api.md @@ -0,0 +1,504 @@ +# kubernetes.client.AuditregistrationV1alpha1Api + +All URIs are relative to *https://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**create_audit_sink**](AuditregistrationV1alpha1Api.md#create_audit_sink) | **POST** /apis/auditregistration.k8s.io/v1alpha1/auditsinks | +[**delete_audit_sink**](AuditregistrationV1alpha1Api.md#delete_audit_sink) | **DELETE** /apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name} | +[**delete_collection_audit_sink**](AuditregistrationV1alpha1Api.md#delete_collection_audit_sink) | **DELETE** /apis/auditregistration.k8s.io/v1alpha1/auditsinks | +[**get_api_resources**](AuditregistrationV1alpha1Api.md#get_api_resources) | **GET** /apis/auditregistration.k8s.io/v1alpha1/ | +[**list_audit_sink**](AuditregistrationV1alpha1Api.md#list_audit_sink) | **GET** /apis/auditregistration.k8s.io/v1alpha1/auditsinks | +[**patch_audit_sink**](AuditregistrationV1alpha1Api.md#patch_audit_sink) | **PATCH** /apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name} | +[**read_audit_sink**](AuditregistrationV1alpha1Api.md#read_audit_sink) | **GET** /apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name} | +[**replace_audit_sink**](AuditregistrationV1alpha1Api.md#replace_audit_sink) | **PUT** /apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name} | + + +# **create_audit_sink** +> V1alpha1AuditSink create_audit_sink(body, include_uninitialized=include_uninitialized, pretty=pretty, dry_run=dry_run) + + + +create an AuditSink + +### Example +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: BearerToken +configuration = kubernetes.client.Configuration() +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = kubernetes.client.AuditregistrationV1alpha1Api(kubernetes.client.ApiClient(configuration)) +body = kubernetes.client.V1alpha1AuditSink() # V1alpha1AuditSink | +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + +try: + api_response = api_instance.create_audit_sink(body, include_uninitialized=include_uninitialized, pretty=pretty, dry_run=dry_run) + pprint(api_response) +except ApiException as e: + print("Exception when calling AuditregistrationV1alpha1Api->create_audit_sink: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**V1alpha1AuditSink**](V1alpha1AuditSink.md)| | + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1alpha1AuditSink**](V1alpha1AuditSink.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_audit_sink** +> V1Status delete_audit_sink(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + + + +delete an AuditSink + +### Example +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: BearerToken +configuration = kubernetes.client.Configuration() +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = kubernetes.client.AuditregistrationV1alpha1Api(kubernetes.client.ApiClient(configuration)) +name = 'name_example' # str | name of the AuditSink +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) +dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) +grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) + +try: + api_response = api_instance.delete_audit_sink(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + pprint(api_response) +except ApiException as e: + print("Exception when calling AuditregistrationV1alpha1Api->delete_audit_sink: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the AuditSink | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_collection_audit_sink** +> V1Status delete_collection_audit_sink(include_uninitialized=include_uninitialized, pretty=pretty, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + + + +delete collection of AuditSink + +### Example +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: BearerToken +configuration = kubernetes.client.Configuration() +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = kubernetes.client.AuditregistrationV1alpha1Api(kubernetes.client.ApiClient(configuration)) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) +timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) +watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + +try: + api_response = api_instance.delete_collection_audit_sink(include_uninitialized=include_uninitialized, pretty=pretty, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + pprint(api_response) +except ApiException as e: + print("Exception when calling AuditregistrationV1alpha1Api->delete_collection_audit_sink: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **int**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_api_resources** +> V1APIResourceList get_api_resources() + + + +get available resources + +### Example +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: BearerToken +configuration = kubernetes.client.Configuration() +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = kubernetes.client.AuditregistrationV1alpha1Api(kubernetes.client.ApiClient(configuration)) + +try: + api_response = api_instance.get_api_resources() + pprint(api_response) +except ApiException as e: + print("Exception when calling AuditregistrationV1alpha1Api->get_api_resources: %s\n" % e) +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**V1APIResourceList**](V1APIResourceList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **list_audit_sink** +> V1alpha1AuditSinkList list_audit_sink(include_uninitialized=include_uninitialized, pretty=pretty, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + + + +list or watch objects of kind AuditSink + +### Example +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: BearerToken +configuration = kubernetes.client.Configuration() +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = kubernetes.client.AuditregistrationV1alpha1Api(kubernetes.client.ApiClient(configuration)) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) +timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) +watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + +try: + api_response = api_instance.list_audit_sink(include_uninitialized=include_uninitialized, pretty=pretty, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + pprint(api_response) +except ApiException as e: + print("Exception when calling AuditregistrationV1alpha1Api->list_audit_sink: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **int**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1alpha1AuditSinkList**](V1alpha1AuditSinkList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **patch_audit_sink** +> V1alpha1AuditSink patch_audit_sink(name, body, pretty=pretty, dry_run=dry_run) + + + +partially update the specified AuditSink + +### Example +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: BearerToken +configuration = kubernetes.client.Configuration() +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = kubernetes.client.AuditregistrationV1alpha1Api(kubernetes.client.ApiClient(configuration)) +name = 'name_example' # str | name of the AuditSink +body = NULL # object | +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + +try: + api_response = api_instance.patch_audit_sink(name, body, pretty=pretty, dry_run=dry_run) + pprint(api_response) +except ApiException as e: + print("Exception when calling AuditregistrationV1alpha1Api->patch_audit_sink: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the AuditSink | + **body** | **object**| | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1alpha1AuditSink**](V1alpha1AuditSink.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **read_audit_sink** +> V1alpha1AuditSink read_audit_sink(name, pretty=pretty, exact=exact, export=export) + + + +read the specified AuditSink + +### Example +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: BearerToken +configuration = kubernetes.client.Configuration() +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = kubernetes.client.AuditregistrationV1alpha1Api(kubernetes.client.ApiClient(configuration)) +name = 'name_example' # str | name of the AuditSink +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) +export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) + +try: + api_response = api_instance.read_audit_sink(name, pretty=pretty, exact=exact, export=export) + pprint(api_response) +except ApiException as e: + print("Exception when calling AuditregistrationV1alpha1Api->read_audit_sink: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the AuditSink | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] + **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] + +### Return type + +[**V1alpha1AuditSink**](V1alpha1AuditSink.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **replace_audit_sink** +> V1alpha1AuditSink replace_audit_sink(name, body, pretty=pretty, dry_run=dry_run) + + + +replace the specified AuditSink + +### Example +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: BearerToken +configuration = kubernetes.client.Configuration() +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = kubernetes.client.AuditregistrationV1alpha1Api(kubernetes.client.ApiClient(configuration)) +name = 'name_example' # str | name of the AuditSink +body = kubernetes.client.V1alpha1AuditSink() # V1alpha1AuditSink | +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + +try: + api_response = api_instance.replace_audit_sink(name, body, pretty=pretty, dry_run=dry_run) + pprint(api_response) +except ApiException as e: + print("Exception when calling AuditregistrationV1alpha1Api->replace_audit_sink: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the AuditSink | + **body** | [**V1alpha1AuditSink**](V1alpha1AuditSink.md)| | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1alpha1AuditSink**](V1alpha1AuditSink.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/kubernetes/docs/AutoscalingV1Api.md b/kubernetes/docs/AutoscalingV1Api.md index dc85c79f86..550029c6ab 100644 --- a/kubernetes/docs/AutoscalingV1Api.md +++ b/kubernetes/docs/AutoscalingV1Api.md @@ -151,7 +151,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_horizontal_pod_autoscaler** -> V1Status delete_namespaced_horizontal_pod_autoscaler(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespaced_horizontal_pod_autoscaler(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -175,15 +175,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' api_instance = kubernetes.client.AutoscalingV1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the HorizontalPodAutoscaler namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespaced_horizontal_pod_autoscaler(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespaced_horizontal_pod_autoscaler(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling AutoscalingV1Api->delete_namespaced_horizontal_pod_autoscaler: %s\n" % e) @@ -195,8 +195,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the HorizontalPodAutoscaler | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] diff --git a/kubernetes/docs/AutoscalingV2beta1Api.md b/kubernetes/docs/AutoscalingV2beta1Api.md index a1aa390e7e..ac68b404e6 100644 --- a/kubernetes/docs/AutoscalingV2beta1Api.md +++ b/kubernetes/docs/AutoscalingV2beta1Api.md @@ -151,7 +151,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_horizontal_pod_autoscaler** -> V1Status delete_namespaced_horizontal_pod_autoscaler(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespaced_horizontal_pod_autoscaler(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -175,15 +175,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' api_instance = kubernetes.client.AutoscalingV2beta1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the HorizontalPodAutoscaler namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespaced_horizontal_pod_autoscaler(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespaced_horizontal_pod_autoscaler(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling AutoscalingV2beta1Api->delete_namespaced_horizontal_pod_autoscaler: %s\n" % e) @@ -195,8 +195,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the HorizontalPodAutoscaler | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] diff --git a/kubernetes/docs/AutoscalingV2beta2Api.md b/kubernetes/docs/AutoscalingV2beta2Api.md index 26418b5037..d620e7cdb6 100644 --- a/kubernetes/docs/AutoscalingV2beta2Api.md +++ b/kubernetes/docs/AutoscalingV2beta2Api.md @@ -151,7 +151,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_horizontal_pod_autoscaler** -> V1Status delete_namespaced_horizontal_pod_autoscaler(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespaced_horizontal_pod_autoscaler(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -175,15 +175,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' api_instance = kubernetes.client.AutoscalingV2beta2Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the HorizontalPodAutoscaler namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespaced_horizontal_pod_autoscaler(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespaced_horizontal_pod_autoscaler(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling AutoscalingV2beta2Api->delete_namespaced_horizontal_pod_autoscaler: %s\n" % e) @@ -195,8 +195,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the HorizontalPodAutoscaler | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] diff --git a/kubernetes/docs/BatchV1Api.md b/kubernetes/docs/BatchV1Api.md index dd72946c97..d8e915551f 100644 --- a/kubernetes/docs/BatchV1Api.md +++ b/kubernetes/docs/BatchV1Api.md @@ -151,7 +151,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_job** -> V1Status delete_namespaced_job(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespaced_job(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -175,15 +175,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' api_instance = kubernetes.client.BatchV1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the Job namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespaced_job(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespaced_job(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling BatchV1Api->delete_namespaced_job: %s\n" % e) @@ -195,8 +195,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the Job | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] diff --git a/kubernetes/docs/BatchV1beta1Api.md b/kubernetes/docs/BatchV1beta1Api.md index dd74bb39e4..850256e452 100644 --- a/kubernetes/docs/BatchV1beta1Api.md +++ b/kubernetes/docs/BatchV1beta1Api.md @@ -151,7 +151,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_cron_job** -> V1Status delete_namespaced_cron_job(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespaced_cron_job(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -175,15 +175,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' api_instance = kubernetes.client.BatchV1beta1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the CronJob namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespaced_cron_job(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespaced_cron_job(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling BatchV1beta1Api->delete_namespaced_cron_job: %s\n" % e) @@ -195,8 +195,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the CronJob | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] diff --git a/kubernetes/docs/BatchV2alpha1Api.md b/kubernetes/docs/BatchV2alpha1Api.md index ca8d917dcc..164bfafebe 100644 --- a/kubernetes/docs/BatchV2alpha1Api.md +++ b/kubernetes/docs/BatchV2alpha1Api.md @@ -151,7 +151,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_cron_job** -> V1Status delete_namespaced_cron_job(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespaced_cron_job(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -175,15 +175,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' api_instance = kubernetes.client.BatchV2alpha1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the CronJob namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespaced_cron_job(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespaced_cron_job(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling BatchV2alpha1Api->delete_namespaced_cron_job: %s\n" % e) @@ -195,8 +195,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the CronJob | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] diff --git a/kubernetes/docs/CertificatesV1beta1Api.md b/kubernetes/docs/CertificatesV1beta1Api.md index da1480ce73..d1518dc1c8 100644 --- a/kubernetes/docs/CertificatesV1beta1Api.md +++ b/kubernetes/docs/CertificatesV1beta1Api.md @@ -78,7 +78,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_certificate_signing_request** -> V1Status delete_certificate_signing_request(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_certificate_signing_request(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -101,15 +101,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = kubernetes.client.CertificatesV1beta1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the CertificateSigningRequest -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_certificate_signing_request(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_certificate_signing_request(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling CertificatesV1beta1Api->delete_certificate_signing_request: %s\n" % e) @@ -120,8 +120,8 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the CertificateSigningRequest | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] diff --git a/kubernetes/docs/CoordinationV1beta1Api.md b/kubernetes/docs/CoordinationV1beta1Api.md index 1a175d1d9f..b5faf76a7c 100644 --- a/kubernetes/docs/CoordinationV1beta1Api.md +++ b/kubernetes/docs/CoordinationV1beta1Api.md @@ -148,7 +148,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_lease** -> V1Status delete_namespaced_lease(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespaced_lease(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -172,15 +172,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' api_instance = kubernetes.client.CoordinationV1beta1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the Lease namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespaced_lease(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespaced_lease(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling CoordinationV1beta1Api->delete_namespaced_lease: %s\n" % e) @@ -192,8 +192,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the Lease | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] diff --git a/kubernetes/docs/CoreV1Api.md b/kubernetes/docs/CoreV1Api.md index f041335bae..823f85360f 100644 --- a/kubernetes/docs/CoreV1Api.md +++ b/kubernetes/docs/CoreV1Api.md @@ -5006,7 +5006,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespace** -> V1Status delete_namespace(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespace(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -5029,15 +5029,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = kubernetes.client.CoreV1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the Namespace -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespace(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespace(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling CoreV1Api->delete_namespace: %s\n" % e) @@ -5048,8 +5048,8 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the Namespace | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] @@ -5071,7 +5071,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_config_map** -> V1Status delete_namespaced_config_map(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespaced_config_map(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -5095,15 +5095,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' api_instance = kubernetes.client.CoreV1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the ConfigMap namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespaced_config_map(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespaced_config_map(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling CoreV1Api->delete_namespaced_config_map: %s\n" % e) @@ -5115,8 +5115,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the ConfigMap | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] @@ -5138,7 +5138,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_endpoints** -> V1Status delete_namespaced_endpoints(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespaced_endpoints(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -5162,15 +5162,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' api_instance = kubernetes.client.CoreV1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the Endpoints namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespaced_endpoints(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespaced_endpoints(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling CoreV1Api->delete_namespaced_endpoints: %s\n" % e) @@ -5182,8 +5182,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the Endpoints | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] @@ -5205,7 +5205,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_event** -> V1Status delete_namespaced_event(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespaced_event(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -5229,15 +5229,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' api_instance = kubernetes.client.CoreV1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the Event namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespaced_event(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespaced_event(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling CoreV1Api->delete_namespaced_event: %s\n" % e) @@ -5249,8 +5249,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the Event | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] @@ -5272,7 +5272,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_limit_range** -> V1Status delete_namespaced_limit_range(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespaced_limit_range(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -5296,15 +5296,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' api_instance = kubernetes.client.CoreV1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the LimitRange namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespaced_limit_range(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespaced_limit_range(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling CoreV1Api->delete_namespaced_limit_range: %s\n" % e) @@ -5316,8 +5316,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the LimitRange | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] @@ -5339,7 +5339,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_persistent_volume_claim** -> V1Status delete_namespaced_persistent_volume_claim(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespaced_persistent_volume_claim(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -5363,15 +5363,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' api_instance = kubernetes.client.CoreV1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the PersistentVolumeClaim namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespaced_persistent_volume_claim(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespaced_persistent_volume_claim(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling CoreV1Api->delete_namespaced_persistent_volume_claim: %s\n" % e) @@ -5383,8 +5383,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the PersistentVolumeClaim | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] @@ -5406,7 +5406,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_pod** -> V1Status delete_namespaced_pod(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespaced_pod(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -5430,15 +5430,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' api_instance = kubernetes.client.CoreV1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the Pod namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespaced_pod(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespaced_pod(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling CoreV1Api->delete_namespaced_pod: %s\n" % e) @@ -5450,8 +5450,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the Pod | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] @@ -5473,7 +5473,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_pod_template** -> V1Status delete_namespaced_pod_template(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespaced_pod_template(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -5497,15 +5497,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' api_instance = kubernetes.client.CoreV1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the PodTemplate namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespaced_pod_template(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespaced_pod_template(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling CoreV1Api->delete_namespaced_pod_template: %s\n" % e) @@ -5517,8 +5517,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the PodTemplate | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] @@ -5540,7 +5540,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_replication_controller** -> V1Status delete_namespaced_replication_controller(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespaced_replication_controller(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -5564,15 +5564,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' api_instance = kubernetes.client.CoreV1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the ReplicationController namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespaced_replication_controller(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespaced_replication_controller(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling CoreV1Api->delete_namespaced_replication_controller: %s\n" % e) @@ -5584,8 +5584,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the ReplicationController | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] @@ -5607,7 +5607,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_resource_quota** -> V1Status delete_namespaced_resource_quota(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespaced_resource_quota(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -5631,15 +5631,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' api_instance = kubernetes.client.CoreV1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the ResourceQuota namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespaced_resource_quota(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespaced_resource_quota(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling CoreV1Api->delete_namespaced_resource_quota: %s\n" % e) @@ -5651,8 +5651,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the ResourceQuota | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] @@ -5674,7 +5674,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_secret** -> V1Status delete_namespaced_secret(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespaced_secret(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -5698,15 +5698,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' api_instance = kubernetes.client.CoreV1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the Secret namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespaced_secret(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespaced_secret(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling CoreV1Api->delete_namespaced_secret: %s\n" % e) @@ -5718,8 +5718,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the Secret | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] @@ -5741,7 +5741,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_service** -> V1Status delete_namespaced_service(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespaced_service(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -5765,15 +5765,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' api_instance = kubernetes.client.CoreV1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the Service namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespaced_service(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespaced_service(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling CoreV1Api->delete_namespaced_service: %s\n" % e) @@ -5785,8 +5785,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the Service | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] @@ -5808,7 +5808,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_service_account** -> V1Status delete_namespaced_service_account(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespaced_service_account(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -5832,15 +5832,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' api_instance = kubernetes.client.CoreV1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the ServiceAccount namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespaced_service_account(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespaced_service_account(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling CoreV1Api->delete_namespaced_service_account: %s\n" % e) @@ -5852,8 +5852,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the ServiceAccount | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] @@ -5875,7 +5875,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_node** -> V1Status delete_node(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_node(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -5898,15 +5898,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = kubernetes.client.CoreV1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the Node -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_node(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_node(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling CoreV1Api->delete_node: %s\n" % e) @@ -5917,8 +5917,8 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the Node | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] @@ -5940,7 +5940,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_persistent_volume** -> V1Status delete_persistent_volume(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_persistent_volume(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -5963,15 +5963,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = kubernetes.client.CoreV1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the PersistentVolume -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_persistent_volume(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_persistent_volume(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling CoreV1Api->delete_persistent_volume: %s\n" % e) @@ -5982,8 +5982,8 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the PersistentVolume | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] diff --git a/kubernetes/docs/EventsV1beta1Api.md b/kubernetes/docs/EventsV1beta1Api.md index 5b6b268d38..f5077e4df7 100644 --- a/kubernetes/docs/EventsV1beta1Api.md +++ b/kubernetes/docs/EventsV1beta1Api.md @@ -148,7 +148,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_event** -> V1Status delete_namespaced_event(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespaced_event(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -172,15 +172,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' api_instance = kubernetes.client.EventsV1beta1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the Event namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespaced_event(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespaced_event(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling EventsV1beta1Api->delete_namespaced_event: %s\n" % e) @@ -192,8 +192,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the Event | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] diff --git a/kubernetes/docs/ExtensionsV1beta1Api.md b/kubernetes/docs/ExtensionsV1beta1Api.md index 0e69222e27..760e28603a 100644 --- a/kubernetes/docs/ExtensionsV1beta1Api.md +++ b/kubernetes/docs/ExtensionsV1beta1Api.md @@ -928,7 +928,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_daemon_set** -> V1Status delete_namespaced_daemon_set(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespaced_daemon_set(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -952,15 +952,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' api_instance = kubernetes.client.ExtensionsV1beta1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the DaemonSet namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespaced_daemon_set(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespaced_daemon_set(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling ExtensionsV1beta1Api->delete_namespaced_daemon_set: %s\n" % e) @@ -972,8 +972,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the DaemonSet | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] @@ -995,7 +995,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_deployment** -> V1Status delete_namespaced_deployment(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespaced_deployment(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -1019,15 +1019,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' api_instance = kubernetes.client.ExtensionsV1beta1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the Deployment namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespaced_deployment(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespaced_deployment(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling ExtensionsV1beta1Api->delete_namespaced_deployment: %s\n" % e) @@ -1039,8 +1039,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the Deployment | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] @@ -1062,7 +1062,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_ingress** -> V1Status delete_namespaced_ingress(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespaced_ingress(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -1086,15 +1086,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' api_instance = kubernetes.client.ExtensionsV1beta1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the Ingress namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespaced_ingress(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespaced_ingress(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling ExtensionsV1beta1Api->delete_namespaced_ingress: %s\n" % e) @@ -1106,8 +1106,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the Ingress | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] @@ -1129,7 +1129,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_network_policy** -> V1Status delete_namespaced_network_policy(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespaced_network_policy(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -1153,15 +1153,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' api_instance = kubernetes.client.ExtensionsV1beta1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the NetworkPolicy namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespaced_network_policy(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespaced_network_policy(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling ExtensionsV1beta1Api->delete_namespaced_network_policy: %s\n" % e) @@ -1173,8 +1173,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the NetworkPolicy | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] @@ -1196,7 +1196,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_replica_set** -> V1Status delete_namespaced_replica_set(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespaced_replica_set(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -1220,15 +1220,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' api_instance = kubernetes.client.ExtensionsV1beta1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the ReplicaSet namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespaced_replica_set(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespaced_replica_set(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling ExtensionsV1beta1Api->delete_namespaced_replica_set: %s\n" % e) @@ -1240,8 +1240,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the ReplicaSet | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] @@ -1263,7 +1263,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_pod_security_policy** -> V1Status delete_pod_security_policy(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_pod_security_policy(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -1286,15 +1286,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = kubernetes.client.ExtensionsV1beta1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the PodSecurityPolicy -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_pod_security_policy(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_pod_security_policy(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling ExtensionsV1beta1Api->delete_pod_security_policy: %s\n" % e) @@ -1305,8 +1305,8 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the PodSecurityPolicy | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] diff --git a/kubernetes/docs/ExtensionsV1beta1DeploymentSpec.md b/kubernetes/docs/ExtensionsV1beta1DeploymentSpec.md index 93eeea2617..855fa785a6 100644 --- a/kubernetes/docs/ExtensionsV1beta1DeploymentSpec.md +++ b/kubernetes/docs/ExtensionsV1beta1DeploymentSpec.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **paused** | **bool** | Indicates that the deployment is paused and will not be processed by the deployment controller. | [optional] **progress_deadline_seconds** | **int** | The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"no deadline\". | [optional] **replicas** | **int** | Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. | [optional] -**revision_history_limit** | **int** | The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. | [optional] +**revision_history_limit** | **int** | The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"retaining all old RelicaSets\". | [optional] **rollback_to** | [**ExtensionsV1beta1RollbackConfig**](ExtensionsV1beta1RollbackConfig.md) | DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done. | [optional] **selector** | [**V1LabelSelector**](V1LabelSelector.md) | Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. | [optional] **strategy** | [**ExtensionsV1beta1DeploymentStrategy**](ExtensionsV1beta1DeploymentStrategy.md) | The deployment strategy to use to replace existing pods with new ones. | [optional] diff --git a/kubernetes/docs/ExtensionsV1beta1PodSecurityPolicySpec.md b/kubernetes/docs/ExtensionsV1beta1PodSecurityPolicySpec.md index 84bb2b00e7..ef5f2156e9 100644 --- a/kubernetes/docs/ExtensionsV1beta1PodSecurityPolicySpec.md +++ b/kubernetes/docs/ExtensionsV1beta1PodSecurityPolicySpec.md @@ -20,6 +20,7 @@ Name | Type | Description | Notes **privileged** | **bool** | privileged determines if a pod can request to be run as privileged. | [optional] **read_only_root_filesystem** | **bool** | readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to. | [optional] **required_drop_capabilities** | **list[str]** | requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added. | [optional] +**run_as_group** | [**ExtensionsV1beta1RunAsGroupStrategyOptions**](ExtensionsV1beta1RunAsGroupStrategyOptions.md) | RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled. | [optional] **run_as_user** | [**ExtensionsV1beta1RunAsUserStrategyOptions**](ExtensionsV1beta1RunAsUserStrategyOptions.md) | runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set. | **se_linux** | [**ExtensionsV1beta1SELinuxStrategyOptions**](ExtensionsV1beta1SELinuxStrategyOptions.md) | seLinux is the strategy that will dictate the allowable labels that may be set. | **supplemental_groups** | [**ExtensionsV1beta1SupplementalGroupsStrategyOptions**](ExtensionsV1beta1SupplementalGroupsStrategyOptions.md) | supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext. | diff --git a/kubernetes/docs/ExtensionsV1beta1RunAsGroupStrategyOptions.md b/kubernetes/docs/ExtensionsV1beta1RunAsGroupStrategyOptions.md new file mode 100644 index 0000000000..5a215b246a --- /dev/null +++ b/kubernetes/docs/ExtensionsV1beta1RunAsGroupStrategyOptions.md @@ -0,0 +1,11 @@ +# ExtensionsV1beta1RunAsGroupStrategyOptions + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ranges** | [**list[ExtensionsV1beta1IDRange]**](ExtensionsV1beta1IDRange.md) | ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs. | [optional] +**rule** | **str** | rule is the strategy that will dictate the allowable RunAsGroup values that may be set. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/NetworkingV1Api.md b/kubernetes/docs/NetworkingV1Api.md index 78276ccf8d..b5245d306d 100644 --- a/kubernetes/docs/NetworkingV1Api.md +++ b/kubernetes/docs/NetworkingV1Api.md @@ -148,7 +148,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_network_policy** -> V1Status delete_namespaced_network_policy(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespaced_network_policy(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -172,15 +172,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' api_instance = kubernetes.client.NetworkingV1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the NetworkPolicy namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespaced_network_policy(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespaced_network_policy(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling NetworkingV1Api->delete_namespaced_network_policy: %s\n" % e) @@ -192,8 +192,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the NetworkPolicy | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] diff --git a/kubernetes/docs/PolicyV1beta1Api.md b/kubernetes/docs/PolicyV1beta1Api.md index 9e3798a553..498f7de28e 100644 --- a/kubernetes/docs/PolicyV1beta1Api.md +++ b/kubernetes/docs/PolicyV1beta1Api.md @@ -286,7 +286,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_pod_disruption_budget** -> V1Status delete_namespaced_pod_disruption_budget(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespaced_pod_disruption_budget(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -310,15 +310,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' api_instance = kubernetes.client.PolicyV1beta1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the PodDisruptionBudget namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespaced_pod_disruption_budget(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespaced_pod_disruption_budget(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling PolicyV1beta1Api->delete_namespaced_pod_disruption_budget: %s\n" % e) @@ -330,8 +330,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the PodDisruptionBudget | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] @@ -353,7 +353,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_pod_security_policy** -> V1Status delete_pod_security_policy(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_pod_security_policy(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -376,15 +376,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = kubernetes.client.PolicyV1beta1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the PodSecurityPolicy -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_pod_security_policy(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_pod_security_policy(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling PolicyV1beta1Api->delete_pod_security_policy: %s\n" % e) @@ -395,8 +395,8 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the PodSecurityPolicy | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] diff --git a/kubernetes/docs/PolicyV1beta1PodSecurityPolicySpec.md b/kubernetes/docs/PolicyV1beta1PodSecurityPolicySpec.md index b1a967ced3..6695075171 100644 --- a/kubernetes/docs/PolicyV1beta1PodSecurityPolicySpec.md +++ b/kubernetes/docs/PolicyV1beta1PodSecurityPolicySpec.md @@ -20,6 +20,7 @@ Name | Type | Description | Notes **privileged** | **bool** | privileged determines if a pod can request to be run as privileged. | [optional] **read_only_root_filesystem** | **bool** | readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to. | [optional] **required_drop_capabilities** | **list[str]** | requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added. | [optional] +**run_as_group** | [**PolicyV1beta1RunAsGroupStrategyOptions**](PolicyV1beta1RunAsGroupStrategyOptions.md) | RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled. | [optional] **run_as_user** | [**PolicyV1beta1RunAsUserStrategyOptions**](PolicyV1beta1RunAsUserStrategyOptions.md) | runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set. | **se_linux** | [**PolicyV1beta1SELinuxStrategyOptions**](PolicyV1beta1SELinuxStrategyOptions.md) | seLinux is the strategy that will dictate the allowable labels that may be set. | **supplemental_groups** | [**PolicyV1beta1SupplementalGroupsStrategyOptions**](PolicyV1beta1SupplementalGroupsStrategyOptions.md) | supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext. | diff --git a/kubernetes/docs/PolicyV1beta1RunAsGroupStrategyOptions.md b/kubernetes/docs/PolicyV1beta1RunAsGroupStrategyOptions.md new file mode 100644 index 0000000000..741614f814 --- /dev/null +++ b/kubernetes/docs/PolicyV1beta1RunAsGroupStrategyOptions.md @@ -0,0 +1,11 @@ +# PolicyV1beta1RunAsGroupStrategyOptions + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ranges** | [**list[PolicyV1beta1IDRange]**](PolicyV1beta1IDRange.md) | ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs. | [optional] +**rule** | **str** | rule is the strategy that will dictate the allowable RunAsGroup values that may be set. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/RbacAuthorizationV1Api.md b/kubernetes/docs/RbacAuthorizationV1Api.md index d0dfaa5b1a..970575c5de 100644 --- a/kubernetes/docs/RbacAuthorizationV1Api.md +++ b/kubernetes/docs/RbacAuthorizationV1Api.md @@ -278,7 +278,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_cluster_role** -> V1Status delete_cluster_role(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_cluster_role(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -301,15 +301,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = kubernetes.client.RbacAuthorizationV1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the ClusterRole -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_cluster_role(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_cluster_role(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling RbacAuthorizationV1Api->delete_cluster_role: %s\n" % e) @@ -320,8 +320,8 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the ClusterRole | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] @@ -343,7 +343,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_cluster_role_binding** -> V1Status delete_cluster_role_binding(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_cluster_role_binding(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -366,15 +366,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = kubernetes.client.RbacAuthorizationV1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the ClusterRoleBinding -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_cluster_role_binding(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_cluster_role_binding(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling RbacAuthorizationV1Api->delete_cluster_role_binding: %s\n" % e) @@ -385,8 +385,8 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the ClusterRoleBinding | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] @@ -688,7 +688,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_role** -> V1Status delete_namespaced_role(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespaced_role(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -712,15 +712,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' api_instance = kubernetes.client.RbacAuthorizationV1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the Role namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespaced_role(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespaced_role(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling RbacAuthorizationV1Api->delete_namespaced_role: %s\n" % e) @@ -732,8 +732,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the Role | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] @@ -755,7 +755,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_role_binding** -> V1Status delete_namespaced_role_binding(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespaced_role_binding(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -779,15 +779,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' api_instance = kubernetes.client.RbacAuthorizationV1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the RoleBinding namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespaced_role_binding(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespaced_role_binding(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling RbacAuthorizationV1Api->delete_namespaced_role_binding: %s\n" % e) @@ -799,8 +799,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the RoleBinding | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] diff --git a/kubernetes/docs/RbacAuthorizationV1alpha1Api.md b/kubernetes/docs/RbacAuthorizationV1alpha1Api.md index f7b4325075..777d3278b2 100644 --- a/kubernetes/docs/RbacAuthorizationV1alpha1Api.md +++ b/kubernetes/docs/RbacAuthorizationV1alpha1Api.md @@ -278,7 +278,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_cluster_role** -> V1Status delete_cluster_role(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_cluster_role(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -301,15 +301,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = kubernetes.client.RbacAuthorizationV1alpha1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the ClusterRole -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_cluster_role(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_cluster_role(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling RbacAuthorizationV1alpha1Api->delete_cluster_role: %s\n" % e) @@ -320,8 +320,8 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the ClusterRole | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] @@ -343,7 +343,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_cluster_role_binding** -> V1Status delete_cluster_role_binding(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_cluster_role_binding(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -366,15 +366,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = kubernetes.client.RbacAuthorizationV1alpha1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the ClusterRoleBinding -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_cluster_role_binding(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_cluster_role_binding(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling RbacAuthorizationV1alpha1Api->delete_cluster_role_binding: %s\n" % e) @@ -385,8 +385,8 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the ClusterRoleBinding | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] @@ -688,7 +688,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_role** -> V1Status delete_namespaced_role(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespaced_role(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -712,15 +712,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' api_instance = kubernetes.client.RbacAuthorizationV1alpha1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the Role namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespaced_role(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespaced_role(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling RbacAuthorizationV1alpha1Api->delete_namespaced_role: %s\n" % e) @@ -732,8 +732,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the Role | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] @@ -755,7 +755,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_role_binding** -> V1Status delete_namespaced_role_binding(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespaced_role_binding(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -779,15 +779,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' api_instance = kubernetes.client.RbacAuthorizationV1alpha1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the RoleBinding namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespaced_role_binding(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespaced_role_binding(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling RbacAuthorizationV1alpha1Api->delete_namespaced_role_binding: %s\n" % e) @@ -799,8 +799,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the RoleBinding | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] diff --git a/kubernetes/docs/RbacAuthorizationV1beta1Api.md b/kubernetes/docs/RbacAuthorizationV1beta1Api.md index d243f14127..56101eedfb 100644 --- a/kubernetes/docs/RbacAuthorizationV1beta1Api.md +++ b/kubernetes/docs/RbacAuthorizationV1beta1Api.md @@ -278,7 +278,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_cluster_role** -> V1Status delete_cluster_role(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_cluster_role(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -301,15 +301,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = kubernetes.client.RbacAuthorizationV1beta1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the ClusterRole -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_cluster_role(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_cluster_role(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling RbacAuthorizationV1beta1Api->delete_cluster_role: %s\n" % e) @@ -320,8 +320,8 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the ClusterRole | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] @@ -343,7 +343,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_cluster_role_binding** -> V1Status delete_cluster_role_binding(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_cluster_role_binding(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -366,15 +366,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = kubernetes.client.RbacAuthorizationV1beta1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the ClusterRoleBinding -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_cluster_role_binding(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_cluster_role_binding(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling RbacAuthorizationV1beta1Api->delete_cluster_role_binding: %s\n" % e) @@ -385,8 +385,8 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the ClusterRoleBinding | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] @@ -688,7 +688,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_role** -> V1Status delete_namespaced_role(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespaced_role(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -712,15 +712,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' api_instance = kubernetes.client.RbacAuthorizationV1beta1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the Role namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespaced_role(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespaced_role(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling RbacAuthorizationV1beta1Api->delete_namespaced_role: %s\n" % e) @@ -732,8 +732,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the Role | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] @@ -755,7 +755,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_role_binding** -> V1Status delete_namespaced_role_binding(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespaced_role_binding(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -779,15 +779,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' api_instance = kubernetes.client.RbacAuthorizationV1beta1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the RoleBinding namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespaced_role_binding(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespaced_role_binding(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling RbacAuthorizationV1beta1Api->delete_namespaced_role_binding: %s\n" % e) @@ -799,8 +799,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the RoleBinding | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] diff --git a/kubernetes/docs/SchedulingV1alpha1Api.md b/kubernetes/docs/SchedulingV1alpha1Api.md index 63c13a40d5..af29a88e1a 100644 --- a/kubernetes/docs/SchedulingV1alpha1Api.md +++ b/kubernetes/docs/SchedulingV1alpha1Api.md @@ -143,7 +143,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_priority_class** -> V1Status delete_priority_class(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_priority_class(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -166,15 +166,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = kubernetes.client.SchedulingV1alpha1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the PriorityClass -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_priority_class(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_priority_class(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling SchedulingV1alpha1Api->delete_priority_class: %s\n" % e) @@ -185,8 +185,8 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the PriorityClass | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] diff --git a/kubernetes/docs/SchedulingV1beta1Api.md b/kubernetes/docs/SchedulingV1beta1Api.md index 34641c99ea..3cc68f3775 100644 --- a/kubernetes/docs/SchedulingV1beta1Api.md +++ b/kubernetes/docs/SchedulingV1beta1Api.md @@ -143,7 +143,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_priority_class** -> V1Status delete_priority_class(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_priority_class(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -166,15 +166,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = kubernetes.client.SchedulingV1beta1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the PriorityClass -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_priority_class(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_priority_class(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling SchedulingV1beta1Api->delete_priority_class: %s\n" % e) @@ -185,8 +185,8 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the PriorityClass | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] diff --git a/kubernetes/docs/SettingsV1alpha1Api.md b/kubernetes/docs/SettingsV1alpha1Api.md index f8903b9122..7eec01e2ad 100644 --- a/kubernetes/docs/SettingsV1alpha1Api.md +++ b/kubernetes/docs/SettingsV1alpha1Api.md @@ -148,7 +148,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_pod_preset** -> V1Status delete_namespaced_pod_preset(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_namespaced_pod_preset(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -172,15 +172,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' api_instance = kubernetes.client.SettingsV1alpha1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the PodPreset namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_namespaced_pod_preset(name, namespace, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_namespaced_pod_preset(name, namespace, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling SettingsV1alpha1Api->delete_namespaced_pod_preset: %s\n" % e) @@ -192,8 +192,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the PodPreset | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] diff --git a/kubernetes/docs/StorageV1Api.md b/kubernetes/docs/StorageV1Api.md index 4b1545c488..d0b7b9103e 100644 --- a/kubernetes/docs/StorageV1Api.md +++ b/kubernetes/docs/StorageV1Api.md @@ -5,13 +5,23 @@ All URIs are relative to *https://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- [**create_storage_class**](StorageV1Api.md#create_storage_class) | **POST** /apis/storage.k8s.io/v1/storageclasses | +[**create_volume_attachment**](StorageV1Api.md#create_volume_attachment) | **POST** /apis/storage.k8s.io/v1/volumeattachments | [**delete_collection_storage_class**](StorageV1Api.md#delete_collection_storage_class) | **DELETE** /apis/storage.k8s.io/v1/storageclasses | +[**delete_collection_volume_attachment**](StorageV1Api.md#delete_collection_volume_attachment) | **DELETE** /apis/storage.k8s.io/v1/volumeattachments | [**delete_storage_class**](StorageV1Api.md#delete_storage_class) | **DELETE** /apis/storage.k8s.io/v1/storageclasses/{name} | +[**delete_volume_attachment**](StorageV1Api.md#delete_volume_attachment) | **DELETE** /apis/storage.k8s.io/v1/volumeattachments/{name} | [**get_api_resources**](StorageV1Api.md#get_api_resources) | **GET** /apis/storage.k8s.io/v1/ | [**list_storage_class**](StorageV1Api.md#list_storage_class) | **GET** /apis/storage.k8s.io/v1/storageclasses | +[**list_volume_attachment**](StorageV1Api.md#list_volume_attachment) | **GET** /apis/storage.k8s.io/v1/volumeattachments | [**patch_storage_class**](StorageV1Api.md#patch_storage_class) | **PATCH** /apis/storage.k8s.io/v1/storageclasses/{name} | +[**patch_volume_attachment**](StorageV1Api.md#patch_volume_attachment) | **PATCH** /apis/storage.k8s.io/v1/volumeattachments/{name} | +[**patch_volume_attachment_status**](StorageV1Api.md#patch_volume_attachment_status) | **PATCH** /apis/storage.k8s.io/v1/volumeattachments/{name}/status | [**read_storage_class**](StorageV1Api.md#read_storage_class) | **GET** /apis/storage.k8s.io/v1/storageclasses/{name} | +[**read_volume_attachment**](StorageV1Api.md#read_volume_attachment) | **GET** /apis/storage.k8s.io/v1/volumeattachments/{name} | +[**read_volume_attachment_status**](StorageV1Api.md#read_volume_attachment_status) | **GET** /apis/storage.k8s.io/v1/volumeattachments/{name}/status | [**replace_storage_class**](StorageV1Api.md#replace_storage_class) | **PUT** /apis/storage.k8s.io/v1/storageclasses/{name} | +[**replace_volume_attachment**](StorageV1Api.md#replace_volume_attachment) | **PUT** /apis/storage.k8s.io/v1/volumeattachments/{name} | +[**replace_volume_attachment_status**](StorageV1Api.md#replace_volume_attachment_status) | **PUT** /apis/storage.k8s.io/v1/volumeattachments/{name}/status | # **create_storage_class** @@ -73,6 +83,65 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **create_volume_attachment** +> V1VolumeAttachment create_volume_attachment(body, include_uninitialized=include_uninitialized, pretty=pretty, dry_run=dry_run) + + + +create a VolumeAttachment + +### Example +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: BearerToken +configuration = kubernetes.client.Configuration() +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = kubernetes.client.StorageV1Api(kubernetes.client.ApiClient(configuration)) +body = kubernetes.client.V1VolumeAttachment() # V1VolumeAttachment | +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + +try: + api_response = api_instance.create_volume_attachment(body, include_uninitialized=include_uninitialized, pretty=pretty, dry_run=dry_run) + pprint(api_response) +except ApiException as e: + print("Exception when calling StorageV1Api->create_volume_attachment: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**V1VolumeAttachment**](V1VolumeAttachment.md)| | + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1VolumeAttachment**](V1VolumeAttachment.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **delete_collection_storage_class** > V1Status delete_collection_storage_class(include_uninitialized=include_uninitialized, pretty=pretty, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -142,8 +211,77 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **delete_collection_volume_attachment** +> V1Status delete_collection_volume_attachment(include_uninitialized=include_uninitialized, pretty=pretty, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + + + +delete collection of VolumeAttachment + +### Example +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: BearerToken +configuration = kubernetes.client.Configuration() +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = kubernetes.client.StorageV1Api(kubernetes.client.ApiClient(configuration)) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) +timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) +watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + +try: + api_response = api_instance.delete_collection_volume_attachment(include_uninitialized=include_uninitialized, pretty=pretty, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + pprint(api_response) +except ApiException as e: + print("Exception when calling StorageV1Api->delete_collection_volume_attachment: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **int**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **delete_storage_class** -> V1Status delete_storage_class(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_storage_class(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -166,15 +304,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = kubernetes.client.StorageV1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the StorageClass -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_storage_class(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_storage_class(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling StorageV1Api->delete_storage_class: %s\n" % e) @@ -185,8 +323,73 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the StorageClass | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_volume_attachment** +> V1Status delete_volume_attachment(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + + + +delete a VolumeAttachment + +### Example +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: BearerToken +configuration = kubernetes.client.Configuration() +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = kubernetes.client.StorageV1Api(kubernetes.client.ApiClient(configuration)) +name = 'name_example' # str | name of the VolumeAttachment +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) +dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) +grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) + +try: + api_response = api_instance.delete_volume_attachment(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + pprint(api_response) +except ApiException as e: + print("Exception when calling StorageV1Api->delete_volume_attachment: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the VolumeAttachment | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] @@ -325,12 +528,12 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **patch_storage_class** -> V1StorageClass patch_storage_class(name, body, pretty=pretty, dry_run=dry_run) +# **list_volume_attachment** +> V1VolumeAttachmentList list_volume_attachment(include_uninitialized=include_uninitialized, pretty=pretty, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) -partially update the specified StorageClass +list or watch objects of kind VolumeAttachment ### Example ```python @@ -348,30 +551,40 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = kubernetes.client.StorageV1Api(kubernetes.client.ApiClient(configuration)) -name = 'name_example' # str | name of the StorageClass -body = NULL # object | +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) +timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) +watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.patch_storage_class(name, body, pretty=pretty, dry_run=dry_run) + api_response = api_instance.list_volume_attachment(include_uninitialized=include_uninitialized, pretty=pretty, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling StorageV1Api->patch_storage_class: %s\n" % e) + print("Exception when calling StorageV1Api->list_volume_attachment: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the StorageClass | - **body** | **object**| | + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **int**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**V1StorageClass**](V1StorageClass.md) +[**V1VolumeAttachmentList**](V1VolumeAttachmentList.md) ### Authorization @@ -379,17 +592,17 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **read_storage_class** -> V1StorageClass read_storage_class(name, pretty=pretty, exact=exact, export=export) +# **patch_storage_class** +> V1StorageClass patch_storage_class(name, body, pretty=pretty, dry_run=dry_run) -read the specified StorageClass +partially update the specified StorageClass ### Example ```python @@ -408,15 +621,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = kubernetes.client.StorageV1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the StorageClass +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) -export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) +dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) try: - api_response = api_instance.read_storage_class(name, pretty=pretty, exact=exact, export=export) + api_response = api_instance.patch_storage_class(name, body, pretty=pretty, dry_run=dry_run) pprint(api_response) except ApiException as e: - print("Exception when calling StorageV1Api->read_storage_class: %s\n" % e) + print("Exception when calling StorageV1Api->patch_storage_class: %s\n" % e) ``` ### Parameters @@ -424,9 +637,9 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the StorageClass | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] - **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] + **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -438,17 +651,17 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: */* + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **replace_storage_class** -> V1StorageClass replace_storage_class(name, body, pretty=pretty, dry_run=dry_run) +# **patch_volume_attachment** +> V1VolumeAttachment patch_volume_attachment(name, body, pretty=pretty, dry_run=dry_run) -replace the specified StorageClass +partially update the specified VolumeAttachment ### Example ```python @@ -466,30 +679,439 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = kubernetes.client.StorageV1Api(kubernetes.client.ApiClient(configuration)) -name = 'name_example' # str | name of the StorageClass -body = kubernetes.client.V1StorageClass() # V1StorageClass | +name = 'name_example' # str | name of the VolumeAttachment +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) try: - api_response = api_instance.replace_storage_class(name, body, pretty=pretty, dry_run=dry_run) + api_response = api_instance.patch_volume_attachment(name, body, pretty=pretty, dry_run=dry_run) pprint(api_response) except ApiException as e: - print("Exception when calling StorageV1Api->replace_storage_class: %s\n" % e) + print("Exception when calling StorageV1Api->patch_volume_attachment: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the StorageClass | - **body** | [**V1StorageClass**](V1StorageClass.md)| | + **name** | **str**| name of the VolumeAttachment | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type -[**V1StorageClass**](V1StorageClass.md) +[**V1VolumeAttachment**](V1VolumeAttachment.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **patch_volume_attachment_status** +> V1VolumeAttachment patch_volume_attachment_status(name, body, pretty=pretty, dry_run=dry_run) + + + +partially update status of the specified VolumeAttachment + +### Example +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: BearerToken +configuration = kubernetes.client.Configuration() +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = kubernetes.client.StorageV1Api(kubernetes.client.ApiClient(configuration)) +name = 'name_example' # str | name of the VolumeAttachment +body = NULL # object | +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + +try: + api_response = api_instance.patch_volume_attachment_status(name, body, pretty=pretty, dry_run=dry_run) + pprint(api_response) +except ApiException as e: + print("Exception when calling StorageV1Api->patch_volume_attachment_status: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the VolumeAttachment | + **body** | **object**| | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1VolumeAttachment**](V1VolumeAttachment.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **read_storage_class** +> V1StorageClass read_storage_class(name, pretty=pretty, exact=exact, export=export) + + + +read the specified StorageClass + +### Example +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: BearerToken +configuration = kubernetes.client.Configuration() +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = kubernetes.client.StorageV1Api(kubernetes.client.ApiClient(configuration)) +name = 'name_example' # str | name of the StorageClass +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) +export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) + +try: + api_response = api_instance.read_storage_class(name, pretty=pretty, exact=exact, export=export) + pprint(api_response) +except ApiException as e: + print("Exception when calling StorageV1Api->read_storage_class: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the StorageClass | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] + **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] + +### Return type + +[**V1StorageClass**](V1StorageClass.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **read_volume_attachment** +> V1VolumeAttachment read_volume_attachment(name, pretty=pretty, exact=exact, export=export) + + + +read the specified VolumeAttachment + +### Example +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: BearerToken +configuration = kubernetes.client.Configuration() +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = kubernetes.client.StorageV1Api(kubernetes.client.ApiClient(configuration)) +name = 'name_example' # str | name of the VolumeAttachment +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) +export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) + +try: + api_response = api_instance.read_volume_attachment(name, pretty=pretty, exact=exact, export=export) + pprint(api_response) +except ApiException as e: + print("Exception when calling StorageV1Api->read_volume_attachment: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the VolumeAttachment | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] + **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] + +### Return type + +[**V1VolumeAttachment**](V1VolumeAttachment.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **read_volume_attachment_status** +> V1VolumeAttachment read_volume_attachment_status(name, pretty=pretty) + + + +read status of the specified VolumeAttachment + +### Example +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: BearerToken +configuration = kubernetes.client.Configuration() +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = kubernetes.client.StorageV1Api(kubernetes.client.ApiClient(configuration)) +name = 'name_example' # str | name of the VolumeAttachment +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) + +try: + api_response = api_instance.read_volume_attachment_status(name, pretty=pretty) + pprint(api_response) +except ApiException as e: + print("Exception when calling StorageV1Api->read_volume_attachment_status: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the VolumeAttachment | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1VolumeAttachment**](V1VolumeAttachment.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **replace_storage_class** +> V1StorageClass replace_storage_class(name, body, pretty=pretty, dry_run=dry_run) + + + +replace the specified StorageClass + +### Example +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: BearerToken +configuration = kubernetes.client.Configuration() +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = kubernetes.client.StorageV1Api(kubernetes.client.ApiClient(configuration)) +name = 'name_example' # str | name of the StorageClass +body = kubernetes.client.V1StorageClass() # V1StorageClass | +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + +try: + api_response = api_instance.replace_storage_class(name, body, pretty=pretty, dry_run=dry_run) + pprint(api_response) +except ApiException as e: + print("Exception when calling StorageV1Api->replace_storage_class: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the StorageClass | + **body** | [**V1StorageClass**](V1StorageClass.md)| | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1StorageClass**](V1StorageClass.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **replace_volume_attachment** +> V1VolumeAttachment replace_volume_attachment(name, body, pretty=pretty, dry_run=dry_run) + + + +replace the specified VolumeAttachment + +### Example +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: BearerToken +configuration = kubernetes.client.Configuration() +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = kubernetes.client.StorageV1Api(kubernetes.client.ApiClient(configuration)) +name = 'name_example' # str | name of the VolumeAttachment +body = kubernetes.client.V1VolumeAttachment() # V1VolumeAttachment | +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + +try: + api_response = api_instance.replace_volume_attachment(name, body, pretty=pretty, dry_run=dry_run) + pprint(api_response) +except ApiException as e: + print("Exception when calling StorageV1Api->replace_volume_attachment: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the VolumeAttachment | + **body** | [**V1VolumeAttachment**](V1VolumeAttachment.md)| | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1VolumeAttachment**](V1VolumeAttachment.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **replace_volume_attachment_status** +> V1VolumeAttachment replace_volume_attachment_status(name, body, pretty=pretty, dry_run=dry_run) + + + +replace status of the specified VolumeAttachment + +### Example +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: BearerToken +configuration = kubernetes.client.Configuration() +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = kubernetes.client.StorageV1Api(kubernetes.client.ApiClient(configuration)) +name = 'name_example' # str | name of the VolumeAttachment +body = kubernetes.client.V1VolumeAttachment() # V1VolumeAttachment | +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + +try: + api_response = api_instance.replace_volume_attachment_status(name, body, pretty=pretty, dry_run=dry_run) + pprint(api_response) +except ApiException as e: + print("Exception when calling StorageV1Api->replace_volume_attachment_status: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the VolumeAttachment | + **body** | [**V1VolumeAttachment**](V1VolumeAttachment.md)| | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1VolumeAttachment**](V1VolumeAttachment.md) ### Authorization diff --git a/kubernetes/docs/StorageV1alpha1Api.md b/kubernetes/docs/StorageV1alpha1Api.md index 3f5794568d..a63854e573 100644 --- a/kubernetes/docs/StorageV1alpha1Api.md +++ b/kubernetes/docs/StorageV1alpha1Api.md @@ -143,7 +143,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_volume_attachment** -> V1Status delete_volume_attachment(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_volume_attachment(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -166,15 +166,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = kubernetes.client.StorageV1alpha1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the VolumeAttachment -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_volume_attachment(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_volume_attachment(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling StorageV1alpha1Api->delete_volume_attachment: %s\n" % e) @@ -185,8 +185,8 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the VolumeAttachment | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] diff --git a/kubernetes/docs/StorageV1beta1Api.md b/kubernetes/docs/StorageV1beta1Api.md index 43017f7f83..f01dcf0d90 100644 --- a/kubernetes/docs/StorageV1beta1Api.md +++ b/kubernetes/docs/StorageV1beta1Api.md @@ -278,7 +278,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_storage_class** -> V1Status delete_storage_class(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_storage_class(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -301,15 +301,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = kubernetes.client.StorageV1beta1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the StorageClass -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_storage_class(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_storage_class(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling StorageV1beta1Api->delete_storage_class: %s\n" % e) @@ -320,8 +320,8 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the StorageClass | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] @@ -343,7 +343,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_volume_attachment** -> V1Status delete_volume_attachment(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) +> V1Status delete_volume_attachment(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -366,15 +366,15 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = kubernetes.client.StorageV1beta1Api(kubernetes.client.ApiClient(configuration)) name = 'name_example' # str | name of the VolumeAttachment -body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. (optional) try: - api_response = api_instance.delete_volume_attachment(name, body, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + api_response = api_instance.delete_volume_attachment(name, pretty=pretty, body=body, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling StorageV1beta1Api->delete_volume_attachment: %s\n" % e) @@ -385,8 +385,8 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the VolumeAttachment | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] diff --git a/kubernetes/docs/V1APIServiceSpec.md b/kubernetes/docs/V1APIServiceSpec.md index c9e9ced21e..d29f7cb85a 100644 --- a/kubernetes/docs/V1APIServiceSpec.md +++ b/kubernetes/docs/V1APIServiceSpec.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ca_bundle** | **str** | CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. | [optional] +**ca_bundle** | **str** | CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used. | [optional] **group** | **str** | Group is the API group name this server hosts | [optional] **group_priority_minimum** | **int** | GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by kubernetes.clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s | **insecure_skip_tls_verify** | **bool** | InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead. | [optional] diff --git a/kubernetes/docs/V1CSIPersistentVolumeSource.md b/kubernetes/docs/V1CSIPersistentVolumeSource.md index 71a07a71af..d2936d48d9 100644 --- a/kubernetes/docs/V1CSIPersistentVolumeSource.md +++ b/kubernetes/docs/V1CSIPersistentVolumeSource.md @@ -3,11 +3,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**controller_publish_secret_ref** | [**V1SecretReference**](V1SecretReference.md) | ControllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. | [optional] +**controller_publish_secret_ref** | [**V1SecretReference**](V1SecretReference.md) | ControllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. | [optional] **driver** | **str** | Driver is the name of the driver to use for this volume. Required. | **fs_type** | **str** | Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". | [optional] -**node_publish_secret_ref** | [**V1SecretReference**](V1SecretReference.md) | NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. | [optional] -**node_stage_secret_ref** | [**V1SecretReference**](V1SecretReference.md) | NodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. | [optional] +**node_publish_secret_ref** | [**V1SecretReference**](V1SecretReference.md) | NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. | [optional] +**node_stage_secret_ref** | [**V1SecretReference**](V1SecretReference.md) | NodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. | [optional] **read_only** | **bool** | Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write). | [optional] **volume_attributes** | **dict(str, str)** | Attributes of the volume to publish. | [optional] **volume_handle** | **str** | VolumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required. | diff --git a/kubernetes/docs/V1Container.md b/kubernetes/docs/V1Container.md index 42c2ed9977..94b2d7fe08 100644 --- a/kubernetes/docs/V1Container.md +++ b/kubernetes/docs/V1Container.md @@ -21,7 +21,7 @@ Name | Type | Description | Notes **termination_message_path** | **str** | Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated. | [optional] **termination_message_policy** | **str** | Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. | [optional] **tty** | **bool** | Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false. | [optional] -**volume_devices** | [**list[V1VolumeDevice]**](V1VolumeDevice.md) | volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future. | [optional] +**volume_devices** | [**list[V1VolumeDevice]**](V1VolumeDevice.md) | volumeDevices is the list of block devices to be used by the container. This is a beta feature. | [optional] **volume_mounts** | [**list[V1VolumeMount]**](V1VolumeMount.md) | Pod volumes to mount into the container's filesystem. Cannot be updated. | [optional] **working_dir** | **str** | Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated. | [optional] diff --git a/kubernetes/docs/V1GlusterfsPersistentVolumeSource.md b/kubernetes/docs/V1GlusterfsPersistentVolumeSource.md new file mode 100644 index 0000000000..e62c0950c1 --- /dev/null +++ b/kubernetes/docs/V1GlusterfsPersistentVolumeSource.md @@ -0,0 +1,13 @@ +# V1GlusterfsPersistentVolumeSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**endpoints** | **str** | EndpointsName is the endpoint name that details Glusterfs topology. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod | +**endpoints_namespace** | **str** | EndpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod | [optional] +**path** | **str** | Path is the Glusterfs volume path. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod | +**read_only** | **bool** | ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1PersistentVolumeClaimSpec.md b/kubernetes/docs/V1PersistentVolumeClaimSpec.md index ad9847f2b8..74fc786038 100644 --- a/kubernetes/docs/V1PersistentVolumeClaimSpec.md +++ b/kubernetes/docs/V1PersistentVolumeClaimSpec.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **resources** | [**V1ResourceRequirements**](V1ResourceRequirements.md) | Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources | [optional] **selector** | [**V1LabelSelector**](V1LabelSelector.md) | A label query over volumes to consider for binding. | [optional] **storage_class_name** | **str** | Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 | [optional] -**volume_mode** | **str** | volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. This is an alpha feature and may change in the future. | [optional] +**volume_mode** | **str** | volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. This is a beta feature. | [optional] **volume_name** | **str** | VolumeName is the binding reference to the PersistentVolume backing this claim. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/V1PersistentVolumeSpec.md b/kubernetes/docs/V1PersistentVolumeSpec.md index f778e796eb..e904ccf1e9 100644 --- a/kubernetes/docs/V1PersistentVolumeSpec.md +++ b/kubernetes/docs/V1PersistentVolumeSpec.md @@ -16,7 +16,7 @@ Name | Type | Description | Notes **flex_volume** | [**V1FlexPersistentVolumeSource**](V1FlexPersistentVolumeSource.md) | FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. | [optional] **flocker** | [**V1FlockerVolumeSource**](V1FlockerVolumeSource.md) | Flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running | [optional] **gce_persistent_disk** | [**V1GCEPersistentDiskVolumeSource**](V1GCEPersistentDiskVolumeSource.md) | GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk | [optional] -**glusterfs** | [**V1GlusterfsVolumeSource**](V1GlusterfsVolumeSource.md) | Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md | [optional] +**glusterfs** | [**V1GlusterfsPersistentVolumeSource**](V1GlusterfsPersistentVolumeSource.md) | Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md | [optional] **host_path** | [**V1HostPathVolumeSource**](V1HostPathVolumeSource.md) | HostPath represents a directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath | [optional] **iscsi** | [**V1ISCSIPersistentVolumeSource**](V1ISCSIPersistentVolumeSource.md) | ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. | [optional] **local** | [**V1LocalVolumeSource**](V1LocalVolumeSource.md) | Local represents directly-attached storage with node affinity | [optional] @@ -31,7 +31,7 @@ Name | Type | Description | Notes **scale_io** | [**V1ScaleIOPersistentVolumeSource**](V1ScaleIOPersistentVolumeSource.md) | ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. | [optional] **storage_class_name** | **str** | Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass. | [optional] **storageos** | [**V1StorageOSPersistentVolumeSource**](V1StorageOSPersistentVolumeSource.md) | StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://releases.k8s.io/HEAD/examples/volumes/storageos/README.md | [optional] -**volume_mode** | **str** | volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec. This is an alpha feature and may change in the future. | [optional] +**volume_mode** | **str** | volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec. This is a beta feature. | [optional] **vsphere_volume** | [**V1VsphereVirtualDiskVolumeSource**](V1VsphereVirtualDiskVolumeSource.md) | VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/V1PodSpec.md b/kubernetes/docs/V1PodSpec.md index 1a221f6070..e8ff6823ae 100644 --- a/kubernetes/docs/V1PodSpec.md +++ b/kubernetes/docs/V1PodSpec.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **containers** | [**list[V1Container]**](V1Container.md) | List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated. | **dns_config** | [**V1PodDNSConfig**](V1PodDNSConfig.md) | Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy. | [optional] **dns_policy** | **str** | Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'. | [optional] +**enable_service_links** | **bool** | EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. | [optional] **host_aliases** | [**list[V1HostAlias]**](V1HostAlias.md) | HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods. | [optional] **host_ipc** | **bool** | Use the host's ipc namespace. Optional: Default to false. | [optional] **host_network** | **bool** | Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false. | [optional] diff --git a/kubernetes/docs/V1TokenReviewSpec.md b/kubernetes/docs/V1TokenReviewSpec.md index 64d47196ee..fdb0de74ea 100644 --- a/kubernetes/docs/V1TokenReviewSpec.md +++ b/kubernetes/docs/V1TokenReviewSpec.md @@ -3,6 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**audiences** | **list[str]** | Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver. | [optional] **token** | **str** | Token is the opaque bearer token. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/V1TokenReviewStatus.md b/kubernetes/docs/V1TokenReviewStatus.md index 8626e50c09..1da203b650 100644 --- a/kubernetes/docs/V1TokenReviewStatus.md +++ b/kubernetes/docs/V1TokenReviewStatus.md @@ -3,6 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**audiences** | **list[str]** | Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A kubernetes.client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is \"true\", the token is valid against the audience of the Kubernetes API server. | [optional] **authenticated** | **bool** | Authenticated indicates that the token was associated with a known user. | [optional] **error** | **str** | Error indicates that the token couldn't be checked | [optional] **user** | [**V1UserInfo**](V1UserInfo.md) | User is the UserInfo associated with the provided token. | [optional] diff --git a/kubernetes/docs/V1VolumeAttachment.md b/kubernetes/docs/V1VolumeAttachment.md new file mode 100644 index 0000000000..acb753886f --- /dev/null +++ b/kubernetes/docs/V1VolumeAttachment.md @@ -0,0 +1,14 @@ +# V1VolumeAttachment + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] +**spec** | [**V1VolumeAttachmentSpec**](V1VolumeAttachmentSpec.md) | Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system. | +**status** | [**V1VolumeAttachmentStatus**](V1VolumeAttachmentStatus.md) | Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1VolumeAttachmentList.md b/kubernetes/docs/V1VolumeAttachmentList.md new file mode 100644 index 0000000000..1ed9a97adb --- /dev/null +++ b/kubernetes/docs/V1VolumeAttachmentList.md @@ -0,0 +1,13 @@ +# V1VolumeAttachmentList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**list[V1VolumeAttachment]**](V1VolumeAttachment.md) | Items is the list of VolumeAttachments | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1VolumeAttachmentSource.md b/kubernetes/docs/V1VolumeAttachmentSource.md new file mode 100644 index 0000000000..2fa01b0003 --- /dev/null +++ b/kubernetes/docs/V1VolumeAttachmentSource.md @@ -0,0 +1,10 @@ +# V1VolumeAttachmentSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**persistent_volume_name** | **str** | Name of the persistent volume to attach. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1VolumeAttachmentSpec.md b/kubernetes/docs/V1VolumeAttachmentSpec.md new file mode 100644 index 0000000000..ca712d9a91 --- /dev/null +++ b/kubernetes/docs/V1VolumeAttachmentSpec.md @@ -0,0 +1,12 @@ +# V1VolumeAttachmentSpec + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attacher** | **str** | Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName(). | +**node_name** | **str** | The node that the volume should be attached to. | +**source** | [**V1VolumeAttachmentSource**](V1VolumeAttachmentSource.md) | Source represents the volume that should be attached. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1VolumeAttachmentStatus.md b/kubernetes/docs/V1VolumeAttachmentStatus.md new file mode 100644 index 0000000000..1f223e188c --- /dev/null +++ b/kubernetes/docs/V1VolumeAttachmentStatus.md @@ -0,0 +1,13 @@ +# V1VolumeAttachmentStatus + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attach_error** | [**V1VolumeError**](V1VolumeError.md) | The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. | [optional] +**attached** | **bool** | Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. | +**attachment_metadata** | **dict(str, str)** | Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. | [optional] +**detach_error** | [**V1VolumeError**](V1VolumeError.md) | The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1VolumeError.md b/kubernetes/docs/V1VolumeError.md new file mode 100644 index 0000000000..29d1192e9d --- /dev/null +++ b/kubernetes/docs/V1VolumeError.md @@ -0,0 +1,11 @@ +# V1VolumeError + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**message** | **str** | String detailing the error encountered during Attach or Detach operation. This string maybe logged, so it should not contain sensitive information. | [optional] +**time** | **datetime** | Time the error was encountered. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1alpha1AuditSink.md b/kubernetes/docs/V1alpha1AuditSink.md new file mode 100644 index 0000000000..b6bb889d16 --- /dev/null +++ b/kubernetes/docs/V1alpha1AuditSink.md @@ -0,0 +1,13 @@ +# V1alpha1AuditSink + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] +**spec** | [**V1alpha1AuditSinkSpec**](V1alpha1AuditSinkSpec.md) | Spec defines the audit configuration spec | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1alpha1AuditSinkList.md b/kubernetes/docs/V1alpha1AuditSinkList.md new file mode 100644 index 0000000000..d4770345cd --- /dev/null +++ b/kubernetes/docs/V1alpha1AuditSinkList.md @@ -0,0 +1,13 @@ +# V1alpha1AuditSinkList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**list[V1alpha1AuditSink]**](V1alpha1AuditSink.md) | List of audit configurations. | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1alpha1AuditSinkSpec.md b/kubernetes/docs/V1alpha1AuditSinkSpec.md new file mode 100644 index 0000000000..81644f0f17 --- /dev/null +++ b/kubernetes/docs/V1alpha1AuditSinkSpec.md @@ -0,0 +1,11 @@ +# V1alpha1AuditSinkSpec + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**policy** | [**V1alpha1Policy**](V1alpha1Policy.md) | Policy defines the policy for selecting which events should be sent to the webhook required | +**webhook** | [**V1alpha1Webhook**](V1alpha1Webhook.md) | Webhook to send events required | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1alpha1Policy.md b/kubernetes/docs/V1alpha1Policy.md new file mode 100644 index 0000000000..6abf3622e7 --- /dev/null +++ b/kubernetes/docs/V1alpha1Policy.md @@ -0,0 +1,11 @@ +# V1alpha1Policy + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**level** | **str** | The Level that all requests are recorded at. available options: None, Metadata, Request, RequestResponse required | +**stages** | **list[str]** | Stages is a list of stages for which events are created. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1alpha1ServiceReference.md b/kubernetes/docs/V1alpha1ServiceReference.md new file mode 100644 index 0000000000..7e90256bee --- /dev/null +++ b/kubernetes/docs/V1alpha1ServiceReference.md @@ -0,0 +1,12 @@ +# V1alpha1ServiceReference + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **str** | `name` is the name of the service. Required | +**namespace** | **str** | `namespace` is the namespace of the service. Required | +**path** | **str** | `path` is an optional URL path which will be sent in any request to this service. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1alpha1Webhook.md b/kubernetes/docs/V1alpha1Webhook.md new file mode 100644 index 0000000000..8ee945a9cd --- /dev/null +++ b/kubernetes/docs/V1alpha1Webhook.md @@ -0,0 +1,11 @@ +# V1alpha1Webhook + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**kubernetes.client_config** | [**V1alpha1WebhookClientConfig**](V1alpha1WebhookClientConfig.md) | ClientConfig holds the connection parameters for the webhook required | +**throttle** | [**V1alpha1WebhookThrottleConfig**](V1alpha1WebhookThrottleConfig.md) | Throttle holds the options for throttling the webhook | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1alpha1WebhookClientConfig.md b/kubernetes/docs/V1alpha1WebhookClientConfig.md new file mode 100644 index 0000000000..220b385856 --- /dev/null +++ b/kubernetes/docs/V1alpha1WebhookClientConfig.md @@ -0,0 +1,12 @@ +# V1alpha1WebhookClientConfig + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ca_bundle** | **str** | `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used. | [optional] +**service** | [**V1alpha1ServiceReference**](V1alpha1ServiceReference.md) | `service` is a reference to the service for this webhook. Either `service` or `url` must be specified. If the webhook is running within the cluster, then you should use `service`. Port 443 will be used if it is open, otherwise it is an error. | [optional] +**url** | **str** | `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified. The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address. Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster. The scheme must be \"https\"; the URL must begin with \"https://\". A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1alpha1WebhookThrottleConfig.md b/kubernetes/docs/V1alpha1WebhookThrottleConfig.md new file mode 100644 index 0000000000..5a2f8e32d9 --- /dev/null +++ b/kubernetes/docs/V1alpha1WebhookThrottleConfig.md @@ -0,0 +1,11 @@ +# V1alpha1WebhookThrottleConfig + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**burst** | **int** | ThrottleBurst is the maximum number of events sent at the same moment default 15 QPS | [optional] +**qps** | **int** | ThrottleQPS maximum number of batches per second default 10 QPS | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1beta1APIServiceSpec.md b/kubernetes/docs/V1beta1APIServiceSpec.md index 0b85aeddd8..1c979c7ce6 100644 --- a/kubernetes/docs/V1beta1APIServiceSpec.md +++ b/kubernetes/docs/V1beta1APIServiceSpec.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ca_bundle** | **str** | CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. | [optional] +**ca_bundle** | **str** | CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used. | [optional] **group** | **str** | Group is the API group name this server hosts | [optional] **group_priority_minimum** | **int** | GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by kubernetes.clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s | **insecure_skip_tls_verify** | **bool** | InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead. | [optional] diff --git a/kubernetes/docs/V1beta1CustomResourceConversion.md b/kubernetes/docs/V1beta1CustomResourceConversion.md new file mode 100644 index 0000000000..c2da7536e8 --- /dev/null +++ b/kubernetes/docs/V1beta1CustomResourceConversion.md @@ -0,0 +1,11 @@ +# V1beta1CustomResourceConversion + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**strategy** | **str** | `strategy` specifies the conversion strategy. Allowed values are: - `None`: The converter only change the apiVersion and would not touch any other field in the CR. - `Webhook`: API Server will call to an external webhook to do the conversion. Additional information is needed for this option. | +**webhook_client_config** | [**ApiextensionsV1beta1WebhookClientConfig**](ApiextensionsV1beta1WebhookClientConfig.md) | `webhookClientConfig` is the instructions for how to call the webhook if strategy is `Webhook`. This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1beta1CustomResourceDefinitionSpec.md b/kubernetes/docs/V1beta1CustomResourceDefinitionSpec.md index 90e9da7da7..d01868df6e 100644 --- a/kubernetes/docs/V1beta1CustomResourceDefinitionSpec.md +++ b/kubernetes/docs/V1beta1CustomResourceDefinitionSpec.md @@ -3,12 +3,13 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**additional_printer_columns** | [**list[V1beta1CustomResourceColumnDefinition]**](V1beta1CustomResourceColumnDefinition.md) | AdditionalPrinterColumns are additional columns shown e.g. in kubectl next to the name. Defaults to a created-at column. | [optional] +**additional_printer_columns** | [**list[V1beta1CustomResourceColumnDefinition]**](V1beta1CustomResourceColumnDefinition.md) | AdditionalPrinterColumns are additional columns shown e.g. in kubectl next to the name. Defaults to a created-at column. Optional, the global columns for all versions. Top-level and per-version columns are mutually exclusive. | [optional] +**conversion** | [**V1beta1CustomResourceConversion**](V1beta1CustomResourceConversion.md) | `conversion` defines conversion settings for the CRD. | [optional] **group** | **str** | Group is the group this resource belongs in | **names** | [**V1beta1CustomResourceDefinitionNames**](V1beta1CustomResourceDefinitionNames.md) | Names are the names used to describe this custom resource | **scope** | **str** | Scope indicates whether this resource is cluster or namespace scoped. Default is namespaced | -**subresources** | [**V1beta1CustomResourceSubresources**](V1beta1CustomResourceSubresources.md) | Subresources describes the subresources for CustomResources | [optional] -**validation** | [**V1beta1CustomResourceValidation**](V1beta1CustomResourceValidation.md) | Validation describes the validation methods for CustomResources | [optional] +**subresources** | [**V1beta1CustomResourceSubresources**](V1beta1CustomResourceSubresources.md) | Subresources describes the subresources for CustomResource Optional, the global subresources for all versions. Top-level and per-version subresources are mutually exclusive. | [optional] +**validation** | [**V1beta1CustomResourceValidation**](V1beta1CustomResourceValidation.md) | Validation describes the validation methods for CustomResources Optional, the global validation schema for all versions. Top-level and per-version schemas are mutually exclusive. | [optional] **version** | **str** | Version is the version this resource belongs in Should be always first item in Versions field if provided. Optional, but at least one of Version or Versions must be set. Deprecated: Please use `Versions`. | [optional] **versions** | [**list[V1beta1CustomResourceDefinitionVersion]**](V1beta1CustomResourceDefinitionVersion.md) | Versions is the list of all supported versions for this resource. If Version field is provided, this field is optional. Validation: All versions must use the same validation schema for now. i.e., top level Validation field is applied to all of these versions. Order: The version name will be used to compute the order. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. | [optional] diff --git a/kubernetes/docs/V1beta1CustomResourceDefinitionVersion.md b/kubernetes/docs/V1beta1CustomResourceDefinitionVersion.md index 2a02b490a1..05c7290dfb 100644 --- a/kubernetes/docs/V1beta1CustomResourceDefinitionVersion.md +++ b/kubernetes/docs/V1beta1CustomResourceDefinitionVersion.md @@ -3,9 +3,12 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**additional_printer_columns** | [**list[V1beta1CustomResourceColumnDefinition]**](V1beta1CustomResourceColumnDefinition.md) | AdditionalPrinterColumns are additional columns shown e.g. in kubectl next to the name. Defaults to a created-at column. Top-level and per-version columns are mutually exclusive. Per-version columns must not all be set to identical values (top-level columns should be used instead) This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature. NOTE: CRDs created prior to 1.13 populated the top-level additionalPrinterColumns field by default. To apply an update that changes to per-version additionalPrinterColumns, the top-level additionalPrinterColumns field must be explicitly set to null | [optional] **name** | **str** | Name is the version name, e.g. “v1”, “v2beta1”, etc. | +**schema** | [**V1beta1CustomResourceValidation**](V1beta1CustomResourceValidation.md) | Schema describes the schema for CustomResource used in validation, pruning, and defaulting. Top-level and per-version schemas are mutually exclusive. Per-version schemas must not all be set to identical values (top-level validation schema should be used instead) This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature. | [optional] **served** | **bool** | Served is a flag enabling/disabling this version from being served via REST APIs | **storage** | **bool** | Storage flags the version as storage version. There must be exactly one flagged as storage version. | +**subresources** | [**V1beta1CustomResourceSubresources**](V1beta1CustomResourceSubresources.md) | Subresources describes the subresources for CustomResource Top-level and per-version subresources are mutually exclusive. Per-version subresources must not all be set to identical values (top-level subresources should be used instead) This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/V1beta1TokenReviewSpec.md b/kubernetes/docs/V1beta1TokenReviewSpec.md index 1c347b828f..d85761cb51 100644 --- a/kubernetes/docs/V1beta1TokenReviewSpec.md +++ b/kubernetes/docs/V1beta1TokenReviewSpec.md @@ -3,6 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**audiences** | **list[str]** | Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver. | [optional] **token** | **str** | Token is the opaque bearer token. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/V1beta1TokenReviewStatus.md b/kubernetes/docs/V1beta1TokenReviewStatus.md index cd7af7655e..2c52cfefa9 100644 --- a/kubernetes/docs/V1beta1TokenReviewStatus.md +++ b/kubernetes/docs/V1beta1TokenReviewStatus.md @@ -3,6 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**audiences** | **list[str]** | Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A kubernetes.client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is \"true\", the token is valid against the audience of the Kubernetes API server. | [optional] **authenticated** | **bool** | Authenticated indicates that the token was associated with a known user. | [optional] **error** | **str** | Error indicates that the token couldn't be checked | [optional] **user** | [**V1beta1UserInfo**](V1beta1UserInfo.md) | User is the UserInfo associated with the provided token. | [optional] diff --git a/kubernetes/docs/V1beta1Webhook.md b/kubernetes/docs/V1beta1Webhook.md index 80dbe76f63..f603b71bbd 100644 --- a/kubernetes/docs/V1beta1Webhook.md +++ b/kubernetes/docs/V1beta1Webhook.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**kubernetes.client_config** | [**V1beta1WebhookClientConfig**](V1beta1WebhookClientConfig.md) | ClientConfig defines how to communicate with the hook. Required | +**kubernetes.client_config** | [**AdmissionregistrationV1beta1WebhookClientConfig**](AdmissionregistrationV1beta1WebhookClientConfig.md) | ClientConfig defines how to communicate with the hook. Required | **failure_policy** | **str** | FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore. | [optional] **name** | **str** | The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required. | **namespace_selector** | [**V1LabelSelector**](V1LabelSelector.md) | NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with \"runlevel\" of \"0\" or \"1\"; you will set the selector as follows: \"namespaceSelector\": { \"matchExpressions\": [ { \"key\": \"runlevel\", \"operator\": \"NotIn\", \"values\": [ \"0\", \"1\" ] } ] } If instead you want to only run the webhook on any objects whose namespace is associated with the \"environment\" of \"prod\" or \"staging\"; you will set the selector as follows: \"namespaceSelector\": { \"matchExpressions\": [ { \"key\": \"environment\", \"operator\": \"In\", \"values\": [ \"prod\", \"staging\" ] } ] } See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. Default to the empty LabelSelector, which matches everything. | [optional] diff --git a/kubernetes/docs/V1beta1WebhookClientConfig.md b/kubernetes/docs/V1beta1WebhookClientConfig.md deleted file mode 100644 index dd023b6475..0000000000 --- a/kubernetes/docs/V1beta1WebhookClientConfig.md +++ /dev/null @@ -1,12 +0,0 @@ -# V1beta1WebhookClientConfig - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ca_bundle** | **str** | `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. Required. | -**service** | [**AdmissionregistrationV1beta1ServiceReference**](AdmissionregistrationV1beta1ServiceReference.md) | `service` is a reference to the service for this webhook. Either `service` or `url` must be specified. If the webhook is running within the cluster, then you should use `service`. Port 443 will be used if it is open, otherwise it is an error. | [optional] -**url** | **str** | `url` gives the location of the webhook, in standard URL form (`[scheme://]host:port/path`). Exactly one of `url` or `service` must be specified. The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address. Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster. The scheme must be \"https\"; the URL must begin with \"https://\". A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either. | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/kubernetes/swagger.json.unprocessed b/kubernetes/swagger.json.unprocessed index dbe62749e7..d62b7d4acd 100644 --- a/kubernetes/swagger.json.unprocessed +++ b/kubernetes/swagger.json.unprocessed @@ -2,7 +2,7 @@ "swagger": "2.0", "info": { "title": "Kubernetes", - "version": "v1.12.2" + "version": "v1.13.1" }, "paths": { "/api/": { @@ -1300,7 +1300,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -1833,7 +1832,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -2366,7 +2364,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -2899,7 +2896,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -3432,7 +3428,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -4139,7 +4134,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -6020,7 +6014,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -6553,7 +6546,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -7434,7 +7426,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -8141,7 +8132,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -8670,458 +8660,456 @@ "core_v1" ], "operationId": "deleteCoreV1NamespacedServiceAccount", + "parameters": [ + { + "name": "body", + "in": "body", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ServiceAccount", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified ServiceAccount", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "patchCoreV1NamespacedServiceAccount", "parameters": [ { "name": "body", "in": "body", "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" - } - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "name": "gracePeriodSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "name": "orphanDependents", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "name": "propagationPolicy", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceAccount", - "version": "v1" - } - }, - "patch": { - "description": "partially update the specified ServiceAccount", - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "patchCoreV1NamespacedServiceAccount", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" - } - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceAccount", - "version": "v1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the ServiceAccount", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] - }, - "/api/v1/namespaces/{namespace}/services": { - "get": { - "description": "list or watch objects of kind Service", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "listCoreV1NamespacedService", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.ServiceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "post": { - "description": "create a Service", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "createCoreV1NamespacedService", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Service" - } - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Service" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Service" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Service" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "boolean", - "description": "If IncludeUninitialized is specified, the object may be returned without completing initialization.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] - }, - "/api/v1/namespaces/{namespace}/services/{name}": { - "get": { - "description": "read the specified Service", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "readCoreV1NamespacedService", - "parameters": [ - { - "uniqueItems": true, - "type": "boolean", - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", - "name": "exact", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Should this value be exported. Export strips fields that a user can not specify.", - "name": "export", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Service" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "put": { - "description": "replace the specified Service", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "replaceCoreV1NamespacedService", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Service" - } - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Service" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.core.v1.Service" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "delete": { - "description": "delete a Service", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "deleteCoreV1NamespacedService", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ServiceAccount", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ServiceAccount", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/api/v1/namespaces/{namespace}/services": { + "get": { + "description": "list or watch objects of kind Service", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "listCoreV1NamespacedService", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ServiceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" + } + }, + "post": { + "description": "create a Service", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "createCoreV1NamespacedService", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Service" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Service" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Service" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Service" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If IncludeUninitialized is specified, the object may be returned without completing initialization.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/api/v1/namespaces/{namespace}/services/{name}": { + "get": { + "description": "read the specified Service", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "readCoreV1NamespacedService", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Service" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" + } + }, + "put": { + "description": "replace the specified Service", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "replaceCoreV1NamespacedService", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Service" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Service" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Service" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" + } + }, + "delete": { + "description": "delete a Service", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "deleteCoreV1NamespacedService", + "parameters": [ + { + "name": "body", + "in": "body", "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -10088,7 +10076,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -10848,7 +10835,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -12143,7 +12129,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -18333,7 +18318,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -19099,7 +19083,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -19616,7 +19599,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -20631,7 +20613,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -21596,7 +21577,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -22528,7 +22508,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -23813,7 +23792,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -24346,7 +24324,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -25053,7 +25030,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -25934,7 +25910,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -26815,7 +26790,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -29825,7 +29799,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -30358,7 +30331,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -31337,7 +31309,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -33675,7 +33646,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -34208,7 +34178,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -34915,7 +34884,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -35796,7 +35764,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -36677,7 +36644,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -39051,7 +39017,7 @@ } ] }, - "/apis/authentication.k8s.io/": { + "/apis/auditregistration.k8s.io/": { "get": { "description": "get information of a group", "consumes": [ @@ -39068,9 +39034,9 @@ "https" ], "tags": [ - "authentication" + "auditregistration" ], - "operationId": "getAuthenticationAPIGroup", + "operationId": "getAuditregistrationAPIGroup", "responses": { "200": { "description": "OK", @@ -39084,7 +39050,7 @@ } } }, - "/apis/authentication.k8s.io/v1/": { + "/apis/auditregistration.k8s.io/v1alpha1/": { "get": { "description": "get available resources", "consumes": [ @@ -39101,9 +39067,9 @@ "https" ], "tags": [ - "authentication_v1" + "auditregistration_v1alpha1" ], - "operationId": "getAuthenticationV1APIResources", + "operationId": "getAuditregistrationV1alpha1APIResources", "responses": { "200": { "description": "OK", @@ -39117,95 +39083,99 @@ } } }, - "/apis/authentication.k8s.io/v1/tokenreviews": { - "post": { - "description": "create a TokenReview", + "/apis/auditregistration.k8s.io/v1alpha1/auditsinks": { + "get": { + "description": "list or watch objects of kind AuditSink", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" ], "tags": [ - "authentication_v1" + "auditregistration_v1alpha1" ], - "operationId": "createAuthenticationV1TokenReview", + "operationId": "listAuditregistrationV1alpha1AuditSink", "parameters": [ { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenReview" - } + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenReview" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenReview" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenReview" + "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.AuditSinkList" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "post", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "authentication.k8s.io", - "kind": "TokenReview", - "version": "v1" + "group": "auditregistration.k8s.io", + "kind": "AuditSink", + "version": "v1alpha1" } }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If IncludeUninitialized is specified, the object may be returned without completing initialization.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] - }, - "/apis/authentication.k8s.io/v1beta1/": { - "get": { - "description": "get available resources", + "post": { + "description": "create an AuditSink", "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "produces": [ "application/json", @@ -39216,25 +39186,58 @@ "https" ], "tags": [ - "authentication_v1beta1" + "auditregistration_v1alpha1" + ], + "operationId": "createAuditregistrationV1alpha1AuditSink", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.AuditSink" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } ], - "operationId": "getAuthenticationV1beta1APIResources", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.AuditSink" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.AuditSink" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.AuditSink" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "auditregistration.k8s.io", + "kind": "AuditSink", + "version": "v1alpha1" } - } - }, - "/apis/authentication.k8s.io/v1beta1/tokenreviews": { - "post": { - "description": "create a TokenReview", + }, + "delete": { + "description": "delete collection of AuditSink", "consumes": [ "*/*" ], @@ -39247,61 +39250,83 @@ "https" ], "tags": [ - "authentication_v1beta1" + "auditregistration_v1alpha1" ], - "operationId": "createAuthenticationV1beta1TokenReview", + "operationId": "deleteAuditregistrationV1alpha1CollectionAuditSink", "parameters": [ { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.authentication.v1beta1.TokenReview" - } + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.authentication.v1beta1.TokenReview" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.authentication.v1beta1.TokenReview" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.authentication.v1beta1.TokenReview" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "post", + "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "authentication.k8s.io", - "kind": "TokenReview", - "version": "v1beta1" + "group": "auditregistration.k8s.io", + "kind": "AuditSink", + "version": "v1alpha1" } }, "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, { "uniqueItems": true, "type": "boolean", - "description": "If IncludeUninitialized is specified, the object may be returned without completing initialization.", + "description": "If true, partially initialized resources are included in the response.", "name": "includeUninitialized", "in": "query" }, @@ -39314,13 +39339,11 @@ } ] }, - "/apis/authorization.k8s.io/": { + "/apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name}": { "get": { - "description": "get information of a group", + "description": "read the specified AuditSink", "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "produces": [ "application/json", @@ -39331,29 +39354,47 @@ "https" ], "tags": [ - "authorization" + "auditregistration_v1alpha1" + ], + "operationId": "readAuditregistrationV1alpha1AuditSink", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } ], - "operationId": "getAuthorizationAPIGroup", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.AuditSink" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "auditregistration.k8s.io", + "kind": "AuditSink", + "version": "v1alpha1" } - } - }, - "/apis/authorization.k8s.io/v1/": { - "get": { - "description": "get available resources", + }, + "put": { + "description": "replace the specified AuditSink", "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "produces": [ "application/json", @@ -39364,25 +39405,52 @@ "https" ], "tags": [ - "authorization_v1" + "auditregistration_v1alpha1" + ], + "operationId": "replaceAuditregistrationV1alpha1AuditSink", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.AuditSink" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } ], - "operationId": "getAuthorizationV1APIResources", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.AuditSink" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.AuditSink" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "auditregistration.k8s.io", + "kind": "AuditSink", + "version": "v1alpha1" } - } - }, - "/apis/authorization.k8s.io/v1/namespaces/{namespace}/localsubjectaccessreviews": { - "post": { - "description": "create a LocalSubjectAccessReview", + }, + "delete": { + "description": "delete an AuditSink", "consumes": [ "*/*" ], @@ -39395,86 +39463,76 @@ "https" ], "tags": [ - "authorization_v1" + "auditregistration_v1alpha1" ], - "operationId": "createAuthorizationV1NamespacedLocalSubjectAccessReview", + "operationId": "deleteAuditregistrationV1alpha1AuditSink", "parameters": [ { "name": "body", "in": "body", - "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.LocalSubjectAccessReview" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.LocalSubjectAccessReview" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.LocalSubjectAccessReview" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.LocalSubjectAccessReview" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "post", + "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "authorization.k8s.io", - "kind": "LocalSubjectAccessReview", - "version": "v1" + "group": "auditregistration.k8s.io", + "kind": "AuditSink", + "version": "v1alpha1" } }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If IncludeUninitialized is specified, the object may be returned without completing initialization.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] - }, - "/apis/authorization.k8s.io/v1/selfsubjectaccessreviews": { - "post": { - "description": "create a SelfSubjectAccessReview", + "patch": { + "description": "partially update the specified AuditSink", "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" ], "produces": [ "application/json", @@ -39485,63 +39543,52 @@ "https" ], "tags": [ - "authorization_v1" + "auditregistration_v1alpha1" ], - "operationId": "createAuthorizationV1SelfSubjectAccessReview", + "operationId": "patchAuditregistrationV1alpha1AuditSink", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectAccessReview" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectAccessReview" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectAccessReview" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectAccessReview" + "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.AuditSink" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "post", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "authorization.k8s.io", - "kind": "SelfSubjectAccessReview", - "version": "v1" + "group": "auditregistration.k8s.io", + "kind": "AuditSink", + "version": "v1alpha1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If IncludeUninitialized is specified, the object may be returned without completing initialization.", - "name": "includeUninitialized", - "in": "query" + "description": "name of the AuditSink", + "name": "name", + "in": "path", + "required": true }, { "uniqueItems": true, @@ -39552,62 +39599,779 @@ } ] }, - "/apis/authorization.k8s.io/v1/selfsubjectrulesreviews": { - "post": { - "description": "create a SelfSubjectRulesReview", + "/apis/auditregistration.k8s.io/v1alpha1/watch/auditsinks": { + "get": { + "description": "watch individual changes to a list of AuditSink. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" ], "tags": [ - "authorization_v1" - ], - "operationId": "createAuthorizationV1SelfSubjectRulesReview", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectRulesReview" - } - } + "auditregistration_v1alpha1" ], + "operationId": "watchAuditregistrationV1alpha1AuditSinkList", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectRulesReview" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectRulesReview" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectRulesReview" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "post", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "authorization.k8s.io", - "kind": "SelfSubjectRulesReview", - "version": "v1" + "group": "auditregistration.k8s.io", + "kind": "AuditSink", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/auditregistration.k8s.io/v1alpha1/watch/auditsinks/{name}": { + "get": { + "description": "watch changes to an object of kind AuditSink. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "auditregistration_v1alpha1" + ], + "operationId": "watchAuditregistrationV1alpha1AuditSink", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "auditregistration.k8s.io", + "kind": "AuditSink", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the AuditSink", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/authentication.k8s.io/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "authentication" + ], + "operationId": "getAuthenticationAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/authentication.k8s.io/v1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "authentication_v1" + ], + "operationId": "getAuthenticationV1APIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/authentication.k8s.io/v1/tokenreviews": { + "post": { + "description": "create a TokenReview", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "authentication_v1" + ], + "operationId": "createAuthenticationV1TokenReview", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenReview" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenReview" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenReview" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenReview" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "authentication.k8s.io", + "kind": "TokenReview", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If IncludeUninitialized is specified, the object may be returned without completing initialization.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/authentication.k8s.io/v1beta1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "authentication_v1beta1" + ], + "operationId": "getAuthenticationV1beta1APIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/authentication.k8s.io/v1beta1/tokenreviews": { + "post": { + "description": "create a TokenReview", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "authentication_v1beta1" + ], + "operationId": "createAuthenticationV1beta1TokenReview", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.authentication.v1beta1.TokenReview" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.authentication.v1beta1.TokenReview" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.authentication.v1beta1.TokenReview" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.authentication.v1beta1.TokenReview" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "authentication.k8s.io", + "kind": "TokenReview", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If IncludeUninitialized is specified, the object may be returned without completing initialization.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/authorization.k8s.io/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "authorization" + ], + "operationId": "getAuthorizationAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/authorization.k8s.io/v1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "authorization_v1" + ], + "operationId": "getAuthorizationV1APIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/authorization.k8s.io/v1/namespaces/{namespace}/localsubjectaccessreviews": { + "post": { + "description": "create a LocalSubjectAccessReview", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "authorization_v1" + ], + "operationId": "createAuthorizationV1NamespacedLocalSubjectAccessReview", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.LocalSubjectAccessReview" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.LocalSubjectAccessReview" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.LocalSubjectAccessReview" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.LocalSubjectAccessReview" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "authorization.k8s.io", + "kind": "LocalSubjectAccessReview", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If IncludeUninitialized is specified, the object may be returned without completing initialization.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/authorization.k8s.io/v1/selfsubjectaccessreviews": { + "post": { + "description": "create a SelfSubjectAccessReview", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "authorization_v1" + ], + "operationId": "createAuthorizationV1SelfSubjectAccessReview", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectAccessReview" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectAccessReview" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectAccessReview" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectAccessReview" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "authorization.k8s.io", + "kind": "SelfSubjectAccessReview", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If IncludeUninitialized is specified, the object may be returned without completing initialization.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/authorization.k8s.io/v1/selfsubjectrulesreviews": { + "post": { + "description": "create a SelfSubjectRulesReview", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "authorization_v1" + ], + "operationId": "createAuthorizationV1SelfSubjectRulesReview", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectRulesReview" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectRulesReview" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectRulesReview" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectRulesReview" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "authorization.k8s.io", + "kind": "SelfSubjectRulesReview", + "version": "v1" } }, "parameters": [ @@ -40650,7 +41414,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -41830,7 +42593,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -43010,7 +43772,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -44223,7 +44984,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -45403,7 +46163,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -46583,7 +47342,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -47684,7 +48442,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -48838,7 +49595,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -49877,7 +50633,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -51124,7 +51879,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -51831,7 +52585,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -52810,7 +53563,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -53517,7 +54269,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -54050,7 +54801,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -55201,7 +55951,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -57792,7 +58541,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -58831,7 +59579,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -59634,7 +60381,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -60753,7 +61499,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -61254,7 +61999,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -61763,7 +62507,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -62280,7 +63023,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -64134,7 +64876,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -64635,7 +65376,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -65144,7 +65884,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -65661,7 +66400,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -67515,7 +68253,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -68016,7 +68753,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -68525,7 +69261,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -69042,7 +69777,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -70945,7 +71679,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -71711,7 +72444,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -72518,7 +73250,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -72978,131 +73709,502 @@ }, { "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/settings.k8s.io/v1alpha1/watch/podpresets": { + "get": { + "description": "watch individual changes to a list of PodPreset. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "settings_v1alpha1" + ], + "operationId": "watchSettingsV1alpha1PodPresetListForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "settings.k8s.io", + "kind": "PodPreset", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/storage.k8s.io/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage" + ], + "operationId": "getStorageAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/storage.k8s.io/v1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "getStorageV1APIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/storage.k8s.io/v1/storageclasses": { + "get": { + "description": "list or watch objects of kind StorageClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "listStorageV1StorageClass", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClassList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1" + } + }, + "post": { + "description": "create a StorageClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "createStorageV1StorageClass", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of StorageClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "deleteStorageV1CollectionStorageClass", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", "in": "query" }, { "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", "in": "query" } ] }, - "/apis/settings.k8s.io/v1alpha1/watch/podpresets": { + "/apis/storage.k8s.io/v1/storageclasses/{name}": { "get": { - "description": "watch individual changes to a list of PodPreset. deprecated: use the 'watch' parameter with a list operation instead.", + "description": "read the specified StorageClass", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" ], "tags": [ - "settings_v1alpha1" + "storage_v1" + ], + "operationId": "readStorageV1StorageClass", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } ], - "operationId": "watchSettingsV1alpha1PodPresetListForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "settings.k8s.io", - "kind": "PodPreset", - "version": "v1alpha1" + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1" } }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/storage.k8s.io/": { - "get": { - "description": "get information of a group", + "put": { + "description": "replace the specified StorageClass", "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "produces": [ "application/json", @@ -73113,30 +74215,135 @@ "https" ], "tags": [ - "storage" + "storage_v1" + ], + "operationId": "replaceStorageV1StorageClass", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } ], - "operationId": "getStorageAPIGroup", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1" } - } - }, - "/apis/storage.k8s.io/v1/": { - "get": { - "description": "get available resources", + }, + "delete": { + "description": "delete a StorageClass", "consumes": [ + "*/*" + ], + "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "deleteStorageV1StorageClass", + "parameters": [ + { + "name": "body", + "in": "body", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified StorageClass", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], "produces": [ "application/json", "application/yaml", @@ -73148,23 +74355,63 @@ "tags": [ "storage_v1" ], - "operationId": "getStorageV1APIResources", + "operationId": "patchStorageV1StorageClass", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1" } - } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the StorageClass", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] }, - "/apis/storage.k8s.io/v1/storageclasses": { + "/apis/storage.k8s.io/v1/volumeattachments": { "get": { - "description": "list or watch objects of kind StorageClass", + "description": "list or watch objects of kind VolumeAttachment", "consumes": [ "*/*" ], @@ -73181,7 +74428,7 @@ "tags": [ "storage_v1" ], - "operationId": "listStorageV1StorageClass", + "operationId": "listStorageV1VolumeAttachment", "parameters": [ { "uniqueItems": true, @@ -73237,7 +74484,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClassList" + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachmentList" } }, "401": { @@ -73247,12 +74494,12 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "StorageClass", + "kind": "VolumeAttachment", "version": "v1" } }, "post": { - "description": "create a StorageClass", + "description": "create a VolumeAttachment", "consumes": [ "*/*" ], @@ -73267,14 +74514,14 @@ "tags": [ "storage_v1" ], - "operationId": "createStorageV1StorageClass", + "operationId": "createStorageV1VolumeAttachment", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" } }, { @@ -73289,19 +74536,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" } }, "401": { @@ -73311,12 +74558,12 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "StorageClass", + "kind": "VolumeAttachment", "version": "v1" } }, "delete": { - "description": "delete collection of StorageClass", + "description": "delete collection of VolumeAttachment", "consumes": [ "*/*" ], @@ -73331,7 +74578,7 @@ "tags": [ "storage_v1" ], - "operationId": "deleteStorageV1CollectionStorageClass", + "operationId": "deleteStorageV1CollectionVolumeAttachment", "parameters": [ { "uniqueItems": true, @@ -73397,7 +74644,7 @@ "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "StorageClass", + "kind": "VolumeAttachment", "version": "v1" } }, @@ -73418,9 +74665,9 @@ } ] }, - "/apis/storage.k8s.io/v1/storageclasses/{name}": { + "/apis/storage.k8s.io/v1/volumeattachments/{name}": { "get": { - "description": "read the specified StorageClass", + "description": "read the specified VolumeAttachment", "consumes": [ "*/*" ], @@ -73435,7 +74682,7 @@ "tags": [ "storage_v1" ], - "operationId": "readStorageV1StorageClass", + "operationId": "readStorageV1VolumeAttachment", "parameters": [ { "uniqueItems": true, @@ -73456,7 +74703,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" } }, "401": { @@ -73466,12 +74713,12 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "StorageClass", + "kind": "VolumeAttachment", "version": "v1" } }, "put": { - "description": "replace the specified StorageClass", + "description": "replace the specified VolumeAttachment", "consumes": [ "*/*" ], @@ -73486,14 +74733,14 @@ "tags": [ "storage_v1" ], - "operationId": "replaceStorageV1StorageClass", + "operationId": "replaceStorageV1VolumeAttachment", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" } }, { @@ -73508,13 +74755,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" } }, "401": { @@ -73524,12 +74771,12 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "StorageClass", + "kind": "VolumeAttachment", "version": "v1" } }, "delete": { - "description": "delete a StorageClass", + "description": "delete a VolumeAttachment", "consumes": [ "*/*" ], @@ -73544,12 +74791,11 @@ "tags": [ "storage_v1" ], - "operationId": "deleteStorageV1StorageClass", + "operationId": "deleteStorageV1VolumeAttachment", "parameters": [ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -73603,12 +74849,12 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "StorageClass", + "kind": "VolumeAttachment", "version": "v1" } }, "patch": { - "description": "partially update the specified StorageClass", + "description": "partially update the specified VolumeAttachment", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -73625,7 +74871,7 @@ "tags": [ "storage_v1" ], - "operationId": "patchStorageV1StorageClass", + "operationId": "patchStorageV1VolumeAttachment", "parameters": [ { "name": "body", @@ -73647,7 +74893,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" } }, "401": { @@ -73657,7 +74903,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "StorageClass", + "kind": "VolumeAttachment", "version": "v1" } }, @@ -73665,7 +74911,173 @@ { "uniqueItems": true, "type": "string", - "description": "name of the StorageClass", + "description": "name of the VolumeAttachment", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/storage.k8s.io/v1/volumeattachments/{name}/status": { + "get": { + "description": "read status of the specified VolumeAttachment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "readStorageV1VolumeAttachmentStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified VolumeAttachment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "replaceStorageV1VolumeAttachmentStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1" + } + }, + "patch": { + "description": "partially update status of the specified VolumeAttachment", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "patchStorageV1VolumeAttachmentStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the VolumeAttachment", "name": "name", "in": "path", "required": true @@ -73895,6 +75307,222 @@ } ] }, + "/apis/storage.k8s.io/v1/watch/volumeattachments": { + "get": { + "description": "watch individual changes to a list of VolumeAttachment. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "watchStorageV1VolumeAttachmentList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/storage.k8s.io/v1/watch/volumeattachments/{name}": { + "get": { + "description": "watch changes to an object of kind VolumeAttachment. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "watchStorageV1VolumeAttachment", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the VolumeAttachment", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, "/apis/storage.k8s.io/v1alpha1/": { "get": { "description": "get available resources", @@ -74315,7 +75943,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -75081,7 +76708,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -75598,7 +77224,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } @@ -76571,12 +78196,9 @@ }, "io.k8s.api.admissionregistration.v1beta1.WebhookClientConfig": { "description": "WebhookClientConfig contains the information to make a TLS connection with the webhook", - "required": [ - "caBundle" - ], "properties": { "caBundle": { - "description": "`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. Required.", + "description": "`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.", "type": "string", "format": "byte" }, @@ -76585,7 +78207,7 @@ "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.ServiceReference" }, "url": { - "description": "`url` gives the location of the webhook, in standard URL form (`[scheme://]host:port/path`). Exactly one of `url` or `service` must be specified.\n\nThe `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.\n\nPlease note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.\n\nThe scheme must be \"https\"; the URL must begin with \"https://\".\n\nA path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.\n\nAttempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either.", + "description": "`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.\n\nThe `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.\n\nPlease note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.\n\nThe scheme must be \"https\"; the URL must begin with \"https://\".\n\nA path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.\n\nAttempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either.", "type": "string" } } @@ -77000,6 +78622,7 @@ }, "strategy": { "description": "The deployment strategy to use to replace existing pods with new ones.", + "x-kubernetes-patch-strategy": "retainKeys", "$ref": "#/definitions/io.k8s.api.apps.v1.DeploymentStrategy" }, "template": { @@ -77720,6 +79343,7 @@ }, "strategy": { "description": "The deployment strategy to use to replace existing pods with new ones.", + "x-kubernetes-patch-strategy": "retainKeys", "$ref": "#/definitions/io.k8s.api.apps.v1beta1.DeploymentStrategy" }, "template": { @@ -78505,6 +80129,7 @@ }, "strategy": { "description": "The deployment strategy to use to replace existing pods with new ones.", + "x-kubernetes-patch-strategy": "retainKeys", "$ref": "#/definitions/io.k8s.api.apps.v1beta2.DeploymentStrategy" }, "template": { @@ -79043,6 +80668,172 @@ } } }, + "io.k8s.api.auditregistration.v1alpha1.AuditSink": { + "description": "AuditSink represents a cluster level audit sink", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the audit configuration spec", + "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.AuditSinkSpec" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "auditregistration.k8s.io", + "kind": "AuditSink", + "version": "v1alpha1" + } + ] + }, + "io.k8s.api.auditregistration.v1alpha1.AuditSinkList": { + "description": "AuditSinkList is a list of AuditSink items.", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "List of audit configurations.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.AuditSink" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "auditregistration.k8s.io", + "kind": "AuditSinkList", + "version": "v1alpha1" + } + ] + }, + "io.k8s.api.auditregistration.v1alpha1.AuditSinkSpec": { + "description": "AuditSinkSpec holds the spec for the audit sink", + "required": [ + "policy", + "webhook" + ], + "properties": { + "policy": { + "description": "Policy defines the policy for selecting which events should be sent to the webhook required", + "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.Policy" + }, + "webhook": { + "description": "Webhook to send events required", + "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.Webhook" + } + } + }, + "io.k8s.api.auditregistration.v1alpha1.Policy": { + "description": "Policy defines the configuration of how audit events are logged", + "required": [ + "level" + ], + "properties": { + "level": { + "description": "The Level that all requests are recorded at. available options: None, Metadata, Request, RequestResponse required", + "type": "string" + }, + "stages": { + "description": "Stages is a list of stages for which events are created.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "io.k8s.api.auditregistration.v1alpha1.ServiceReference": { + "description": "ServiceReference holds a reference to Service.legacy.k8s.io", + "required": [ + "namespace", + "name" + ], + "properties": { + "name": { + "description": "`name` is the name of the service. Required", + "type": "string" + }, + "namespace": { + "description": "`namespace` is the namespace of the service. Required", + "type": "string" + }, + "path": { + "description": "`path` is an optional URL path which will be sent in any request to this service.", + "type": "string" + } + } + }, + "io.k8s.api.auditregistration.v1alpha1.Webhook": { + "description": "Webhook holds the configuration of the webhook", + "required": [ + "clientConfig" + ], + "properties": { + "clientConfig": { + "description": "ClientConfig holds the connection parameters for the webhook required", + "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.WebhookClientConfig" + }, + "throttle": { + "description": "Throttle holds the options for throttling the webhook", + "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.WebhookThrottleConfig" + } + } + }, + "io.k8s.api.auditregistration.v1alpha1.WebhookClientConfig": { + "description": "WebhookClientConfig contains the information to make a connection with the webhook", + "properties": { + "caBundle": { + "description": "`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.", + "type": "string", + "format": "byte" + }, + "service": { + "description": "`service` is a reference to the service for this webhook. Either `service` or `url` must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`.\n\nPort 443 will be used if it is open, otherwise it is an error.", + "$ref": "#/definitions/io.k8s.api.auditregistration.v1alpha1.ServiceReference" + }, + "url": { + "description": "`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.\n\nThe `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.\n\nPlease note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.\n\nThe scheme must be \"https\"; the URL must begin with \"https://\".\n\nA path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.\n\nAttempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either.", + "type": "string" + } + } + }, + "io.k8s.api.auditregistration.v1alpha1.WebhookThrottleConfig": { + "description": "WebhookThrottleConfig holds the configuration for throttling events", + "properties": { + "burst": { + "description": "ThrottleBurst is the maximum number of events sent at the same moment default 15 QPS", + "type": "integer", + "format": "int64" + }, + "qps": { + "description": "ThrottleQPS maximum number of batches per second default 10 QPS", + "type": "integer", + "format": "int64" + } + } + }, "io.k8s.api.authentication.v1.TokenReview": { "description": "TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver.", "required": [ @@ -79080,6 +80871,13 @@ "io.k8s.api.authentication.v1.TokenReviewSpec": { "description": "TokenReviewSpec is a description of the token authentication request.", "properties": { + "audiences": { + "description": "Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver.", + "type": "array", + "items": { + "type": "string" + } + }, "token": { "description": "Token is the opaque bearer token.", "type": "string" @@ -79089,6 +80887,13 @@ "io.k8s.api.authentication.v1.TokenReviewStatus": { "description": "TokenReviewStatus is the result of the token authentication request.", "properties": { + "audiences": { + "description": "Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is \"true\", the token is valid against the audience of the Kubernetes API server.", + "type": "array", + "items": { + "type": "string" + } + }, "authenticated": { "description": "Authenticated indicates that the token was associated with a known user.", "type": "boolean" @@ -79170,6 +80975,13 @@ "io.k8s.api.authentication.v1beta1.TokenReviewSpec": { "description": "TokenReviewSpec is a description of the token authentication request.", "properties": { + "audiences": { + "description": "Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver.", + "type": "array", + "items": { + "type": "string" + } + }, "token": { "description": "Token is the opaque bearer token.", "type": "string" @@ -79179,6 +80991,13 @@ "io.k8s.api.authentication.v1beta1.TokenReviewStatus": { "description": "TokenReviewStatus is the result of the token authentication request.", "properties": { + "audiences": { + "description": "Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is \"true\", the token is valid against the audience of the Kubernetes API server.", + "type": "array", + "items": { + "type": "string" + } + }, "authenticated": { "description": "Authenticated indicates that the token was associated with a known user.", "type": "boolean" @@ -81890,7 +83709,7 @@ ], "properties": { "controllerPublishSecretRef": { - "description": "ControllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.", + "description": "ControllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.", "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference" }, "driver": { @@ -81902,11 +83721,11 @@ "type": "string" }, "nodePublishSecretRef": { - "description": "NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.", + "description": "NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.", "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference" }, "nodeStageSecretRef": { - "description": "NodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.", + "description": "NodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.", "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference" }, "readOnly": { @@ -82408,6 +84227,11 @@ "items": { "$ref": "#/definitions/io.k8s.api.core.v1.ContainerPort" }, + "x-kubernetes-list-map-keys": [ + "containerPort", + "protocol" + ], + "x-kubernetes-list-type": "map", "x-kubernetes-patch-merge-key": "containerPort", "x-kubernetes-patch-strategy": "merge" }, @@ -82444,7 +84268,7 @@ "type": "boolean" }, "volumeDevices": { - "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", + "description": "volumeDevices is the list of block devices to be used by the container. This is a beta feature.", "type": "array", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.VolumeDevice" @@ -83227,6 +85051,31 @@ } } }, + "io.k8s.api.core.v1.GlusterfsPersistentVolumeSource": { + "description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.", + "required": [ + "endpoints", + "path" + ], + "properties": { + "endpoints": { + "description": "EndpointsName is the endpoint name that details Glusterfs topology. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", + "type": "string" + }, + "endpointsNamespace": { + "description": "EndpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", + "type": "string" + }, + "path": { + "description": "Path is the Glusterfs volume path. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", + "type": "string" + }, + "readOnly": { + "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", + "type": "boolean" + } + } + }, "io.k8s.api.core.v1.GlusterfsVolumeSource": { "description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.", "required": [ @@ -84372,7 +86221,7 @@ "type": "string" }, "volumeMode": { - "description": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. This is an alpha feature and may change in the future.", + "description": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. This is a beta feature.", "type": "string" }, "volumeName": { @@ -84526,7 +86375,7 @@ }, "glusterfs": { "description": "Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md", - "$ref": "#/definitions/io.k8s.api.core.v1.GlusterfsVolumeSource" + "$ref": "#/definitions/io.k8s.api.core.v1.GlusterfsPersistentVolumeSource" }, "hostPath": { "description": "HostPath represents a directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath", @@ -84588,7 +86437,7 @@ "$ref": "#/definitions/io.k8s.api.core.v1.StorageOSPersistentVolumeSource" }, "volumeMode": { - "description": "volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec. This is an alpha feature and may change in the future.", + "description": "volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec. This is a beta feature.", "type": "string" }, "vsphereVolume": { @@ -84919,6 +86768,10 @@ "description": "Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'.", "type": "string" }, + "enableServiceLinks": { + "description": "EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links.", + "type": "boolean" + }, "hostAliases": { "description": "HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods.", "type": "array", @@ -87320,7 +89173,7 @@ "format": "int32" }, "revisionHistoryLimit": { - "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.", + "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"retaining all old RelicaSets\".", "type": "integer", "format": "int32" }, @@ -87981,6 +89834,10 @@ "type": "string" } }, + "runAsGroup": { + "description": "RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled.", + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.RunAsGroupStrategyOptions" + }, "runAsUser": { "description": "runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set.", "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.RunAsUserStrategyOptions" @@ -88194,6 +90051,25 @@ } } }, + "io.k8s.api.extensions.v1beta1.RunAsGroupStrategyOptions": { + "description": "RunAsGroupStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use RunAsGroupStrategyOptions from policy API Group instead.", + "required": [ + "rule" + ], + "properties": { + "ranges": { + "description": "ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.IDRange" + } + }, + "rule": { + "description": "rule is the strategy that will dictate the allowable RunAsGroup values that may be set.", + "type": "string" + } + } + }, "io.k8s.api.extensions.v1beta1.RunAsUserStrategyOptions": { "description": "RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use RunAsUserStrategyOptions from policy API Group instead.", "required": [ @@ -88889,6 +90765,10 @@ "type": "string" } }, + "runAsGroup": { + "description": "RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled.", + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.RunAsGroupStrategyOptions" + }, "runAsUser": { "description": "runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set.", "$ref": "#/definitions/io.k8s.api.policy.v1beta1.RunAsUserStrategyOptions" @@ -88910,6 +90790,25 @@ } } }, + "io.k8s.api.policy.v1beta1.RunAsGroupStrategyOptions": { + "description": "RunAsGroupStrategyOptions defines the strategy type and any options used to create the strategy.", + "required": [ + "rule" + ], + "properties": { + "ranges": { + "description": "ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.IDRange" + } + }, + "rule": { + "description": "rule is the strategy that will dictate the allowable RunAsGroup values that may be set.", + "type": "string" + } + } + }, "io.k8s.api.policy.v1beta1.RunAsUserStrategyOptions": { "description": "RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy.", "required": [ @@ -90462,6 +92361,146 @@ } ] }, + "io.k8s.api.storage.v1.VolumeAttachment": { + "description": "VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.\n\nVolumeAttachment objects are non-namespaced.", + "required": [ + "spec" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system.", + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachmentSpec" + }, + "status": { + "description": "Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher.", + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachmentStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1" + } + ] + }, + "io.k8s.api.storage.v1.VolumeAttachmentList": { + "description": "VolumeAttachmentList is a collection of VolumeAttachment objects.", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "Items is the list of VolumeAttachments", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "VolumeAttachmentList", + "version": "v1" + } + ] + }, + "io.k8s.api.storage.v1.VolumeAttachmentSource": { + "description": "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.", + "properties": { + "persistentVolumeName": { + "description": "Name of the persistent volume to attach.", + "type": "string" + } + } + }, + "io.k8s.api.storage.v1.VolumeAttachmentSpec": { + "description": "VolumeAttachmentSpec is the specification of a VolumeAttachment request.", + "required": [ + "attacher", + "source", + "nodeName" + ], + "properties": { + "attacher": { + "description": "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().", + "type": "string" + }, + "nodeName": { + "description": "The node that the volume should be attached to.", + "type": "string" + }, + "source": { + "description": "Source represents the volume that should be attached.", + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachmentSource" + } + } + }, + "io.k8s.api.storage.v1.VolumeAttachmentStatus": { + "description": "VolumeAttachmentStatus is the status of a VolumeAttachment request.", + "required": [ + "attached" + ], + "properties": { + "attachError": { + "description": "The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeError" + }, + "attached": { + "description": "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", + "type": "boolean" + }, + "attachmentMetadata": { + "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "detachError": { + "description": "The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher.", + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeError" + } + } + }, + "io.k8s.api.storage.v1.VolumeError": { + "description": "VolumeError captures an error encountered during a volume operation.", + "properties": { + "message": { + "description": "String detailing the error encountered during Attach or Detach operation. This string maybe logged, so it should not contain sensitive information.", + "type": "string" + }, + "time": { + "description": "Time the error was encountered.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + } + } + }, "io.k8s.api.storage.v1alpha1.VolumeAttachment": { "description": "VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.\n\nVolumeAttachment objects are non-namespaced.", "required": [ @@ -90875,6 +92914,22 @@ } } }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceConversion": { + "description": "CustomResourceConversion describes how to convert different versions of a CR.", + "required": [ + "strategy" + ], + "properties": { + "strategy": { + "description": "`strategy` specifies the conversion strategy. Allowed values are: - `None`: The converter only change the apiVersion and would not touch any other field in the CR. - `Webhook`: API Server will call to an external webhook to do the conversion. Additional information is needed for this option.", + "type": "string" + }, + "webhookClientConfig": { + "description": "`webhookClientConfig` is the instructions for how to call the webhook if strategy is `Webhook`. This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature.", + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.WebhookClientConfig" + } + } + }, "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition": { "description": "CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>.", "required": [ @@ -91019,12 +93074,16 @@ ], "properties": { "additionalPrinterColumns": { - "description": "AdditionalPrinterColumns are additional columns shown e.g. in kubectl next to the name. Defaults to a created-at column.", + "description": "AdditionalPrinterColumns are additional columns shown e.g. in kubectl next to the name. Defaults to a created-at column. Optional, the global columns for all versions. Top-level and per-version columns are mutually exclusive.", "type": "array", "items": { "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition" } }, + "conversion": { + "description": "`conversion` defines conversion settings for the CRD.", + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceConversion" + }, "group": { "description": "Group is the group this resource belongs in", "type": "string" @@ -91038,11 +93097,11 @@ "type": "string" }, "subresources": { - "description": "Subresources describes the subresources for CustomResources", + "description": "Subresources describes the subresources for CustomResource Optional, the global subresources for all versions. Top-level and per-version subresources are mutually exclusive.", "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources" }, "validation": { - "description": "Validation describes the validation methods for CustomResources", + "description": "Validation describes the validation methods for CustomResources Optional, the global validation schema for all versions. Top-level and per-version schemas are mutually exclusive.", "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation" }, "version": { @@ -91087,16 +93146,28 @@ } }, "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinitionVersion": { + "description": "CustomResourceDefinitionVersion describes a version for CRD.", "required": [ "name", "served", "storage" ], "properties": { + "additionalPrinterColumns": { + "description": "AdditionalPrinterColumns are additional columns shown e.g. in kubectl next to the name. Defaults to a created-at column. Top-level and per-version columns are mutually exclusive. Per-version columns must not all be set to identical values (top-level columns should be used instead) This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature. NOTE: CRDs created prior to 1.13 populated the top-level additionalPrinterColumns field by default. To apply an update that changes to per-version additionalPrinterColumns, the top-level additionalPrinterColumns field must be explicitly set to null", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceColumnDefinition" + } + }, "name": { "description": "Name is the version name, e.g. \u201cv1\u201d, \u201cv2beta1\u201d, etc.", "type": "string" }, + "schema": { + "description": "Schema describes the schema for CustomResource used in validation, pruning, and defaulting. Top-level and per-version schemas are mutually exclusive. Per-version schemas must not all be set to identical values (top-level validation schema should be used instead) This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature.", + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation" + }, "served": { "description": "Served is a flag enabling/disabling this version from being served via REST APIs", "type": "boolean" @@ -91104,6 +93175,10 @@ "storage": { "description": "Storage flags the version as storage version. There must be exactly one flagged as storage version.", "type": "boolean" + }, + "subresources": { + "description": "Subresources describes the subresources for CustomResource Top-level and per-version subresources are mutually exclusive. Per-version subresources must not all be set to identical values (top-level subresources should be used instead) This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature.", + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources" } } }, @@ -91325,6 +93400,45 @@ "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrStringArray": { "description": "JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array." }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ServiceReference": { + "description": "ServiceReference holds a reference to Service.legacy.k8s.io", + "required": [ + "namespace", + "name" + ], + "properties": { + "name": { + "description": "`name` is the name of the service. Required", + "type": "string" + }, + "namespace": { + "description": "`namespace` is the namespace of the service. Required", + "type": "string" + }, + "path": { + "description": "`path` is an optional URL path which will be sent in any request to this service.", + "type": "string" + } + } + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.WebhookClientConfig": { + "description": "WebhookClientConfig contains the information to make a TLS connection with the webhook. It has the same field as admissionregistration.v1beta1.WebhookClientConfig.", + "properties": { + "caBundle": { + "description": "`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.", + "type": "string", + "format": "byte" + }, + "service": { + "description": "`service` is a reference to the service for this webhook. Either `service` or `url` must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`.\n\nPort 443 will be used if it is open, otherwise it is an error.", + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ServiceReference" + }, + "url": { + "description": "`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.\n\nThe `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.\n\nPlease note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.\n\nThe scheme must be \"https\"; the URL must begin with \"https://\".\n\nA path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.\n\nAttempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either.", + "type": "string" + } + } + }, "io.k8s.apimachinery.pkg.api.resource.Quantity": { "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and Int64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.", "type": "string" @@ -91622,6 +93736,11 @@ "kind": "DeleteOptions", "version": "v1beta2" }, + { + "group": "auditregistration.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha1" + }, { "group": "authentication.k8s.io", "kind": "DeleteOptions", @@ -91958,7 +94077,7 @@ } }, "io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference": { - "description": "OwnerReference contains enough information to let you identify an owning object. Currently, an owning object must be in the same namespace, so there is no namespace field.", + "description": "OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.", "required": [ "apiVersion", "kind", @@ -92187,6 +94306,11 @@ "kind": "WatchEvent", "version": "v1beta2" }, + { + "group": "auditregistration.k8s.io", + "kind": "WatchEvent", + "version": "v1alpha1" + }, { "group": "authentication.k8s.io", "kind": "WatchEvent", @@ -92480,7 +94604,7 @@ ], "properties": { "caBundle": { - "description": "CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate.", + "description": "CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used.", "type": "string", "format": "byte" }, @@ -92639,7 +94763,7 @@ ], "properties": { "caBundle": { - "description": "CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate.", + "description": "CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used.", "type": "string", "format": "byte" }, diff --git a/kubernetes/test/test_admissionregistration_api.py b/kubernetes/test/test_admissionregistration_api.py index b9548a342e..dbbfa85b0e 100644 --- a/kubernetes/test/test_admissionregistration_api.py +++ b/kubernetes/test/test_admissionregistration_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_admissionregistration_v1alpha1_api.py b/kubernetes/test/test_admissionregistration_v1alpha1_api.py index 4c21531943..f8cf9c3ce2 100644 --- a/kubernetes/test/test_admissionregistration_v1alpha1_api.py +++ b/kubernetes/test/test_admissionregistration_v1alpha1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_admissionregistration_v1beta1_api.py b/kubernetes/test/test_admissionregistration_v1beta1_api.py index d85df228f7..1013ed5736 100644 --- a/kubernetes/test/test_admissionregistration_v1beta1_api.py +++ b/kubernetes/test/test_admissionregistration_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_admissionregistration_v1beta1_service_reference.py b/kubernetes/test/test_admissionregistration_v1beta1_service_reference.py index 7109e4a3db..3cf50e38b6 100644 --- a/kubernetes/test/test_admissionregistration_v1beta1_service_reference.py +++ b/kubernetes/test/test_admissionregistration_v1beta1_service_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_admissionregistration_v1beta1_webhook_client_config.py b/kubernetes/test/test_admissionregistration_v1beta1_webhook_client_config.py new file mode 100644 index 0000000000..492cc80cc9 --- /dev/null +++ b/kubernetes/test/test_admissionregistration_v1beta1_webhook_client_config.py @@ -0,0 +1,44 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.13.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.admissionregistration_v1beta1_webhook_client_config import AdmissionregistrationV1beta1WebhookClientConfig + + +class TestAdmissionregistrationV1beta1WebhookClientConfig(unittest.TestCase): + """ AdmissionregistrationV1beta1WebhookClientConfig unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdmissionregistrationV1beta1WebhookClientConfig(self): + """ + Test AdmissionregistrationV1beta1WebhookClientConfig + """ + # FIXME: construct object with mandatory attributes with example values + #model = kubernetes.client.models.admissionregistration_v1beta1_webhook_client_config.AdmissionregistrationV1beta1WebhookClientConfig() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_apiextensions_api.py b/kubernetes/test/test_apiextensions_api.py index d31f5bf8ca..97fde11d3a 100644 --- a/kubernetes/test/test_apiextensions_api.py +++ b/kubernetes/test/test_apiextensions_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_apiextensions_v1beta1_api.py b/kubernetes/test/test_apiextensions_v1beta1_api.py index e4fae32078..6ad0d3d5c2 100644 --- a/kubernetes/test/test_apiextensions_v1beta1_api.py +++ b/kubernetes/test/test_apiextensions_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_apiextensions_v1beta1_service_reference.py b/kubernetes/test/test_apiextensions_v1beta1_service_reference.py new file mode 100644 index 0000000000..bc136096d3 --- /dev/null +++ b/kubernetes/test/test_apiextensions_v1beta1_service_reference.py @@ -0,0 +1,44 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.13.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.apiextensions_v1beta1_service_reference import ApiextensionsV1beta1ServiceReference + + +class TestApiextensionsV1beta1ServiceReference(unittest.TestCase): + """ ApiextensionsV1beta1ServiceReference unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testApiextensionsV1beta1ServiceReference(self): + """ + Test ApiextensionsV1beta1ServiceReference + """ + # FIXME: construct object with mandatory attributes with example values + #model = kubernetes.client.models.apiextensions_v1beta1_service_reference.ApiextensionsV1beta1ServiceReference() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_apiextensions_v1beta1_webhook_client_config.py b/kubernetes/test/test_apiextensions_v1beta1_webhook_client_config.py new file mode 100644 index 0000000000..e6a840fd3b --- /dev/null +++ b/kubernetes/test/test_apiextensions_v1beta1_webhook_client_config.py @@ -0,0 +1,44 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.13.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.apiextensions_v1beta1_webhook_client_config import ApiextensionsV1beta1WebhookClientConfig + + +class TestApiextensionsV1beta1WebhookClientConfig(unittest.TestCase): + """ ApiextensionsV1beta1WebhookClientConfig unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testApiextensionsV1beta1WebhookClientConfig(self): + """ + Test ApiextensionsV1beta1WebhookClientConfig + """ + # FIXME: construct object with mandatory attributes with example values + #model = kubernetes.client.models.apiextensions_v1beta1_webhook_client_config.ApiextensionsV1beta1WebhookClientConfig() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_apiregistration_api.py b/kubernetes/test/test_apiregistration_api.py index 1180304faa..205c6427ae 100644 --- a/kubernetes/test/test_apiregistration_api.py +++ b/kubernetes/test/test_apiregistration_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_apiregistration_v1_api.py b/kubernetes/test/test_apiregistration_v1_api.py index f17d4dd494..d6847fe849 100644 --- a/kubernetes/test/test_apiregistration_v1_api.py +++ b/kubernetes/test/test_apiregistration_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_apiregistration_v1beta1_api.py b/kubernetes/test/test_apiregistration_v1beta1_api.py index 2cd545d817..e06e20a431 100644 --- a/kubernetes/test/test_apiregistration_v1beta1_api.py +++ b/kubernetes/test/test_apiregistration_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_apiregistration_v1beta1_service_reference.py b/kubernetes/test/test_apiregistration_v1beta1_service_reference.py index 7acef37af7..e4306178f8 100644 --- a/kubernetes/test/test_apiregistration_v1beta1_service_reference.py +++ b/kubernetes/test/test_apiregistration_v1beta1_service_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_apis_api.py b/kubernetes/test/test_apis_api.py index 98cc1f0879..6e417afc9d 100644 --- a/kubernetes/test/test_apis_api.py +++ b/kubernetes/test/test_apis_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_apps_api.py b/kubernetes/test/test_apps_api.py index 98c849d035..29bcfce480 100644 --- a/kubernetes/test/test_apps_api.py +++ b/kubernetes/test/test_apps_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_apps_v1_api.py b/kubernetes/test/test_apps_v1_api.py index 23dd12b316..c5ce5a62b0 100644 --- a/kubernetes/test/test_apps_v1_api.py +++ b/kubernetes/test/test_apps_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_apps_v1beta1_api.py b/kubernetes/test/test_apps_v1beta1_api.py index 6759d65399..6569d5b468 100644 --- a/kubernetes/test/test_apps_v1beta1_api.py +++ b/kubernetes/test/test_apps_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_apps_v1beta1_deployment.py b/kubernetes/test/test_apps_v1beta1_deployment.py index e47ea51488..8fa29e6089 100644 --- a/kubernetes/test/test_apps_v1beta1_deployment.py +++ b/kubernetes/test/test_apps_v1beta1_deployment.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_apps_v1beta1_deployment_condition.py b/kubernetes/test/test_apps_v1beta1_deployment_condition.py index 8f153b25ea..a3f76b2633 100644 --- a/kubernetes/test/test_apps_v1beta1_deployment_condition.py +++ b/kubernetes/test/test_apps_v1beta1_deployment_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_apps_v1beta1_deployment_list.py b/kubernetes/test/test_apps_v1beta1_deployment_list.py index b18fd30ea2..1e40af932d 100644 --- a/kubernetes/test/test_apps_v1beta1_deployment_list.py +++ b/kubernetes/test/test_apps_v1beta1_deployment_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_apps_v1beta1_deployment_rollback.py b/kubernetes/test/test_apps_v1beta1_deployment_rollback.py index b9289a3e88..0b3dce75d8 100644 --- a/kubernetes/test/test_apps_v1beta1_deployment_rollback.py +++ b/kubernetes/test/test_apps_v1beta1_deployment_rollback.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_apps_v1beta1_deployment_spec.py b/kubernetes/test/test_apps_v1beta1_deployment_spec.py index 546e4eec30..181d051d83 100644 --- a/kubernetes/test/test_apps_v1beta1_deployment_spec.py +++ b/kubernetes/test/test_apps_v1beta1_deployment_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_apps_v1beta1_deployment_status.py b/kubernetes/test/test_apps_v1beta1_deployment_status.py index 3049f014f5..bb910f1137 100644 --- a/kubernetes/test/test_apps_v1beta1_deployment_status.py +++ b/kubernetes/test/test_apps_v1beta1_deployment_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_apps_v1beta1_deployment_strategy.py b/kubernetes/test/test_apps_v1beta1_deployment_strategy.py index 50a69bd0fc..2cf52f0753 100644 --- a/kubernetes/test/test_apps_v1beta1_deployment_strategy.py +++ b/kubernetes/test/test_apps_v1beta1_deployment_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_apps_v1beta1_rollback_config.py b/kubernetes/test/test_apps_v1beta1_rollback_config.py index b34a78801e..312c0c28ef 100644 --- a/kubernetes/test/test_apps_v1beta1_rollback_config.py +++ b/kubernetes/test/test_apps_v1beta1_rollback_config.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_apps_v1beta1_rolling_update_deployment.py b/kubernetes/test/test_apps_v1beta1_rolling_update_deployment.py index 785fb0cfb7..6e53cfbbfc 100644 --- a/kubernetes/test/test_apps_v1beta1_rolling_update_deployment.py +++ b/kubernetes/test/test_apps_v1beta1_rolling_update_deployment.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_apps_v1beta1_scale.py b/kubernetes/test/test_apps_v1beta1_scale.py index d3dead592c..bf8860424a 100644 --- a/kubernetes/test/test_apps_v1beta1_scale.py +++ b/kubernetes/test/test_apps_v1beta1_scale.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_apps_v1beta1_scale_spec.py b/kubernetes/test/test_apps_v1beta1_scale_spec.py index 2909b2dee9..a8cb0db6ff 100644 --- a/kubernetes/test/test_apps_v1beta1_scale_spec.py +++ b/kubernetes/test/test_apps_v1beta1_scale_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_apps_v1beta1_scale_status.py b/kubernetes/test/test_apps_v1beta1_scale_status.py index 28acbe921b..11e13c7c22 100644 --- a/kubernetes/test/test_apps_v1beta1_scale_status.py +++ b/kubernetes/test/test_apps_v1beta1_scale_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_apps_v1beta2_api.py b/kubernetes/test/test_apps_v1beta2_api.py index 826171f79b..4ac94ab3e0 100644 --- a/kubernetes/test/test_apps_v1beta2_api.py +++ b/kubernetes/test/test_apps_v1beta2_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_auditregistration_api.py b/kubernetes/test/test_auditregistration_api.py new file mode 100644 index 0000000000..326f6393f6 --- /dev/null +++ b/kubernetes/test/test_auditregistration_api.py @@ -0,0 +1,44 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.13.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.apis.auditregistration_api import AuditregistrationApi + + +class TestAuditregistrationApi(unittest.TestCase): + """ AuditregistrationApi unit test stubs """ + + def setUp(self): + self.api = kubernetes.client.apis.auditregistration_api.AuditregistrationApi() + + def tearDown(self): + pass + + def test_get_api_group(self): + """ + Test case for get_api_group + + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_auditregistration_v1alpha1_api.py b/kubernetes/test/test_auditregistration_v1alpha1_api.py new file mode 100644 index 0000000000..b74fa2d022 --- /dev/null +++ b/kubernetes/test/test_auditregistration_v1alpha1_api.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.13.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.apis.auditregistration_v1alpha1_api import AuditregistrationV1alpha1Api + + +class TestAuditregistrationV1alpha1Api(unittest.TestCase): + """ AuditregistrationV1alpha1Api unit test stubs """ + + def setUp(self): + self.api = kubernetes.client.apis.auditregistration_v1alpha1_api.AuditregistrationV1alpha1Api() + + def tearDown(self): + pass + + def test_create_audit_sink(self): + """ + Test case for create_audit_sink + + + """ + pass + + def test_delete_audit_sink(self): + """ + Test case for delete_audit_sink + + + """ + pass + + def test_delete_collection_audit_sink(self): + """ + Test case for delete_collection_audit_sink + + + """ + pass + + def test_get_api_resources(self): + """ + Test case for get_api_resources + + + """ + pass + + def test_list_audit_sink(self): + """ + Test case for list_audit_sink + + + """ + pass + + def test_patch_audit_sink(self): + """ + Test case for patch_audit_sink + + + """ + pass + + def test_read_audit_sink(self): + """ + Test case for read_audit_sink + + + """ + pass + + def test_replace_audit_sink(self): + """ + Test case for replace_audit_sink + + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_authentication_api.py b/kubernetes/test/test_authentication_api.py index be7960a2bf..0f90247123 100644 --- a/kubernetes/test/test_authentication_api.py +++ b/kubernetes/test/test_authentication_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_authentication_v1_api.py b/kubernetes/test/test_authentication_v1_api.py index 0a084a10ff..f66bd2cc04 100644 --- a/kubernetes/test/test_authentication_v1_api.py +++ b/kubernetes/test/test_authentication_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_authentication_v1beta1_api.py b/kubernetes/test/test_authentication_v1beta1_api.py index 02484a9e7b..4193fae956 100644 --- a/kubernetes/test/test_authentication_v1beta1_api.py +++ b/kubernetes/test/test_authentication_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_authorization_api.py b/kubernetes/test/test_authorization_api.py index 43fa33ecc5..e5a0e60810 100644 --- a/kubernetes/test/test_authorization_api.py +++ b/kubernetes/test/test_authorization_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_authorization_v1_api.py b/kubernetes/test/test_authorization_v1_api.py index 0a20df4626..883231b1d2 100644 --- a/kubernetes/test/test_authorization_v1_api.py +++ b/kubernetes/test/test_authorization_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_authorization_v1beta1_api.py b/kubernetes/test/test_authorization_v1beta1_api.py index 5a6a53e6b2..69c74c3c77 100644 --- a/kubernetes/test/test_authorization_v1beta1_api.py +++ b/kubernetes/test/test_authorization_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_autoscaling_api.py b/kubernetes/test/test_autoscaling_api.py index cb45ae6700..916a49ad6f 100644 --- a/kubernetes/test/test_autoscaling_api.py +++ b/kubernetes/test/test_autoscaling_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_autoscaling_v1_api.py b/kubernetes/test/test_autoscaling_v1_api.py index 15cc337eda..1b85db7af2 100644 --- a/kubernetes/test/test_autoscaling_v1_api.py +++ b/kubernetes/test/test_autoscaling_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_autoscaling_v2beta1_api.py b/kubernetes/test/test_autoscaling_v2beta1_api.py index ba692c6cb4..ffbd764e2e 100644 --- a/kubernetes/test/test_autoscaling_v2beta1_api.py +++ b/kubernetes/test/test_autoscaling_v2beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_autoscaling_v2beta2_api.py b/kubernetes/test/test_autoscaling_v2beta2_api.py index b53d0258a5..740390351d 100644 --- a/kubernetes/test/test_autoscaling_v2beta2_api.py +++ b/kubernetes/test/test_autoscaling_v2beta2_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_batch_api.py b/kubernetes/test/test_batch_api.py index bc1eeac1f8..3fd29c4b25 100644 --- a/kubernetes/test/test_batch_api.py +++ b/kubernetes/test/test_batch_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_batch_v1_api.py b/kubernetes/test/test_batch_v1_api.py index b04b69b8ac..8daf787ea0 100644 --- a/kubernetes/test/test_batch_v1_api.py +++ b/kubernetes/test/test_batch_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_batch_v1beta1_api.py b/kubernetes/test/test_batch_v1beta1_api.py index acb312df0c..ac87c9a415 100644 --- a/kubernetes/test/test_batch_v1beta1_api.py +++ b/kubernetes/test/test_batch_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_batch_v2alpha1_api.py b/kubernetes/test/test_batch_v2alpha1_api.py index fd09afb9ca..53632ad096 100644 --- a/kubernetes/test/test_batch_v2alpha1_api.py +++ b/kubernetes/test/test_batch_v2alpha1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_certificates_api.py b/kubernetes/test/test_certificates_api.py index 269db31519..307ee0ab3f 100644 --- a/kubernetes/test/test_certificates_api.py +++ b/kubernetes/test/test_certificates_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_certificates_v1beta1_api.py b/kubernetes/test/test_certificates_v1beta1_api.py index ed56a2d5d8..c7130cab5d 100644 --- a/kubernetes/test/test_certificates_v1beta1_api.py +++ b/kubernetes/test/test_certificates_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_coordination_api.py b/kubernetes/test/test_coordination_api.py index 7f8c26a9b2..ac5da30aba 100644 --- a/kubernetes/test/test_coordination_api.py +++ b/kubernetes/test/test_coordination_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_coordination_v1beta1_api.py b/kubernetes/test/test_coordination_v1beta1_api.py index 718e05b199..d2d06a5e35 100644 --- a/kubernetes/test/test_coordination_v1beta1_api.py +++ b/kubernetes/test/test_coordination_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_core_api.py b/kubernetes/test/test_core_api.py index 273770ebb0..ef47438eed 100644 --- a/kubernetes/test/test_core_api.py +++ b/kubernetes/test/test_core_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_core_v1_api.py b/kubernetes/test/test_core_v1_api.py index d65988c8db..3c28a8860f 100644 --- a/kubernetes/test/test_core_v1_api.py +++ b/kubernetes/test/test_core_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_custom_objects_api.py b/kubernetes/test/test_custom_objects_api.py index e4d76d36fb..51e7476270 100644 --- a/kubernetes/test/test_custom_objects_api.py +++ b/kubernetes/test/test_custom_objects_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_events_api.py b/kubernetes/test/test_events_api.py index e5038d7b25..6e66bd28b1 100644 --- a/kubernetes/test/test_events_api.py +++ b/kubernetes/test/test_events_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_events_v1beta1_api.py b/kubernetes/test/test_events_v1beta1_api.py index 90d1cb0e84..7f581a4957 100644 --- a/kubernetes/test/test_events_v1beta1_api.py +++ b/kubernetes/test/test_events_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_api.py b/kubernetes/test/test_extensions_api.py index 82a6a9667b..9c01c7dfa1 100644 --- a/kubernetes/test/test_extensions_api.py +++ b/kubernetes/test/test_extensions_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_allowed_flex_volume.py b/kubernetes/test/test_extensions_v1beta1_allowed_flex_volume.py index 0cafd868f8..64dc9c0ea4 100644 --- a/kubernetes/test/test_extensions_v1beta1_allowed_flex_volume.py +++ b/kubernetes/test/test_extensions_v1beta1_allowed_flex_volume.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_allowed_host_path.py b/kubernetes/test/test_extensions_v1beta1_allowed_host_path.py index ab0412a06b..f9e23853ed 100644 --- a/kubernetes/test/test_extensions_v1beta1_allowed_host_path.py +++ b/kubernetes/test/test_extensions_v1beta1_allowed_host_path.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_api.py b/kubernetes/test/test_extensions_v1beta1_api.py index 51553eb602..e645660564 100644 --- a/kubernetes/test/test_extensions_v1beta1_api.py +++ b/kubernetes/test/test_extensions_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_deployment.py b/kubernetes/test/test_extensions_v1beta1_deployment.py index e9800de24c..56f2909520 100644 --- a/kubernetes/test/test_extensions_v1beta1_deployment.py +++ b/kubernetes/test/test_extensions_v1beta1_deployment.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_deployment_condition.py b/kubernetes/test/test_extensions_v1beta1_deployment_condition.py index 559bb365b6..7685e460bc 100644 --- a/kubernetes/test/test_extensions_v1beta1_deployment_condition.py +++ b/kubernetes/test/test_extensions_v1beta1_deployment_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_deployment_list.py b/kubernetes/test/test_extensions_v1beta1_deployment_list.py index 7d21bea847..e9950101ff 100644 --- a/kubernetes/test/test_extensions_v1beta1_deployment_list.py +++ b/kubernetes/test/test_extensions_v1beta1_deployment_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_deployment_rollback.py b/kubernetes/test/test_extensions_v1beta1_deployment_rollback.py index cbeac46d88..6d91eb61d7 100644 --- a/kubernetes/test/test_extensions_v1beta1_deployment_rollback.py +++ b/kubernetes/test/test_extensions_v1beta1_deployment_rollback.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_deployment_spec.py b/kubernetes/test/test_extensions_v1beta1_deployment_spec.py index c46fe701fa..5cc3da3420 100644 --- a/kubernetes/test/test_extensions_v1beta1_deployment_spec.py +++ b/kubernetes/test/test_extensions_v1beta1_deployment_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_deployment_status.py b/kubernetes/test/test_extensions_v1beta1_deployment_status.py index 0054f013c8..5897fd388f 100644 --- a/kubernetes/test/test_extensions_v1beta1_deployment_status.py +++ b/kubernetes/test/test_extensions_v1beta1_deployment_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_deployment_strategy.py b/kubernetes/test/test_extensions_v1beta1_deployment_strategy.py index ef596ef288..cbdc0d0ee9 100644 --- a/kubernetes/test/test_extensions_v1beta1_deployment_strategy.py +++ b/kubernetes/test/test_extensions_v1beta1_deployment_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_fs_group_strategy_options.py b/kubernetes/test/test_extensions_v1beta1_fs_group_strategy_options.py index 2fadc0bd60..e5d0bd861a 100644 --- a/kubernetes/test/test_extensions_v1beta1_fs_group_strategy_options.py +++ b/kubernetes/test/test_extensions_v1beta1_fs_group_strategy_options.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_host_port_range.py b/kubernetes/test/test_extensions_v1beta1_host_port_range.py index 257b29c971..d7e3226105 100644 --- a/kubernetes/test/test_extensions_v1beta1_host_port_range.py +++ b/kubernetes/test/test_extensions_v1beta1_host_port_range.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_id_range.py b/kubernetes/test/test_extensions_v1beta1_id_range.py index 4afaca1819..b98229bdc4 100644 --- a/kubernetes/test/test_extensions_v1beta1_id_range.py +++ b/kubernetes/test/test_extensions_v1beta1_id_range.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_pod_security_policy.py b/kubernetes/test/test_extensions_v1beta1_pod_security_policy.py index 5c4fb4cc1a..056dd55d3e 100644 --- a/kubernetes/test/test_extensions_v1beta1_pod_security_policy.py +++ b/kubernetes/test/test_extensions_v1beta1_pod_security_policy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_pod_security_policy_list.py b/kubernetes/test/test_extensions_v1beta1_pod_security_policy_list.py index ad87f34b35..12d1236e11 100644 --- a/kubernetes/test/test_extensions_v1beta1_pod_security_policy_list.py +++ b/kubernetes/test/test_extensions_v1beta1_pod_security_policy_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_pod_security_policy_spec.py b/kubernetes/test/test_extensions_v1beta1_pod_security_policy_spec.py index eb4d659f60..343329524b 100644 --- a/kubernetes/test/test_extensions_v1beta1_pod_security_policy_spec.py +++ b/kubernetes/test/test_extensions_v1beta1_pod_security_policy_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_rollback_config.py b/kubernetes/test/test_extensions_v1beta1_rollback_config.py index 7b1eeb8ea3..bf1d3a7e58 100644 --- a/kubernetes/test/test_extensions_v1beta1_rollback_config.py +++ b/kubernetes/test/test_extensions_v1beta1_rollback_config.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_rolling_update_deployment.py b/kubernetes/test/test_extensions_v1beta1_rolling_update_deployment.py index 3f0fb37220..53e7efd79b 100644 --- a/kubernetes/test/test_extensions_v1beta1_rolling_update_deployment.py +++ b/kubernetes/test/test_extensions_v1beta1_rolling_update_deployment.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_run_as_group_strategy_options.py b/kubernetes/test/test_extensions_v1beta1_run_as_group_strategy_options.py new file mode 100644 index 0000000000..5aa4114b8c --- /dev/null +++ b/kubernetes/test/test_extensions_v1beta1_run_as_group_strategy_options.py @@ -0,0 +1,44 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.13.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.extensions_v1beta1_run_as_group_strategy_options import ExtensionsV1beta1RunAsGroupStrategyOptions + + +class TestExtensionsV1beta1RunAsGroupStrategyOptions(unittest.TestCase): + """ ExtensionsV1beta1RunAsGroupStrategyOptions unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testExtensionsV1beta1RunAsGroupStrategyOptions(self): + """ + Test ExtensionsV1beta1RunAsGroupStrategyOptions + """ + # FIXME: construct object with mandatory attributes with example values + #model = kubernetes.client.models.extensions_v1beta1_run_as_group_strategy_options.ExtensionsV1beta1RunAsGroupStrategyOptions() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_run_as_user_strategy_options.py b/kubernetes/test/test_extensions_v1beta1_run_as_user_strategy_options.py index 506fc071f7..8890a49392 100644 --- a/kubernetes/test/test_extensions_v1beta1_run_as_user_strategy_options.py +++ b/kubernetes/test/test_extensions_v1beta1_run_as_user_strategy_options.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_scale.py b/kubernetes/test/test_extensions_v1beta1_scale.py index 084a7ac753..dec4ec82d7 100644 --- a/kubernetes/test/test_extensions_v1beta1_scale.py +++ b/kubernetes/test/test_extensions_v1beta1_scale.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_scale_spec.py b/kubernetes/test/test_extensions_v1beta1_scale_spec.py index 21912054f1..fffc1addbc 100644 --- a/kubernetes/test/test_extensions_v1beta1_scale_spec.py +++ b/kubernetes/test/test_extensions_v1beta1_scale_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_scale_status.py b/kubernetes/test/test_extensions_v1beta1_scale_status.py index cea11b65d9..8f4a2156ab 100644 --- a/kubernetes/test/test_extensions_v1beta1_scale_status.py +++ b/kubernetes/test/test_extensions_v1beta1_scale_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_se_linux_strategy_options.py b/kubernetes/test/test_extensions_v1beta1_se_linux_strategy_options.py index 36907d0ecc..3dcc09192a 100644 --- a/kubernetes/test/test_extensions_v1beta1_se_linux_strategy_options.py +++ b/kubernetes/test/test_extensions_v1beta1_se_linux_strategy_options.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_extensions_v1beta1_supplemental_groups_strategy_options.py b/kubernetes/test/test_extensions_v1beta1_supplemental_groups_strategy_options.py index 32758114c3..c8ba335550 100644 --- a/kubernetes/test/test_extensions_v1beta1_supplemental_groups_strategy_options.py +++ b/kubernetes/test/test_extensions_v1beta1_supplemental_groups_strategy_options.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_logs_api.py b/kubernetes/test/test_logs_api.py index 2a4c76626c..a9ad7a3387 100644 --- a/kubernetes/test/test_logs_api.py +++ b/kubernetes/test/test_logs_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_networking_api.py b/kubernetes/test/test_networking_api.py index 96f2bf628b..19ba66d5b2 100644 --- a/kubernetes/test/test_networking_api.py +++ b/kubernetes/test/test_networking_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_networking_v1_api.py b/kubernetes/test/test_networking_v1_api.py index 642e8604f2..00fa483846 100644 --- a/kubernetes/test/test_networking_v1_api.py +++ b/kubernetes/test/test_networking_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_policy_api.py b/kubernetes/test/test_policy_api.py index 735ffbf7f8..dc51f6d655 100644 --- a/kubernetes/test/test_policy_api.py +++ b/kubernetes/test/test_policy_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_policy_v1beta1_allowed_flex_volume.py b/kubernetes/test/test_policy_v1beta1_allowed_flex_volume.py index 1c02de46df..1d85725ff0 100644 --- a/kubernetes/test/test_policy_v1beta1_allowed_flex_volume.py +++ b/kubernetes/test/test_policy_v1beta1_allowed_flex_volume.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_policy_v1beta1_allowed_host_path.py b/kubernetes/test/test_policy_v1beta1_allowed_host_path.py index 8b537f6a89..2132e8617d 100644 --- a/kubernetes/test/test_policy_v1beta1_allowed_host_path.py +++ b/kubernetes/test/test_policy_v1beta1_allowed_host_path.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_policy_v1beta1_api.py b/kubernetes/test/test_policy_v1beta1_api.py index b86e79bf0e..35caf3db8b 100644 --- a/kubernetes/test/test_policy_v1beta1_api.py +++ b/kubernetes/test/test_policy_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_policy_v1beta1_fs_group_strategy_options.py b/kubernetes/test/test_policy_v1beta1_fs_group_strategy_options.py index 3a7f747df9..6889a3b81b 100644 --- a/kubernetes/test/test_policy_v1beta1_fs_group_strategy_options.py +++ b/kubernetes/test/test_policy_v1beta1_fs_group_strategy_options.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_policy_v1beta1_host_port_range.py b/kubernetes/test/test_policy_v1beta1_host_port_range.py index 7f4aa7356f..15fcfb11f6 100644 --- a/kubernetes/test/test_policy_v1beta1_host_port_range.py +++ b/kubernetes/test/test_policy_v1beta1_host_port_range.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_policy_v1beta1_id_range.py b/kubernetes/test/test_policy_v1beta1_id_range.py index 466d26d44d..326f20ecd8 100644 --- a/kubernetes/test/test_policy_v1beta1_id_range.py +++ b/kubernetes/test/test_policy_v1beta1_id_range.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_policy_v1beta1_pod_security_policy.py b/kubernetes/test/test_policy_v1beta1_pod_security_policy.py index edd976d41c..cc961341fd 100644 --- a/kubernetes/test/test_policy_v1beta1_pod_security_policy.py +++ b/kubernetes/test/test_policy_v1beta1_pod_security_policy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_policy_v1beta1_pod_security_policy_list.py b/kubernetes/test/test_policy_v1beta1_pod_security_policy_list.py index 77e13f6b82..864ee20414 100644 --- a/kubernetes/test/test_policy_v1beta1_pod_security_policy_list.py +++ b/kubernetes/test/test_policy_v1beta1_pod_security_policy_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_policy_v1beta1_pod_security_policy_spec.py b/kubernetes/test/test_policy_v1beta1_pod_security_policy_spec.py index c431003870..d9a6a6acd3 100644 --- a/kubernetes/test/test_policy_v1beta1_pod_security_policy_spec.py +++ b/kubernetes/test/test_policy_v1beta1_pod_security_policy_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_policy_v1beta1_run_as_group_strategy_options.py b/kubernetes/test/test_policy_v1beta1_run_as_group_strategy_options.py new file mode 100644 index 0000000000..cc773ba279 --- /dev/null +++ b/kubernetes/test/test_policy_v1beta1_run_as_group_strategy_options.py @@ -0,0 +1,44 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.13.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.policy_v1beta1_run_as_group_strategy_options import PolicyV1beta1RunAsGroupStrategyOptions + + +class TestPolicyV1beta1RunAsGroupStrategyOptions(unittest.TestCase): + """ PolicyV1beta1RunAsGroupStrategyOptions unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPolicyV1beta1RunAsGroupStrategyOptions(self): + """ + Test PolicyV1beta1RunAsGroupStrategyOptions + """ + # FIXME: construct object with mandatory attributes with example values + #model = kubernetes.client.models.policy_v1beta1_run_as_group_strategy_options.PolicyV1beta1RunAsGroupStrategyOptions() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_policy_v1beta1_run_as_user_strategy_options.py b/kubernetes/test/test_policy_v1beta1_run_as_user_strategy_options.py index f3b1805c8a..72a9b21294 100644 --- a/kubernetes/test/test_policy_v1beta1_run_as_user_strategy_options.py +++ b/kubernetes/test/test_policy_v1beta1_run_as_user_strategy_options.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_policy_v1beta1_se_linux_strategy_options.py b/kubernetes/test/test_policy_v1beta1_se_linux_strategy_options.py index 64d967b343..afc2c5b28c 100644 --- a/kubernetes/test/test_policy_v1beta1_se_linux_strategy_options.py +++ b/kubernetes/test/test_policy_v1beta1_se_linux_strategy_options.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_policy_v1beta1_supplemental_groups_strategy_options.py b/kubernetes/test/test_policy_v1beta1_supplemental_groups_strategy_options.py index 4ef6e7c31a..1ac223d357 100644 --- a/kubernetes/test/test_policy_v1beta1_supplemental_groups_strategy_options.py +++ b/kubernetes/test/test_policy_v1beta1_supplemental_groups_strategy_options.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_rbac_authorization_api.py b/kubernetes/test/test_rbac_authorization_api.py index 2d8691fce5..4a9b0edd20 100644 --- a/kubernetes/test/test_rbac_authorization_api.py +++ b/kubernetes/test/test_rbac_authorization_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_rbac_authorization_v1_api.py b/kubernetes/test/test_rbac_authorization_v1_api.py index 6011741972..9845a8bcb0 100644 --- a/kubernetes/test/test_rbac_authorization_v1_api.py +++ b/kubernetes/test/test_rbac_authorization_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_rbac_authorization_v1alpha1_api.py b/kubernetes/test/test_rbac_authorization_v1alpha1_api.py index a47b07318a..60f6067403 100644 --- a/kubernetes/test/test_rbac_authorization_v1alpha1_api.py +++ b/kubernetes/test/test_rbac_authorization_v1alpha1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_rbac_authorization_v1beta1_api.py b/kubernetes/test/test_rbac_authorization_v1beta1_api.py index 36b8b681e0..22f3d3c7f2 100644 --- a/kubernetes/test/test_rbac_authorization_v1beta1_api.py +++ b/kubernetes/test/test_rbac_authorization_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_runtime_raw_extension.py b/kubernetes/test/test_runtime_raw_extension.py index 403de56776..cc4f9d343e 100644 --- a/kubernetes/test/test_runtime_raw_extension.py +++ b/kubernetes/test/test_runtime_raw_extension.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_scheduling_api.py b/kubernetes/test/test_scheduling_api.py index 03238778ed..04762c06d1 100644 --- a/kubernetes/test/test_scheduling_api.py +++ b/kubernetes/test/test_scheduling_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_scheduling_v1alpha1_api.py b/kubernetes/test/test_scheduling_v1alpha1_api.py index e8f1db891f..cbd8070fa9 100644 --- a/kubernetes/test/test_scheduling_v1alpha1_api.py +++ b/kubernetes/test/test_scheduling_v1alpha1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_scheduling_v1beta1_api.py b/kubernetes/test/test_scheduling_v1beta1_api.py index 8c6d777f41..60f98f7d20 100644 --- a/kubernetes/test/test_scheduling_v1beta1_api.py +++ b/kubernetes/test/test_scheduling_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_settings_api.py b/kubernetes/test/test_settings_api.py index 3d783a9147..0bbf3914ad 100644 --- a/kubernetes/test/test_settings_api.py +++ b/kubernetes/test/test_settings_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_settings_v1alpha1_api.py b/kubernetes/test/test_settings_v1alpha1_api.py index b942cde35b..761202efd6 100644 --- a/kubernetes/test/test_settings_v1alpha1_api.py +++ b/kubernetes/test/test_settings_v1alpha1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_storage_api.py b/kubernetes/test/test_storage_api.py index b9863ab8f2..c93812eced 100644 --- a/kubernetes/test/test_storage_api.py +++ b/kubernetes/test/test_storage_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_storage_v1_api.py b/kubernetes/test/test_storage_v1_api.py index add4e1e8c0..a643c0c50e 100644 --- a/kubernetes/test/test_storage_v1_api.py +++ b/kubernetes/test/test_storage_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -36,6 +36,14 @@ def test_create_storage_class(self): Test case for create_storage_class + """ + pass + + def test_create_volume_attachment(self): + """ + Test case for create_volume_attachment + + """ pass @@ -44,6 +52,14 @@ def test_delete_collection_storage_class(self): Test case for delete_collection_storage_class + """ + pass + + def test_delete_collection_volume_attachment(self): + """ + Test case for delete_collection_volume_attachment + + """ pass @@ -52,6 +68,14 @@ def test_delete_storage_class(self): Test case for delete_storage_class + """ + pass + + def test_delete_volume_attachment(self): + """ + Test case for delete_volume_attachment + + """ pass @@ -68,6 +92,14 @@ def test_list_storage_class(self): Test case for list_storage_class + """ + pass + + def test_list_volume_attachment(self): + """ + Test case for list_volume_attachment + + """ pass @@ -76,6 +108,22 @@ def test_patch_storage_class(self): Test case for patch_storage_class + """ + pass + + def test_patch_volume_attachment(self): + """ + Test case for patch_volume_attachment + + + """ + pass + + def test_patch_volume_attachment_status(self): + """ + Test case for patch_volume_attachment_status + + """ pass @@ -84,6 +132,22 @@ def test_read_storage_class(self): Test case for read_storage_class + """ + pass + + def test_read_volume_attachment(self): + """ + Test case for read_volume_attachment + + + """ + pass + + def test_read_volume_attachment_status(self): + """ + Test case for read_volume_attachment_status + + """ pass @@ -92,6 +156,22 @@ def test_replace_storage_class(self): Test case for replace_storage_class + """ + pass + + def test_replace_volume_attachment(self): + """ + Test case for replace_volume_attachment + + + """ + pass + + def test_replace_volume_attachment_status(self): + """ + Test case for replace_volume_attachment_status + + """ pass diff --git a/kubernetes/test/test_storage_v1alpha1_api.py b/kubernetes/test/test_storage_v1alpha1_api.py index cb10792950..c869172537 100644 --- a/kubernetes/test/test_storage_v1alpha1_api.py +++ b/kubernetes/test/test_storage_v1alpha1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_storage_v1beta1_api.py b/kubernetes/test/test_storage_v1beta1_api.py index abb1d24ad6..7566ac3d1a 100644 --- a/kubernetes/test/test_storage_v1beta1_api.py +++ b/kubernetes/test/test_storage_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_affinity.py b/kubernetes/test/test_v1_affinity.py index 82090bbd6d..edaa7d4150 100644 --- a/kubernetes/test/test_v1_affinity.py +++ b/kubernetes/test/test_v1_affinity.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_aggregation_rule.py b/kubernetes/test/test_v1_aggregation_rule.py index 78d0d3d8bf..6465ccf79f 100644 --- a/kubernetes/test/test_v1_aggregation_rule.py +++ b/kubernetes/test/test_v1_aggregation_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_api_group.py b/kubernetes/test/test_v1_api_group.py index aa591e52fe..233db3c783 100644 --- a/kubernetes/test/test_v1_api_group.py +++ b/kubernetes/test/test_v1_api_group.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_api_group_list.py b/kubernetes/test/test_v1_api_group_list.py index bc9aabdaad..45b2d6a803 100644 --- a/kubernetes/test/test_v1_api_group_list.py +++ b/kubernetes/test/test_v1_api_group_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_api_resource.py b/kubernetes/test/test_v1_api_resource.py index 3fba2b0376..527b9c7e4e 100644 --- a/kubernetes/test/test_v1_api_resource.py +++ b/kubernetes/test/test_v1_api_resource.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_api_resource_list.py b/kubernetes/test/test_v1_api_resource_list.py index 2e27f6c21a..412499d296 100644 --- a/kubernetes/test/test_v1_api_resource_list.py +++ b/kubernetes/test/test_v1_api_resource_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_api_service.py b/kubernetes/test/test_v1_api_service.py index c24a425331..fe693bacf9 100644 --- a/kubernetes/test/test_v1_api_service.py +++ b/kubernetes/test/test_v1_api_service.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_api_service_condition.py b/kubernetes/test/test_v1_api_service_condition.py index b075956036..d592c914a3 100644 --- a/kubernetes/test/test_v1_api_service_condition.py +++ b/kubernetes/test/test_v1_api_service_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_api_service_list.py b/kubernetes/test/test_v1_api_service_list.py index 77eb08b71e..08bb7ff2fa 100644 --- a/kubernetes/test/test_v1_api_service_list.py +++ b/kubernetes/test/test_v1_api_service_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_api_service_spec.py b/kubernetes/test/test_v1_api_service_spec.py index 9a57abd7ad..3d48713633 100644 --- a/kubernetes/test/test_v1_api_service_spec.py +++ b/kubernetes/test/test_v1_api_service_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_api_service_status.py b/kubernetes/test/test_v1_api_service_status.py index 8bbf35b1ae..168663d543 100644 --- a/kubernetes/test/test_v1_api_service_status.py +++ b/kubernetes/test/test_v1_api_service_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_api_versions.py b/kubernetes/test/test_v1_api_versions.py index 931d080a52..d616dcab48 100644 --- a/kubernetes/test/test_v1_api_versions.py +++ b/kubernetes/test/test_v1_api_versions.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_attached_volume.py b/kubernetes/test/test_v1_attached_volume.py index 0487cbb0be..7147f06fe1 100644 --- a/kubernetes/test/test_v1_attached_volume.py +++ b/kubernetes/test/test_v1_attached_volume.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_aws_elastic_block_store_volume_source.py b/kubernetes/test/test_v1_aws_elastic_block_store_volume_source.py index c69b96a285..6798e130be 100644 --- a/kubernetes/test/test_v1_aws_elastic_block_store_volume_source.py +++ b/kubernetes/test/test_v1_aws_elastic_block_store_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_azure_disk_volume_source.py b/kubernetes/test/test_v1_azure_disk_volume_source.py index a3aee6f5af..e4ce19b0a8 100644 --- a/kubernetes/test/test_v1_azure_disk_volume_source.py +++ b/kubernetes/test/test_v1_azure_disk_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_azure_file_persistent_volume_source.py b/kubernetes/test/test_v1_azure_file_persistent_volume_source.py index 37516e45f1..dfaae466e2 100644 --- a/kubernetes/test/test_v1_azure_file_persistent_volume_source.py +++ b/kubernetes/test/test_v1_azure_file_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_azure_file_volume_source.py b/kubernetes/test/test_v1_azure_file_volume_source.py index 9e3a2895c3..4d5e4aec00 100644 --- a/kubernetes/test/test_v1_azure_file_volume_source.py +++ b/kubernetes/test/test_v1_azure_file_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_binding.py b/kubernetes/test/test_v1_binding.py index b3ef6ac1c3..081090befc 100644 --- a/kubernetes/test/test_v1_binding.py +++ b/kubernetes/test/test_v1_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_capabilities.py b/kubernetes/test/test_v1_capabilities.py index 46dcd8007f..e31bf9e790 100644 --- a/kubernetes/test/test_v1_capabilities.py +++ b/kubernetes/test/test_v1_capabilities.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_ceph_fs_persistent_volume_source.py b/kubernetes/test/test_v1_ceph_fs_persistent_volume_source.py index 4ffc038d67..a23b7106c5 100644 --- a/kubernetes/test/test_v1_ceph_fs_persistent_volume_source.py +++ b/kubernetes/test/test_v1_ceph_fs_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_ceph_fs_volume_source.py b/kubernetes/test/test_v1_ceph_fs_volume_source.py index bb8e07d72a..7fd9e0313b 100644 --- a/kubernetes/test/test_v1_ceph_fs_volume_source.py +++ b/kubernetes/test/test_v1_ceph_fs_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_cinder_persistent_volume_source.py b/kubernetes/test/test_v1_cinder_persistent_volume_source.py index 16c099ef05..d1e86d6c3e 100644 --- a/kubernetes/test/test_v1_cinder_persistent_volume_source.py +++ b/kubernetes/test/test_v1_cinder_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_cinder_volume_source.py b/kubernetes/test/test_v1_cinder_volume_source.py index 0297b77e9c..225365aa4f 100644 --- a/kubernetes/test/test_v1_cinder_volume_source.py +++ b/kubernetes/test/test_v1_cinder_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_client_ip_config.py b/kubernetes/test/test_v1_client_ip_config.py index 2c1a3db60f..49072b2070 100644 --- a/kubernetes/test/test_v1_client_ip_config.py +++ b/kubernetes/test/test_v1_client_ip_config.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_cluster_role.py b/kubernetes/test/test_v1_cluster_role.py index 885d5d629c..77d40b0ff9 100644 --- a/kubernetes/test/test_v1_cluster_role.py +++ b/kubernetes/test/test_v1_cluster_role.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_cluster_role_binding.py b/kubernetes/test/test_v1_cluster_role_binding.py index f7120f42fc..50314ba8b7 100644 --- a/kubernetes/test/test_v1_cluster_role_binding.py +++ b/kubernetes/test/test_v1_cluster_role_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_cluster_role_binding_list.py b/kubernetes/test/test_v1_cluster_role_binding_list.py index a4107316ec..28baae5c5a 100644 --- a/kubernetes/test/test_v1_cluster_role_binding_list.py +++ b/kubernetes/test/test_v1_cluster_role_binding_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_cluster_role_list.py b/kubernetes/test/test_v1_cluster_role_list.py index 5731d3517d..08ce34fb24 100644 --- a/kubernetes/test/test_v1_cluster_role_list.py +++ b/kubernetes/test/test_v1_cluster_role_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_component_condition.py b/kubernetes/test/test_v1_component_condition.py index 542d836b45..f8d890b134 100644 --- a/kubernetes/test/test_v1_component_condition.py +++ b/kubernetes/test/test_v1_component_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_component_status.py b/kubernetes/test/test_v1_component_status.py index 08646b1e32..f90538819b 100644 --- a/kubernetes/test/test_v1_component_status.py +++ b/kubernetes/test/test_v1_component_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_component_status_list.py b/kubernetes/test/test_v1_component_status_list.py index 1da646f023..4668ab3997 100644 --- a/kubernetes/test/test_v1_component_status_list.py +++ b/kubernetes/test/test_v1_component_status_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_config_map.py b/kubernetes/test/test_v1_config_map.py index b5af4e5d03..99a7b0320b 100644 --- a/kubernetes/test/test_v1_config_map.py +++ b/kubernetes/test/test_v1_config_map.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_config_map_env_source.py b/kubernetes/test/test_v1_config_map_env_source.py index 2af70e9fa6..a8ef4033b8 100644 --- a/kubernetes/test/test_v1_config_map_env_source.py +++ b/kubernetes/test/test_v1_config_map_env_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_config_map_key_selector.py b/kubernetes/test/test_v1_config_map_key_selector.py index 7b46abbbfc..04cca471dc 100644 --- a/kubernetes/test/test_v1_config_map_key_selector.py +++ b/kubernetes/test/test_v1_config_map_key_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_config_map_list.py b/kubernetes/test/test_v1_config_map_list.py index cf0c97d96a..379f5f9065 100644 --- a/kubernetes/test/test_v1_config_map_list.py +++ b/kubernetes/test/test_v1_config_map_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_config_map_node_config_source.py b/kubernetes/test/test_v1_config_map_node_config_source.py index d7a5e0befc..b7d255ea39 100644 --- a/kubernetes/test/test_v1_config_map_node_config_source.py +++ b/kubernetes/test/test_v1_config_map_node_config_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_config_map_projection.py b/kubernetes/test/test_v1_config_map_projection.py index eea6849fbe..697c877657 100644 --- a/kubernetes/test/test_v1_config_map_projection.py +++ b/kubernetes/test/test_v1_config_map_projection.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_config_map_volume_source.py b/kubernetes/test/test_v1_config_map_volume_source.py index 06a501ca81..a6fc906c3e 100644 --- a/kubernetes/test/test_v1_config_map_volume_source.py +++ b/kubernetes/test/test_v1_config_map_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_container.py b/kubernetes/test/test_v1_container.py index 4dd5e9200a..e6593eac27 100644 --- a/kubernetes/test/test_v1_container.py +++ b/kubernetes/test/test_v1_container.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_container_image.py b/kubernetes/test/test_v1_container_image.py index a5dae7f9a1..c322465525 100644 --- a/kubernetes/test/test_v1_container_image.py +++ b/kubernetes/test/test_v1_container_image.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_container_port.py b/kubernetes/test/test_v1_container_port.py index d4cb458982..c12dd5d7ca 100644 --- a/kubernetes/test/test_v1_container_port.py +++ b/kubernetes/test/test_v1_container_port.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_container_state.py b/kubernetes/test/test_v1_container_state.py index 85f6bbbb10..f9f3e8541e 100644 --- a/kubernetes/test/test_v1_container_state.py +++ b/kubernetes/test/test_v1_container_state.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_container_state_running.py b/kubernetes/test/test_v1_container_state_running.py index b1b6689e47..2ca9562db3 100644 --- a/kubernetes/test/test_v1_container_state_running.py +++ b/kubernetes/test/test_v1_container_state_running.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_container_state_terminated.py b/kubernetes/test/test_v1_container_state_terminated.py index 8e04d19769..0e3a4574db 100644 --- a/kubernetes/test/test_v1_container_state_terminated.py +++ b/kubernetes/test/test_v1_container_state_terminated.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_container_state_waiting.py b/kubernetes/test/test_v1_container_state_waiting.py index 3b32f09a4d..18bca2c6a7 100644 --- a/kubernetes/test/test_v1_container_state_waiting.py +++ b/kubernetes/test/test_v1_container_state_waiting.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_container_status.py b/kubernetes/test/test_v1_container_status.py index 865409dc1b..d3f0328b95 100644 --- a/kubernetes/test/test_v1_container_status.py +++ b/kubernetes/test/test_v1_container_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_controller_revision.py b/kubernetes/test/test_v1_controller_revision.py index d362fe6e50..6901a6f1c1 100644 --- a/kubernetes/test/test_v1_controller_revision.py +++ b/kubernetes/test/test_v1_controller_revision.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_controller_revision_list.py b/kubernetes/test/test_v1_controller_revision_list.py index dbfb131014..ad02b56371 100644 --- a/kubernetes/test/test_v1_controller_revision_list.py +++ b/kubernetes/test/test_v1_controller_revision_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_cross_version_object_reference.py b/kubernetes/test/test_v1_cross_version_object_reference.py index a299828c77..4bdb4e2dbf 100644 --- a/kubernetes/test/test_v1_cross_version_object_reference.py +++ b/kubernetes/test/test_v1_cross_version_object_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_csi_persistent_volume_source.py b/kubernetes/test/test_v1_csi_persistent_volume_source.py index ff351c53c7..696b5b84c9 100644 --- a/kubernetes/test/test_v1_csi_persistent_volume_source.py +++ b/kubernetes/test/test_v1_csi_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_daemon_endpoint.py b/kubernetes/test/test_v1_daemon_endpoint.py index 022885f3ce..f30372edc2 100644 --- a/kubernetes/test/test_v1_daemon_endpoint.py +++ b/kubernetes/test/test_v1_daemon_endpoint.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_daemon_set.py b/kubernetes/test/test_v1_daemon_set.py index 3a17cef779..8d5c5e40e0 100644 --- a/kubernetes/test/test_v1_daemon_set.py +++ b/kubernetes/test/test_v1_daemon_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_daemon_set_condition.py b/kubernetes/test/test_v1_daemon_set_condition.py index 5fa6b4957a..ab54f2cc85 100644 --- a/kubernetes/test/test_v1_daemon_set_condition.py +++ b/kubernetes/test/test_v1_daemon_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_daemon_set_list.py b/kubernetes/test/test_v1_daemon_set_list.py index fca8ba0f1d..4c33d3b199 100644 --- a/kubernetes/test/test_v1_daemon_set_list.py +++ b/kubernetes/test/test_v1_daemon_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_daemon_set_spec.py b/kubernetes/test/test_v1_daemon_set_spec.py index 53d3d5464c..249d05140b 100644 --- a/kubernetes/test/test_v1_daemon_set_spec.py +++ b/kubernetes/test/test_v1_daemon_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_daemon_set_status.py b/kubernetes/test/test_v1_daemon_set_status.py index 5ba5f569f9..a08666a707 100644 --- a/kubernetes/test/test_v1_daemon_set_status.py +++ b/kubernetes/test/test_v1_daemon_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_daemon_set_update_strategy.py b/kubernetes/test/test_v1_daemon_set_update_strategy.py index 0f64b70fd2..9f4d75779a 100644 --- a/kubernetes/test/test_v1_daemon_set_update_strategy.py +++ b/kubernetes/test/test_v1_daemon_set_update_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_delete_options.py b/kubernetes/test/test_v1_delete_options.py index feaaf111b3..fa885710a6 100644 --- a/kubernetes/test/test_v1_delete_options.py +++ b/kubernetes/test/test_v1_delete_options.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_deployment.py b/kubernetes/test/test_v1_deployment.py index 00a79cfffa..7051e470ab 100644 --- a/kubernetes/test/test_v1_deployment.py +++ b/kubernetes/test/test_v1_deployment.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_deployment_condition.py b/kubernetes/test/test_v1_deployment_condition.py index 9eca85b6b5..1e2e83e3e2 100644 --- a/kubernetes/test/test_v1_deployment_condition.py +++ b/kubernetes/test/test_v1_deployment_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_deployment_list.py b/kubernetes/test/test_v1_deployment_list.py index cbe1604bcb..8b777bec1c 100644 --- a/kubernetes/test/test_v1_deployment_list.py +++ b/kubernetes/test/test_v1_deployment_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_deployment_spec.py b/kubernetes/test/test_v1_deployment_spec.py index e18904a732..45e00d35e2 100644 --- a/kubernetes/test/test_v1_deployment_spec.py +++ b/kubernetes/test/test_v1_deployment_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_deployment_status.py b/kubernetes/test/test_v1_deployment_status.py index 7995a557ef..eea9fadbe4 100644 --- a/kubernetes/test/test_v1_deployment_status.py +++ b/kubernetes/test/test_v1_deployment_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_deployment_strategy.py b/kubernetes/test/test_v1_deployment_strategy.py index 014332a114..0ab922e406 100644 --- a/kubernetes/test/test_v1_deployment_strategy.py +++ b/kubernetes/test/test_v1_deployment_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_downward_api_projection.py b/kubernetes/test/test_v1_downward_api_projection.py index 8268ff902b..c619e2a312 100644 --- a/kubernetes/test/test_v1_downward_api_projection.py +++ b/kubernetes/test/test_v1_downward_api_projection.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_downward_api_volume_file.py b/kubernetes/test/test_v1_downward_api_volume_file.py index ffff75013a..15cf7e2d7c 100644 --- a/kubernetes/test/test_v1_downward_api_volume_file.py +++ b/kubernetes/test/test_v1_downward_api_volume_file.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_downward_api_volume_source.py b/kubernetes/test/test_v1_downward_api_volume_source.py index 247a328c57..b0e9bea7c6 100644 --- a/kubernetes/test/test_v1_downward_api_volume_source.py +++ b/kubernetes/test/test_v1_downward_api_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_empty_dir_volume_source.py b/kubernetes/test/test_v1_empty_dir_volume_source.py index 9319f84520..442cb97c44 100644 --- a/kubernetes/test/test_v1_empty_dir_volume_source.py +++ b/kubernetes/test/test_v1_empty_dir_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_endpoint_address.py b/kubernetes/test/test_v1_endpoint_address.py index 7640dd4856..c7bee934e3 100644 --- a/kubernetes/test/test_v1_endpoint_address.py +++ b/kubernetes/test/test_v1_endpoint_address.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_endpoint_port.py b/kubernetes/test/test_v1_endpoint_port.py index edad4fb007..674a6384a7 100644 --- a/kubernetes/test/test_v1_endpoint_port.py +++ b/kubernetes/test/test_v1_endpoint_port.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_endpoint_subset.py b/kubernetes/test/test_v1_endpoint_subset.py index a8041a683c..6d08836ca1 100644 --- a/kubernetes/test/test_v1_endpoint_subset.py +++ b/kubernetes/test/test_v1_endpoint_subset.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_endpoints.py b/kubernetes/test/test_v1_endpoints.py index f1d2307281..d605787085 100644 --- a/kubernetes/test/test_v1_endpoints.py +++ b/kubernetes/test/test_v1_endpoints.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_endpoints_list.py b/kubernetes/test/test_v1_endpoints_list.py index d239448b7e..f2d6d4ee82 100644 --- a/kubernetes/test/test_v1_endpoints_list.py +++ b/kubernetes/test/test_v1_endpoints_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_env_from_source.py b/kubernetes/test/test_v1_env_from_source.py index 9ec1079ff4..94f868f53a 100644 --- a/kubernetes/test/test_v1_env_from_source.py +++ b/kubernetes/test/test_v1_env_from_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_env_var.py b/kubernetes/test/test_v1_env_var.py index 7f70bdecd2..ffd8025842 100644 --- a/kubernetes/test/test_v1_env_var.py +++ b/kubernetes/test/test_v1_env_var.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_env_var_source.py b/kubernetes/test/test_v1_env_var_source.py index 8ffebc8784..837e0af618 100644 --- a/kubernetes/test/test_v1_env_var_source.py +++ b/kubernetes/test/test_v1_env_var_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_event.py b/kubernetes/test/test_v1_event.py index 94ea5fada1..21ef271e15 100644 --- a/kubernetes/test/test_v1_event.py +++ b/kubernetes/test/test_v1_event.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_event_list.py b/kubernetes/test/test_v1_event_list.py index aa0351a069..c0dd24a928 100644 --- a/kubernetes/test/test_v1_event_list.py +++ b/kubernetes/test/test_v1_event_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_event_series.py b/kubernetes/test/test_v1_event_series.py index d74764fc64..3bf4cc095e 100644 --- a/kubernetes/test/test_v1_event_series.py +++ b/kubernetes/test/test_v1_event_series.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_event_source.py b/kubernetes/test/test_v1_event_source.py index 53af1cd594..27635faf7d 100644 --- a/kubernetes/test/test_v1_event_source.py +++ b/kubernetes/test/test_v1_event_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_exec_action.py b/kubernetes/test/test_v1_exec_action.py index 304d04bcac..e0dce4454d 100644 --- a/kubernetes/test/test_v1_exec_action.py +++ b/kubernetes/test/test_v1_exec_action.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_fc_volume_source.py b/kubernetes/test/test_v1_fc_volume_source.py index 28647d9d2a..553beb7899 100644 --- a/kubernetes/test/test_v1_fc_volume_source.py +++ b/kubernetes/test/test_v1_fc_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_flex_persistent_volume_source.py b/kubernetes/test/test_v1_flex_persistent_volume_source.py index ecbc97a98f..69ad6004d2 100644 --- a/kubernetes/test/test_v1_flex_persistent_volume_source.py +++ b/kubernetes/test/test_v1_flex_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_flex_volume_source.py b/kubernetes/test/test_v1_flex_volume_source.py index 744f57569b..f197055464 100644 --- a/kubernetes/test/test_v1_flex_volume_source.py +++ b/kubernetes/test/test_v1_flex_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_flocker_volume_source.py b/kubernetes/test/test_v1_flocker_volume_source.py index 76978d0f7b..fb7bd708ee 100644 --- a/kubernetes/test/test_v1_flocker_volume_source.py +++ b/kubernetes/test/test_v1_flocker_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_gce_persistent_disk_volume_source.py b/kubernetes/test/test_v1_gce_persistent_disk_volume_source.py index f9a2f89763..5a007f3758 100644 --- a/kubernetes/test/test_v1_gce_persistent_disk_volume_source.py +++ b/kubernetes/test/test_v1_gce_persistent_disk_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_git_repo_volume_source.py b/kubernetes/test/test_v1_git_repo_volume_source.py index 2b3b79b80c..45068fa5b1 100644 --- a/kubernetes/test/test_v1_git_repo_volume_source.py +++ b/kubernetes/test/test_v1_git_repo_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_glusterfs_persistent_volume_source.py b/kubernetes/test/test_v1_glusterfs_persistent_volume_source.py new file mode 100644 index 0000000000..1b28cc65c3 --- /dev/null +++ b/kubernetes/test/test_v1_glusterfs_persistent_volume_source.py @@ -0,0 +1,44 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.13.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1_glusterfs_persistent_volume_source import V1GlusterfsPersistentVolumeSource + + +class TestV1GlusterfsPersistentVolumeSource(unittest.TestCase): + """ V1GlusterfsPersistentVolumeSource unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1GlusterfsPersistentVolumeSource(self): + """ + Test V1GlusterfsPersistentVolumeSource + """ + # FIXME: construct object with mandatory attributes with example values + #model = kubernetes.client.models.v1_glusterfs_persistent_volume_source.V1GlusterfsPersistentVolumeSource() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_glusterfs_volume_source.py b/kubernetes/test/test_v1_glusterfs_volume_source.py index 048a2cf48e..229ba9c38d 100644 --- a/kubernetes/test/test_v1_glusterfs_volume_source.py +++ b/kubernetes/test/test_v1_glusterfs_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_group_version_for_discovery.py b/kubernetes/test/test_v1_group_version_for_discovery.py index b586aa58f9..eb3649d68d 100644 --- a/kubernetes/test/test_v1_group_version_for_discovery.py +++ b/kubernetes/test/test_v1_group_version_for_discovery.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_handler.py b/kubernetes/test/test_v1_handler.py index a413be9d14..0229f0aaf4 100644 --- a/kubernetes/test/test_v1_handler.py +++ b/kubernetes/test/test_v1_handler.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_horizontal_pod_autoscaler.py b/kubernetes/test/test_v1_horizontal_pod_autoscaler.py index 220a67d725..f76a6cde1e 100644 --- a/kubernetes/test/test_v1_horizontal_pod_autoscaler.py +++ b/kubernetes/test/test_v1_horizontal_pod_autoscaler.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_horizontal_pod_autoscaler_list.py b/kubernetes/test/test_v1_horizontal_pod_autoscaler_list.py index 7f3fd99233..9d759096d5 100644 --- a/kubernetes/test/test_v1_horizontal_pod_autoscaler_list.py +++ b/kubernetes/test/test_v1_horizontal_pod_autoscaler_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_horizontal_pod_autoscaler_spec.py b/kubernetes/test/test_v1_horizontal_pod_autoscaler_spec.py index f441a1dedb..29b51900b0 100644 --- a/kubernetes/test/test_v1_horizontal_pod_autoscaler_spec.py +++ b/kubernetes/test/test_v1_horizontal_pod_autoscaler_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_horizontal_pod_autoscaler_status.py b/kubernetes/test/test_v1_horizontal_pod_autoscaler_status.py index 11405ea454..4e51f7cb31 100644 --- a/kubernetes/test/test_v1_horizontal_pod_autoscaler_status.py +++ b/kubernetes/test/test_v1_horizontal_pod_autoscaler_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_host_alias.py b/kubernetes/test/test_v1_host_alias.py index 4beda5a80d..b37ac6517b 100644 --- a/kubernetes/test/test_v1_host_alias.py +++ b/kubernetes/test/test_v1_host_alias.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_host_path_volume_source.py b/kubernetes/test/test_v1_host_path_volume_source.py index ca984dd328..bc30f7c775 100644 --- a/kubernetes/test/test_v1_host_path_volume_source.py +++ b/kubernetes/test/test_v1_host_path_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_http_get_action.py b/kubernetes/test/test_v1_http_get_action.py index c16a114ee1..3a5186b101 100644 --- a/kubernetes/test/test_v1_http_get_action.py +++ b/kubernetes/test/test_v1_http_get_action.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_http_header.py b/kubernetes/test/test_v1_http_header.py index d3ae4a5a94..a0924f2685 100644 --- a/kubernetes/test/test_v1_http_header.py +++ b/kubernetes/test/test_v1_http_header.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_initializer.py b/kubernetes/test/test_v1_initializer.py index 737c4d50b4..5327ed49c2 100644 --- a/kubernetes/test/test_v1_initializer.py +++ b/kubernetes/test/test_v1_initializer.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_initializers.py b/kubernetes/test/test_v1_initializers.py index f9aeb7c3f3..1dc22a617f 100644 --- a/kubernetes/test/test_v1_initializers.py +++ b/kubernetes/test/test_v1_initializers.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_ip_block.py b/kubernetes/test/test_v1_ip_block.py index 4a8be6af67..7fd85bf0a7 100644 --- a/kubernetes/test/test_v1_ip_block.py +++ b/kubernetes/test/test_v1_ip_block.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_iscsi_persistent_volume_source.py b/kubernetes/test/test_v1_iscsi_persistent_volume_source.py index 33265f91e6..c916c2894f 100644 --- a/kubernetes/test/test_v1_iscsi_persistent_volume_source.py +++ b/kubernetes/test/test_v1_iscsi_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_iscsi_volume_source.py b/kubernetes/test/test_v1_iscsi_volume_source.py index 80201beaf8..d6e18a69e0 100644 --- a/kubernetes/test/test_v1_iscsi_volume_source.py +++ b/kubernetes/test/test_v1_iscsi_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_job.py b/kubernetes/test/test_v1_job.py index f609552b64..ec205938ff 100644 --- a/kubernetes/test/test_v1_job.py +++ b/kubernetes/test/test_v1_job.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_job_condition.py b/kubernetes/test/test_v1_job_condition.py index 975f5eacf8..70799e4af6 100644 --- a/kubernetes/test/test_v1_job_condition.py +++ b/kubernetes/test/test_v1_job_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_job_list.py b/kubernetes/test/test_v1_job_list.py index d311d4b12b..45c8f5e280 100644 --- a/kubernetes/test/test_v1_job_list.py +++ b/kubernetes/test/test_v1_job_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_job_spec.py b/kubernetes/test/test_v1_job_spec.py index 7e7019cdc5..3c6f41440e 100644 --- a/kubernetes/test/test_v1_job_spec.py +++ b/kubernetes/test/test_v1_job_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_job_status.py b/kubernetes/test/test_v1_job_status.py index 280e2aabe5..900d867cc1 100644 --- a/kubernetes/test/test_v1_job_status.py +++ b/kubernetes/test/test_v1_job_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_key_to_path.py b/kubernetes/test/test_v1_key_to_path.py index 84a7522fa9..73092fbb7d 100644 --- a/kubernetes/test/test_v1_key_to_path.py +++ b/kubernetes/test/test_v1_key_to_path.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_label_selector.py b/kubernetes/test/test_v1_label_selector.py index 82afb6fa01..8dcecd7ac7 100644 --- a/kubernetes/test/test_v1_label_selector.py +++ b/kubernetes/test/test_v1_label_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_label_selector_requirement.py b/kubernetes/test/test_v1_label_selector_requirement.py index d33729d276..11f11ed4fa 100644 --- a/kubernetes/test/test_v1_label_selector_requirement.py +++ b/kubernetes/test/test_v1_label_selector_requirement.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_lifecycle.py b/kubernetes/test/test_v1_lifecycle.py index 91dd483907..64c66dbfca 100644 --- a/kubernetes/test/test_v1_lifecycle.py +++ b/kubernetes/test/test_v1_lifecycle.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_limit_range.py b/kubernetes/test/test_v1_limit_range.py index 6f47b3998a..68a9c1e677 100644 --- a/kubernetes/test/test_v1_limit_range.py +++ b/kubernetes/test/test_v1_limit_range.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_limit_range_item.py b/kubernetes/test/test_v1_limit_range_item.py index 8f5b0c8748..8c0820d931 100644 --- a/kubernetes/test/test_v1_limit_range_item.py +++ b/kubernetes/test/test_v1_limit_range_item.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_limit_range_list.py b/kubernetes/test/test_v1_limit_range_list.py index 81e95fd34c..bedea55d0a 100644 --- a/kubernetes/test/test_v1_limit_range_list.py +++ b/kubernetes/test/test_v1_limit_range_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_limit_range_spec.py b/kubernetes/test/test_v1_limit_range_spec.py index acc582291b..89089c9def 100644 --- a/kubernetes/test/test_v1_limit_range_spec.py +++ b/kubernetes/test/test_v1_limit_range_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_list_meta.py b/kubernetes/test/test_v1_list_meta.py index d6eb4951a4..ed91d1674a 100644 --- a/kubernetes/test/test_v1_list_meta.py +++ b/kubernetes/test/test_v1_list_meta.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_load_balancer_ingress.py b/kubernetes/test/test_v1_load_balancer_ingress.py index f209dbccab..9fe0c709ca 100644 --- a/kubernetes/test/test_v1_load_balancer_ingress.py +++ b/kubernetes/test/test_v1_load_balancer_ingress.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_load_balancer_status.py b/kubernetes/test/test_v1_load_balancer_status.py index aa13b7ce8e..9b44f2328a 100644 --- a/kubernetes/test/test_v1_load_balancer_status.py +++ b/kubernetes/test/test_v1_load_balancer_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_local_object_reference.py b/kubernetes/test/test_v1_local_object_reference.py index a7c371d9f0..2ccdd0dd4b 100644 --- a/kubernetes/test/test_v1_local_object_reference.py +++ b/kubernetes/test/test_v1_local_object_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_local_subject_access_review.py b/kubernetes/test/test_v1_local_subject_access_review.py index 7e840b7413..cbeb094b53 100644 --- a/kubernetes/test/test_v1_local_subject_access_review.py +++ b/kubernetes/test/test_v1_local_subject_access_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_local_volume_source.py b/kubernetes/test/test_v1_local_volume_source.py index 795175bcb7..c5e54bec4a 100644 --- a/kubernetes/test/test_v1_local_volume_source.py +++ b/kubernetes/test/test_v1_local_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_namespace.py b/kubernetes/test/test_v1_namespace.py index b5ae82ddc7..46ffe1ae90 100644 --- a/kubernetes/test/test_v1_namespace.py +++ b/kubernetes/test/test_v1_namespace.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_namespace_list.py b/kubernetes/test/test_v1_namespace_list.py index 545285374e..c6c6399873 100644 --- a/kubernetes/test/test_v1_namespace_list.py +++ b/kubernetes/test/test_v1_namespace_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_namespace_spec.py b/kubernetes/test/test_v1_namespace_spec.py index 7e2f0ff4ac..6eeaba96cd 100644 --- a/kubernetes/test/test_v1_namespace_spec.py +++ b/kubernetes/test/test_v1_namespace_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_namespace_status.py b/kubernetes/test/test_v1_namespace_status.py index 53325f2f50..82056465b4 100644 --- a/kubernetes/test/test_v1_namespace_status.py +++ b/kubernetes/test/test_v1_namespace_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_network_policy.py b/kubernetes/test/test_v1_network_policy.py index 63b59e15d5..c211bff01c 100644 --- a/kubernetes/test/test_v1_network_policy.py +++ b/kubernetes/test/test_v1_network_policy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_network_policy_egress_rule.py b/kubernetes/test/test_v1_network_policy_egress_rule.py index 21834d8da4..28bcbdf8b4 100644 --- a/kubernetes/test/test_v1_network_policy_egress_rule.py +++ b/kubernetes/test/test_v1_network_policy_egress_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_network_policy_ingress_rule.py b/kubernetes/test/test_v1_network_policy_ingress_rule.py index 721f1c9aa8..783e482290 100644 --- a/kubernetes/test/test_v1_network_policy_ingress_rule.py +++ b/kubernetes/test/test_v1_network_policy_ingress_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_network_policy_list.py b/kubernetes/test/test_v1_network_policy_list.py index 5192ae039f..19f5841447 100644 --- a/kubernetes/test/test_v1_network_policy_list.py +++ b/kubernetes/test/test_v1_network_policy_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_network_policy_peer.py b/kubernetes/test/test_v1_network_policy_peer.py index cc95860820..e75dcf5aa5 100644 --- a/kubernetes/test/test_v1_network_policy_peer.py +++ b/kubernetes/test/test_v1_network_policy_peer.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_network_policy_port.py b/kubernetes/test/test_v1_network_policy_port.py index db8708efd8..38f46b26af 100644 --- a/kubernetes/test/test_v1_network_policy_port.py +++ b/kubernetes/test/test_v1_network_policy_port.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_network_policy_spec.py b/kubernetes/test/test_v1_network_policy_spec.py index 2f4966a3f6..a2938191c6 100644 --- a/kubernetes/test/test_v1_network_policy_spec.py +++ b/kubernetes/test/test_v1_network_policy_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_nfs_volume_source.py b/kubernetes/test/test_v1_nfs_volume_source.py index 21a178429f..e038cfe6ff 100644 --- a/kubernetes/test/test_v1_nfs_volume_source.py +++ b/kubernetes/test/test_v1_nfs_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_node.py b/kubernetes/test/test_v1_node.py index 0b1f2caee0..1d3433e250 100644 --- a/kubernetes/test/test_v1_node.py +++ b/kubernetes/test/test_v1_node.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_node_address.py b/kubernetes/test/test_v1_node_address.py index 68b4c638b2..f48ad5d6f9 100644 --- a/kubernetes/test/test_v1_node_address.py +++ b/kubernetes/test/test_v1_node_address.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_node_affinity.py b/kubernetes/test/test_v1_node_affinity.py index 1a079c003a..dded1f82f3 100644 --- a/kubernetes/test/test_v1_node_affinity.py +++ b/kubernetes/test/test_v1_node_affinity.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_node_condition.py b/kubernetes/test/test_v1_node_condition.py index 9af21e3de6..14ba9581b1 100644 --- a/kubernetes/test/test_v1_node_condition.py +++ b/kubernetes/test/test_v1_node_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_node_config_source.py b/kubernetes/test/test_v1_node_config_source.py index f10a004f99..5a33423293 100644 --- a/kubernetes/test/test_v1_node_config_source.py +++ b/kubernetes/test/test_v1_node_config_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_node_config_status.py b/kubernetes/test/test_v1_node_config_status.py index 5f69eccea2..50a9a11064 100644 --- a/kubernetes/test/test_v1_node_config_status.py +++ b/kubernetes/test/test_v1_node_config_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_node_daemon_endpoints.py b/kubernetes/test/test_v1_node_daemon_endpoints.py index 58409298f0..906af8bf59 100644 --- a/kubernetes/test/test_v1_node_daemon_endpoints.py +++ b/kubernetes/test/test_v1_node_daemon_endpoints.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_node_list.py b/kubernetes/test/test_v1_node_list.py index e34f679310..896869f7e6 100644 --- a/kubernetes/test/test_v1_node_list.py +++ b/kubernetes/test/test_v1_node_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_node_selector.py b/kubernetes/test/test_v1_node_selector.py index 6f93954393..ef50d04b1b 100644 --- a/kubernetes/test/test_v1_node_selector.py +++ b/kubernetes/test/test_v1_node_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_node_selector_requirement.py b/kubernetes/test/test_v1_node_selector_requirement.py index cd790ff480..84016e836d 100644 --- a/kubernetes/test/test_v1_node_selector_requirement.py +++ b/kubernetes/test/test_v1_node_selector_requirement.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_node_selector_term.py b/kubernetes/test/test_v1_node_selector_term.py index bb5df9cc54..cb1536ca1a 100644 --- a/kubernetes/test/test_v1_node_selector_term.py +++ b/kubernetes/test/test_v1_node_selector_term.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_node_spec.py b/kubernetes/test/test_v1_node_spec.py index 54afc8b78b..9d3b8a47f7 100644 --- a/kubernetes/test/test_v1_node_spec.py +++ b/kubernetes/test/test_v1_node_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_node_status.py b/kubernetes/test/test_v1_node_status.py index 3499cec622..03421cf390 100644 --- a/kubernetes/test/test_v1_node_status.py +++ b/kubernetes/test/test_v1_node_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_node_system_info.py b/kubernetes/test/test_v1_node_system_info.py index 9bc899fdc3..ba0a855257 100644 --- a/kubernetes/test/test_v1_node_system_info.py +++ b/kubernetes/test/test_v1_node_system_info.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_non_resource_attributes.py b/kubernetes/test/test_v1_non_resource_attributes.py index 04656eb9ca..d8684069a7 100644 --- a/kubernetes/test/test_v1_non_resource_attributes.py +++ b/kubernetes/test/test_v1_non_resource_attributes.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_non_resource_rule.py b/kubernetes/test/test_v1_non_resource_rule.py index 5d4762b6c0..0c9c2920ee 100644 --- a/kubernetes/test/test_v1_non_resource_rule.py +++ b/kubernetes/test/test_v1_non_resource_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_object_field_selector.py b/kubernetes/test/test_v1_object_field_selector.py index 414c2a4907..72f0444cbf 100644 --- a/kubernetes/test/test_v1_object_field_selector.py +++ b/kubernetes/test/test_v1_object_field_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_object_meta.py b/kubernetes/test/test_v1_object_meta.py index e2835cdcbe..822ca3383f 100644 --- a/kubernetes/test/test_v1_object_meta.py +++ b/kubernetes/test/test_v1_object_meta.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_object_reference.py b/kubernetes/test/test_v1_object_reference.py index af6e47aa1a..502e24d157 100644 --- a/kubernetes/test/test_v1_object_reference.py +++ b/kubernetes/test/test_v1_object_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_owner_reference.py b/kubernetes/test/test_v1_owner_reference.py index 20bd51fddb..60033171d0 100644 --- a/kubernetes/test/test_v1_owner_reference.py +++ b/kubernetes/test/test_v1_owner_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_persistent_volume.py b/kubernetes/test/test_v1_persistent_volume.py index 9fbcaa528b..5b4fb2d161 100644 --- a/kubernetes/test/test_v1_persistent_volume.py +++ b/kubernetes/test/test_v1_persistent_volume.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_persistent_volume_claim.py b/kubernetes/test/test_v1_persistent_volume_claim.py index 113b08e687..8bca026ab4 100644 --- a/kubernetes/test/test_v1_persistent_volume_claim.py +++ b/kubernetes/test/test_v1_persistent_volume_claim.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_persistent_volume_claim_condition.py b/kubernetes/test/test_v1_persistent_volume_claim_condition.py index 68a697bffc..ca701ce4c1 100644 --- a/kubernetes/test/test_v1_persistent_volume_claim_condition.py +++ b/kubernetes/test/test_v1_persistent_volume_claim_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_persistent_volume_claim_list.py b/kubernetes/test/test_v1_persistent_volume_claim_list.py index 416d10f2df..49598c18a0 100644 --- a/kubernetes/test/test_v1_persistent_volume_claim_list.py +++ b/kubernetes/test/test_v1_persistent_volume_claim_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_persistent_volume_claim_spec.py b/kubernetes/test/test_v1_persistent_volume_claim_spec.py index 03d997aa38..47df625bd2 100644 --- a/kubernetes/test/test_v1_persistent_volume_claim_spec.py +++ b/kubernetes/test/test_v1_persistent_volume_claim_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_persistent_volume_claim_status.py b/kubernetes/test/test_v1_persistent_volume_claim_status.py index 68e028b684..2ebb7f08c6 100644 --- a/kubernetes/test/test_v1_persistent_volume_claim_status.py +++ b/kubernetes/test/test_v1_persistent_volume_claim_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_persistent_volume_claim_volume_source.py b/kubernetes/test/test_v1_persistent_volume_claim_volume_source.py index 3b57026d25..791be7f4ca 100644 --- a/kubernetes/test/test_v1_persistent_volume_claim_volume_source.py +++ b/kubernetes/test/test_v1_persistent_volume_claim_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_persistent_volume_list.py b/kubernetes/test/test_v1_persistent_volume_list.py index e7770991be..234eba1f6f 100644 --- a/kubernetes/test/test_v1_persistent_volume_list.py +++ b/kubernetes/test/test_v1_persistent_volume_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_persistent_volume_spec.py b/kubernetes/test/test_v1_persistent_volume_spec.py index b34a2f184b..3a1a054e21 100644 --- a/kubernetes/test/test_v1_persistent_volume_spec.py +++ b/kubernetes/test/test_v1_persistent_volume_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_persistent_volume_status.py b/kubernetes/test/test_v1_persistent_volume_status.py index 47d8e4ba43..55fd48d9c0 100644 --- a/kubernetes/test/test_v1_persistent_volume_status.py +++ b/kubernetes/test/test_v1_persistent_volume_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_photon_persistent_disk_volume_source.py b/kubernetes/test/test_v1_photon_persistent_disk_volume_source.py index c7957e4749..2431bfa8e7 100644 --- a/kubernetes/test/test_v1_photon_persistent_disk_volume_source.py +++ b/kubernetes/test/test_v1_photon_persistent_disk_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_pod.py b/kubernetes/test/test_v1_pod.py index 10f81f7aba..aad562ec14 100644 --- a/kubernetes/test/test_v1_pod.py +++ b/kubernetes/test/test_v1_pod.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_pod_affinity.py b/kubernetes/test/test_v1_pod_affinity.py index c1b2d1fa90..c87243ea47 100644 --- a/kubernetes/test/test_v1_pod_affinity.py +++ b/kubernetes/test/test_v1_pod_affinity.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_pod_affinity_term.py b/kubernetes/test/test_v1_pod_affinity_term.py index 802e0fda2a..68b3d60bda 100644 --- a/kubernetes/test/test_v1_pod_affinity_term.py +++ b/kubernetes/test/test_v1_pod_affinity_term.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_pod_anti_affinity.py b/kubernetes/test/test_v1_pod_anti_affinity.py index af4f8ea32f..0a9aa4c655 100644 --- a/kubernetes/test/test_v1_pod_anti_affinity.py +++ b/kubernetes/test/test_v1_pod_anti_affinity.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_pod_condition.py b/kubernetes/test/test_v1_pod_condition.py index e19afe8ee1..d36e4c2625 100644 --- a/kubernetes/test/test_v1_pod_condition.py +++ b/kubernetes/test/test_v1_pod_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_pod_dns_config.py b/kubernetes/test/test_v1_pod_dns_config.py index 44ef8b7471..b04642fb5a 100644 --- a/kubernetes/test/test_v1_pod_dns_config.py +++ b/kubernetes/test/test_v1_pod_dns_config.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_pod_dns_config_option.py b/kubernetes/test/test_v1_pod_dns_config_option.py index 8b7c147fd2..3140accf49 100644 --- a/kubernetes/test/test_v1_pod_dns_config_option.py +++ b/kubernetes/test/test_v1_pod_dns_config_option.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_pod_list.py b/kubernetes/test/test_v1_pod_list.py index 5aad71e4df..6265b3d3b3 100644 --- a/kubernetes/test/test_v1_pod_list.py +++ b/kubernetes/test/test_v1_pod_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_pod_readiness_gate.py b/kubernetes/test/test_v1_pod_readiness_gate.py index f91efb27aa..85adfa9ab8 100644 --- a/kubernetes/test/test_v1_pod_readiness_gate.py +++ b/kubernetes/test/test_v1_pod_readiness_gate.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_pod_security_context.py b/kubernetes/test/test_v1_pod_security_context.py index d44f7c523d..07e0624bae 100644 --- a/kubernetes/test/test_v1_pod_security_context.py +++ b/kubernetes/test/test_v1_pod_security_context.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_pod_spec.py b/kubernetes/test/test_v1_pod_spec.py index acf0985d9b..fd044324cb 100644 --- a/kubernetes/test/test_v1_pod_spec.py +++ b/kubernetes/test/test_v1_pod_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_pod_status.py b/kubernetes/test/test_v1_pod_status.py index 1ce48467a5..491ae69b0e 100644 --- a/kubernetes/test/test_v1_pod_status.py +++ b/kubernetes/test/test_v1_pod_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_pod_template.py b/kubernetes/test/test_v1_pod_template.py index eefe28e268..fbb3d3d55a 100644 --- a/kubernetes/test/test_v1_pod_template.py +++ b/kubernetes/test/test_v1_pod_template.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_pod_template_list.py b/kubernetes/test/test_v1_pod_template_list.py index be602725d8..a175cfd24e 100644 --- a/kubernetes/test/test_v1_pod_template_list.py +++ b/kubernetes/test/test_v1_pod_template_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_pod_template_spec.py b/kubernetes/test/test_v1_pod_template_spec.py index acccef44e0..a233434cdf 100644 --- a/kubernetes/test/test_v1_pod_template_spec.py +++ b/kubernetes/test/test_v1_pod_template_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_policy_rule.py b/kubernetes/test/test_v1_policy_rule.py index 479a06fdaa..af237c0f82 100644 --- a/kubernetes/test/test_v1_policy_rule.py +++ b/kubernetes/test/test_v1_policy_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_portworx_volume_source.py b/kubernetes/test/test_v1_portworx_volume_source.py index cecc291f12..5a74fedaf9 100644 --- a/kubernetes/test/test_v1_portworx_volume_source.py +++ b/kubernetes/test/test_v1_portworx_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_preconditions.py b/kubernetes/test/test_v1_preconditions.py index f6d9a2a821..21c91c392b 100644 --- a/kubernetes/test/test_v1_preconditions.py +++ b/kubernetes/test/test_v1_preconditions.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_preferred_scheduling_term.py b/kubernetes/test/test_v1_preferred_scheduling_term.py index 917b84dbf6..12b6dd9da9 100644 --- a/kubernetes/test/test_v1_preferred_scheduling_term.py +++ b/kubernetes/test/test_v1_preferred_scheduling_term.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_probe.py b/kubernetes/test/test_v1_probe.py index 94c4301965..2012f16fc9 100644 --- a/kubernetes/test/test_v1_probe.py +++ b/kubernetes/test/test_v1_probe.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_projected_volume_source.py b/kubernetes/test/test_v1_projected_volume_source.py index 3cf7a7b1fc..5af364b1a7 100644 --- a/kubernetes/test/test_v1_projected_volume_source.py +++ b/kubernetes/test/test_v1_projected_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_quobyte_volume_source.py b/kubernetes/test/test_v1_quobyte_volume_source.py index 05bbddd8f3..47da68b8aa 100644 --- a/kubernetes/test/test_v1_quobyte_volume_source.py +++ b/kubernetes/test/test_v1_quobyte_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_rbd_persistent_volume_source.py b/kubernetes/test/test_v1_rbd_persistent_volume_source.py index 2d29f9dd91..6db1fc363a 100644 --- a/kubernetes/test/test_v1_rbd_persistent_volume_source.py +++ b/kubernetes/test/test_v1_rbd_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_rbd_volume_source.py b/kubernetes/test/test_v1_rbd_volume_source.py index 42c02bc088..41765477a3 100644 --- a/kubernetes/test/test_v1_rbd_volume_source.py +++ b/kubernetes/test/test_v1_rbd_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_replica_set.py b/kubernetes/test/test_v1_replica_set.py index 60f32b8ed5..3f4adbe82a 100644 --- a/kubernetes/test/test_v1_replica_set.py +++ b/kubernetes/test/test_v1_replica_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_replica_set_condition.py b/kubernetes/test/test_v1_replica_set_condition.py index 33cae6c979..a6a76d8401 100644 --- a/kubernetes/test/test_v1_replica_set_condition.py +++ b/kubernetes/test/test_v1_replica_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_replica_set_list.py b/kubernetes/test/test_v1_replica_set_list.py index 5267328b00..830f9a03b4 100644 --- a/kubernetes/test/test_v1_replica_set_list.py +++ b/kubernetes/test/test_v1_replica_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_replica_set_spec.py b/kubernetes/test/test_v1_replica_set_spec.py index 05a3dac024..24e003e470 100644 --- a/kubernetes/test/test_v1_replica_set_spec.py +++ b/kubernetes/test/test_v1_replica_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_replica_set_status.py b/kubernetes/test/test_v1_replica_set_status.py index bf96ae5f7f..cd7f5ece59 100644 --- a/kubernetes/test/test_v1_replica_set_status.py +++ b/kubernetes/test/test_v1_replica_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_replication_controller.py b/kubernetes/test/test_v1_replication_controller.py index fea23150cd..2479ce0108 100644 --- a/kubernetes/test/test_v1_replication_controller.py +++ b/kubernetes/test/test_v1_replication_controller.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_replication_controller_condition.py b/kubernetes/test/test_v1_replication_controller_condition.py index cb13a79cc1..3e060dd551 100644 --- a/kubernetes/test/test_v1_replication_controller_condition.py +++ b/kubernetes/test/test_v1_replication_controller_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_replication_controller_list.py b/kubernetes/test/test_v1_replication_controller_list.py index 7d190708e8..4e230476a0 100644 --- a/kubernetes/test/test_v1_replication_controller_list.py +++ b/kubernetes/test/test_v1_replication_controller_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_replication_controller_spec.py b/kubernetes/test/test_v1_replication_controller_spec.py index 88536df817..e2511bd0fa 100644 --- a/kubernetes/test/test_v1_replication_controller_spec.py +++ b/kubernetes/test/test_v1_replication_controller_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_replication_controller_status.py b/kubernetes/test/test_v1_replication_controller_status.py index d0c17235bb..58fc43b646 100644 --- a/kubernetes/test/test_v1_replication_controller_status.py +++ b/kubernetes/test/test_v1_replication_controller_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_resource_attributes.py b/kubernetes/test/test_v1_resource_attributes.py index 674e56f2e1..a2cea58391 100644 --- a/kubernetes/test/test_v1_resource_attributes.py +++ b/kubernetes/test/test_v1_resource_attributes.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_resource_field_selector.py b/kubernetes/test/test_v1_resource_field_selector.py index acf264e79f..1647568912 100644 --- a/kubernetes/test/test_v1_resource_field_selector.py +++ b/kubernetes/test/test_v1_resource_field_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_resource_quota.py b/kubernetes/test/test_v1_resource_quota.py index baed02d1e4..9cf87ffdb5 100644 --- a/kubernetes/test/test_v1_resource_quota.py +++ b/kubernetes/test/test_v1_resource_quota.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_resource_quota_list.py b/kubernetes/test/test_v1_resource_quota_list.py index 281ca82522..47036985e2 100644 --- a/kubernetes/test/test_v1_resource_quota_list.py +++ b/kubernetes/test/test_v1_resource_quota_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_resource_quota_spec.py b/kubernetes/test/test_v1_resource_quota_spec.py index c67e50fb8a..70347b94aa 100644 --- a/kubernetes/test/test_v1_resource_quota_spec.py +++ b/kubernetes/test/test_v1_resource_quota_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_resource_quota_status.py b/kubernetes/test/test_v1_resource_quota_status.py index 3959f899b0..50a077434a 100644 --- a/kubernetes/test/test_v1_resource_quota_status.py +++ b/kubernetes/test/test_v1_resource_quota_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_resource_requirements.py b/kubernetes/test/test_v1_resource_requirements.py index f0921cefd4..d8e4452dea 100644 --- a/kubernetes/test/test_v1_resource_requirements.py +++ b/kubernetes/test/test_v1_resource_requirements.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_resource_rule.py b/kubernetes/test/test_v1_resource_rule.py index 32494a7e25..3164c41a6c 100644 --- a/kubernetes/test/test_v1_resource_rule.py +++ b/kubernetes/test/test_v1_resource_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_role.py b/kubernetes/test/test_v1_role.py index 93b4597e57..8bcc26adb9 100644 --- a/kubernetes/test/test_v1_role.py +++ b/kubernetes/test/test_v1_role.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_role_binding.py b/kubernetes/test/test_v1_role_binding.py index 6096828c9a..73e0b5df58 100644 --- a/kubernetes/test/test_v1_role_binding.py +++ b/kubernetes/test/test_v1_role_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_role_binding_list.py b/kubernetes/test/test_v1_role_binding_list.py index 4b54bdba2c..c384caa79b 100644 --- a/kubernetes/test/test_v1_role_binding_list.py +++ b/kubernetes/test/test_v1_role_binding_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_role_list.py b/kubernetes/test/test_v1_role_list.py index 03820c6d7b..12a9756e54 100644 --- a/kubernetes/test/test_v1_role_list.py +++ b/kubernetes/test/test_v1_role_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_role_ref.py b/kubernetes/test/test_v1_role_ref.py index e9997f3817..41c2400189 100644 --- a/kubernetes/test/test_v1_role_ref.py +++ b/kubernetes/test/test_v1_role_ref.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_rolling_update_daemon_set.py b/kubernetes/test/test_v1_rolling_update_daemon_set.py index 088ceba88c..ca708afd35 100644 --- a/kubernetes/test/test_v1_rolling_update_daemon_set.py +++ b/kubernetes/test/test_v1_rolling_update_daemon_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_rolling_update_deployment.py b/kubernetes/test/test_v1_rolling_update_deployment.py index e3bd706c7c..88bccb092e 100644 --- a/kubernetes/test/test_v1_rolling_update_deployment.py +++ b/kubernetes/test/test_v1_rolling_update_deployment.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_rolling_update_stateful_set_strategy.py b/kubernetes/test/test_v1_rolling_update_stateful_set_strategy.py index 38dfc0159d..9faa73d40d 100644 --- a/kubernetes/test/test_v1_rolling_update_stateful_set_strategy.py +++ b/kubernetes/test/test_v1_rolling_update_stateful_set_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_scale.py b/kubernetes/test/test_v1_scale.py index 81a34402eb..4800995718 100644 --- a/kubernetes/test/test_v1_scale.py +++ b/kubernetes/test/test_v1_scale.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_scale_io_persistent_volume_source.py b/kubernetes/test/test_v1_scale_io_persistent_volume_source.py index a7d6c84a2c..7901fd13db 100644 --- a/kubernetes/test/test_v1_scale_io_persistent_volume_source.py +++ b/kubernetes/test/test_v1_scale_io_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_scale_io_volume_source.py b/kubernetes/test/test_v1_scale_io_volume_source.py index eda0d853ac..790b9cc97d 100644 --- a/kubernetes/test/test_v1_scale_io_volume_source.py +++ b/kubernetes/test/test_v1_scale_io_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_scale_spec.py b/kubernetes/test/test_v1_scale_spec.py index fe9f6e2be6..94c82bdf7b 100644 --- a/kubernetes/test/test_v1_scale_spec.py +++ b/kubernetes/test/test_v1_scale_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_scale_status.py b/kubernetes/test/test_v1_scale_status.py index e2cf20485d..0ac30b4667 100644 --- a/kubernetes/test/test_v1_scale_status.py +++ b/kubernetes/test/test_v1_scale_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_scope_selector.py b/kubernetes/test/test_v1_scope_selector.py index ae9783fd3f..b64d9d76e6 100644 --- a/kubernetes/test/test_v1_scope_selector.py +++ b/kubernetes/test/test_v1_scope_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_scoped_resource_selector_requirement.py b/kubernetes/test/test_v1_scoped_resource_selector_requirement.py index b4934d652f..efe042b99b 100644 --- a/kubernetes/test/test_v1_scoped_resource_selector_requirement.py +++ b/kubernetes/test/test_v1_scoped_resource_selector_requirement.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_se_linux_options.py b/kubernetes/test/test_v1_se_linux_options.py index 5b8abe710c..677975ceac 100644 --- a/kubernetes/test/test_v1_se_linux_options.py +++ b/kubernetes/test/test_v1_se_linux_options.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_secret.py b/kubernetes/test/test_v1_secret.py index 35256d6e35..4116c98025 100644 --- a/kubernetes/test/test_v1_secret.py +++ b/kubernetes/test/test_v1_secret.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_secret_env_source.py b/kubernetes/test/test_v1_secret_env_source.py index 12b831d794..a6048b3d0f 100644 --- a/kubernetes/test/test_v1_secret_env_source.py +++ b/kubernetes/test/test_v1_secret_env_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_secret_key_selector.py b/kubernetes/test/test_v1_secret_key_selector.py index 60f578991d..2a0201fe90 100644 --- a/kubernetes/test/test_v1_secret_key_selector.py +++ b/kubernetes/test/test_v1_secret_key_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_secret_list.py b/kubernetes/test/test_v1_secret_list.py index 6fdd1f9ab7..34cb938cda 100644 --- a/kubernetes/test/test_v1_secret_list.py +++ b/kubernetes/test/test_v1_secret_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_secret_projection.py b/kubernetes/test/test_v1_secret_projection.py index 6a5406f4d3..0d6ae6e81d 100644 --- a/kubernetes/test/test_v1_secret_projection.py +++ b/kubernetes/test/test_v1_secret_projection.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_secret_reference.py b/kubernetes/test/test_v1_secret_reference.py index 6d17a822a0..b8762cbc74 100644 --- a/kubernetes/test/test_v1_secret_reference.py +++ b/kubernetes/test/test_v1_secret_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_secret_volume_source.py b/kubernetes/test/test_v1_secret_volume_source.py index d65f8a7b50..bcf398dc62 100644 --- a/kubernetes/test/test_v1_secret_volume_source.py +++ b/kubernetes/test/test_v1_secret_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_security_context.py b/kubernetes/test/test_v1_security_context.py index 2064d9b448..674ed2fa5a 100644 --- a/kubernetes/test/test_v1_security_context.py +++ b/kubernetes/test/test_v1_security_context.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_self_subject_access_review.py b/kubernetes/test/test_v1_self_subject_access_review.py index eb6828d03d..7c5e5ee6b9 100644 --- a/kubernetes/test/test_v1_self_subject_access_review.py +++ b/kubernetes/test/test_v1_self_subject_access_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_self_subject_access_review_spec.py b/kubernetes/test/test_v1_self_subject_access_review_spec.py index 707779e4a7..f80e9e9145 100644 --- a/kubernetes/test/test_v1_self_subject_access_review_spec.py +++ b/kubernetes/test/test_v1_self_subject_access_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_self_subject_rules_review.py b/kubernetes/test/test_v1_self_subject_rules_review.py index 6415eccf36..454e7598a4 100644 --- a/kubernetes/test/test_v1_self_subject_rules_review.py +++ b/kubernetes/test/test_v1_self_subject_rules_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_self_subject_rules_review_spec.py b/kubernetes/test/test_v1_self_subject_rules_review_spec.py index f07d045784..44eee70322 100644 --- a/kubernetes/test/test_v1_self_subject_rules_review_spec.py +++ b/kubernetes/test/test_v1_self_subject_rules_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_server_address_by_client_cidr.py b/kubernetes/test/test_v1_server_address_by_client_cidr.py index cfd0941166..953b9d6b4c 100644 --- a/kubernetes/test/test_v1_server_address_by_client_cidr.py +++ b/kubernetes/test/test_v1_server_address_by_client_cidr.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_service.py b/kubernetes/test/test_v1_service.py index 4f9fe47fcc..7c02eddc1b 100644 --- a/kubernetes/test/test_v1_service.py +++ b/kubernetes/test/test_v1_service.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_service_account.py b/kubernetes/test/test_v1_service_account.py index bef00bc140..7aa8c9384c 100644 --- a/kubernetes/test/test_v1_service_account.py +++ b/kubernetes/test/test_v1_service_account.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_service_account_list.py b/kubernetes/test/test_v1_service_account_list.py index 36638669d1..1dc3843773 100644 --- a/kubernetes/test/test_v1_service_account_list.py +++ b/kubernetes/test/test_v1_service_account_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_service_account_token_projection.py b/kubernetes/test/test_v1_service_account_token_projection.py index 086b630cf1..43d6e9c4eb 100644 --- a/kubernetes/test/test_v1_service_account_token_projection.py +++ b/kubernetes/test/test_v1_service_account_token_projection.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_service_list.py b/kubernetes/test/test_v1_service_list.py index 451d9291b1..cd416f3e1c 100644 --- a/kubernetes/test/test_v1_service_list.py +++ b/kubernetes/test/test_v1_service_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_service_port.py b/kubernetes/test/test_v1_service_port.py index 78d0123d41..b751618acf 100644 --- a/kubernetes/test/test_v1_service_port.py +++ b/kubernetes/test/test_v1_service_port.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_service_reference.py b/kubernetes/test/test_v1_service_reference.py index 1dd456bac1..7387273169 100644 --- a/kubernetes/test/test_v1_service_reference.py +++ b/kubernetes/test/test_v1_service_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_service_spec.py b/kubernetes/test/test_v1_service_spec.py index 845271ce0c..21b1ad7caa 100644 --- a/kubernetes/test/test_v1_service_spec.py +++ b/kubernetes/test/test_v1_service_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_service_status.py b/kubernetes/test/test_v1_service_status.py index b944526776..775bbaaa76 100644 --- a/kubernetes/test/test_v1_service_status.py +++ b/kubernetes/test/test_v1_service_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_session_affinity_config.py b/kubernetes/test/test_v1_session_affinity_config.py index 104ed0a395..0512497806 100644 --- a/kubernetes/test/test_v1_session_affinity_config.py +++ b/kubernetes/test/test_v1_session_affinity_config.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_stateful_set.py b/kubernetes/test/test_v1_stateful_set.py index d436497ad9..9ff7d76e85 100644 --- a/kubernetes/test/test_v1_stateful_set.py +++ b/kubernetes/test/test_v1_stateful_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_stateful_set_condition.py b/kubernetes/test/test_v1_stateful_set_condition.py index 96123d8970..0fcaf51fa4 100644 --- a/kubernetes/test/test_v1_stateful_set_condition.py +++ b/kubernetes/test/test_v1_stateful_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_stateful_set_list.py b/kubernetes/test/test_v1_stateful_set_list.py index 5c1a00359f..6f655d93e2 100644 --- a/kubernetes/test/test_v1_stateful_set_list.py +++ b/kubernetes/test/test_v1_stateful_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_stateful_set_spec.py b/kubernetes/test/test_v1_stateful_set_spec.py index 6619b746c3..28841f9c9a 100644 --- a/kubernetes/test/test_v1_stateful_set_spec.py +++ b/kubernetes/test/test_v1_stateful_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_stateful_set_status.py b/kubernetes/test/test_v1_stateful_set_status.py index 95e1493f00..3353af185f 100644 --- a/kubernetes/test/test_v1_stateful_set_status.py +++ b/kubernetes/test/test_v1_stateful_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_stateful_set_update_strategy.py b/kubernetes/test/test_v1_stateful_set_update_strategy.py index 9517112844..d3db2a2c20 100644 --- a/kubernetes/test/test_v1_stateful_set_update_strategy.py +++ b/kubernetes/test/test_v1_stateful_set_update_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_status.py b/kubernetes/test/test_v1_status.py index 3af3db4891..d63cf48b5b 100644 --- a/kubernetes/test/test_v1_status.py +++ b/kubernetes/test/test_v1_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_status_cause.py b/kubernetes/test/test_v1_status_cause.py index f135411bee..6fc26c5ff9 100644 --- a/kubernetes/test/test_v1_status_cause.py +++ b/kubernetes/test/test_v1_status_cause.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_status_details.py b/kubernetes/test/test_v1_status_details.py index 25a62c5d86..ded1d16989 100644 --- a/kubernetes/test/test_v1_status_details.py +++ b/kubernetes/test/test_v1_status_details.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_storage_class.py b/kubernetes/test/test_v1_storage_class.py index 9e7e3072b6..564aab9825 100644 --- a/kubernetes/test/test_v1_storage_class.py +++ b/kubernetes/test/test_v1_storage_class.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_storage_class_list.py b/kubernetes/test/test_v1_storage_class_list.py index 676759166a..4180873214 100644 --- a/kubernetes/test/test_v1_storage_class_list.py +++ b/kubernetes/test/test_v1_storage_class_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_storage_os_persistent_volume_source.py b/kubernetes/test/test_v1_storage_os_persistent_volume_source.py index a62b8594f4..f41ea3fb4e 100644 --- a/kubernetes/test/test_v1_storage_os_persistent_volume_source.py +++ b/kubernetes/test/test_v1_storage_os_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_storage_os_volume_source.py b/kubernetes/test/test_v1_storage_os_volume_source.py index 0198532c81..cfa6c60d1d 100644 --- a/kubernetes/test/test_v1_storage_os_volume_source.py +++ b/kubernetes/test/test_v1_storage_os_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_subject.py b/kubernetes/test/test_v1_subject.py index 4a049f3bb9..7792932915 100644 --- a/kubernetes/test/test_v1_subject.py +++ b/kubernetes/test/test_v1_subject.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_subject_access_review.py b/kubernetes/test/test_v1_subject_access_review.py index 46d6dbdd5b..e906ffbd7b 100644 --- a/kubernetes/test/test_v1_subject_access_review.py +++ b/kubernetes/test/test_v1_subject_access_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_subject_access_review_spec.py b/kubernetes/test/test_v1_subject_access_review_spec.py index abd5b435c4..497df25578 100644 --- a/kubernetes/test/test_v1_subject_access_review_spec.py +++ b/kubernetes/test/test_v1_subject_access_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_subject_access_review_status.py b/kubernetes/test/test_v1_subject_access_review_status.py index 4a56ce99a4..61b64e04c6 100644 --- a/kubernetes/test/test_v1_subject_access_review_status.py +++ b/kubernetes/test/test_v1_subject_access_review_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_subject_rules_review_status.py b/kubernetes/test/test_v1_subject_rules_review_status.py index cae7e6dde1..64c9bc92c3 100644 --- a/kubernetes/test/test_v1_subject_rules_review_status.py +++ b/kubernetes/test/test_v1_subject_rules_review_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_sysctl.py b/kubernetes/test/test_v1_sysctl.py index f08e9cc049..abf332f765 100644 --- a/kubernetes/test/test_v1_sysctl.py +++ b/kubernetes/test/test_v1_sysctl.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_taint.py b/kubernetes/test/test_v1_taint.py index 1629edde2c..a85a6af092 100644 --- a/kubernetes/test/test_v1_taint.py +++ b/kubernetes/test/test_v1_taint.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_tcp_socket_action.py b/kubernetes/test/test_v1_tcp_socket_action.py index c29001576c..0f21360d21 100644 --- a/kubernetes/test/test_v1_tcp_socket_action.py +++ b/kubernetes/test/test_v1_tcp_socket_action.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_token_review.py b/kubernetes/test/test_v1_token_review.py index e42c240ba6..feff73c57b 100644 --- a/kubernetes/test/test_v1_token_review.py +++ b/kubernetes/test/test_v1_token_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_token_review_spec.py b/kubernetes/test/test_v1_token_review_spec.py index bddf63eb98..2db30218d8 100644 --- a/kubernetes/test/test_v1_token_review_spec.py +++ b/kubernetes/test/test_v1_token_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_token_review_status.py b/kubernetes/test/test_v1_token_review_status.py index 73c75eef72..65ad5c52a2 100644 --- a/kubernetes/test/test_v1_token_review_status.py +++ b/kubernetes/test/test_v1_token_review_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_toleration.py b/kubernetes/test/test_v1_toleration.py index a55325259a..da7dbebf26 100644 --- a/kubernetes/test/test_v1_toleration.py +++ b/kubernetes/test/test_v1_toleration.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_topology_selector_label_requirement.py b/kubernetes/test/test_v1_topology_selector_label_requirement.py index a9f374ccf8..394a416f55 100644 --- a/kubernetes/test/test_v1_topology_selector_label_requirement.py +++ b/kubernetes/test/test_v1_topology_selector_label_requirement.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_topology_selector_term.py b/kubernetes/test/test_v1_topology_selector_term.py index f03accc3a9..a2235c251b 100644 --- a/kubernetes/test/test_v1_topology_selector_term.py +++ b/kubernetes/test/test_v1_topology_selector_term.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_typed_local_object_reference.py b/kubernetes/test/test_v1_typed_local_object_reference.py index 8404fa1ab1..a512d8d66d 100644 --- a/kubernetes/test/test_v1_typed_local_object_reference.py +++ b/kubernetes/test/test_v1_typed_local_object_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_user_info.py b/kubernetes/test/test_v1_user_info.py index ab8490e631..b0dba70fce 100644 --- a/kubernetes/test/test_v1_user_info.py +++ b/kubernetes/test/test_v1_user_info.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_volume.py b/kubernetes/test/test_v1_volume.py index 30a6c9b1cd..416de4a92e 100644 --- a/kubernetes/test/test_v1_volume.py +++ b/kubernetes/test/test_v1_volume.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_webhook_client_config.py b/kubernetes/test/test_v1_volume_attachment.py similarity index 59% rename from kubernetes/test/test_v1beta1_webhook_client_config.py rename to kubernetes/test/test_v1_volume_attachment.py index 84abe0cd02..56c83f2957 100644 --- a/kubernetes/test/test_v1beta1_webhook_client_config.py +++ b/kubernetes/test/test_v1_volume_attachment.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -19,11 +19,11 @@ import kubernetes.client from kubernetes.client.rest import ApiException -from kubernetes.client.models.v1beta1_webhook_client_config import V1beta1WebhookClientConfig +from kubernetes.client.models.v1_volume_attachment import V1VolumeAttachment -class TestV1beta1WebhookClientConfig(unittest.TestCase): - """ V1beta1WebhookClientConfig unit test stubs """ +class TestV1VolumeAttachment(unittest.TestCase): + """ V1VolumeAttachment unit test stubs """ def setUp(self): pass @@ -31,12 +31,12 @@ def setUp(self): def tearDown(self): pass - def testV1beta1WebhookClientConfig(self): + def testV1VolumeAttachment(self): """ - Test V1beta1WebhookClientConfig + Test V1VolumeAttachment """ # FIXME: construct object with mandatory attributes with example values - #model = kubernetes.client.models.v1beta1_webhook_client_config.V1beta1WebhookClientConfig() + #model = kubernetes.client.models.v1_volume_attachment.V1VolumeAttachment() pass diff --git a/kubernetes/test/test_v1_volume_attachment_list.py b/kubernetes/test/test_v1_volume_attachment_list.py new file mode 100644 index 0000000000..198d0689d0 --- /dev/null +++ b/kubernetes/test/test_v1_volume_attachment_list.py @@ -0,0 +1,44 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.13.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1_volume_attachment_list import V1VolumeAttachmentList + + +class TestV1VolumeAttachmentList(unittest.TestCase): + """ V1VolumeAttachmentList unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1VolumeAttachmentList(self): + """ + Test V1VolumeAttachmentList + """ + # FIXME: construct object with mandatory attributes with example values + #model = kubernetes.client.models.v1_volume_attachment_list.V1VolumeAttachmentList() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_volume_attachment_source.py b/kubernetes/test/test_v1_volume_attachment_source.py new file mode 100644 index 0000000000..1a3ad7aa93 --- /dev/null +++ b/kubernetes/test/test_v1_volume_attachment_source.py @@ -0,0 +1,44 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.13.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1_volume_attachment_source import V1VolumeAttachmentSource + + +class TestV1VolumeAttachmentSource(unittest.TestCase): + """ V1VolumeAttachmentSource unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1VolumeAttachmentSource(self): + """ + Test V1VolumeAttachmentSource + """ + # FIXME: construct object with mandatory attributes with example values + #model = kubernetes.client.models.v1_volume_attachment_source.V1VolumeAttachmentSource() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_volume_attachment_spec.py b/kubernetes/test/test_v1_volume_attachment_spec.py new file mode 100644 index 0000000000..58bdfa4f4b --- /dev/null +++ b/kubernetes/test/test_v1_volume_attachment_spec.py @@ -0,0 +1,44 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.13.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1_volume_attachment_spec import V1VolumeAttachmentSpec + + +class TestV1VolumeAttachmentSpec(unittest.TestCase): + """ V1VolumeAttachmentSpec unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1VolumeAttachmentSpec(self): + """ + Test V1VolumeAttachmentSpec + """ + # FIXME: construct object with mandatory attributes with example values + #model = kubernetes.client.models.v1_volume_attachment_spec.V1VolumeAttachmentSpec() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_volume_attachment_status.py b/kubernetes/test/test_v1_volume_attachment_status.py new file mode 100644 index 0000000000..74a5e67008 --- /dev/null +++ b/kubernetes/test/test_v1_volume_attachment_status.py @@ -0,0 +1,44 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.13.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1_volume_attachment_status import V1VolumeAttachmentStatus + + +class TestV1VolumeAttachmentStatus(unittest.TestCase): + """ V1VolumeAttachmentStatus unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1VolumeAttachmentStatus(self): + """ + Test V1VolumeAttachmentStatus + """ + # FIXME: construct object with mandatory attributes with example values + #model = kubernetes.client.models.v1_volume_attachment_status.V1VolumeAttachmentStatus() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_volume_device.py b/kubernetes/test/test_v1_volume_device.py index 50ec9cdb18..c62d1dc9f0 100644 --- a/kubernetes/test/test_v1_volume_device.py +++ b/kubernetes/test/test_v1_volume_device.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_volume_error.py b/kubernetes/test/test_v1_volume_error.py new file mode 100644 index 0000000000..54ffa48770 --- /dev/null +++ b/kubernetes/test/test_v1_volume_error.py @@ -0,0 +1,44 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.13.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1_volume_error import V1VolumeError + + +class TestV1VolumeError(unittest.TestCase): + """ V1VolumeError unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1VolumeError(self): + """ + Test V1VolumeError + """ + # FIXME: construct object with mandatory attributes with example values + #model = kubernetes.client.models.v1_volume_error.V1VolumeError() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_volume_mount.py b/kubernetes/test/test_v1_volume_mount.py index bfbee5cb10..3f23703ed8 100644 --- a/kubernetes/test/test_v1_volume_mount.py +++ b/kubernetes/test/test_v1_volume_mount.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_volume_node_affinity.py b/kubernetes/test/test_v1_volume_node_affinity.py index 9004fdfd9b..0cece3d497 100644 --- a/kubernetes/test/test_v1_volume_node_affinity.py +++ b/kubernetes/test/test_v1_volume_node_affinity.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_volume_projection.py b/kubernetes/test/test_v1_volume_projection.py index 23977aad39..a704728203 100644 --- a/kubernetes/test/test_v1_volume_projection.py +++ b/kubernetes/test/test_v1_volume_projection.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_vsphere_virtual_disk_volume_source.py b/kubernetes/test/test_v1_vsphere_virtual_disk_volume_source.py index ad9ec88b00..a66d4652b7 100644 --- a/kubernetes/test/test_v1_vsphere_virtual_disk_volume_source.py +++ b/kubernetes/test/test_v1_vsphere_virtual_disk_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_watch_event.py b/kubernetes/test/test_v1_watch_event.py index 04ba9b24c5..e951b124dc 100644 --- a/kubernetes/test/test_v1_watch_event.py +++ b/kubernetes/test/test_v1_watch_event.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1_weighted_pod_affinity_term.py b/kubernetes/test/test_v1_weighted_pod_affinity_term.py index 14d1f14fce..4e25185639 100644 --- a/kubernetes/test/test_v1_weighted_pod_affinity_term.py +++ b/kubernetes/test/test_v1_weighted_pod_affinity_term.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_aggregation_rule.py b/kubernetes/test/test_v1alpha1_aggregation_rule.py index 915f0c582d..477aaf3d74 100644 --- a/kubernetes/test/test_v1alpha1_aggregation_rule.py +++ b/kubernetes/test/test_v1alpha1_aggregation_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_audit_sink.py b/kubernetes/test/test_v1alpha1_audit_sink.py new file mode 100644 index 0000000000..4155c758d5 --- /dev/null +++ b/kubernetes/test/test_v1alpha1_audit_sink.py @@ -0,0 +1,44 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.13.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1alpha1_audit_sink import V1alpha1AuditSink + + +class TestV1alpha1AuditSink(unittest.TestCase): + """ V1alpha1AuditSink unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1alpha1AuditSink(self): + """ + Test V1alpha1AuditSink + """ + # FIXME: construct object with mandatory attributes with example values + #model = kubernetes.client.models.v1alpha1_audit_sink.V1alpha1AuditSink() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_audit_sink_list.py b/kubernetes/test/test_v1alpha1_audit_sink_list.py new file mode 100644 index 0000000000..a972818f02 --- /dev/null +++ b/kubernetes/test/test_v1alpha1_audit_sink_list.py @@ -0,0 +1,44 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.13.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1alpha1_audit_sink_list import V1alpha1AuditSinkList + + +class TestV1alpha1AuditSinkList(unittest.TestCase): + """ V1alpha1AuditSinkList unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1alpha1AuditSinkList(self): + """ + Test V1alpha1AuditSinkList + """ + # FIXME: construct object with mandatory attributes with example values + #model = kubernetes.client.models.v1alpha1_audit_sink_list.V1alpha1AuditSinkList() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_audit_sink_spec.py b/kubernetes/test/test_v1alpha1_audit_sink_spec.py new file mode 100644 index 0000000000..05eaefebc1 --- /dev/null +++ b/kubernetes/test/test_v1alpha1_audit_sink_spec.py @@ -0,0 +1,44 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.13.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1alpha1_audit_sink_spec import V1alpha1AuditSinkSpec + + +class TestV1alpha1AuditSinkSpec(unittest.TestCase): + """ V1alpha1AuditSinkSpec unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1alpha1AuditSinkSpec(self): + """ + Test V1alpha1AuditSinkSpec + """ + # FIXME: construct object with mandatory attributes with example values + #model = kubernetes.client.models.v1alpha1_audit_sink_spec.V1alpha1AuditSinkSpec() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_cluster_role.py b/kubernetes/test/test_v1alpha1_cluster_role.py index a0fe9ffb71..84d28bc3e5 100644 --- a/kubernetes/test/test_v1alpha1_cluster_role.py +++ b/kubernetes/test/test_v1alpha1_cluster_role.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_cluster_role_binding.py b/kubernetes/test/test_v1alpha1_cluster_role_binding.py index 46186dec3e..2f3e86e13b 100644 --- a/kubernetes/test/test_v1alpha1_cluster_role_binding.py +++ b/kubernetes/test/test_v1alpha1_cluster_role_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_cluster_role_binding_list.py b/kubernetes/test/test_v1alpha1_cluster_role_binding_list.py index 68c3ccba0e..c389e03f9f 100644 --- a/kubernetes/test/test_v1alpha1_cluster_role_binding_list.py +++ b/kubernetes/test/test_v1alpha1_cluster_role_binding_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_cluster_role_list.py b/kubernetes/test/test_v1alpha1_cluster_role_list.py index e85025dd91..8353806fb6 100644 --- a/kubernetes/test/test_v1alpha1_cluster_role_list.py +++ b/kubernetes/test/test_v1alpha1_cluster_role_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_initializer.py b/kubernetes/test/test_v1alpha1_initializer.py index 2ec5d5794a..caaef90b37 100644 --- a/kubernetes/test/test_v1alpha1_initializer.py +++ b/kubernetes/test/test_v1alpha1_initializer.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_initializer_configuration.py b/kubernetes/test/test_v1alpha1_initializer_configuration.py index c9f834095c..74ae58c0cc 100644 --- a/kubernetes/test/test_v1alpha1_initializer_configuration.py +++ b/kubernetes/test/test_v1alpha1_initializer_configuration.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_initializer_configuration_list.py b/kubernetes/test/test_v1alpha1_initializer_configuration_list.py index af53257b92..9c3c820fc5 100644 --- a/kubernetes/test/test_v1alpha1_initializer_configuration_list.py +++ b/kubernetes/test/test_v1alpha1_initializer_configuration_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_pod_preset.py b/kubernetes/test/test_v1alpha1_pod_preset.py index 0015b83dea..41f5829e1e 100644 --- a/kubernetes/test/test_v1alpha1_pod_preset.py +++ b/kubernetes/test/test_v1alpha1_pod_preset.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_pod_preset_list.py b/kubernetes/test/test_v1alpha1_pod_preset_list.py index a59627f420..c64a0da280 100644 --- a/kubernetes/test/test_v1alpha1_pod_preset_list.py +++ b/kubernetes/test/test_v1alpha1_pod_preset_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_pod_preset_spec.py b/kubernetes/test/test_v1alpha1_pod_preset_spec.py index 508b6e94ea..3b92bf79b0 100644 --- a/kubernetes/test/test_v1alpha1_pod_preset_spec.py +++ b/kubernetes/test/test_v1alpha1_pod_preset_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_policy.py b/kubernetes/test/test_v1alpha1_policy.py new file mode 100644 index 0000000000..3fe8ce4d51 --- /dev/null +++ b/kubernetes/test/test_v1alpha1_policy.py @@ -0,0 +1,44 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.13.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1alpha1_policy import V1alpha1Policy + + +class TestV1alpha1Policy(unittest.TestCase): + """ V1alpha1Policy unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1alpha1Policy(self): + """ + Test V1alpha1Policy + """ + # FIXME: construct object with mandatory attributes with example values + #model = kubernetes.client.models.v1alpha1_policy.V1alpha1Policy() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_policy_rule.py b/kubernetes/test/test_v1alpha1_policy_rule.py index b0e33b106c..ff54b8da3d 100644 --- a/kubernetes/test/test_v1alpha1_policy_rule.py +++ b/kubernetes/test/test_v1alpha1_policy_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_priority_class.py b/kubernetes/test/test_v1alpha1_priority_class.py index bf88a01626..7900402e9d 100644 --- a/kubernetes/test/test_v1alpha1_priority_class.py +++ b/kubernetes/test/test_v1alpha1_priority_class.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_priority_class_list.py b/kubernetes/test/test_v1alpha1_priority_class_list.py index 9e6801b2e0..cdd700579b 100644 --- a/kubernetes/test/test_v1alpha1_priority_class_list.py +++ b/kubernetes/test/test_v1alpha1_priority_class_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_role.py b/kubernetes/test/test_v1alpha1_role.py index 5b7da4c379..35ca396174 100644 --- a/kubernetes/test/test_v1alpha1_role.py +++ b/kubernetes/test/test_v1alpha1_role.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_role_binding.py b/kubernetes/test/test_v1alpha1_role_binding.py index c092c8224b..6015366c54 100644 --- a/kubernetes/test/test_v1alpha1_role_binding.py +++ b/kubernetes/test/test_v1alpha1_role_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_role_binding_list.py b/kubernetes/test/test_v1alpha1_role_binding_list.py index b582b5866c..ff8a8f6ad9 100644 --- a/kubernetes/test/test_v1alpha1_role_binding_list.py +++ b/kubernetes/test/test_v1alpha1_role_binding_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_role_list.py b/kubernetes/test/test_v1alpha1_role_list.py index 84a89195ba..098105d109 100644 --- a/kubernetes/test/test_v1alpha1_role_list.py +++ b/kubernetes/test/test_v1alpha1_role_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_role_ref.py b/kubernetes/test/test_v1alpha1_role_ref.py index 019425d014..6c4d7d7fc6 100644 --- a/kubernetes/test/test_v1alpha1_role_ref.py +++ b/kubernetes/test/test_v1alpha1_role_ref.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_rule.py b/kubernetes/test/test_v1alpha1_rule.py index 0cb5c8c2bc..dd67636717 100644 --- a/kubernetes/test/test_v1alpha1_rule.py +++ b/kubernetes/test/test_v1alpha1_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_service_reference.py b/kubernetes/test/test_v1alpha1_service_reference.py new file mode 100644 index 0000000000..617f331a07 --- /dev/null +++ b/kubernetes/test/test_v1alpha1_service_reference.py @@ -0,0 +1,44 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.13.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1alpha1_service_reference import V1alpha1ServiceReference + + +class TestV1alpha1ServiceReference(unittest.TestCase): + """ V1alpha1ServiceReference unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1alpha1ServiceReference(self): + """ + Test V1alpha1ServiceReference + """ + # FIXME: construct object with mandatory attributes with example values + #model = kubernetes.client.models.v1alpha1_service_reference.V1alpha1ServiceReference() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_subject.py b/kubernetes/test/test_v1alpha1_subject.py index cc2bcc5262..b38aa22f7b 100644 --- a/kubernetes/test/test_v1alpha1_subject.py +++ b/kubernetes/test/test_v1alpha1_subject.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_volume_attachment.py b/kubernetes/test/test_v1alpha1_volume_attachment.py index 3319f4eccc..8163df9273 100644 --- a/kubernetes/test/test_v1alpha1_volume_attachment.py +++ b/kubernetes/test/test_v1alpha1_volume_attachment.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_volume_attachment_list.py b/kubernetes/test/test_v1alpha1_volume_attachment_list.py index f964517cfa..fdc854186b 100644 --- a/kubernetes/test/test_v1alpha1_volume_attachment_list.py +++ b/kubernetes/test/test_v1alpha1_volume_attachment_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_volume_attachment_source.py b/kubernetes/test/test_v1alpha1_volume_attachment_source.py index a571eb7d04..06ee6848d8 100644 --- a/kubernetes/test/test_v1alpha1_volume_attachment_source.py +++ b/kubernetes/test/test_v1alpha1_volume_attachment_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_volume_attachment_spec.py b/kubernetes/test/test_v1alpha1_volume_attachment_spec.py index ad05a31eb1..75b26398b1 100644 --- a/kubernetes/test/test_v1alpha1_volume_attachment_spec.py +++ b/kubernetes/test/test_v1alpha1_volume_attachment_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_volume_attachment_status.py b/kubernetes/test/test_v1alpha1_volume_attachment_status.py index 92c21c1f73..9faefd21e5 100644 --- a/kubernetes/test/test_v1alpha1_volume_attachment_status.py +++ b/kubernetes/test/test_v1alpha1_volume_attachment_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_volume_error.py b/kubernetes/test/test_v1alpha1_volume_error.py index 26684e501f..6d18c67170 100644 --- a/kubernetes/test/test_v1alpha1_volume_error.py +++ b/kubernetes/test/test_v1alpha1_volume_error.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1alpha1_webhook.py b/kubernetes/test/test_v1alpha1_webhook.py new file mode 100644 index 0000000000..8fb2859f19 --- /dev/null +++ b/kubernetes/test/test_v1alpha1_webhook.py @@ -0,0 +1,44 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.13.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1alpha1_webhook import V1alpha1Webhook + + +class TestV1alpha1Webhook(unittest.TestCase): + """ V1alpha1Webhook unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1alpha1Webhook(self): + """ + Test V1alpha1Webhook + """ + # FIXME: construct object with mandatory attributes with example values + #model = kubernetes.client.models.v1alpha1_webhook.V1alpha1Webhook() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_webhook_client_config.py b/kubernetes/test/test_v1alpha1_webhook_client_config.py new file mode 100644 index 0000000000..0b57e061a3 --- /dev/null +++ b/kubernetes/test/test_v1alpha1_webhook_client_config.py @@ -0,0 +1,44 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.13.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1alpha1_webhook_client_config import V1alpha1WebhookClientConfig + + +class TestV1alpha1WebhookClientConfig(unittest.TestCase): + """ V1alpha1WebhookClientConfig unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1alpha1WebhookClientConfig(self): + """ + Test V1alpha1WebhookClientConfig + """ + # FIXME: construct object with mandatory attributes with example values + #model = kubernetes.client.models.v1alpha1_webhook_client_config.V1alpha1WebhookClientConfig() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_webhook_throttle_config.py b/kubernetes/test/test_v1alpha1_webhook_throttle_config.py new file mode 100644 index 0000000000..7a16ec9a59 --- /dev/null +++ b/kubernetes/test/test_v1alpha1_webhook_throttle_config.py @@ -0,0 +1,44 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.13.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1alpha1_webhook_throttle_config import V1alpha1WebhookThrottleConfig + + +class TestV1alpha1WebhookThrottleConfig(unittest.TestCase): + """ V1alpha1WebhookThrottleConfig unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1alpha1WebhookThrottleConfig(self): + """ + Test V1alpha1WebhookThrottleConfig + """ + # FIXME: construct object with mandatory attributes with example values + #model = kubernetes.client.models.v1alpha1_webhook_throttle_config.V1alpha1WebhookThrottleConfig() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_aggregation_rule.py b/kubernetes/test/test_v1beta1_aggregation_rule.py index 2a05e59217..96dda9920c 100644 --- a/kubernetes/test/test_v1beta1_aggregation_rule.py +++ b/kubernetes/test/test_v1beta1_aggregation_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_api_service.py b/kubernetes/test/test_v1beta1_api_service.py index d479e5e3f8..55ef9bf5f9 100644 --- a/kubernetes/test/test_v1beta1_api_service.py +++ b/kubernetes/test/test_v1beta1_api_service.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_api_service_condition.py b/kubernetes/test/test_v1beta1_api_service_condition.py index 1c7e5ad2b0..76ed228981 100644 --- a/kubernetes/test/test_v1beta1_api_service_condition.py +++ b/kubernetes/test/test_v1beta1_api_service_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_api_service_list.py b/kubernetes/test/test_v1beta1_api_service_list.py index 6e66664a6f..a40e4b6ff0 100644 --- a/kubernetes/test/test_v1beta1_api_service_list.py +++ b/kubernetes/test/test_v1beta1_api_service_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_api_service_spec.py b/kubernetes/test/test_v1beta1_api_service_spec.py index 3f2f44f445..3aa2b12071 100644 --- a/kubernetes/test/test_v1beta1_api_service_spec.py +++ b/kubernetes/test/test_v1beta1_api_service_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_api_service_status.py b/kubernetes/test/test_v1beta1_api_service_status.py index 622baaca2d..2624c80715 100644 --- a/kubernetes/test/test_v1beta1_api_service_status.py +++ b/kubernetes/test/test_v1beta1_api_service_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_certificate_signing_request.py b/kubernetes/test/test_v1beta1_certificate_signing_request.py index 855cf7b27a..7406196830 100644 --- a/kubernetes/test/test_v1beta1_certificate_signing_request.py +++ b/kubernetes/test/test_v1beta1_certificate_signing_request.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_certificate_signing_request_condition.py b/kubernetes/test/test_v1beta1_certificate_signing_request_condition.py index 238c89feac..f80d7ce7f2 100644 --- a/kubernetes/test/test_v1beta1_certificate_signing_request_condition.py +++ b/kubernetes/test/test_v1beta1_certificate_signing_request_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_certificate_signing_request_list.py b/kubernetes/test/test_v1beta1_certificate_signing_request_list.py index 80b4540721..0650ac3bbb 100644 --- a/kubernetes/test/test_v1beta1_certificate_signing_request_list.py +++ b/kubernetes/test/test_v1beta1_certificate_signing_request_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_certificate_signing_request_spec.py b/kubernetes/test/test_v1beta1_certificate_signing_request_spec.py index b48ef43d55..34f3d6edac 100644 --- a/kubernetes/test/test_v1beta1_certificate_signing_request_spec.py +++ b/kubernetes/test/test_v1beta1_certificate_signing_request_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_certificate_signing_request_status.py b/kubernetes/test/test_v1beta1_certificate_signing_request_status.py index fcb8caa8bd..29e1c1d7b4 100644 --- a/kubernetes/test/test_v1beta1_certificate_signing_request_status.py +++ b/kubernetes/test/test_v1beta1_certificate_signing_request_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_cluster_role.py b/kubernetes/test/test_v1beta1_cluster_role.py index fb3266f356..ec52348bc2 100644 --- a/kubernetes/test/test_v1beta1_cluster_role.py +++ b/kubernetes/test/test_v1beta1_cluster_role.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_cluster_role_binding.py b/kubernetes/test/test_v1beta1_cluster_role_binding.py index 28c1d6da96..c411fa33fa 100644 --- a/kubernetes/test/test_v1beta1_cluster_role_binding.py +++ b/kubernetes/test/test_v1beta1_cluster_role_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_cluster_role_binding_list.py b/kubernetes/test/test_v1beta1_cluster_role_binding_list.py index c533130cc9..ec65649e7f 100644 --- a/kubernetes/test/test_v1beta1_cluster_role_binding_list.py +++ b/kubernetes/test/test_v1beta1_cluster_role_binding_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_cluster_role_list.py b/kubernetes/test/test_v1beta1_cluster_role_list.py index 0f54649fe6..6f2e364be3 100644 --- a/kubernetes/test/test_v1beta1_cluster_role_list.py +++ b/kubernetes/test/test_v1beta1_cluster_role_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_controller_revision.py b/kubernetes/test/test_v1beta1_controller_revision.py index f57b9db39c..08c59eccdc 100644 --- a/kubernetes/test/test_v1beta1_controller_revision.py +++ b/kubernetes/test/test_v1beta1_controller_revision.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_controller_revision_list.py b/kubernetes/test/test_v1beta1_controller_revision_list.py index 6e15772825..7a4edcbf3a 100644 --- a/kubernetes/test/test_v1beta1_controller_revision_list.py +++ b/kubernetes/test/test_v1beta1_controller_revision_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_cron_job.py b/kubernetes/test/test_v1beta1_cron_job.py index 384a101551..f81fc0ed81 100644 --- a/kubernetes/test/test_v1beta1_cron_job.py +++ b/kubernetes/test/test_v1beta1_cron_job.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_cron_job_list.py b/kubernetes/test/test_v1beta1_cron_job_list.py index 6795215094..aee303b005 100644 --- a/kubernetes/test/test_v1beta1_cron_job_list.py +++ b/kubernetes/test/test_v1beta1_cron_job_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_cron_job_spec.py b/kubernetes/test/test_v1beta1_cron_job_spec.py index b01f07b927..1b1bc0b67d 100644 --- a/kubernetes/test/test_v1beta1_cron_job_spec.py +++ b/kubernetes/test/test_v1beta1_cron_job_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_cron_job_status.py b/kubernetes/test/test_v1beta1_cron_job_status.py index 0d72294ce6..cf787a99ac 100644 --- a/kubernetes/test/test_v1beta1_cron_job_status.py +++ b/kubernetes/test/test_v1beta1_cron_job_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_custom_resource_column_definition.py b/kubernetes/test/test_v1beta1_custom_resource_column_definition.py index c6e3f5c185..7339bbb5a1 100644 --- a/kubernetes/test/test_v1beta1_custom_resource_column_definition.py +++ b/kubernetes/test/test_v1beta1_custom_resource_column_definition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_custom_resource_conversion.py b/kubernetes/test/test_v1beta1_custom_resource_conversion.py new file mode 100644 index 0000000000..3e7ce0cb37 --- /dev/null +++ b/kubernetes/test/test_v1beta1_custom_resource_conversion.py @@ -0,0 +1,44 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.13.1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1beta1_custom_resource_conversion import V1beta1CustomResourceConversion + + +class TestV1beta1CustomResourceConversion(unittest.TestCase): + """ V1beta1CustomResourceConversion unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1beta1CustomResourceConversion(self): + """ + Test V1beta1CustomResourceConversion + """ + # FIXME: construct object with mandatory attributes with example values + #model = kubernetes.client.models.v1beta1_custom_resource_conversion.V1beta1CustomResourceConversion() + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_custom_resource_definition.py b/kubernetes/test/test_v1beta1_custom_resource_definition.py index 5b77ee891f..e493ae1407 100644 --- a/kubernetes/test/test_v1beta1_custom_resource_definition.py +++ b/kubernetes/test/test_v1beta1_custom_resource_definition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_custom_resource_definition_condition.py b/kubernetes/test/test_v1beta1_custom_resource_definition_condition.py index 83b66e70ed..28b9a8abe1 100644 --- a/kubernetes/test/test_v1beta1_custom_resource_definition_condition.py +++ b/kubernetes/test/test_v1beta1_custom_resource_definition_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_custom_resource_definition_list.py b/kubernetes/test/test_v1beta1_custom_resource_definition_list.py index 0a36a043f6..35d550b7b9 100644 --- a/kubernetes/test/test_v1beta1_custom_resource_definition_list.py +++ b/kubernetes/test/test_v1beta1_custom_resource_definition_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_custom_resource_definition_names.py b/kubernetes/test/test_v1beta1_custom_resource_definition_names.py index c563b1088c..67be9e547a 100644 --- a/kubernetes/test/test_v1beta1_custom_resource_definition_names.py +++ b/kubernetes/test/test_v1beta1_custom_resource_definition_names.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_custom_resource_definition_spec.py b/kubernetes/test/test_v1beta1_custom_resource_definition_spec.py index ce3fc2c4df..61ebd85abf 100644 --- a/kubernetes/test/test_v1beta1_custom_resource_definition_spec.py +++ b/kubernetes/test/test_v1beta1_custom_resource_definition_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_custom_resource_definition_status.py b/kubernetes/test/test_v1beta1_custom_resource_definition_status.py index 136986aaac..9dab0ba336 100644 --- a/kubernetes/test/test_v1beta1_custom_resource_definition_status.py +++ b/kubernetes/test/test_v1beta1_custom_resource_definition_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_custom_resource_definition_version.py b/kubernetes/test/test_v1beta1_custom_resource_definition_version.py index 1ecf998ab6..f74ea08d2c 100644 --- a/kubernetes/test/test_v1beta1_custom_resource_definition_version.py +++ b/kubernetes/test/test_v1beta1_custom_resource_definition_version.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_custom_resource_subresource_scale.py b/kubernetes/test/test_v1beta1_custom_resource_subresource_scale.py index 8f5d369e0e..4870ba17b8 100644 --- a/kubernetes/test/test_v1beta1_custom_resource_subresource_scale.py +++ b/kubernetes/test/test_v1beta1_custom_resource_subresource_scale.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_custom_resource_subresources.py b/kubernetes/test/test_v1beta1_custom_resource_subresources.py index af39d61e4d..323b1cc0ca 100644 --- a/kubernetes/test/test_v1beta1_custom_resource_subresources.py +++ b/kubernetes/test/test_v1beta1_custom_resource_subresources.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_custom_resource_validation.py b/kubernetes/test/test_v1beta1_custom_resource_validation.py index 9132dba062..fc378dffac 100644 --- a/kubernetes/test/test_v1beta1_custom_resource_validation.py +++ b/kubernetes/test/test_v1beta1_custom_resource_validation.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_daemon_set.py b/kubernetes/test/test_v1beta1_daemon_set.py index dbb3b45ae3..79cadfe26e 100644 --- a/kubernetes/test/test_v1beta1_daemon_set.py +++ b/kubernetes/test/test_v1beta1_daemon_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_daemon_set_condition.py b/kubernetes/test/test_v1beta1_daemon_set_condition.py index aff62aecea..c6b5e333f9 100644 --- a/kubernetes/test/test_v1beta1_daemon_set_condition.py +++ b/kubernetes/test/test_v1beta1_daemon_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_daemon_set_list.py b/kubernetes/test/test_v1beta1_daemon_set_list.py index 8e0f15ce84..ffb0fae3a0 100644 --- a/kubernetes/test/test_v1beta1_daemon_set_list.py +++ b/kubernetes/test/test_v1beta1_daemon_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_daemon_set_spec.py b/kubernetes/test/test_v1beta1_daemon_set_spec.py index df731157a8..a81f2eac7e 100644 --- a/kubernetes/test/test_v1beta1_daemon_set_spec.py +++ b/kubernetes/test/test_v1beta1_daemon_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_daemon_set_status.py b/kubernetes/test/test_v1beta1_daemon_set_status.py index 01f1e17e12..464e0b8194 100644 --- a/kubernetes/test/test_v1beta1_daemon_set_status.py +++ b/kubernetes/test/test_v1beta1_daemon_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_daemon_set_update_strategy.py b/kubernetes/test/test_v1beta1_daemon_set_update_strategy.py index 0237081d20..0477e6de76 100644 --- a/kubernetes/test/test_v1beta1_daemon_set_update_strategy.py +++ b/kubernetes/test/test_v1beta1_daemon_set_update_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_event.py b/kubernetes/test/test_v1beta1_event.py index 4d9e4e43a4..db177a9a11 100644 --- a/kubernetes/test/test_v1beta1_event.py +++ b/kubernetes/test/test_v1beta1_event.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_event_list.py b/kubernetes/test/test_v1beta1_event_list.py index 46a7e88e44..571b380407 100644 --- a/kubernetes/test/test_v1beta1_event_list.py +++ b/kubernetes/test/test_v1beta1_event_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_event_series.py b/kubernetes/test/test_v1beta1_event_series.py index b04017a713..f05aaa6c87 100644 --- a/kubernetes/test/test_v1beta1_event_series.py +++ b/kubernetes/test/test_v1beta1_event_series.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_eviction.py b/kubernetes/test/test_v1beta1_eviction.py index 24777f2c00..94ff4c8877 100644 --- a/kubernetes/test/test_v1beta1_eviction.py +++ b/kubernetes/test/test_v1beta1_eviction.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_external_documentation.py b/kubernetes/test/test_v1beta1_external_documentation.py index 164ff9bec0..027b260d81 100644 --- a/kubernetes/test/test_v1beta1_external_documentation.py +++ b/kubernetes/test/test_v1beta1_external_documentation.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_http_ingress_path.py b/kubernetes/test/test_v1beta1_http_ingress_path.py index d9d54f7d17..2250b60245 100644 --- a/kubernetes/test/test_v1beta1_http_ingress_path.py +++ b/kubernetes/test/test_v1beta1_http_ingress_path.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_http_ingress_rule_value.py b/kubernetes/test/test_v1beta1_http_ingress_rule_value.py index d78ddbf2c0..6dd0aa1245 100644 --- a/kubernetes/test/test_v1beta1_http_ingress_rule_value.py +++ b/kubernetes/test/test_v1beta1_http_ingress_rule_value.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_ingress.py b/kubernetes/test/test_v1beta1_ingress.py index f989652473..df764855eb 100644 --- a/kubernetes/test/test_v1beta1_ingress.py +++ b/kubernetes/test/test_v1beta1_ingress.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_ingress_backend.py b/kubernetes/test/test_v1beta1_ingress_backend.py index 86410b43ad..5cdf9a2f47 100644 --- a/kubernetes/test/test_v1beta1_ingress_backend.py +++ b/kubernetes/test/test_v1beta1_ingress_backend.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_ingress_list.py b/kubernetes/test/test_v1beta1_ingress_list.py index 13cff3eb2f..28b4512e79 100644 --- a/kubernetes/test/test_v1beta1_ingress_list.py +++ b/kubernetes/test/test_v1beta1_ingress_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_ingress_rule.py b/kubernetes/test/test_v1beta1_ingress_rule.py index 049ed9fa07..815d5b71dd 100644 --- a/kubernetes/test/test_v1beta1_ingress_rule.py +++ b/kubernetes/test/test_v1beta1_ingress_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_ingress_spec.py b/kubernetes/test/test_v1beta1_ingress_spec.py index b5029049ea..37ed893bea 100644 --- a/kubernetes/test/test_v1beta1_ingress_spec.py +++ b/kubernetes/test/test_v1beta1_ingress_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_ingress_status.py b/kubernetes/test/test_v1beta1_ingress_status.py index 0fc8be7ad0..5ea5027019 100644 --- a/kubernetes/test/test_v1beta1_ingress_status.py +++ b/kubernetes/test/test_v1beta1_ingress_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_ingress_tls.py b/kubernetes/test/test_v1beta1_ingress_tls.py index 5c362bca97..4288dc0c19 100644 --- a/kubernetes/test/test_v1beta1_ingress_tls.py +++ b/kubernetes/test/test_v1beta1_ingress_tls.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_ip_block.py b/kubernetes/test/test_v1beta1_ip_block.py index d3171f69c6..6ba53efe1e 100644 --- a/kubernetes/test/test_v1beta1_ip_block.py +++ b/kubernetes/test/test_v1beta1_ip_block.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_job_template_spec.py b/kubernetes/test/test_v1beta1_job_template_spec.py index f15733307f..fe0525425b 100644 --- a/kubernetes/test/test_v1beta1_job_template_spec.py +++ b/kubernetes/test/test_v1beta1_job_template_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_json_schema_props.py b/kubernetes/test/test_v1beta1_json_schema_props.py index 230149809b..df56517665 100644 --- a/kubernetes/test/test_v1beta1_json_schema_props.py +++ b/kubernetes/test/test_v1beta1_json_schema_props.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_lease.py b/kubernetes/test/test_v1beta1_lease.py index e5a5bd9d4c..315d78bfe8 100644 --- a/kubernetes/test/test_v1beta1_lease.py +++ b/kubernetes/test/test_v1beta1_lease.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_lease_list.py b/kubernetes/test/test_v1beta1_lease_list.py index 13af7a08cd..df4a6287b7 100644 --- a/kubernetes/test/test_v1beta1_lease_list.py +++ b/kubernetes/test/test_v1beta1_lease_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_lease_spec.py b/kubernetes/test/test_v1beta1_lease_spec.py index ffcd8d8089..055a9fed37 100644 --- a/kubernetes/test/test_v1beta1_lease_spec.py +++ b/kubernetes/test/test_v1beta1_lease_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_local_subject_access_review.py b/kubernetes/test/test_v1beta1_local_subject_access_review.py index e528c5c765..20edbfa0a9 100644 --- a/kubernetes/test/test_v1beta1_local_subject_access_review.py +++ b/kubernetes/test/test_v1beta1_local_subject_access_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_mutating_webhook_configuration.py b/kubernetes/test/test_v1beta1_mutating_webhook_configuration.py index ace6f020dd..585f99e70f 100644 --- a/kubernetes/test/test_v1beta1_mutating_webhook_configuration.py +++ b/kubernetes/test/test_v1beta1_mutating_webhook_configuration.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_mutating_webhook_configuration_list.py b/kubernetes/test/test_v1beta1_mutating_webhook_configuration_list.py index 221277ef57..6430bb188a 100644 --- a/kubernetes/test/test_v1beta1_mutating_webhook_configuration_list.py +++ b/kubernetes/test/test_v1beta1_mutating_webhook_configuration_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_network_policy.py b/kubernetes/test/test_v1beta1_network_policy.py index 094a19864a..5ef267257d 100644 --- a/kubernetes/test/test_v1beta1_network_policy.py +++ b/kubernetes/test/test_v1beta1_network_policy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_network_policy_egress_rule.py b/kubernetes/test/test_v1beta1_network_policy_egress_rule.py index edde90a2c5..cca8d61073 100644 --- a/kubernetes/test/test_v1beta1_network_policy_egress_rule.py +++ b/kubernetes/test/test_v1beta1_network_policy_egress_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_network_policy_ingress_rule.py b/kubernetes/test/test_v1beta1_network_policy_ingress_rule.py index 4566956b70..db5193c4cd 100644 --- a/kubernetes/test/test_v1beta1_network_policy_ingress_rule.py +++ b/kubernetes/test/test_v1beta1_network_policy_ingress_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_network_policy_list.py b/kubernetes/test/test_v1beta1_network_policy_list.py index 25de5fe484..e7276c75f4 100644 --- a/kubernetes/test/test_v1beta1_network_policy_list.py +++ b/kubernetes/test/test_v1beta1_network_policy_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_network_policy_peer.py b/kubernetes/test/test_v1beta1_network_policy_peer.py index 8bad89f7a8..5e4022b41b 100644 --- a/kubernetes/test/test_v1beta1_network_policy_peer.py +++ b/kubernetes/test/test_v1beta1_network_policy_peer.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_network_policy_port.py b/kubernetes/test/test_v1beta1_network_policy_port.py index 2b5d9d8fd7..5075234110 100644 --- a/kubernetes/test/test_v1beta1_network_policy_port.py +++ b/kubernetes/test/test_v1beta1_network_policy_port.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_network_policy_spec.py b/kubernetes/test/test_v1beta1_network_policy_spec.py index c082a32f65..8412a0c690 100644 --- a/kubernetes/test/test_v1beta1_network_policy_spec.py +++ b/kubernetes/test/test_v1beta1_network_policy_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_non_resource_attributes.py b/kubernetes/test/test_v1beta1_non_resource_attributes.py index 0ff36da378..18ba54c8e3 100644 --- a/kubernetes/test/test_v1beta1_non_resource_attributes.py +++ b/kubernetes/test/test_v1beta1_non_resource_attributes.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_non_resource_rule.py b/kubernetes/test/test_v1beta1_non_resource_rule.py index 67dfb153fd..a93e55bcc9 100644 --- a/kubernetes/test/test_v1beta1_non_resource_rule.py +++ b/kubernetes/test/test_v1beta1_non_resource_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_pod_disruption_budget.py b/kubernetes/test/test_v1beta1_pod_disruption_budget.py index e3aebecf7f..546a4de9b7 100644 --- a/kubernetes/test/test_v1beta1_pod_disruption_budget.py +++ b/kubernetes/test/test_v1beta1_pod_disruption_budget.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_pod_disruption_budget_list.py b/kubernetes/test/test_v1beta1_pod_disruption_budget_list.py index 5055d8b995..1ab9752f60 100644 --- a/kubernetes/test/test_v1beta1_pod_disruption_budget_list.py +++ b/kubernetes/test/test_v1beta1_pod_disruption_budget_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_pod_disruption_budget_spec.py b/kubernetes/test/test_v1beta1_pod_disruption_budget_spec.py index 674fcffea0..1062ff50b8 100644 --- a/kubernetes/test/test_v1beta1_pod_disruption_budget_spec.py +++ b/kubernetes/test/test_v1beta1_pod_disruption_budget_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_pod_disruption_budget_status.py b/kubernetes/test/test_v1beta1_pod_disruption_budget_status.py index 33fde97e45..245cd6e2ca 100644 --- a/kubernetes/test/test_v1beta1_pod_disruption_budget_status.py +++ b/kubernetes/test/test_v1beta1_pod_disruption_budget_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_policy_rule.py b/kubernetes/test/test_v1beta1_policy_rule.py index cf75a6817d..73b2add90b 100644 --- a/kubernetes/test/test_v1beta1_policy_rule.py +++ b/kubernetes/test/test_v1beta1_policy_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_priority_class.py b/kubernetes/test/test_v1beta1_priority_class.py index 505d24ffa7..b6f2e7880a 100644 --- a/kubernetes/test/test_v1beta1_priority_class.py +++ b/kubernetes/test/test_v1beta1_priority_class.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_priority_class_list.py b/kubernetes/test/test_v1beta1_priority_class_list.py index 59a959ccb3..5bf0e7255b 100644 --- a/kubernetes/test/test_v1beta1_priority_class_list.py +++ b/kubernetes/test/test_v1beta1_priority_class_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_replica_set.py b/kubernetes/test/test_v1beta1_replica_set.py index 2096c72b1d..a77b7d456d 100644 --- a/kubernetes/test/test_v1beta1_replica_set.py +++ b/kubernetes/test/test_v1beta1_replica_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_replica_set_condition.py b/kubernetes/test/test_v1beta1_replica_set_condition.py index 36d0c4a901..4fc1218ff7 100644 --- a/kubernetes/test/test_v1beta1_replica_set_condition.py +++ b/kubernetes/test/test_v1beta1_replica_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_replica_set_list.py b/kubernetes/test/test_v1beta1_replica_set_list.py index 6e4d139e8f..5b98c294a9 100644 --- a/kubernetes/test/test_v1beta1_replica_set_list.py +++ b/kubernetes/test/test_v1beta1_replica_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_replica_set_spec.py b/kubernetes/test/test_v1beta1_replica_set_spec.py index 1b10b03863..2b4d1805f9 100644 --- a/kubernetes/test/test_v1beta1_replica_set_spec.py +++ b/kubernetes/test/test_v1beta1_replica_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_replica_set_status.py b/kubernetes/test/test_v1beta1_replica_set_status.py index 8ab3e3fd19..a1bb679f81 100644 --- a/kubernetes/test/test_v1beta1_replica_set_status.py +++ b/kubernetes/test/test_v1beta1_replica_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_resource_attributes.py b/kubernetes/test/test_v1beta1_resource_attributes.py index 34e027db28..44c3c3d6a1 100644 --- a/kubernetes/test/test_v1beta1_resource_attributes.py +++ b/kubernetes/test/test_v1beta1_resource_attributes.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_resource_rule.py b/kubernetes/test/test_v1beta1_resource_rule.py index 5df744481e..b1c3e32c6b 100644 --- a/kubernetes/test/test_v1beta1_resource_rule.py +++ b/kubernetes/test/test_v1beta1_resource_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_role.py b/kubernetes/test/test_v1beta1_role.py index 9c03ec4c00..9409ffd784 100644 --- a/kubernetes/test/test_v1beta1_role.py +++ b/kubernetes/test/test_v1beta1_role.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_role_binding.py b/kubernetes/test/test_v1beta1_role_binding.py index e30c77da4f..9f8c4edf0a 100644 --- a/kubernetes/test/test_v1beta1_role_binding.py +++ b/kubernetes/test/test_v1beta1_role_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_role_binding_list.py b/kubernetes/test/test_v1beta1_role_binding_list.py index 4c93ce8887..07a9e8c3ca 100644 --- a/kubernetes/test/test_v1beta1_role_binding_list.py +++ b/kubernetes/test/test_v1beta1_role_binding_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_role_list.py b/kubernetes/test/test_v1beta1_role_list.py index a916ef060d..2dd36b2e85 100644 --- a/kubernetes/test/test_v1beta1_role_list.py +++ b/kubernetes/test/test_v1beta1_role_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_role_ref.py b/kubernetes/test/test_v1beta1_role_ref.py index 82c27752b1..c2975da329 100644 --- a/kubernetes/test/test_v1beta1_role_ref.py +++ b/kubernetes/test/test_v1beta1_role_ref.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_rolling_update_daemon_set.py b/kubernetes/test/test_v1beta1_rolling_update_daemon_set.py index 748dc58b5f..27a9f9c09c 100644 --- a/kubernetes/test/test_v1beta1_rolling_update_daemon_set.py +++ b/kubernetes/test/test_v1beta1_rolling_update_daemon_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_rolling_update_stateful_set_strategy.py b/kubernetes/test/test_v1beta1_rolling_update_stateful_set_strategy.py index 803fa398f2..0425232158 100644 --- a/kubernetes/test/test_v1beta1_rolling_update_stateful_set_strategy.py +++ b/kubernetes/test/test_v1beta1_rolling_update_stateful_set_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_rule_with_operations.py b/kubernetes/test/test_v1beta1_rule_with_operations.py index 1555d6c6fd..50d0738d2e 100644 --- a/kubernetes/test/test_v1beta1_rule_with_operations.py +++ b/kubernetes/test/test_v1beta1_rule_with_operations.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_self_subject_access_review.py b/kubernetes/test/test_v1beta1_self_subject_access_review.py index 54ceb0b39a..f5b883aab3 100644 --- a/kubernetes/test/test_v1beta1_self_subject_access_review.py +++ b/kubernetes/test/test_v1beta1_self_subject_access_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_self_subject_access_review_spec.py b/kubernetes/test/test_v1beta1_self_subject_access_review_spec.py index 878d7c391a..fe6adeb150 100644 --- a/kubernetes/test/test_v1beta1_self_subject_access_review_spec.py +++ b/kubernetes/test/test_v1beta1_self_subject_access_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_self_subject_rules_review.py b/kubernetes/test/test_v1beta1_self_subject_rules_review.py index 437ea0835a..4b9e43f62e 100644 --- a/kubernetes/test/test_v1beta1_self_subject_rules_review.py +++ b/kubernetes/test/test_v1beta1_self_subject_rules_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_self_subject_rules_review_spec.py b/kubernetes/test/test_v1beta1_self_subject_rules_review_spec.py index fedc104d9e..7172df92f4 100644 --- a/kubernetes/test/test_v1beta1_self_subject_rules_review_spec.py +++ b/kubernetes/test/test_v1beta1_self_subject_rules_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_stateful_set.py b/kubernetes/test/test_v1beta1_stateful_set.py index b6990ab490..82d6364363 100644 --- a/kubernetes/test/test_v1beta1_stateful_set.py +++ b/kubernetes/test/test_v1beta1_stateful_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_stateful_set_condition.py b/kubernetes/test/test_v1beta1_stateful_set_condition.py index 2e964feebe..5065ad8b62 100644 --- a/kubernetes/test/test_v1beta1_stateful_set_condition.py +++ b/kubernetes/test/test_v1beta1_stateful_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_stateful_set_list.py b/kubernetes/test/test_v1beta1_stateful_set_list.py index 338908ef53..3e79ac90f0 100644 --- a/kubernetes/test/test_v1beta1_stateful_set_list.py +++ b/kubernetes/test/test_v1beta1_stateful_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_stateful_set_spec.py b/kubernetes/test/test_v1beta1_stateful_set_spec.py index e1dfeac403..01536d486c 100644 --- a/kubernetes/test/test_v1beta1_stateful_set_spec.py +++ b/kubernetes/test/test_v1beta1_stateful_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_stateful_set_status.py b/kubernetes/test/test_v1beta1_stateful_set_status.py index 0bd1d22feb..f0c590f71c 100644 --- a/kubernetes/test/test_v1beta1_stateful_set_status.py +++ b/kubernetes/test/test_v1beta1_stateful_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_stateful_set_update_strategy.py b/kubernetes/test/test_v1beta1_stateful_set_update_strategy.py index c00e84fdc6..deb392dda8 100644 --- a/kubernetes/test/test_v1beta1_stateful_set_update_strategy.py +++ b/kubernetes/test/test_v1beta1_stateful_set_update_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_storage_class.py b/kubernetes/test/test_v1beta1_storage_class.py index bf62b47008..95a8c499ed 100644 --- a/kubernetes/test/test_v1beta1_storage_class.py +++ b/kubernetes/test/test_v1beta1_storage_class.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_storage_class_list.py b/kubernetes/test/test_v1beta1_storage_class_list.py index ee64620ad2..1d312a8b38 100644 --- a/kubernetes/test/test_v1beta1_storage_class_list.py +++ b/kubernetes/test/test_v1beta1_storage_class_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_subject.py b/kubernetes/test/test_v1beta1_subject.py index 93849e64d6..67f8c076fc 100644 --- a/kubernetes/test/test_v1beta1_subject.py +++ b/kubernetes/test/test_v1beta1_subject.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_subject_access_review.py b/kubernetes/test/test_v1beta1_subject_access_review.py index 3cacbf58a3..acee52dd05 100644 --- a/kubernetes/test/test_v1beta1_subject_access_review.py +++ b/kubernetes/test/test_v1beta1_subject_access_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_subject_access_review_spec.py b/kubernetes/test/test_v1beta1_subject_access_review_spec.py index 63535dfbbd..34370ad899 100644 --- a/kubernetes/test/test_v1beta1_subject_access_review_spec.py +++ b/kubernetes/test/test_v1beta1_subject_access_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_subject_access_review_status.py b/kubernetes/test/test_v1beta1_subject_access_review_status.py index 1019ee6fd7..377511cf1c 100644 --- a/kubernetes/test/test_v1beta1_subject_access_review_status.py +++ b/kubernetes/test/test_v1beta1_subject_access_review_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_subject_rules_review_status.py b/kubernetes/test/test_v1beta1_subject_rules_review_status.py index ab8dff3bc7..f53f155355 100644 --- a/kubernetes/test/test_v1beta1_subject_rules_review_status.py +++ b/kubernetes/test/test_v1beta1_subject_rules_review_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_token_review.py b/kubernetes/test/test_v1beta1_token_review.py index 7b84fe38e6..7de96c831d 100644 --- a/kubernetes/test/test_v1beta1_token_review.py +++ b/kubernetes/test/test_v1beta1_token_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_token_review_spec.py b/kubernetes/test/test_v1beta1_token_review_spec.py index ea42ef2b2b..b2f45a1a50 100644 --- a/kubernetes/test/test_v1beta1_token_review_spec.py +++ b/kubernetes/test/test_v1beta1_token_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_token_review_status.py b/kubernetes/test/test_v1beta1_token_review_status.py index eb0fa1eeee..0f14f72c90 100644 --- a/kubernetes/test/test_v1beta1_token_review_status.py +++ b/kubernetes/test/test_v1beta1_token_review_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_user_info.py b/kubernetes/test/test_v1beta1_user_info.py index 8f8e3a51fc..dfae84465d 100644 --- a/kubernetes/test/test_v1beta1_user_info.py +++ b/kubernetes/test/test_v1beta1_user_info.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_validating_webhook_configuration.py b/kubernetes/test/test_v1beta1_validating_webhook_configuration.py index 16f6909542..eb723a565e 100644 --- a/kubernetes/test/test_v1beta1_validating_webhook_configuration.py +++ b/kubernetes/test/test_v1beta1_validating_webhook_configuration.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_validating_webhook_configuration_list.py b/kubernetes/test/test_v1beta1_validating_webhook_configuration_list.py index eb1b4efc12..f650e90d42 100644 --- a/kubernetes/test/test_v1beta1_validating_webhook_configuration_list.py +++ b/kubernetes/test/test_v1beta1_validating_webhook_configuration_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_volume_attachment.py b/kubernetes/test/test_v1beta1_volume_attachment.py index d92cb5bcb7..e123e129df 100644 --- a/kubernetes/test/test_v1beta1_volume_attachment.py +++ b/kubernetes/test/test_v1beta1_volume_attachment.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_volume_attachment_list.py b/kubernetes/test/test_v1beta1_volume_attachment_list.py index 29d2a9d9f1..839deb20eb 100644 --- a/kubernetes/test/test_v1beta1_volume_attachment_list.py +++ b/kubernetes/test/test_v1beta1_volume_attachment_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_volume_attachment_source.py b/kubernetes/test/test_v1beta1_volume_attachment_source.py index 43df0fbfa1..8e86220f90 100644 --- a/kubernetes/test/test_v1beta1_volume_attachment_source.py +++ b/kubernetes/test/test_v1beta1_volume_attachment_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_volume_attachment_spec.py b/kubernetes/test/test_v1beta1_volume_attachment_spec.py index 80aac47253..d80b5fae0f 100644 --- a/kubernetes/test/test_v1beta1_volume_attachment_spec.py +++ b/kubernetes/test/test_v1beta1_volume_attachment_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_volume_attachment_status.py b/kubernetes/test/test_v1beta1_volume_attachment_status.py index 03e3c1bef7..27a067b02b 100644 --- a/kubernetes/test/test_v1beta1_volume_attachment_status.py +++ b/kubernetes/test/test_v1beta1_volume_attachment_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_volume_error.py b/kubernetes/test/test_v1beta1_volume_error.py index da4da1c6fd..16a2b4130d 100644 --- a/kubernetes/test/test_v1beta1_volume_error.py +++ b/kubernetes/test/test_v1beta1_volume_error.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta1_webhook.py b/kubernetes/test/test_v1beta1_webhook.py index 46cf659755..48e32f4b31 100644 --- a/kubernetes/test/test_v1beta1_webhook.py +++ b/kubernetes/test/test_v1beta1_webhook.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_controller_revision.py b/kubernetes/test/test_v1beta2_controller_revision.py index c6d6f12e56..019f9cde34 100644 --- a/kubernetes/test/test_v1beta2_controller_revision.py +++ b/kubernetes/test/test_v1beta2_controller_revision.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_controller_revision_list.py b/kubernetes/test/test_v1beta2_controller_revision_list.py index 1325f27103..3f1df5fdac 100644 --- a/kubernetes/test/test_v1beta2_controller_revision_list.py +++ b/kubernetes/test/test_v1beta2_controller_revision_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_daemon_set.py b/kubernetes/test/test_v1beta2_daemon_set.py index 8240f5fc5b..b200fa1104 100644 --- a/kubernetes/test/test_v1beta2_daemon_set.py +++ b/kubernetes/test/test_v1beta2_daemon_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_daemon_set_condition.py b/kubernetes/test/test_v1beta2_daemon_set_condition.py index 525f984099..3e438a40e6 100644 --- a/kubernetes/test/test_v1beta2_daemon_set_condition.py +++ b/kubernetes/test/test_v1beta2_daemon_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_daemon_set_list.py b/kubernetes/test/test_v1beta2_daemon_set_list.py index e150d59c85..aa51f903a7 100644 --- a/kubernetes/test/test_v1beta2_daemon_set_list.py +++ b/kubernetes/test/test_v1beta2_daemon_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_daemon_set_spec.py b/kubernetes/test/test_v1beta2_daemon_set_spec.py index d9fb1d2a9a..92deb0ba19 100644 --- a/kubernetes/test/test_v1beta2_daemon_set_spec.py +++ b/kubernetes/test/test_v1beta2_daemon_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_daemon_set_status.py b/kubernetes/test/test_v1beta2_daemon_set_status.py index adfb63ecba..18ad602a24 100644 --- a/kubernetes/test/test_v1beta2_daemon_set_status.py +++ b/kubernetes/test/test_v1beta2_daemon_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_daemon_set_update_strategy.py b/kubernetes/test/test_v1beta2_daemon_set_update_strategy.py index 32b3f123e7..b6aceb05e1 100644 --- a/kubernetes/test/test_v1beta2_daemon_set_update_strategy.py +++ b/kubernetes/test/test_v1beta2_daemon_set_update_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_deployment.py b/kubernetes/test/test_v1beta2_deployment.py index ea585418b6..197215009f 100644 --- a/kubernetes/test/test_v1beta2_deployment.py +++ b/kubernetes/test/test_v1beta2_deployment.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_deployment_condition.py b/kubernetes/test/test_v1beta2_deployment_condition.py index 4c16cf4f41..24105c69d1 100644 --- a/kubernetes/test/test_v1beta2_deployment_condition.py +++ b/kubernetes/test/test_v1beta2_deployment_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_deployment_list.py b/kubernetes/test/test_v1beta2_deployment_list.py index dbe4fe474a..ba7fdc54b4 100644 --- a/kubernetes/test/test_v1beta2_deployment_list.py +++ b/kubernetes/test/test_v1beta2_deployment_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_deployment_spec.py b/kubernetes/test/test_v1beta2_deployment_spec.py index 168bd999b5..5e8c5e90a5 100644 --- a/kubernetes/test/test_v1beta2_deployment_spec.py +++ b/kubernetes/test/test_v1beta2_deployment_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_deployment_status.py b/kubernetes/test/test_v1beta2_deployment_status.py index f86a5d4370..ea14f1e0e0 100644 --- a/kubernetes/test/test_v1beta2_deployment_status.py +++ b/kubernetes/test/test_v1beta2_deployment_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_deployment_strategy.py b/kubernetes/test/test_v1beta2_deployment_strategy.py index cdb171a3f3..f6526ec300 100644 --- a/kubernetes/test/test_v1beta2_deployment_strategy.py +++ b/kubernetes/test/test_v1beta2_deployment_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_replica_set.py b/kubernetes/test/test_v1beta2_replica_set.py index a72f4daf2d..6e626fbc8b 100644 --- a/kubernetes/test/test_v1beta2_replica_set.py +++ b/kubernetes/test/test_v1beta2_replica_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_replica_set_condition.py b/kubernetes/test/test_v1beta2_replica_set_condition.py index 392d528d9a..7f4140ae09 100644 --- a/kubernetes/test/test_v1beta2_replica_set_condition.py +++ b/kubernetes/test/test_v1beta2_replica_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_replica_set_list.py b/kubernetes/test/test_v1beta2_replica_set_list.py index 4a52670e1c..2a8b34a8f0 100644 --- a/kubernetes/test/test_v1beta2_replica_set_list.py +++ b/kubernetes/test/test_v1beta2_replica_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_replica_set_spec.py b/kubernetes/test/test_v1beta2_replica_set_spec.py index 4e61f1a2a1..d440d85d7e 100644 --- a/kubernetes/test/test_v1beta2_replica_set_spec.py +++ b/kubernetes/test/test_v1beta2_replica_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_replica_set_status.py b/kubernetes/test/test_v1beta2_replica_set_status.py index 53d757295b..21035f8d82 100644 --- a/kubernetes/test/test_v1beta2_replica_set_status.py +++ b/kubernetes/test/test_v1beta2_replica_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_rolling_update_daemon_set.py b/kubernetes/test/test_v1beta2_rolling_update_daemon_set.py index 0cda3912d2..6a15d9b3d8 100644 --- a/kubernetes/test/test_v1beta2_rolling_update_daemon_set.py +++ b/kubernetes/test/test_v1beta2_rolling_update_daemon_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_rolling_update_deployment.py b/kubernetes/test/test_v1beta2_rolling_update_deployment.py index 373fc85da3..6b51ea245e 100644 --- a/kubernetes/test/test_v1beta2_rolling_update_deployment.py +++ b/kubernetes/test/test_v1beta2_rolling_update_deployment.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_rolling_update_stateful_set_strategy.py b/kubernetes/test/test_v1beta2_rolling_update_stateful_set_strategy.py index 515d1ec113..f10f04d67b 100644 --- a/kubernetes/test/test_v1beta2_rolling_update_stateful_set_strategy.py +++ b/kubernetes/test/test_v1beta2_rolling_update_stateful_set_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_scale.py b/kubernetes/test/test_v1beta2_scale.py index 6fa688096b..e26bd03580 100644 --- a/kubernetes/test/test_v1beta2_scale.py +++ b/kubernetes/test/test_v1beta2_scale.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_scale_spec.py b/kubernetes/test/test_v1beta2_scale_spec.py index d3ab87572a..57dd123364 100644 --- a/kubernetes/test/test_v1beta2_scale_spec.py +++ b/kubernetes/test/test_v1beta2_scale_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_scale_status.py b/kubernetes/test/test_v1beta2_scale_status.py index d6cdaca814..a2261b4a17 100644 --- a/kubernetes/test/test_v1beta2_scale_status.py +++ b/kubernetes/test/test_v1beta2_scale_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_stateful_set.py b/kubernetes/test/test_v1beta2_stateful_set.py index 8913dda76b..c7664bf6eb 100644 --- a/kubernetes/test/test_v1beta2_stateful_set.py +++ b/kubernetes/test/test_v1beta2_stateful_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_stateful_set_condition.py b/kubernetes/test/test_v1beta2_stateful_set_condition.py index 122e77c28d..f650863cec 100644 --- a/kubernetes/test/test_v1beta2_stateful_set_condition.py +++ b/kubernetes/test/test_v1beta2_stateful_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_stateful_set_list.py b/kubernetes/test/test_v1beta2_stateful_set_list.py index c9840cc565..d2b270c752 100644 --- a/kubernetes/test/test_v1beta2_stateful_set_list.py +++ b/kubernetes/test/test_v1beta2_stateful_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_stateful_set_spec.py b/kubernetes/test/test_v1beta2_stateful_set_spec.py index dc2a9f730b..f4a250c619 100644 --- a/kubernetes/test/test_v1beta2_stateful_set_spec.py +++ b/kubernetes/test/test_v1beta2_stateful_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_stateful_set_status.py b/kubernetes/test/test_v1beta2_stateful_set_status.py index f3548f4f9c..f0d200fe2f 100644 --- a/kubernetes/test/test_v1beta2_stateful_set_status.py +++ b/kubernetes/test/test_v1beta2_stateful_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v1beta2_stateful_set_update_strategy.py b/kubernetes/test/test_v1beta2_stateful_set_update_strategy.py index ab9fad4dcd..11b10339fe 100644 --- a/kubernetes/test/test_v1beta2_stateful_set_update_strategy.py +++ b/kubernetes/test/test_v1beta2_stateful_set_update_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2alpha1_cron_job.py b/kubernetes/test/test_v2alpha1_cron_job.py index 9f2ed45d03..e4b8482ac9 100644 --- a/kubernetes/test/test_v2alpha1_cron_job.py +++ b/kubernetes/test/test_v2alpha1_cron_job.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2alpha1_cron_job_list.py b/kubernetes/test/test_v2alpha1_cron_job_list.py index 65f061855e..2a3ab837a8 100644 --- a/kubernetes/test/test_v2alpha1_cron_job_list.py +++ b/kubernetes/test/test_v2alpha1_cron_job_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2alpha1_cron_job_spec.py b/kubernetes/test/test_v2alpha1_cron_job_spec.py index f5c85a566d..824c632203 100644 --- a/kubernetes/test/test_v2alpha1_cron_job_spec.py +++ b/kubernetes/test/test_v2alpha1_cron_job_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2alpha1_cron_job_status.py b/kubernetes/test/test_v2alpha1_cron_job_status.py index dc0bebb6b8..b47afeaf00 100644 --- a/kubernetes/test/test_v2alpha1_cron_job_status.py +++ b/kubernetes/test/test_v2alpha1_cron_job_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2alpha1_job_template_spec.py b/kubernetes/test/test_v2alpha1_job_template_spec.py index a1904570a5..13505ddf70 100644 --- a/kubernetes/test/test_v2alpha1_job_template_spec.py +++ b/kubernetes/test/test_v2alpha1_job_template_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta1_cross_version_object_reference.py b/kubernetes/test/test_v2beta1_cross_version_object_reference.py index 175d93cbfa..5a869b9698 100644 --- a/kubernetes/test/test_v2beta1_cross_version_object_reference.py +++ b/kubernetes/test/test_v2beta1_cross_version_object_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta1_external_metric_source.py b/kubernetes/test/test_v2beta1_external_metric_source.py index d8b2b31240..191877251d 100644 --- a/kubernetes/test/test_v2beta1_external_metric_source.py +++ b/kubernetes/test/test_v2beta1_external_metric_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta1_external_metric_status.py b/kubernetes/test/test_v2beta1_external_metric_status.py index d65a834802..18a3a5767c 100644 --- a/kubernetes/test/test_v2beta1_external_metric_status.py +++ b/kubernetes/test/test_v2beta1_external_metric_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler.py b/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler.py index 34f94874c2..e3783db45a 100644 --- a/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler.py +++ b/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_condition.py b/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_condition.py index b54f99c4be..ea8c4093bb 100644 --- a/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_condition.py +++ b/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_list.py b/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_list.py index d7e3741cee..0f3f031156 100644 --- a/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_list.py +++ b/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_spec.py b/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_spec.py index 2802ea2cf7..930958d51c 100644 --- a/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_spec.py +++ b/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_status.py b/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_status.py index d53548e536..bb8eb59985 100644 --- a/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_status.py +++ b/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta1_metric_spec.py b/kubernetes/test/test_v2beta1_metric_spec.py index c6460c2f9b..8c4dad8fd3 100644 --- a/kubernetes/test/test_v2beta1_metric_spec.py +++ b/kubernetes/test/test_v2beta1_metric_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta1_metric_status.py b/kubernetes/test/test_v2beta1_metric_status.py index f9efc7ecb8..6a2bda3982 100644 --- a/kubernetes/test/test_v2beta1_metric_status.py +++ b/kubernetes/test/test_v2beta1_metric_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta1_object_metric_source.py b/kubernetes/test/test_v2beta1_object_metric_source.py index 487e6d59d6..dfb02efb19 100644 --- a/kubernetes/test/test_v2beta1_object_metric_source.py +++ b/kubernetes/test/test_v2beta1_object_metric_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta1_object_metric_status.py b/kubernetes/test/test_v2beta1_object_metric_status.py index 71c2c67aa7..41f8b0f107 100644 --- a/kubernetes/test/test_v2beta1_object_metric_status.py +++ b/kubernetes/test/test_v2beta1_object_metric_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta1_pods_metric_source.py b/kubernetes/test/test_v2beta1_pods_metric_source.py index 27a20e46c7..8b53c4be9f 100644 --- a/kubernetes/test/test_v2beta1_pods_metric_source.py +++ b/kubernetes/test/test_v2beta1_pods_metric_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta1_pods_metric_status.py b/kubernetes/test/test_v2beta1_pods_metric_status.py index 01450f8c16..5b2d348dc5 100644 --- a/kubernetes/test/test_v2beta1_pods_metric_status.py +++ b/kubernetes/test/test_v2beta1_pods_metric_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta1_resource_metric_source.py b/kubernetes/test/test_v2beta1_resource_metric_source.py index 2c2c5858a0..4beea0154c 100644 --- a/kubernetes/test/test_v2beta1_resource_metric_source.py +++ b/kubernetes/test/test_v2beta1_resource_metric_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta1_resource_metric_status.py b/kubernetes/test/test_v2beta1_resource_metric_status.py index f98b6386be..30e6f722bd 100644 --- a/kubernetes/test/test_v2beta1_resource_metric_status.py +++ b/kubernetes/test/test_v2beta1_resource_metric_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta2_cross_version_object_reference.py b/kubernetes/test/test_v2beta2_cross_version_object_reference.py index ba6e65648e..688e2083ee 100644 --- a/kubernetes/test/test_v2beta2_cross_version_object_reference.py +++ b/kubernetes/test/test_v2beta2_cross_version_object_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta2_external_metric_source.py b/kubernetes/test/test_v2beta2_external_metric_source.py index 283b6164c1..e7daf4cddc 100644 --- a/kubernetes/test/test_v2beta2_external_metric_source.py +++ b/kubernetes/test/test_v2beta2_external_metric_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta2_external_metric_status.py b/kubernetes/test/test_v2beta2_external_metric_status.py index 8a8a6c2f62..2db65bb2da 100644 --- a/kubernetes/test/test_v2beta2_external_metric_status.py +++ b/kubernetes/test/test_v2beta2_external_metric_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler.py b/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler.py index 26981d8080..2256720538 100644 --- a/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler.py +++ b/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_condition.py b/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_condition.py index 5324ffaf16..ae73256f44 100644 --- a/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_condition.py +++ b/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_list.py b/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_list.py index 06429dcd15..e35f644d9f 100644 --- a/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_list.py +++ b/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_spec.py b/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_spec.py index e5ca76e62f..8aa9194e2a 100644 --- a/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_spec.py +++ b/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_status.py b/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_status.py index 9ec564041a..b20f338777 100644 --- a/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_status.py +++ b/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta2_metric_identifier.py b/kubernetes/test/test_v2beta2_metric_identifier.py index c9ef018d01..a05688ff00 100644 --- a/kubernetes/test/test_v2beta2_metric_identifier.py +++ b/kubernetes/test/test_v2beta2_metric_identifier.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta2_metric_spec.py b/kubernetes/test/test_v2beta2_metric_spec.py index da8022f5d7..813ad7d923 100644 --- a/kubernetes/test/test_v2beta2_metric_spec.py +++ b/kubernetes/test/test_v2beta2_metric_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta2_metric_status.py b/kubernetes/test/test_v2beta2_metric_status.py index 68d5dde22e..e741b5148f 100644 --- a/kubernetes/test/test_v2beta2_metric_status.py +++ b/kubernetes/test/test_v2beta2_metric_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta2_metric_target.py b/kubernetes/test/test_v2beta2_metric_target.py index e62dbfe680..75881d77ad 100644 --- a/kubernetes/test/test_v2beta2_metric_target.py +++ b/kubernetes/test/test_v2beta2_metric_target.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta2_metric_value_status.py b/kubernetes/test/test_v2beta2_metric_value_status.py index 752b37a6f7..1dbfa1e255 100644 --- a/kubernetes/test/test_v2beta2_metric_value_status.py +++ b/kubernetes/test/test_v2beta2_metric_value_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta2_object_metric_source.py b/kubernetes/test/test_v2beta2_object_metric_source.py index 527d169fc2..8d5c6dc89d 100644 --- a/kubernetes/test/test_v2beta2_object_metric_source.py +++ b/kubernetes/test/test_v2beta2_object_metric_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta2_object_metric_status.py b/kubernetes/test/test_v2beta2_object_metric_status.py index d1d7600720..de3127633f 100644 --- a/kubernetes/test/test_v2beta2_object_metric_status.py +++ b/kubernetes/test/test_v2beta2_object_metric_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta2_pods_metric_source.py b/kubernetes/test/test_v2beta2_pods_metric_source.py index 59cc6e46f1..a4da59dc10 100644 --- a/kubernetes/test/test_v2beta2_pods_metric_source.py +++ b/kubernetes/test/test_v2beta2_pods_metric_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta2_pods_metric_status.py b/kubernetes/test/test_v2beta2_pods_metric_status.py index 66fdff5343..d5d91e420a 100644 --- a/kubernetes/test/test_v2beta2_pods_metric_status.py +++ b/kubernetes/test/test_v2beta2_pods_metric_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta2_resource_metric_source.py b/kubernetes/test/test_v2beta2_resource_metric_source.py index 196b10ce3f..e2dedcadf2 100644 --- a/kubernetes/test/test_v2beta2_resource_metric_source.py +++ b/kubernetes/test/test_v2beta2_resource_metric_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_v2beta2_resource_metric_status.py b/kubernetes/test/test_v2beta2_resource_metric_status.py index 5214cda84b..f0cc103fa5 100644 --- a/kubernetes/test/test_v2beta2_resource_metric_status.py +++ b/kubernetes/test/test_v2beta2_resource_metric_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_version_api.py b/kubernetes/test/test_version_api.py index 54197f2e4f..0640baafd4 100644 --- a/kubernetes/test/test_version_api.py +++ b/kubernetes/test/test_version_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/kubernetes/test/test_version_info.py b/kubernetes/test/test_version_info.py index 196695e3fd..1bf809165b 100644 --- a/kubernetes/test/test_version_info.py +++ b/kubernetes/test/test_version_info.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.12.2 + OpenAPI spec version: v1.13.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/scripts/swagger.json b/scripts/swagger.json index 0224ca625b..405e55d925 100644 --- a/scripts/swagger.json +++ b/scripts/swagger.json @@ -2,7 +2,7 @@ "swagger": "2.0", "info": { "title": "Kubernetes", - "version": "v1.12.2" + "version": "v1.13.1" }, "paths": { "/api/": { @@ -1300,7 +1300,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -1834,7 +1833,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -2368,7 +2366,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -2902,7 +2899,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -3436,7 +3432,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -4145,7 +4140,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -6028,7 +6022,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -6562,7 +6555,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -7446,7 +7438,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -8155,7 +8146,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -8685,459 +8675,457 @@ "core_v1" ], "operationId": "deleteNamespacedServiceAccount", + "parameters": [ + { + "name": "body", + "in": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ServiceAccount", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified ServiceAccount", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "patchNamespacedServiceAccount", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.ServiceAccount" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ServiceAccount", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ServiceAccount", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/api/v1/namespaces/{namespace}/services": { + "get": { + "description": "list or watch objects of kind Service", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "listNamespacedService", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.ServiceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" + } + }, + "post": { + "description": "create a Service", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "createNamespacedService", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.Service" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Service" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.Service" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Service" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If IncludeUninitialized is specified, the object may be returned without completing initialization.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/api/v1/namespaces/{namespace}/services/{name}": { + "get": { + "description": "read the specified Service", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "readNamespacedService", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Service" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" + } + }, + "put": { + "description": "replace the specified Service", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "replaceNamespacedService", "parameters": [ { "name": "body", "in": "body", "required": true, - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "name": "gracePeriodSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "name": "orphanDependents", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "name": "propagationPolicy", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceAccount", - "version": "v1" - } - }, - "patch": { - "description": "partially update the specified ServiceAccount", - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "patchNamespacedServiceAccount", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" - } - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.ServiceAccount" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceAccount", - "version": "v1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the ServiceAccount", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] - }, - "/api/v1/namespaces/{namespace}/services": { - "get": { - "description": "list or watch objects of kind Service", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "listNamespacedService", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.ServiceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "post": { - "description": "create a Service", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "createNamespacedService", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.Service" - } - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Service" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1.Service" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1.Service" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "boolean", - "description": "If IncludeUninitialized is specified, the object may be returned without completing initialization.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] - }, - "/api/v1/namespaces/{namespace}/services/{name}": { - "get": { - "description": "read the specified Service", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "readNamespacedService", - "parameters": [ - { - "uniqueItems": true, - "type": "boolean", - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", - "name": "exact", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Should this value be exported. Export strips fields that a user can not specify.", - "name": "export", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Service" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "put": { - "description": "replace the specified Service", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "replaceNamespacedService", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.Service" - } - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Service" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1.Service" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "delete": { - "description": "delete a Service", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "deleteNamespacedService", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, + "schema": { + "$ref": "#/definitions/v1.Service" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Service" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.Service" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" + } + }, + "delete": { + "description": "delete a Service", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "deleteNamespacedService", + "parameters": [ + { + "name": "body", + "in": "body", "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -10106,7 +10094,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -10868,7 +10855,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -12165,7 +12151,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -16803,7 +16788,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -17496,7 +17480,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -18014,7 +17997,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -18882,7 +18864,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -19775,7 +19756,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -20635,7 +20615,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -21848,7 +21827,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -22382,7 +22360,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -23091,7 +23068,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -23975,7 +23951,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -24859,7 +24834,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -27317,7 +27291,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -27851,7 +27824,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -28833,7 +28805,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -30841,7 +30812,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -31375,7 +31345,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -32084,7 +32053,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -32968,7 +32936,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -33852,7 +33819,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -35674,7 +35640,7 @@ } ] }, - "/apis/authentication.k8s.io/": { + "/apis/auditregistration.k8s.io/": { "get": { "description": "get information of a group", "consumes": [ @@ -35691,7 +35657,7 @@ "https" ], "tags": [ - "authentication" + "auditregistration" ], "operationId": "getAPIGroup", "responses": { @@ -35707,7 +35673,7 @@ } } }, - "/apis/authentication.k8s.io/v1/": { + "/apis/auditregistration.k8s.io/v1alpha1/": { "get": { "description": "get available resources", "consumes": [ @@ -35724,7 +35690,7 @@ "https" ], "tags": [ - "authentication_v1" + "auditregistration_v1alpha1" ], "operationId": "getAPIResources", "responses": { @@ -35740,95 +35706,99 @@ } } }, - "/apis/authentication.k8s.io/v1/tokenreviews": { - "post": { - "description": "create a TokenReview", + "/apis/auditregistration.k8s.io/v1alpha1/auditsinks": { + "get": { + "description": "list or watch objects of kind AuditSink", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" ], "tags": [ - "authentication_v1" + "auditregistration_v1alpha1" ], - "operationId": "createTokenReview", + "operationId": "listAuditSink", "parameters": [ { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.TokenReview" - } + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.TokenReview" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1.TokenReview" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1.TokenReview" + "$ref": "#/definitions/v1alpha1.AuditSinkList" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "post", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "authentication.k8s.io", - "kind": "TokenReview", - "version": "v1" + "group": "auditregistration.k8s.io", + "kind": "AuditSink", + "version": "v1alpha1" } }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If IncludeUninitialized is specified, the object may be returned without completing initialization.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] - }, - "/apis/authentication.k8s.io/v1beta1/": { - "get": { - "description": "get available resources", + "post": { + "description": "create an AuditSink", "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "produces": [ "application/json", @@ -35839,25 +35809,58 @@ "https" ], "tags": [ - "authentication_v1beta1" + "auditregistration_v1alpha1" + ], + "operationId": "createAuditSink", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha1.AuditSink" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } ], - "operationId": "getAPIResources", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.APIResourceList" + "$ref": "#/definitions/v1alpha1.AuditSink" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha1.AuditSink" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1alpha1.AuditSink" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "auditregistration.k8s.io", + "kind": "AuditSink", + "version": "v1alpha1" } - } - }, - "/apis/authentication.k8s.io/v1beta1/tokenreviews": { - "post": { - "description": "create a TokenReview", + }, + "delete": { + "description": "delete collection of AuditSink", "consumes": [ "*/*" ], @@ -35870,61 +35873,83 @@ "https" ], "tags": [ - "authentication_v1beta1" + "auditregistration_v1alpha1" ], - "operationId": "createTokenReview", + "operationId": "deleteCollectionAuditSink", "parameters": [ { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.TokenReview" - } + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.TokenReview" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1beta1.TokenReview" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1beta1.TokenReview" + "$ref": "#/definitions/v1.Status" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "post", + "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "authentication.k8s.io", - "kind": "TokenReview", - "version": "v1beta1" + "group": "auditregistration.k8s.io", + "kind": "AuditSink", + "version": "v1alpha1" } }, "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, { "uniqueItems": true, "type": "boolean", - "description": "If IncludeUninitialized is specified, the object may be returned without completing initialization.", + "description": "If true, partially initialized resources are included in the response.", "name": "includeUninitialized", "in": "query" }, @@ -35937,13 +35962,11 @@ } ] }, - "/apis/authorization.k8s.io/": { + "/apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name}": { "get": { - "description": "get information of a group", + "description": "read the specified AuditSink", "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "produces": [ "application/json", @@ -35954,58 +35977,45 @@ "https" ], "tags": [ - "authorization" + "auditregistration_v1alpha1" ], - "operationId": "getAPIGroup", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIGroup" - } + "operationId": "readAuditSink", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" }, - "401": { - "description": "Unauthorized" + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" } - } - } - }, - "/apis/authorization.k8s.io/v1/": { - "get": { - "description": "get available resources", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "authorization_v1" ], - "operationId": "getAPIResources", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.APIResourceList" + "$ref": "#/definitions/v1alpha1.AuditSink" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "auditregistration.k8s.io", + "kind": "AuditSink", + "version": "v1alpha1" } - } - }, - "/apis/authorization.k8s.io/v1/namespaces/{namespace}/localsubjectaccessreviews": { - "post": { - "description": "create a LocalSubjectAccessReview", + }, + "put": { + "description": "replace the specified AuditSink", "consumes": [ "*/*" ], @@ -36018,84 +36028,52 @@ "https" ], "tags": [ - "authorization_v1" + "auditregistration_v1alpha1" ], - "operationId": "createNamespacedLocalSubjectAccessReview", + "operationId": "replaceAuditSink", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.LocalSubjectAccessReview" + "$ref": "#/definitions/v1alpha1.AuditSink" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.LocalSubjectAccessReview" + "$ref": "#/definitions/v1alpha1.AuditSink" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1.LocalSubjectAccessReview" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1.LocalSubjectAccessReview" + "$ref": "#/definitions/v1alpha1.AuditSink" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "post", + "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "authorization.k8s.io", - "kind": "LocalSubjectAccessReview", - "version": "v1" + "group": "auditregistration.k8s.io", + "kind": "AuditSink", + "version": "v1alpha1" } }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If IncludeUninitialized is specified, the object may be returned without completing initialization.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] - }, - "/apis/authorization.k8s.io/v1/selfsubjectaccessreviews": { - "post": { - "description": "create a SelfSubjectAccessReview", + "delete": { + "description": "delete an AuditSink", "consumes": [ "*/*" ], @@ -36108,78 +36086,76 @@ "https" ], "tags": [ - "authorization_v1" + "auditregistration_v1alpha1" ], - "operationId": "createSelfSubjectAccessReview", + "operationId": "deleteAuditSink", "parameters": [ { "name": "body", "in": "body", - "required": true, "schema": { - "$ref": "#/definitions/v1.SelfSubjectAccessReview" + "$ref": "#/definitions/v1.DeleteOptions" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.SelfSubjectAccessReview" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1.SelfSubjectAccessReview" + "$ref": "#/definitions/v1.Status" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1.SelfSubjectAccessReview" + "$ref": "#/definitions/v1.Status" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "post", + "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "authorization.k8s.io", - "kind": "SelfSubjectAccessReview", - "version": "v1" + "group": "auditregistration.k8s.io", + "kind": "AuditSink", + "version": "v1alpha1" } }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If IncludeUninitialized is specified, the object may be returned without completing initialization.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] - }, - "/apis/authorization.k8s.io/v1/selfsubjectrulesreviews": { - "post": { - "description": "create a SelfSubjectRulesReview", + "patch": { + "description": "partially update the specified AuditSink", "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" ], "produces": [ "application/json", @@ -36190,63 +36166,778 @@ "https" ], "tags": [ - "authorization_v1" + "auditregistration_v1alpha1" ], - "operationId": "createSelfSubjectRulesReview", + "operationId": "patchAuditSink", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.SelfSubjectRulesReview" + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.SelfSubjectRulesReview" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1.SelfSubjectRulesReview" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1.SelfSubjectRulesReview" + "$ref": "#/definitions/v1alpha1.AuditSink" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "post", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "authorization.k8s.io", - "kind": "SelfSubjectRulesReview", - "version": "v1" + "group": "auditregistration.k8s.io", + "kind": "AuditSink", + "version": "v1alpha1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If IncludeUninitialized is specified, the object may be returned without completing initialization.", - "name": "includeUninitialized", - "in": "query" + "description": "name of the AuditSink", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/auditregistration.k8s.io/v1alpha1/watch/auditsinks": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/auditregistration.k8s.io/v1alpha1/watch/auditsinks/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the AuditSink", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/authentication.k8s.io/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "authentication" + ], + "operationId": "getAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/authentication.k8s.io/v1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "authentication_v1" + ], + "operationId": "getAPIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/authentication.k8s.io/v1/tokenreviews": { + "post": { + "description": "create a TokenReview", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "authentication_v1" + ], + "operationId": "createTokenReview", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.TokenReview" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.TokenReview" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.TokenReview" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.TokenReview" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "authentication.k8s.io", + "kind": "TokenReview", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If IncludeUninitialized is specified, the object may be returned without completing initialization.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/authentication.k8s.io/v1beta1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "authentication_v1beta1" + ], + "operationId": "getAPIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/authentication.k8s.io/v1beta1/tokenreviews": { + "post": { + "description": "create a TokenReview", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "authentication_v1beta1" + ], + "operationId": "createTokenReview", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.TokenReview" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.TokenReview" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.TokenReview" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta1.TokenReview" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "authentication.k8s.io", + "kind": "TokenReview", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If IncludeUninitialized is specified, the object may be returned without completing initialization.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/authorization.k8s.io/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "authorization" + ], + "operationId": "getAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/authorization.k8s.io/v1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "authorization_v1" + ], + "operationId": "getAPIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/authorization.k8s.io/v1/namespaces/{namespace}/localsubjectaccessreviews": { + "post": { + "description": "create a LocalSubjectAccessReview", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "authorization_v1" + ], + "operationId": "createNamespacedLocalSubjectAccessReview", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.LocalSubjectAccessReview" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.LocalSubjectAccessReview" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.LocalSubjectAccessReview" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.LocalSubjectAccessReview" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "authorization.k8s.io", + "kind": "LocalSubjectAccessReview", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If IncludeUninitialized is specified, the object may be returned without completing initialization.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/authorization.k8s.io/v1/selfsubjectaccessreviews": { + "post": { + "description": "create a SelfSubjectAccessReview", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "authorization_v1" + ], + "operationId": "createSelfSubjectAccessReview", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.SelfSubjectAccessReview" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.SelfSubjectAccessReview" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.SelfSubjectAccessReview" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.SelfSubjectAccessReview" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "authorization.k8s.io", + "kind": "SelfSubjectAccessReview", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If IncludeUninitialized is specified, the object may be returned without completing initialization.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/authorization.k8s.io/v1/selfsubjectrulesreviews": { + "post": { + "description": "create a SelfSubjectRulesReview", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "authorization_v1" + ], + "operationId": "createSelfSubjectRulesReview", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.SelfSubjectRulesReview" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.SelfSubjectRulesReview" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.SelfSubjectRulesReview" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.SelfSubjectRulesReview" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "authorization.k8s.io", + "kind": "SelfSubjectRulesReview", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If IncludeUninitialized is specified, the object may be returned without completing initialization.", + "name": "includeUninitialized", + "in": "query" }, { "uniqueItems": true, @@ -37273,7 +37964,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -38344,7 +39034,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -39415,7 +40104,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -40519,7 +41207,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -41590,7 +42277,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -42661,7 +43347,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -43653,7 +44338,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -44735,7 +45419,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -45664,7 +46347,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -46801,7 +47483,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -47510,7 +48191,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -48492,7 +49172,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -49201,7 +49880,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -49735,7 +50413,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -50890,7 +51567,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -52853,7 +53529,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -53782,7 +54457,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -54587,7 +55261,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -55522,7 +56195,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -56024,7 +56696,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -56534,7 +57205,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -57052,7 +57722,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -58537,7 +59206,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -59039,7 +59707,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -59549,7 +60216,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -60067,7 +60733,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -61552,7 +62217,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -62054,7 +62718,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -62564,7 +63227,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -63082,7 +63744,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -64616,7 +65277,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -65309,7 +65969,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -66043,7 +66702,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -66435,31 +67093,388 @@ "name": "timeoutSeconds", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/settings.k8s.io/v1alpha1/watch/podpresets": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/storage.k8s.io/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage" + ], + "operationId": "getAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/storage.k8s.io/v1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "getAPIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/storage.k8s.io/v1/storageclasses": { + "get": { + "description": "list or watch objects of kind StorageClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "listStorageClass", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.StorageClassList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1" + } + }, + "post": { + "description": "create a StorageClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "createStorageClass", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.StorageClass" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.StorageClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.StorageClass" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.StorageClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of StorageClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "deleteCollectionStorageClass", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1" } - ] - }, - "/apis/settings.k8s.io/v1alpha1/watch/podpresets": { + }, "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, { "uniqueItems": true, "type": "boolean", @@ -66467,58 +67482,72 @@ "name": "includeUninitialized", "in": "query" }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, { "uniqueItems": true, "type": "string", "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" } ] }, - "/apis/storage.k8s.io/": { + "/apis/storage.k8s.io/v1/storageclasses/{name}": { "get": { - "description": "get information of a group", + "description": "read the specified StorageClass", "consumes": [ + "*/*" + ], + "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "readStorageClass", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.StorageClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1" + } + }, + "put": { + "description": "replace the specified StorageClass", + "consumes": [ + "*/*" + ], "produces": [ "application/json", "application/yaml", @@ -66528,30 +67557,135 @@ "https" ], "tags": [ - "storage" + "storage_v1" + ], + "operationId": "replaceStorageClass", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.StorageClass" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } ], - "operationId": "getAPIGroup", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.APIGroup" + "$ref": "#/definitions/v1.StorageClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.StorageClass" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1" } - } - }, - "/apis/storage.k8s.io/v1/": { - "get": { - "description": "get available resources", + }, + "delete": { + "description": "delete a StorageClass", "consumes": [ + "*/*" + ], + "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "deleteStorageClass", + "parameters": [ + { + "name": "body", + "in": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified StorageClass", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], "produces": [ "application/json", "application/yaml", @@ -66563,23 +67697,64 @@ "tags": [ "storage_v1" ], - "operationId": "getAPIResources", + "operationId": "patchStorageClass", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.APIResourceList" + "$ref": "#/definitions/v1.StorageClass" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1" } - } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the StorageClass", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] }, - "/apis/storage.k8s.io/v1/storageclasses": { + "/apis/storage.k8s.io/v1/volumeattachments": { "get": { - "description": "list or watch objects of kind StorageClass", + "description": "list or watch objects of kind VolumeAttachment", "consumes": [ "*/*" ], @@ -66596,7 +67771,7 @@ "tags": [ "storage_v1" ], - "operationId": "listStorageClass", + "operationId": "listVolumeAttachment", "parameters": [ { "uniqueItems": true, @@ -66652,7 +67827,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.StorageClassList" + "$ref": "#/definitions/v1.VolumeAttachmentList" } }, "401": { @@ -66662,12 +67837,12 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "StorageClass", + "kind": "VolumeAttachment", "version": "v1" } }, "post": { - "description": "create a StorageClass", + "description": "create a VolumeAttachment", "consumes": [ "*/*" ], @@ -66682,14 +67857,14 @@ "tags": [ "storage_v1" ], - "operationId": "createStorageClass", + "operationId": "createVolumeAttachment", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.StorageClass" + "$ref": "#/definitions/v1.VolumeAttachment" } }, { @@ -66704,19 +67879,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.StorageClass" + "$ref": "#/definitions/v1.VolumeAttachment" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1.StorageClass" + "$ref": "#/definitions/v1.VolumeAttachment" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1.StorageClass" + "$ref": "#/definitions/v1.VolumeAttachment" } }, "401": { @@ -66726,12 +67901,12 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "StorageClass", + "kind": "VolumeAttachment", "version": "v1" } }, "delete": { - "description": "delete collection of StorageClass", + "description": "delete collection of VolumeAttachment", "consumes": [ "*/*" ], @@ -66746,7 +67921,7 @@ "tags": [ "storage_v1" ], - "operationId": "deleteCollectionStorageClass", + "operationId": "deleteCollectionVolumeAttachment", "parameters": [ { "uniqueItems": true, @@ -66812,7 +67987,7 @@ "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "StorageClass", + "kind": "VolumeAttachment", "version": "v1" } }, @@ -66833,9 +68008,9 @@ } ] }, - "/apis/storage.k8s.io/v1/storageclasses/{name}": { + "/apis/storage.k8s.io/v1/volumeattachments/{name}": { "get": { - "description": "read the specified StorageClass", + "description": "read the specified VolumeAttachment", "consumes": [ "*/*" ], @@ -66850,7 +68025,7 @@ "tags": [ "storage_v1" ], - "operationId": "readStorageClass", + "operationId": "readVolumeAttachment", "parameters": [ { "uniqueItems": true, @@ -66871,7 +68046,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.StorageClass" + "$ref": "#/definitions/v1.VolumeAttachment" } }, "401": { @@ -66881,12 +68056,12 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "StorageClass", + "kind": "VolumeAttachment", "version": "v1" } }, "put": { - "description": "replace the specified StorageClass", + "description": "replace the specified VolumeAttachment", "consumes": [ "*/*" ], @@ -66901,14 +68076,14 @@ "tags": [ "storage_v1" ], - "operationId": "replaceStorageClass", + "operationId": "replaceVolumeAttachment", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.StorageClass" + "$ref": "#/definitions/v1.VolumeAttachment" } }, { @@ -66923,13 +68098,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.StorageClass" + "$ref": "#/definitions/v1.VolumeAttachment" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1.StorageClass" + "$ref": "#/definitions/v1.VolumeAttachment" } }, "401": { @@ -66939,12 +68114,12 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "StorageClass", + "kind": "VolumeAttachment", "version": "v1" } }, "delete": { - "description": "delete a StorageClass", + "description": "delete a VolumeAttachment", "consumes": [ "*/*" ], @@ -66959,12 +68134,11 @@ "tags": [ "storage_v1" ], - "operationId": "deleteStorageClass", + "operationId": "deleteVolumeAttachment", "parameters": [ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -67018,12 +68192,12 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "StorageClass", + "kind": "VolumeAttachment", "version": "v1" } }, "patch": { - "description": "partially update the specified StorageClass", + "description": "partially update the specified VolumeAttachment", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -67040,7 +68214,7 @@ "tags": [ "storage_v1" ], - "operationId": "patchStorageClass", + "operationId": "patchVolumeAttachment", "parameters": [ { "name": "body", @@ -67063,7 +68237,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.StorageClass" + "$ref": "#/definitions/v1.VolumeAttachment" } }, "401": { @@ -67073,7 +68247,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "StorageClass", + "kind": "VolumeAttachment", "version": "v1" } }, @@ -67081,7 +68255,174 @@ { "uniqueItems": true, "type": "string", - "description": "name of the StorageClass", + "description": "name of the VolumeAttachment", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/storage.k8s.io/v1/volumeattachments/{name}/status": { + "get": { + "description": "read status of the specified VolumeAttachment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "readVolumeAttachmentStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.VolumeAttachment" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified VolumeAttachment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "replaceVolumeAttachmentStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.VolumeAttachment" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.VolumeAttachment" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.VolumeAttachment" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1" + } + }, + "patch": { + "description": "partially update status of the specified VolumeAttachment", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "patchVolumeAttachmentStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.VolumeAttachment" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the VolumeAttachment", "name": "name", "in": "path", "required": true @@ -67237,6 +68578,148 @@ } ] }, + "/apis/storage.k8s.io/v1/watch/volumeattachments": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/storage.k8s.io/v1/watch/volumeattachments/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the VolumeAttachment", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, "/apis/storage.k8s.io/v1alpha1/": { "get": { "description": "get available resources", @@ -67657,7 +69140,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -68350,7 +69832,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -68868,7 +70349,6 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } @@ -70888,6 +72368,33 @@ } } }, + "v1.VolumeAttachmentStatus": { + "description": "VolumeAttachmentStatus is the status of a VolumeAttachment request.", + "required": [ + "attached" + ], + "properties": { + "attachError": { + "description": "The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", + "$ref": "#/definitions/v1.VolumeError" + }, + "attached": { + "description": "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", + "type": "boolean" + }, + "attachmentMetadata": { + "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "detachError": { + "description": "The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher.", + "$ref": "#/definitions/v1.VolumeError" + } + } + }, "v1beta1.VolumeAttachmentSpec": { "description": "VolumeAttachmentSpec is the specification of a VolumeAttachment request.", "required": [ @@ -70962,6 +72469,27 @@ } } }, + "apiextensions.v1beta1.ServiceReference": { + "description": "ServiceReference holds a reference to Service.legacy.k8s.io", + "required": [ + "namespace", + "name" + ], + "properties": { + "name": { + "description": "`name` is the name of the service. Required", + "type": "string" + }, + "namespace": { + "description": "`namespace` is the namespace of the service. Required", + "type": "string" + }, + "path": { + "description": "`path` is an optional URL path which will be sent in any request to this service.", + "type": "string" + } + } + }, "v1beta1.StatefulSetCondition": { "description": "StatefulSetCondition describes the state of a statefulset at a certain point.", "required": [ @@ -71159,6 +72687,38 @@ } ] }, + "v1beta1.SubjectRulesReviewStatus": { + "description": "SubjectRulesReviewStatus contains the result of a rules check. This check can be incomplete depending on the set of authorizers the server is configured with and any errors experienced during evaluation. Because authorization rules are additive, if a rule appears in a list it's safe to assume the subject has that permission, even if that list is incomplete.", + "required": [ + "resourceRules", + "nonResourceRules", + "incomplete" + ], + "properties": { + "evaluationError": { + "description": "EvaluationError can appear in combination with Rules. It indicates an error occurred during rule evaluation, such as an authorizer that doesn't support rule evaluation, and that ResourceRules and/or NonResourceRules may be incomplete.", + "type": "string" + }, + "incomplete": { + "description": "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.", + "type": "boolean" + }, + "nonResourceRules": { + "description": "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.NonResourceRule" + } + }, + "resourceRules": { + "description": "ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.ResourceRule" + } + } + } + }, "v1beta1.PriorityClass": { "description": "PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.", "required": [ @@ -71410,6 +72970,7 @@ }, "strategy": { "description": "The deployment strategy to use to replace existing pods with new ones.", + "x-kubernetes-patch-strategy": "retainKeys", "$ref": "#/definitions/apps.v1beta1.DeploymentStrategy" }, "template": { @@ -71558,6 +73119,24 @@ } } }, + "apiextensions.v1beta1.WebhookClientConfig": { + "description": "WebhookClientConfig contains the information to make a TLS connection with the webhook. It has the same field as admissionregistration.v1beta1.WebhookClientConfig.", + "properties": { + "caBundle": { + "description": "`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.", + "type": "string", + "format": "byte" + }, + "service": { + "description": "`service` is a reference to the service for this webhook. Either `service` or `url` must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`.\n\nPort 443 will be used if it is open, otherwise it is an error.", + "$ref": "#/definitions/apiextensions.v1beta1.ServiceReference" + }, + "url": { + "description": "`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.\n\nThe `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.\n\nPlease note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.\n\nThe scheme must be \"https\"; the URL must begin with \"https://\".\n\nA path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.\n\nAttempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either.", + "type": "string" + } + } + }, "v1.SecretList": { "description": "SecretList is a list of Secret.", "required": [ @@ -71787,6 +73366,24 @@ } } }, + "v1alpha1.WebhookClientConfig": { + "description": "WebhookClientConfig contains the information to make a connection with the webhook", + "properties": { + "caBundle": { + "description": "`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.", + "type": "string", + "format": "byte" + }, + "service": { + "description": "`service` is a reference to the service for this webhook. Either `service` or `url` must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`.\n\nPort 443 will be used if it is open, otherwise it is an error.", + "$ref": "#/definitions/v1alpha1.ServiceReference" + }, + "url": { + "description": "`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.\n\nThe `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.\n\nPlease note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.\n\nThe scheme must be \"https\"; the URL must begin with \"https://\".\n\nA path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.\n\nAttempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either.", + "type": "string" + } + } + }, "v1beta1.ClusterRole": { "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.", "required": [ @@ -72604,7 +74201,7 @@ "format": "int32" }, "revisionHistoryLimit": { - "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.", + "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"retaining all old RelicaSets\".", "type": "integer", "format": "int32" }, @@ -72927,6 +74524,82 @@ } ] }, + "v1beta1.StatefulSetSpec": { + "description": "A StatefulSetSpec is the specification of a StatefulSet.", + "required": [ + "template", + "serviceName" + ], + "properties": { + "podManagementPolicy": { + "description": "podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once.", + "type": "string" + }, + "replicas": { + "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", + "type": "integer", + "format": "int32" + }, + "revisionHistoryLimit": { + "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", + "type": "integer", + "format": "int32" + }, + "selector": { + "description": "selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", + "$ref": "#/definitions/v1.LabelSelector" + }, + "serviceName": { + "description": "serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller.", + "type": "string" + }, + "template": { + "description": "template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet.", + "$ref": "#/definitions/v1.PodTemplateSpec" + }, + "updateStrategy": { + "description": "updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.", + "$ref": "#/definitions/v1beta1.StatefulSetUpdateStrategy" + }, + "volumeClaimTemplates": { + "description": "volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.PersistentVolumeClaim" + } + } + } + }, + "v1beta1.UserInfo": { + "description": "UserInfo holds the information about the user needed to implement the user.Info interface.", + "properties": { + "extra": { + "description": "Any additional information provided by the authenticator.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "groups": { + "description": "The names of groups this user is a part of.", + "type": "array", + "items": { + "type": "string" + } + }, + "uid": { + "description": "A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs.", + "type": "string" + }, + "username": { + "description": "The name that uniquely identifies this user among all active users.", + "type": "string" + } + } + }, "v1beta1.Ingress": { "description": "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.", "properties": { @@ -73218,39 +74891,29 @@ } } }, - "v1.ResourceQuotaList": { - "description": "ResourceQuotaList is a list of ResourceQuota items.", + "v1beta1.SubjectAccessReviewStatus": { + "description": "SubjectAccessReviewStatus", "required": [ - "items" + "allowed" ], "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", - "type": "string" + "allowed": { + "description": "Allowed is required. True if the action would be allowed, false otherwise.", + "type": "boolean" }, - "items": { - "description": "Items is a list of ResourceQuota objects. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "array", - "items": { - "$ref": "#/definitions/v1.ResourceQuota" - } + "denied": { + "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", + "type": "boolean" }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "evaluationError": { + "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", "type": "string" }, - "metadata": { - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", - "$ref": "#/definitions/v1.ListMeta" - } - }, - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "ResourceQuotaList", - "version": "v1" + "reason": { + "description": "Reason is optional. It indicates why a request was allowed or denied.", + "type": "string" } - ] + } }, "v1.RoleRef": { "description": "RoleRef contains information that points to the role being used", @@ -73514,7 +75177,7 @@ }, "glusterfs": { "description": "Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md", - "$ref": "#/definitions/v1.GlusterfsVolumeSource" + "$ref": "#/definitions/v1.GlusterfsPersistentVolumeSource" }, "hostPath": { "description": "HostPath represents a directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath", @@ -73576,7 +75239,7 @@ "$ref": "#/definitions/v1.StorageOSPersistentVolumeSource" }, "volumeMode": { - "description": "volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec. This is an alpha feature and may change in the future.", + "description": "volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec. This is a beta feature.", "type": "string" }, "vsphereVolume": { @@ -74433,6 +76096,33 @@ } ] }, + "v1alpha1.AuditSink": { + "description": "AuditSink represents a cluster level audit sink", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the audit configuration spec", + "$ref": "#/definitions/v1alpha1.AuditSinkSpec" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "auditregistration.k8s.io", + "kind": "AuditSink", + "version": "v1alpha1" + } + ] + }, "v1.NodeCondition": { "description": "NodeCondition contains condition information for a node.", "required": [ @@ -74572,6 +76262,10 @@ "type": "string" } }, + "runAsGroup": { + "description": "RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled.", + "$ref": "#/definitions/extensions.v1beta1.RunAsGroupStrategyOptions" + }, "runAsUser": { "description": "runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set.", "$ref": "#/definitions/extensions.v1beta1.RunAsUserStrategyOptions" @@ -75113,6 +76807,11 @@ "items": { "$ref": "#/definitions/v1.ContainerPort" }, + "x-kubernetes-list-map-keys": [ + "containerPort", + "protocol" + ], + "x-kubernetes-list-type": "map", "x-kubernetes-patch-merge-key": "containerPort", "x-kubernetes-patch-strategy": "merge" }, @@ -75149,7 +76848,7 @@ "type": "boolean" }, "volumeDevices": { - "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", + "description": "volumeDevices is the list of block devices to be used by the container. This is a beta feature.", "type": "array", "items": { "$ref": "#/definitions/v1.VolumeDevice" @@ -75728,52 +77427,6 @@ } } }, - "v1beta1.StatefulSetSpec": { - "description": "A StatefulSetSpec is the specification of a StatefulSet.", - "required": [ - "template", - "serviceName" - ], - "properties": { - "podManagementPolicy": { - "description": "podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once.", - "type": "string" - }, - "replicas": { - "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", - "format": "int32" - }, - "revisionHistoryLimit": { - "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", - "format": "int32" - }, - "selector": { - "description": "selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", - "$ref": "#/definitions/v1.LabelSelector" - }, - "serviceName": { - "description": "serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller.", - "type": "string" - }, - "template": { - "description": "template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet.", - "$ref": "#/definitions/v1.PodTemplateSpec" - }, - "updateStrategy": { - "description": "updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.", - "$ref": "#/definitions/v1beta1.StatefulSetUpdateStrategy" - }, - "volumeClaimTemplates": { - "description": "volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.", - "type": "array", - "items": { - "$ref": "#/definitions/v1.PersistentVolumeClaim" - } - } - } - }, "v1.Service": { "description": "Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.", "properties": { @@ -76486,6 +78139,18 @@ } } }, + "v1.LoadBalancerStatus": { + "description": "LoadBalancerStatus represents the status of a load-balancer.", + "properties": { + "ingress": { + "description": "Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.LoadBalancerIngress" + } + } + } + }, "v1.ContainerStateRunning": { "description": "ContainerStateRunning is a running state of a container.", "properties": { @@ -76633,12 +78298,16 @@ ], "properties": { "additionalPrinterColumns": { - "description": "AdditionalPrinterColumns are additional columns shown e.g. in kubectl next to the name. Defaults to a created-at column.", + "description": "AdditionalPrinterColumns are additional columns shown e.g. in kubectl next to the name. Defaults to a created-at column. Optional, the global columns for all versions. Top-level and per-version columns are mutually exclusive.", "type": "array", "items": { "$ref": "#/definitions/v1beta1.CustomResourceColumnDefinition" } }, + "conversion": { + "description": "`conversion` defines conversion settings for the CRD.", + "$ref": "#/definitions/v1beta1.CustomResourceConversion" + }, "group": { "description": "Group is the group this resource belongs in", "type": "string" @@ -76652,11 +78321,11 @@ "type": "string" }, "subresources": { - "description": "Subresources describes the subresources for CustomResources", + "description": "Subresources describes the subresources for CustomResource Optional, the global subresources for all versions. Top-level and per-version subresources are mutually exclusive.", "$ref": "#/definitions/v1beta1.CustomResourceSubresources" }, "validation": { - "description": "Validation describes the validation methods for CustomResources", + "description": "Validation describes the validation methods for CustomResources Optional, the global validation schema for all versions. Top-level and per-version schemas are mutually exclusive.", "$ref": "#/definitions/v1beta1.CustomResourceValidation" }, "version": { @@ -76685,6 +78354,40 @@ } } }, + "v1.ResourceQuotaList": { + "description": "ResourceQuotaList is a list of ResourceQuota items.", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "Items is a list of ResourceQuota objects. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", + "type": "array", + "items": { + "$ref": "#/definitions/v1.ResourceQuota" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "$ref": "#/definitions/v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "ResourceQuotaList", + "version": "v1" + } + ] + }, "v1.RoleBindingList": { "description": "RoleBindingList is a collection of RoleBindings", "required": [ @@ -76847,6 +78550,25 @@ } } }, + "v1alpha1.Policy": { + "description": "Policy defines the configuration of how audit events are logged", + "required": [ + "level" + ], + "properties": { + "level": { + "description": "The Level that all requests are recorded at. available options: None, Metadata, Request, RequestResponse required", + "type": "string" + }, + "stages": { + "description": "Stages is a list of stages for which events are created.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, "v1.VolumeNodeAffinity": { "description": "VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from.", "properties": { @@ -77189,22 +78911,40 @@ } } }, - "v1.PersistentVolumeStatus": { - "description": "PersistentVolumeStatus is the current status of a persistent volume.", + "v1.VolumeAttachment": { + "description": "VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.\n\nVolumeAttachment objects are non-namespaced.", + "required": [ + "spec" + ], "properties": { - "message": { - "description": "A human-readable message indicating details about why the volume is in this state.", + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "phase": { - "description": "Phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase", + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, - "reason": { - "description": "Reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.", - "type": "string" + "metadata": { + "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system.", + "$ref": "#/definitions/v1.VolumeAttachmentSpec" + }, + "status": { + "description": "Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher.", + "$ref": "#/definitions/v1.VolumeAttachmentStatus" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1" + } + ] }, "v1.ContainerPort": { "description": "ContainerPort represents a network port in a single container.", @@ -77406,35 +79146,38 @@ } } }, - "v1beta1.UserInfo": { - "description": "UserInfo holds the information about the user needed to implement the user.Info interface.", + "v1alpha1.AuditSinkList": { + "description": "AuditSinkList is a list of AuditSink items.", + "required": [ + "items" + ], "properties": { - "extra": { - "description": "Any additional information provided by the authenticator.", - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "type": "string" - } - } + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" }, - "groups": { - "description": "The names of groups this user is a part of.", + "items": { + "description": "List of audit configurations.", "type": "array", "items": { - "type": "string" + "$ref": "#/definitions/v1alpha1.AuditSink" } }, - "uid": { - "description": "A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs.", + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, - "username": { - "description": "The name that uniquely identifies this user among all active users.", - "type": "string" + "metadata": { + "$ref": "#/definitions/v1.ListMeta" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "auditregistration.k8s.io", + "kind": "AuditSinkList", + "version": "v1alpha1" + } + ] }, "v1.ServiceReference": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", @@ -77770,18 +79513,6 @@ } ] }, - "v1.LoadBalancerStatus": { - "description": "LoadBalancerStatus represents the status of a load-balancer.", - "properties": { - "ingress": { - "description": "Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points.", - "type": "array", - "items": { - "$ref": "#/definitions/v1.LoadBalancerIngress" - } - } - } - }, "v1.Initializer": { "description": "Initializer is information about an initializer that has not yet completed.", "required": [ @@ -77913,6 +79644,23 @@ } } }, + "v1.PersistentVolumeStatus": { + "description": "PersistentVolumeStatus is the current status of a persistent volume.", + "properties": { + "message": { + "description": "A human-readable message indicating details about why the volume is in this state.", + "type": "string" + }, + "phase": { + "description": "Phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase", + "type": "string" + }, + "reason": { + "description": "Reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.", + "type": "string" + } + } + }, "v1.SELinuxOptions": { "description": "SELinuxOptions are the labels to be applied to the container", "properties": { @@ -78072,6 +79820,41 @@ } } }, + "v1beta1.CustomResourceColumnDefinition": { + "description": "CustomResourceColumnDefinition specifies a column for server side printing.", + "required": [ + "name", + "type", + "JSONPath" + ], + "properties": { + "JSONPath": { + "description": "JSONPath is a simple JSON path, i.e. with array notation.", + "type": "string" + }, + "description": { + "description": "description is a human readable description of this column.", + "type": "string" + }, + "format": { + "description": "format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for more.", + "type": "string" + }, + "name": { + "description": "name is a human readable name for the column.", + "type": "string" + }, + "priority": { + "description": "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a higher priority.", + "type": "integer", + "format": "int32" + }, + "type": { + "description": "type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for more.", + "type": "string" + } + } + }, "v1.StorageOSPersistentVolumeSource": { "description": "Represents a StorageOS persistent volume resource.", "properties": { @@ -78617,40 +80400,6 @@ } } }, - "v1beta1.SubjectAccessReview": { - "description": "SubjectAccessReview checks whether or not a user or group can perform an action.", - "required": [ - "spec" - ], - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ObjectMeta" - }, - "spec": { - "description": "Spec holds information about the request being evaluated", - "$ref": "#/definitions/v1beta1.SubjectAccessReviewSpec" - }, - "status": { - "description": "Status is filled in by the server and indicates whether the request is allowed or not", - "$ref": "#/definitions/v1beta1.SubjectAccessReviewStatus" - } - }, - "x-kubernetes-group-version-kind": [ - { - "group": "authorization.k8s.io", - "kind": "SubjectAccessReview", - "version": "v1beta1" - } - ] - }, "v1.Scale": { "description": "Scale represents a scaling request for a resource.", "properties": { @@ -78798,6 +80547,11 @@ "kind": "WatchEvent", "version": "v1beta2" }, + { + "group": "auditregistration.k8s.io", + "kind": "WatchEvent", + "version": "v1alpha1" + }, { "group": "authentication.k8s.io", "kind": "WatchEvent", @@ -79030,6 +80784,24 @@ } ] }, + "admissionregistration.v1beta1.WebhookClientConfig": { + "description": "WebhookClientConfig contains the information to make a TLS connection with the webhook", + "properties": { + "caBundle": { + "description": "`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.", + "type": "string", + "format": "byte" + }, + "service": { + "description": "`service` is a reference to the service for this webhook. Either `service` or `url` must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`.\n\nPort 443 will be used if it is open, otherwise it is an error.", + "$ref": "#/definitions/admissionregistration.v1beta1.ServiceReference" + }, + "url": { + "description": "`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.\n\nThe `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.\n\nPlease note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.\n\nThe scheme must be \"https\"; the URL must begin with \"https://\".\n\nA path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.\n\nAttempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either.", + "type": "string" + } + } + }, "v1.RollingUpdateDeployment": { "description": "Spec to control the desired behavior of rolling update.", "properties": { @@ -79317,6 +81089,10 @@ "type": "string" } }, + "runAsGroup": { + "description": "RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled.", + "$ref": "#/definitions/policy.v1beta1.RunAsGroupStrategyOptions" + }, "runAsUser": { "description": "runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set.", "$ref": "#/definitions/policy.v1beta1.RunAsUserStrategyOptions" @@ -79374,35 +81150,19 @@ } } }, - "v1beta1.SubjectRulesReviewStatus": { - "description": "SubjectRulesReviewStatus contains the result of a rules check. This check can be incomplete depending on the set of authorizers the server is configured with and any errors experienced during evaluation. Because authorization rules are additive, if a rule appears in a list it's safe to assume the subject has that permission, even if that list is incomplete.", + "v1alpha1.Webhook": { + "description": "Webhook holds the configuration of the webhook", "required": [ - "resourceRules", - "nonResourceRules", - "incomplete" + "clientConfig" ], "properties": { - "evaluationError": { - "description": "EvaluationError can appear in combination with Rules. It indicates an error occurred during rule evaluation, such as an authorizer that doesn't support rule evaluation, and that ResourceRules and/or NonResourceRules may be incomplete.", - "type": "string" - }, - "incomplete": { - "description": "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.", - "type": "boolean" - }, - "nonResourceRules": { - "description": "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", - "type": "array", - "items": { - "$ref": "#/definitions/v1beta1.NonResourceRule" - } + "clientConfig": { + "description": "ClientConfig holds the connection parameters for the webhook required", + "$ref": "#/definitions/v1alpha1.WebhookClientConfig" }, - "resourceRules": { - "description": "ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", - "type": "array", - "items": { - "$ref": "#/definitions/v1beta1.ResourceRule" - } + "throttle": { + "description": "Throttle holds the options for throttling the webhook", + "$ref": "#/definitions/v1alpha1.WebhookThrottleConfig" } } }, @@ -79588,6 +81348,11 @@ "kind": "DeleteOptions", "version": "v1beta2" }, + { + "group": "auditregistration.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha1" + }, { "group": "authentication.k8s.io", "kind": "DeleteOptions", @@ -79890,6 +81655,13 @@ "v1.TokenReviewStatus": { "description": "TokenReviewStatus is the result of the token authentication request.", "properties": { + "audiences": { + "description": "Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is \"true\", the token is valid against the audience of the Kubernetes API server.", + "type": "array", + "items": { + "type": "string" + } + }, "authenticated": { "description": "Authenticated indicates that the token was associated with a known user.", "type": "boolean" @@ -79967,6 +81739,13 @@ "v1beta1.TokenReviewStatus": { "description": "TokenReviewStatus is the result of the token authentication request.", "properties": { + "audiences": { + "description": "Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is \"true\", the token is valid against the audience of the Kubernetes API server.", + "type": "array", + "items": { + "type": "string" + } + }, "authenticated": { "description": "Authenticated indicates that the token was associated with a known user.", "type": "boolean" @@ -80315,7 +82094,7 @@ "properties": { "clientConfig": { "description": "ClientConfig defines how to communicate with the hook. Required", - "$ref": "#/definitions/v1beta1.WebhookClientConfig" + "$ref": "#/definitions/admissionregistration.v1beta1.WebhookClientConfig" }, "failurePolicy": { "description": "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.", @@ -80480,15 +82259,17 @@ } } }, - "v1.ExecAction": { - "description": "ExecAction describes a \"run in container\" action.", + "v1.VolumeError": { + "description": "VolumeError captures an error encountered during a volume operation.", "properties": { - "command": { - "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.", - "type": "array", - "items": { - "type": "string" - } + "message": { + "description": "String detailing the error encountered during Attach or Detach operation. This string maybe logged, so it should not contain sensitive information.", + "type": "string" + }, + "time": { + "description": "Time the error was encountered.", + "type": "string", + "format": "date-time" } } }, @@ -81861,6 +83642,7 @@ }, "strategy": { "description": "The deployment strategy to use to replace existing pods with new ones.", + "x-kubernetes-patch-strategy": "retainKeys", "$ref": "#/definitions/v1.DeploymentStrategy" }, "template": { @@ -81921,6 +83703,15 @@ } } }, + "v1.VolumeAttachmentSource": { + "description": "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.", + "properties": { + "persistentVolumeName": { + "description": "Name of the persistent volume to attach.", + "type": "string" + } + } + }, "v1beta2.StatefulSetUpdateStrategy": { "description": "StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy.", "properties": { @@ -81961,7 +83752,7 @@ "type": "string" }, "volumeMode": { - "description": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. This is an alpha feature and may change in the future.", + "description": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. This is a beta feature.", "type": "string" }, "volumeName": { @@ -82210,6 +84001,31 @@ } } }, + "v1.GlusterfsPersistentVolumeSource": { + "description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.", + "required": [ + "endpoints", + "path" + ], + "properties": { + "endpoints": { + "description": "EndpointsName is the endpoint name that details Glusterfs topology. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", + "type": "string" + }, + "endpointsNamespace": { + "description": "EndpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", + "type": "string" + }, + "path": { + "description": "Path is the Glusterfs volume path. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", + "type": "string" + }, + "readOnly": { + "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", + "type": "boolean" + } + } + }, "v1.NetworkPolicyEgressRule": { "description": "NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8", "properties": { @@ -82466,6 +84282,25 @@ } ] }, + "extensions.v1beta1.RunAsGroupStrategyOptions": { + "description": "RunAsGroupStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use RunAsGroupStrategyOptions from policy API Group instead.", + "required": [ + "rule" + ], + "properties": { + "ranges": { + "description": "ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs.", + "type": "array", + "items": { + "$ref": "#/definitions/extensions.v1beta1.IDRange" + } + }, + "rule": { + "description": "rule is the strategy that will dictate the allowable RunAsGroup values that may be set.", + "type": "string" + } + } + }, "v1.PodTemplateList": { "description": "PodTemplateList is a list of PodTemplates.", "required": [ @@ -82501,7 +84336,7 @@ ] }, "v1.OwnerReference": { - "description": "OwnerReference contains enough information to let you identify an owning object. Currently, an owning object must be in the same namespace, so there is no namespace field.", + "description": "OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.", "required": [ "apiVersion", "kind", @@ -82745,6 +84580,46 @@ } } }, + "v1beta1.CronJobSpec": { + "description": "CronJobSpec describes how the job execution will look like and when it will actually run.", + "required": [ + "schedule", + "jobTemplate" + ], + "properties": { + "concurrencyPolicy": { + "description": "Specifies how to treat concurrent executions of a Job. Valid values are: - \"Allow\" (default): allows CronJobs to run concurrently; - \"Forbid\": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - \"Replace\": cancels currently running job and replaces it with a new one", + "type": "string" + }, + "failedJobsHistoryLimit": { + "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", + "type": "integer", + "format": "int32" + }, + "jobTemplate": { + "description": "Specifies the job that will be created when executing a CronJob.", + "$ref": "#/definitions/v1beta1.JobTemplateSpec" + }, + "schedule": { + "description": "The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.", + "type": "string" + }, + "startingDeadlineSeconds": { + "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", + "type": "integer", + "format": "int64" + }, + "successfulJobsHistoryLimit": { + "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3.", + "type": "integer", + "format": "int32" + }, + "suspend": { + "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", + "type": "boolean" + } + } + }, "v1beta1.CertificateSigningRequestList": { "required": [ "items" @@ -83077,6 +84952,22 @@ } ] }, + "v1beta1.CustomResourceConversion": { + "description": "CustomResourceConversion describes how to convert different versions of a CR.", + "required": [ + "strategy" + ], + "properties": { + "strategy": { + "description": "`strategy` specifies the conversion strategy. Allowed values are: - `None`: The converter only change the apiVersion and would not touch any other field in the CR. - `Webhook`: API Server will call to an external webhook to do the conversion. Additional information is needed for this option.", + "type": "string" + }, + "webhookClientConfig": { + "description": "`webhookClientConfig` is the instructions for how to call the webhook if strategy is `Webhook`. This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature.", + "$ref": "#/definitions/apiextensions.v1beta1.WebhookClientConfig" + } + } + }, "v1beta2.DeploymentCondition": { "description": "DeploymentCondition describes the state of a deployment at a certain point.", "required": [ @@ -83214,30 +85105,6 @@ } } }, - "v1beta1.SubjectAccessReviewStatus": { - "description": "SubjectAccessReviewStatus", - "required": [ - "allowed" - ], - "properties": { - "allowed": { - "description": "Allowed is required. True if the action would be allowed, false otherwise.", - "type": "boolean" - }, - "denied": { - "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" - }, - "evaluationError": { - "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", - "type": "string" - }, - "reason": { - "description": "Reason is optional. It indicates why a request was allowed or denied.", - "type": "string" - } - } - }, "v1.DeploymentList": { "description": "DeploymentList is a list of Deployments.", "required": [ @@ -83272,6 +85139,21 @@ } ] }, + "v1alpha1.WebhookThrottleConfig": { + "description": "WebhookThrottleConfig holds the configuration for throttling events", + "properties": { + "burst": { + "description": "ThrottleBurst is the maximum number of events sent at the same moment default 15 QPS", + "type": "integer", + "format": "int64" + }, + "qps": { + "description": "ThrottleQPS maximum number of batches per second default 10 QPS", + "type": "integer", + "format": "int64" + } + } + }, "v1.Initializers": { "description": "Initializers tracks the progress of initialization.", "required": [ @@ -83832,43 +85714,20 @@ } } }, - "v1beta1.CronJobSpec": { - "description": "CronJobSpec describes how the job execution will look like and when it will actually run.", + "v1alpha1.AuditSinkSpec": { + "description": "AuditSinkSpec holds the spec for the audit sink", "required": [ - "schedule", - "jobTemplate" + "policy", + "webhook" ], "properties": { - "concurrencyPolicy": { - "description": "Specifies how to treat concurrent executions of a Job. Valid values are: - \"Allow\" (default): allows CronJobs to run concurrently; - \"Forbid\": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - \"Replace\": cancels currently running job and replaces it with a new one", - "type": "string" - }, - "failedJobsHistoryLimit": { - "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", - "format": "int32" - }, - "jobTemplate": { - "description": "Specifies the job that will be created when executing a CronJob.", - "$ref": "#/definitions/v1beta1.JobTemplateSpec" - }, - "schedule": { - "description": "The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.", - "type": "string" - }, - "startingDeadlineSeconds": { - "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", - "format": "int64" - }, - "successfulJobsHistoryLimit": { - "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3.", - "type": "integer", - "format": "int32" + "policy": { + "description": "Policy defines the policy for selecting which events should be sent to the webhook required", + "$ref": "#/definitions/v1alpha1.Policy" }, - "suspend": { - "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "webhook": { + "description": "Webhook to send events required", + "$ref": "#/definitions/v1alpha1.Webhook" } } }, @@ -83889,6 +85748,27 @@ } } }, + "v1alpha1.ServiceReference": { + "description": "ServiceReference holds a reference to Service.legacy.k8s.io", + "required": [ + "namespace", + "name" + ], + "properties": { + "name": { + "description": "`name` is the name of the service. Required", + "type": "string" + }, + "namespace": { + "description": "`namespace` is the namespace of the service. Required", + "type": "string" + }, + "path": { + "description": "`path` is an optional URL path which will be sent in any request to this service.", + "type": "string" + } + } + }, "v1beta2.DaemonSetList": { "description": "DaemonSetList is a collection of daemon sets.", "required": [ @@ -84193,6 +86073,25 @@ } } }, + "policy.v1beta1.RunAsGroupStrategyOptions": { + "description": "RunAsGroupStrategyOptions defines the strategy type and any options used to create the strategy.", + "required": [ + "rule" + ], + "properties": { + "ranges": { + "description": "ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs.", + "type": "array", + "items": { + "$ref": "#/definitions/policy.v1beta1.IDRange" + } + }, + "rule": { + "description": "rule is the strategy that will dictate the allowable RunAsGroup values that may be set.", + "type": "string" + } + } + }, "v1beta1.ClusterRoleList": { "description": "ClusterRoleList is a collection of ClusterRoles", "required": [ @@ -84389,27 +86288,6 @@ } ] }, - "v1beta1.WebhookClientConfig": { - "description": "WebhookClientConfig contains the information to make a TLS connection with the webhook", - "required": [ - "caBundle" - ], - "properties": { - "caBundle": { - "description": "`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. Required.", - "type": "string", - "format": "byte" - }, - "service": { - "description": "`service` is a reference to the service for this webhook. Either `service` or `url` must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`.\n\nPort 443 will be used if it is open, otherwise it is an error.", - "$ref": "#/definitions/admissionregistration.v1beta1.ServiceReference" - }, - "url": { - "description": "`url` gives the location of the webhook, in standard URL form (`[scheme://]host:port/path`). Exactly one of `url` or `service` must be specified.\n\nThe `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.\n\nPlease note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.\n\nThe scheme must be \"https\"; the URL must begin with \"https://\".\n\nA path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.\n\nAttempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either.", - "type": "string" - } - } - }, "v1.Handler": { "description": "Handler defines a specific action that should be taken", "properties": { @@ -84532,7 +86410,7 @@ ], "properties": { "controllerPublishSecretRef": { - "description": "ControllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.", + "description": "ControllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.", "$ref": "#/definitions/v1.SecretReference" }, "driver": { @@ -84544,11 +86422,11 @@ "type": "string" }, "nodePublishSecretRef": { - "description": "NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.", + "description": "NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.", "$ref": "#/definitions/v1.SecretReference" }, "nodeStageSecretRef": { - "description": "NodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.", + "description": "NodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.", "$ref": "#/definitions/v1.SecretReference" }, "readOnly": { @@ -84863,7 +86741,7 @@ ], "properties": { "caBundle": { - "description": "CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate.", + "description": "CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used.", "type": "string", "format": "byte" }, @@ -85022,6 +86900,28 @@ } } }, + "v1.VolumeAttachmentSpec": { + "description": "VolumeAttachmentSpec is the specification of a VolumeAttachment request.", + "required": [ + "attacher", + "source", + "nodeName" + ], + "properties": { + "attacher": { + "description": "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().", + "type": "string" + }, + "nodeName": { + "description": "The node that the volume should be attached to.", + "type": "string" + }, + "source": { + "description": "Source represents the volume that should be attached.", + "$ref": "#/definitions/v1.VolumeAttachmentSource" + } + } + }, "v1beta1.StorageClassList": { "description": "StorageClassList is a collection of storage classes.", "required": [ @@ -85225,6 +87125,10 @@ "description": "Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'.", "type": "string" }, + "enableServiceLinks": { + "description": "EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links.", + "type": "boolean" + }, "hostAliases": { "description": "HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods.", "type": "array", @@ -85458,7 +87362,7 @@ ], "properties": { "caBundle": { - "description": "CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate.", + "description": "CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used.", "type": "string", "format": "byte" }, @@ -85561,17 +87465,54 @@ } } }, + "v1.AWSElasticBlockStoreVolumeSource": { + "description": "Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling.", + "required": [ + "volumeID" + ], + "properties": { + "fsType": { + "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + "type": "string" + }, + "partition": { + "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", + "type": "integer", + "format": "int32" + }, + "readOnly": { + "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + "type": "boolean" + }, + "volumeID": { + "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + "type": "string" + } + } + }, "v1beta1.CustomResourceDefinitionVersion": { + "description": "CustomResourceDefinitionVersion describes a version for CRD.", "required": [ "name", "served", "storage" ], "properties": { + "additionalPrinterColumns": { + "description": "AdditionalPrinterColumns are additional columns shown e.g. in kubectl next to the name. Defaults to a created-at column. Top-level and per-version columns are mutually exclusive. Per-version columns must not all be set to identical values (top-level columns should be used instead) This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature. NOTE: CRDs created prior to 1.13 populated the top-level additionalPrinterColumns field by default. To apply an update that changes to per-version additionalPrinterColumns, the top-level additionalPrinterColumns field must be explicitly set to null", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.CustomResourceColumnDefinition" + } + }, "name": { "description": "Name is the version name, e.g. \u201cv1\u201d, \u201cv2beta1\u201d, etc.", "type": "string" }, + "schema": { + "description": "Schema describes the schema for CustomResource used in validation, pruning, and defaulting. Top-level and per-version schemas are mutually exclusive. Per-version schemas must not all be set to identical values (top-level validation schema should be used instead) This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature.", + "$ref": "#/definitions/v1beta1.CustomResourceValidation" + }, "served": { "description": "Served is a flag enabling/disabling this version from being served via REST APIs", "type": "boolean" @@ -85579,41 +87520,22 @@ "storage": { "description": "Storage flags the version as storage version. There must be exactly one flagged as storage version.", "type": "boolean" + }, + "subresources": { + "description": "Subresources describes the subresources for CustomResource Top-level and per-version subresources are mutually exclusive. Per-version subresources must not all be set to identical values (top-level subresources should be used instead) This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature.", + "$ref": "#/definitions/v1beta1.CustomResourceSubresources" } } }, - "v1beta1.CustomResourceColumnDefinition": { - "description": "CustomResourceColumnDefinition specifies a column for server side printing.", - "required": [ - "name", - "type", - "JSONPath" - ], + "v1.ExecAction": { + "description": "ExecAction describes a \"run in container\" action.", "properties": { - "JSONPath": { - "description": "JSONPath is a simple JSON path, i.e. with array notation.", - "type": "string" - }, - "description": { - "description": "description is a human readable description of this column.", - "type": "string" - }, - "format": { - "description": "format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for more.", - "type": "string" - }, - "name": { - "description": "name is a human readable name for the column.", - "type": "string" - }, - "priority": { - "description": "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a higher priority.", - "type": "integer", - "format": "int32" - }, - "type": { - "description": "type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for more.", - "type": "string" + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + } } } }, @@ -85976,6 +87898,7 @@ }, "strategy": { "description": "The deployment strategy to use to replace existing pods with new ones.", + "x-kubernetes-patch-strategy": "retainKeys", "$ref": "#/definitions/v1beta2.DeploymentStrategy" }, "template": { @@ -86501,31 +88424,6 @@ } ] }, - "v1.AWSElasticBlockStoreVolumeSource": { - "description": "Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling.", - "required": [ - "volumeID" - ], - "properties": { - "fsType": { - "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "string" - }, - "partition": { - "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", - "format": "int32" - }, - "readOnly": { - "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" - }, - "volumeID": { - "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "string" - } - } - }, "v1alpha1.InitializerConfigurationList": { "description": "InitializerConfigurationList is a list of InitializerConfiguration.", "required": [ @@ -86819,6 +88717,13 @@ "v1.TokenReviewSpec": { "description": "TokenReviewSpec is a description of the token authentication request.", "properties": { + "audiences": { + "description": "Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver.", + "type": "array", + "items": { + "type": "string" + } + }, "token": { "description": "Token is the opaque bearer token.", "type": "string" @@ -86846,6 +88751,40 @@ } } }, + "v1.VolumeAttachmentList": { + "description": "VolumeAttachmentList is a collection of VolumeAttachment objects.", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "Items is the list of VolumeAttachments", + "type": "array", + "items": { + "$ref": "#/definitions/v1.VolumeAttachment" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "VolumeAttachmentList", + "version": "v1" + } + ] + }, "v1.ISCSIPersistentVolumeSource": { "description": "ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.", "required": [ @@ -86990,6 +88929,13 @@ "v1beta1.TokenReviewSpec": { "description": "TokenReviewSpec is a description of the token authentication request.", "properties": { + "audiences": { + "description": "Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver.", + "type": "array", + "items": { + "type": "string" + } + }, "token": { "description": "Token is the opaque bearer token.", "type": "string" @@ -87039,6 +88985,40 @@ } } }, + "v1beta1.SubjectAccessReview": { + "description": "SubjectAccessReview checks whether or not a user or group can perform an action.", + "required": [ + "spec" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "Spec holds information about the request being evaluated", + "$ref": "#/definitions/v1beta1.SubjectAccessReviewSpec" + }, + "status": { + "description": "Status is filled in by the server and indicates whether the request is allowed or not", + "$ref": "#/definitions/v1beta1.SubjectAccessReviewStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "authorization.k8s.io", + "kind": "SubjectAccessReview", + "version": "v1beta1" + } + ] + }, "v1beta2.ScaleSpec": { "description": "ScaleSpec describes the attributes of a scale subresource", "properties": { diff --git a/setup.py b/setup.py index 06e17c6683..5ec2fdf1ca 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ # Do not edit these constants. They will be updated automatically # by scripts/update-client.sh. -CLIENT_VERSION = "8.0.0-snapshot" +CLIENT_VERSION = "9.0.0-snapshot" PACKAGE_NAME = "kubernetes" DEVELOPMENT_STATUS = "4 - Beta" From f65d60fb4bd553ed2e3a551ad3a92cfa10459b10 Mon Sep 17 00:00:00 2001 From: Haowei Cai Date: Fri, 7 Dec 2018 17:42:23 -0800 Subject: [PATCH 4/7] Update README and CHANGELOG for 9.0.0a1-preparation --- CHANGELOG.md | 14 ++++++++++++++ README.md | 24 +++++++++++++----------- 2 files changed, 27 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c45059eb68..59c1389e40 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,20 @@ - Refresh GCP auth tokens on API retrieval [kubernetes-client/python-base#92](https://github.com/kubernetes-client/python-base/pull/92) - Fix kubeconfig loading failure when server uri contains trailing slash [kubernetes-client/python-base#45](https://github.com/kubernetes-client/python-base/pull/45) +**API Change:** +- Add dynamic audit configuration api: AuditregistrationV1alpha1Api [kubernetes/kubernetes#67547](https://github.com/kubernetes/kubernetes/pull/67547) +- CSIPersistentVolume feature, i.e. PersistentVolumes with CSIPersistentVolumeSource, is GA. CSIPersistentVolume feature gate is now deprecated and will be removed according to deprecation policy. [kubernetes/kubernetes#69929](https://github.com/kubernetes/kubernetes/pull/69929) +- Add support for CRD conversion webhook [kubernetes/kubernetes#67006](https://github.com/kubernetes/kubernetes/pull/67006) +- CRD supports multi-version Schema, Subresources and AdditionalPrintColumns (NOTE that CRDs created prior to 1.13 populated the top-level additionalPrinterColumns field by default. To apply an update that changes to per-version additionalPrinterColumns, the top-level additionalPrinterColumns field must be explicitly set to null). [kubernetes/kubernetes#70211](https://github.com/kubernetes/kubernetes/pull/70211) +- Add ability to control primary GID of containers through Pod Spec and PodSecurityPolicy [kubernetes/kubernetes#67802](https://github.com/kubernetes/kubernetes/pull/67802) +- Refactor GlusterFS PV spec. This patch introduces glusterfsPersistentVolumeSource addition to glusterfsVolumeSource. All fields remains same as glusterfsVolumeSource with an addition of a new field called `EndpointsNamespace` to define namespace of endpoint in the spec. [kubernetes/kubernetes#60195](https://github.com/kubernetes/kubernetes/pull/60195) +- Delete request's body parameter is optional [kubernetes/kubernetes#70032](https://github.com/kubernetes/kubernetes/pull/70032) +- Make service environment variables optional [kubernetes/kubernetes#68754](https://github.com/kubernetes/kubernetes/pull/68754) +- TokenReview now supports audience validation of tokens with audiences other than the kube-apiserver. [kubernetes/kubernetes#62692](https://github.com/kubernetes/kubernetes/pull/62692) + +**Breaking Change:** +- Model v1beta1WebhookClientConfig is renamed to AdmissionregistrationV1beta1WebhookClientConfig, to avoid naming conflict with ApiextensionsV1beta1WebhookClientConfig introduced in: [kubernetes/kubernetes#67006](https://github.com/kubernetes/kubernetes/pull/67006) + # v8.0.0 **New Feature:** - Add utility to create API resource from yaml file [kubernetes-client/python#655](https://github.com/kubernetes-client/python/pull/655) diff --git a/README.md b/README.md index c3017a272a..1f0204ac1f 100644 --- a/README.md +++ b/README.md @@ -83,17 +83,18 @@ supported versions of Kubernetes clusters. #### Compatibility matrix -| | Kubernetes 1.4 | Kubernetes 1.5 | Kubernetes 1.6 | Kubernetes 1.7 | Kubernetes 1.8 | Kubernetes 1.9 | Kubernetes 1.10 | Kubernetes 1.11 | Kubernetes 1.12 | -|--------------------|----------------|----------------|----------------|----------------|----------------|----------------|-----------------|-----------------|-----------------| -| client-python 1.0 | + | ✓ | - | - |- |- | | | | -| client-python 2.0 | + | + | ✓ | - |- |- | | | | -| client-python 3.0 | + | + | + | ✓ |- |- | | | | -| client-python 4.0 | + | + | + | + |✓ |- | | | | -| client-python 5.0 | + | + | + | + |+ |✓ | | | | -| client-python 6.0 | + | + | + | + |+ |+ |✓ | | | -| client-python 7.0 | + | + | + | + |+ |+ |+ |✓ | | -| client-python 8.0 | + | + | + | + |+ |+ |+ |+ |✓ | -| client-python HEAD | + | + | + | + |+ |+ |+ |+ |✓ | +| | Kubernetes 1.4 | Kubernetes 1.5 | Kubernetes 1.6 | Kubernetes 1.7 | Kubernetes 1.8 | Kubernetes 1.9 | Kubernetes 1.10 | Kubernetes 1.11 | Kubernetes 1.12 | Kubernetes 1.13 | +|--------------------|----------------|----------------|----------------|----------------|----------------|----------------|-----------------|-----------------|-----------------|-----------------| +| client-python 1.0 | + | ✓ | - | - |- |- | | | | | +| client-python 2.0 | + | + | ✓ | - |- |- | | | | | +| client-python 3.0 | + | + | + | ✓ |- |- | | | | | +| client-python 4.0 | + | + | + | + |✓ |- | | | | | +| client-python 5.0 | + | + | + | + |+ |✓ | | | | | +| client-python 6.0 | + | + | + | + |+ |+ |✓ | | | | +| client-python 7.0 | + | + | + | + |+ |+ |+ |✓ | | | +| client-python 8.0 | + | + | + | + |+ |+ |+ |+ |✓ | | +| client-python 9.0 | + | + | + | + |+ |+ |+ |+ |+ |✓ | +| client-python HEAD | + | + | + | + |+ |+ |+ |+ |+ |✓ | Key: @@ -125,6 +126,7 @@ between client-python versions. | 7.0 | Kubernetes main repo, 1.11 branch | ✓ | | 8.0 Alpha/Beta | Kubernetes main repo, 1.12 branch | ✗ | | 8.0 | Kubernetes main repo, 1.12 branch | ✓ | +| 9.0 Alpha/Beta | Kubernetes main repo, 1.13 branch | ✓ | Key: From 2af8df8f44bfa47c322df6b635444656f551ff3e Mon Sep 17 00:00:00 2001 From: Haowei Cai Date: Fri, 7 Dec 2018 18:18:24 -0800 Subject: [PATCH 5/7] Add 6.1.0 and 8.0.1 changelog --- CHANGELOG.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 59c1389e40..62b0c04008 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,22 @@ **Breaking Change:** - Model v1beta1WebhookClientConfig is renamed to AdmissionregistrationV1beta1WebhookClientConfig, to avoid naming conflict with ApiextensionsV1beta1WebhookClientConfig introduced in: [kubernetes/kubernetes#67006](https://github.com/kubernetes/kubernetes/pull/67006) +# v8.0.1 +**Bug Fix:** +- Refresh GCP auth tokens on API retrieval [kubernetes-client/python-base#92](https://github.com/kubernetes-client/python-base/pull/92) +- Fix kubeconfig loading failure when server uri contains trailing slash [kubernetes-client/python-base#45](https://github.com/kubernetes-client/python-base/pull/45) + +# v6.1.0 +- Python 3.7 support +- Update to Kubernetes 1.10.10 API + +**Breaking Change:** +- **ACTION REQUIRED** Rename the currently being-used `async` parameter to `async_req` to support Python 3.7 because `async` is a reserved keyword in Python 3.7 [kubernetes-client/gen#67](https://github.com/kubernetes-client/gen/pull/67) +- **NOTE** Python 3.7 was released after v6.0.0 release. It's not necessary to upgrade your client to v6.1.0 if you do not use Python 3.7+. + +**API change:** +- Add custom object status and scale api kubernetes-client/gen#72 + # v8.0.0 **New Feature:** - Add utility to create API resource from yaml file [kubernetes-client/python#655](https://github.com/kubernetes-client/python/pull/655) From b9d2679f4eecf8d1ebf4f48e811f07f19e283b65 Mon Sep 17 00:00:00 2001 From: Haowei Cai Date: Tue, 18 Dec 2018 05:01:47 -0800 Subject: [PATCH 6/7] Duplicate the DELETE param changelog in Breaking Change --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 62b0c04008..30128619a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ **Breaking Change:** - Model v1beta1WebhookClientConfig is renamed to AdmissionregistrationV1beta1WebhookClientConfig, to avoid naming conflict with ApiextensionsV1beta1WebhookClientConfig introduced in: [kubernetes/kubernetes#67006](https://github.com/kubernetes/kubernetes/pull/67006) +- Delete request's body parameter is optional [kubernetes/kubernetes#70032](https://github.com/kubernetes/kubernetes/pull/70032) # v8.0.1 **Bug Fix:** From e7e077c965633fdfac12dc64838b02e7209b391a Mon Sep 17 00:00:00 2001 From: Haowei Cai Date: Wed, 26 Dec 2018 23:31:17 -0800 Subject: [PATCH 7/7] Mention security fix in 9.0.0a1, 8.0.1 and 7.0.1 releases --- CHANGELOG.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 30128619a1..933fb24976 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,9 @@ - Refresh GCP auth tokens on API retrieval [kubernetes-client/python-base#92](https://github.com/kubernetes-client/python-base/pull/92) - Fix kubeconfig loading failure when server uri contains trailing slash [kubernetes-client/python-base#45](https://github.com/kubernetes-client/python-base/pull/45) +**Security Fix:** +- Bump urllib3 version to pick up security fix for CVE-2018-20060 [kubernetes-client/python#707](https://github.com/kubernetes-client/python/pull/707) + **API Change:** - Add dynamic audit configuration api: AuditregistrationV1alpha1Api [kubernetes/kubernetes#67547](https://github.com/kubernetes/kubernetes/pull/67547) - CSIPersistentVolume feature, i.e. PersistentVolumes with CSIPersistentVolumeSource, is GA. CSIPersistentVolume feature gate is now deprecated and will be removed according to deprecation policy. [kubernetes/kubernetes#69929](https://github.com/kubernetes/kubernetes/pull/69929) @@ -23,6 +26,13 @@ - Refresh GCP auth tokens on API retrieval [kubernetes-client/python-base#92](https://github.com/kubernetes-client/python-base/pull/92) - Fix kubeconfig loading failure when server uri contains trailing slash [kubernetes-client/python-base#45](https://github.com/kubernetes-client/python-base/pull/45) +**Security Fix:** +- Bump urllib3 version to pick up security fix for CVE-2018-20060 [kubernetes-client/python#707](https://github.com/kubernetes-client/python/pull/707) + +# v7.0.1 +**Security Fix:** +- Bump urllib3 version to pick up security fix for CVE-2018-20060 [kubernetes-client/python#707](https://github.com/kubernetes-client/python/pull/707) + # v6.1.0 - Python 3.7 support - Update to Kubernetes 1.10.10 API