From ec9c944f076999543cd2122aff2d86f969d82548 Mon Sep 17 00:00:00 2001 From: Nabarun Pal Date: Mon, 22 Jun 2020 20:52:39 +0530 Subject: [PATCH] Remove tests since they have syntactical issues and are noop Reference: https://github.com/OpenAPITools/openapi-generator/issues/5377 Signed-off-by: Nabarun Pal --- kubernetes/test/__init__.py | 0 .../test/test_admissionregistration_api.py | 39 - .../test/test_admissionregistration_v1_api.py | 123 - ...issionregistration_v1_service_reference.py | 57 - ...onregistration_v1_webhook_client_config.py | 58 - .../test_admissionregistration_v1beta1_api.py | 123 - ...nregistration_v1beta1_service_reference.py | 57 - ...istration_v1beta1_webhook_client_config.py | 58 - kubernetes/test/test_apiextensions_api.py | 39 - kubernetes/test/test_apiextensions_v1_api.py | 99 - ...test_apiextensions_v1_service_reference.py | 57 - ..._apiextensions_v1_webhook_client_config.py | 58 - .../test/test_apiextensions_v1beta1_api.py | 99 - ...apiextensions_v1beta1_service_reference.py | 57 - ...xtensions_v1beta1_webhook_client_config.py | 58 - kubernetes/test/test_apiregistration_api.py | 39 - .../test/test_apiregistration_v1_api.py | 99 - ...st_apiregistration_v1_service_reference.py | 54 - .../test/test_apiregistration_v1beta1_api.py | 99 - ...iregistration_v1beta1_service_reference.py | 54 - kubernetes/test/test_apis_api.py | 39 - kubernetes/test/test_apps_api.py | 39 - kubernetes/test/test_apps_v1_api.py | 405 -- kubernetes/test/test_apps_v1beta1_api.py | 261 - .../test/test_apps_v1beta1_deployment.py | 174 - .../test_apps_v1beta1_deployment_condition.py | 59 - .../test/test_apps_v1beta1_deployment_list.py | 232 - .../test_apps_v1beta1_deployment_rollback.py | 62 - .../test/test_apps_v1beta1_deployment_spec.py | 1043 --- .../test_apps_v1beta1_deployment_status.py | 67 - .../test_apps_v1beta1_deployment_strategy.py | 55 - .../test/test_apps_v1beta1_rollback_config.py | 52 - ..._apps_v1beta1_rolling_update_deployment.py | 53 - kubernetes/test/test_apps_v1beta1_scale.py | 100 - .../test/test_apps_v1beta1_scale_spec.py | 52 - .../test/test_apps_v1beta1_scale_status.py | 57 - kubernetes/test/test_apps_v1beta2_api.py | 405 -- kubernetes/test/test_auditregistration_api.py | 39 - .../test_auditregistration_v1alpha1_api.py | 81 - kubernetes/test/test_authentication_api.py | 39 - kubernetes/test/test_authentication_v1_api.py | 45 - .../test/test_authentication_v1beta1_api.py | 45 - kubernetes/test/test_authorization_api.py | 39 - kubernetes/test/test_authorization_v1_api.py | 63 - .../test/test_authorization_v1beta1_api.py | 63 - kubernetes/test/test_autoscaling_api.py | 39 - kubernetes/test/test_autoscaling_v1_api.py | 105 - .../test/test_autoscaling_v2beta1_api.py | 105 - .../test/test_autoscaling_v2beta2_api.py | 105 - kubernetes/test/test_batch_api.py | 39 - kubernetes/test/test_batch_v1_api.py | 105 - kubernetes/test/test_batch_v1beta1_api.py | 105 - kubernetes/test/test_batch_v2alpha1_api.py | 105 - kubernetes/test/test_certificates_api.py | 39 - .../test/test_certificates_v1beta1_api.py | 105 - kubernetes/test/test_coordination_api.py | 39 - kubernetes/test/test_coordination_v1_api.py | 87 - .../test/test_coordination_v1beta1_api.py | 87 - kubernetes/test/test_core_api.py | 39 - kubernetes/test/test_core_v1_api.py | 1227 ---- kubernetes/test/test_custom_objects_api.py | 189 - kubernetes/test/test_discovery_api.py | 39 - .../test/test_discovery_v1alpha1_api.py | 87 - kubernetes/test/test_events_api.py | 39 - kubernetes/test/test_events_v1beta1_api.py | 87 - kubernetes/test/test_extensions_api.py | 39 - ...t_extensions_v1beta1_allowed_csi_driver.py | 53 - ..._extensions_v1beta1_allowed_flex_volume.py | 53 - ...st_extensions_v1beta1_allowed_host_path.py | 53 - .../test/test_extensions_v1beta1_api.py | 453 -- .../test_extensions_v1beta1_deployment.py | 607 -- ...extensions_v1beta1_deployment_condition.py | 59 - ...test_extensions_v1beta1_deployment_list.py | 232 - ..._extensions_v1beta1_deployment_rollback.py | 62 - ...test_extensions_v1beta1_deployment_spec.py | 1043 --- ...st_extensions_v1beta1_deployment_status.py | 67 - ..._extensions_v1beta1_deployment_strategy.py | 55 - ...sions_v1beta1_fs_group_strategy_options.py | 57 - ...test_extensions_v1beta1_host_port_range.py | 55 - ...st_extensions_v1beta1_http_ingress_path.py | 58 - ...ensions_v1beta1_http_ingress_rule_value.py | 65 - .../test/test_extensions_v1beta1_id_range.py | 55 - .../test/test_extensions_v1beta1_ingress.py | 122 - ...test_extensions_v1beta1_ingress_backend.py | 55 - .../test_extensions_v1beta1_ingress_list.py | 206 - .../test_extensions_v1beta1_ingress_rule.py | 60 - .../test_extensions_v1beta1_ingress_spec.py | 73 - .../test_extensions_v1beta1_ingress_status.py | 57 - .../test_extensions_v1beta1_ingress_tls.py | 55 - ..._extensions_v1beta1_pod_security_policy.py | 164 - ...nsions_v1beta1_pod_security_policy_list.py | 290 - ...nsions_v1beta1_pod_security_policy_spec.py | 165 - ...test_extensions_v1beta1_rollback_config.py | 52 - ...sions_v1beta1_rolling_update_deployment.py | 53 - ...s_v1beta1_run_as_group_strategy_options.py | 58 - ...ns_v1beta1_run_as_user_strategy_options.py | 58 - ..._v1beta1_runtime_class_strategy_options.py | 58 - .../test/test_extensions_v1beta1_scale.py | 100 - .../test_extensions_v1beta1_scale_spec.py | 52 - .../test_extensions_v1beta1_scale_status.py | 57 - ...sions_v1beta1_se_linux_strategy_options.py | 58 - ...a1_supplemental_groups_strategy_options.py | 57 - kubernetes/test/test_logs_api.py | 45 - kubernetes/test/test_networking_api.py | 39 - kubernetes/test/test_networking_v1_api.py | 87 - .../test/test_networking_v1beta1_api.py | 105 - ...st_networking_v1beta1_http_ingress_path.py | 58 - ...working_v1beta1_http_ingress_rule_value.py | 65 - .../test/test_networking_v1beta1_ingress.py | 122 - ...test_networking_v1beta1_ingress_backend.py | 55 - .../test_networking_v1beta1_ingress_list.py | 206 - .../test_networking_v1beta1_ingress_rule.py | 60 - .../test_networking_v1beta1_ingress_spec.py | 73 - .../test_networking_v1beta1_ingress_status.py | 57 - .../test_networking_v1beta1_ingress_tls.py | 55 - kubernetes/test/test_node_api.py | 39 - kubernetes/test/test_node_v1alpha1_api.py | 81 - kubernetes/test/test_node_v1beta1_api.py | 81 - kubernetes/test/test_policy_api.py | 39 - .../test_policy_v1beta1_allowed_csi_driver.py | 53 - ...test_policy_v1beta1_allowed_flex_volume.py | 53 - .../test_policy_v1beta1_allowed_host_path.py | 53 - kubernetes/test/test_policy_v1beta1_api.py | 147 - ...olicy_v1beta1_fs_group_strategy_options.py | 57 - .../test_policy_v1beta1_host_port_range.py | 55 - .../test/test_policy_v1beta1_id_range.py | 55 - ...test_policy_v1beta1_pod_security_policy.py | 164 - ...policy_v1beta1_pod_security_policy_list.py | 290 - ...policy_v1beta1_pod_security_policy_spec.py | 165 - ...y_v1beta1_run_as_group_strategy_options.py | 58 - ...cy_v1beta1_run_as_user_strategy_options.py | 58 - ..._v1beta1_runtime_class_strategy_options.py | 58 - ...olicy_v1beta1_se_linux_strategy_options.py | 58 - ...a1_supplemental_groups_strategy_options.py | 57 - .../test/test_rbac_authorization_api.py | 39 - .../test/test_rbac_authorization_v1_api.py | 219 - .../test_rbac_authorization_v1alpha1_api.py | 219 - .../test_rbac_authorization_v1beta1_api.py | 219 - kubernetes/test/test_scheduling_api.py | 39 - kubernetes/test/test_scheduling_v1_api.py | 81 - .../test/test_scheduling_v1alpha1_api.py | 81 - .../test/test_scheduling_v1beta1_api.py | 81 - kubernetes/test/test_settings_api.py | 39 - kubernetes/test/test_settings_v1alpha1_api.py | 87 - kubernetes/test/test_storage_api.py | 39 - kubernetes/test/test_storage_v1_api.py | 141 - kubernetes/test/test_storage_v1alpha1_api.py | 81 - kubernetes/test/test_storage_v1beta1_api.py | 207 - kubernetes/test/test_v1_affinity.py | 126 - kubernetes/test/test_v1_aggregation_rule.py | 65 - kubernetes/test/test_v1_api_group.py | 73 - kubernetes/test/test_v1_api_group_list.py | 91 - kubernetes/test/test_v1_api_resource.py | 74 - kubernetes/test/test_v1_api_resource_list.py | 93 - kubernetes/test/test_v1_api_service.py | 112 - .../test/test_v1_api_service_condition.py | 58 - kubernetes/test/test_v1_api_service_list.py | 186 - kubernetes/test/test_v1_api_service_spec.py | 67 - kubernetes/test/test_v1_api_service_status.py | 59 - kubernetes/test/test_v1_api_versions.py | 69 - kubernetes/test/test_v1_attached_volume.py | 55 - ...1_aws_elastic_block_store_volume_source.py | 56 - .../test/test_v1_azure_disk_volume_source.py | 59 - ..._v1_azure_file_persistent_volume_source.py | 57 - .../test/test_v1_azure_file_volume_source.py | 56 - kubernetes/test/test_v1_binding.py | 108 - .../test/test_v1_bound_object_reference.py | 55 - kubernetes/test/test_v1_capabilities.py | 57 - ...est_v1_ceph_fs_persistent_volume_source.py | 64 - .../test/test_v1_ceph_fs_volume_source.py | 63 - ...test_v1_cinder_persistent_volume_source.py | 58 - .../test/test_v1_cinder_volume_source.py | 57 - kubernetes/test/test_v1_client_ip_config.py | 52 - kubernetes/test/test_v1_cluster_role.py | 125 - .../test/test_v1_cluster_role_binding.py | 107 - .../test/test_v1_cluster_role_binding_list.py | 168 - kubernetes/test/test_v1_cluster_role_list.py | 212 - .../test/test_v1_component_condition.py | 57 - kubernetes/test/test_v1_component_status.py | 99 - .../test/test_v1_component_status_list.py | 160 - kubernetes/test/test_v1_config_map.py | 98 - .../test/test_v1_config_map_env_source.py | 53 - .../test/test_v1_config_map_key_selector.py | 55 - kubernetes/test/test_v1_config_map_list.py | 158 - .../test_v1_config_map_node_config_source.py | 59 - .../test/test_v1_config_map_projection.py | 59 - .../test/test_v1_config_map_volume_source.py | 60 - kubernetes/test/test_v1_container.py | 240 - kubernetes/test/test_v1_container_image.py | 58 - kubernetes/test/test_v1_container_port.py | 57 - kubernetes/test/test_v1_container_state.py | 64 - .../test/test_v1_container_state_running.py | 52 - .../test_v1_container_state_terminated.py | 59 - .../test/test_v1_container_state_waiting.py | 53 - kubernetes/test/test_v1_container_status.py | 91 - .../test/test_v1_controller_revision.py | 95 - .../test/test_v1_controller_revision_list.py | 150 - .../test_v1_cross_version_object_reference.py | 56 - .../test_v1_csi_persistent_volume_source.py | 72 - kubernetes/test/test_v1_csi_volume_source.py | 60 - ...st_v1_custom_resource_column_definition.py | 60 - .../test_v1_custom_resource_conversion.py | 65 - .../test_v1_custom_resource_definition.py | 2279 ------- ...v1_custom_resource_definition_condition.py | 58 - ...test_v1_custom_resource_definition_list.py | 2344 ------- ...est_v1_custom_resource_definition_names.py | 63 - ...test_v1_custom_resource_definition_spec.py | 2198 ------- ...st_v1_custom_resource_definition_status.py | 87 - ...t_v1_custom_resource_definition_version.py | 1104 ---- ...st_v1_custom_resource_subresource_scale.py | 56 - .../test_v1_custom_resource_subresources.py | 56 - .../test_v1_custom_resource_validation.py | 1082 ---- kubernetes/test/test_v1_daemon_endpoint.py | 53 - kubernetes/test/test_v1_daemon_set.py | 602 -- .../test/test_v1_daemon_set_condition.py | 58 - kubernetes/test/test_v1_daemon_set_list.py | 222 - kubernetes/test/test_v1_daemon_set_spec.py | 1049 --- kubernetes/test/test_v1_daemon_set_status.py | 72 - .../test_v1_daemon_set_update_strategy.py | 54 - kubernetes/test/test_v1_delete_options.py | 62 - kubernetes/test/test_v1_deployment.py | 605 -- .../test/test_v1_deployment_condition.py | 59 - kubernetes/test/test_v1_deployment_list.py | 228 - kubernetes/test/test_v1_deployment_spec.py | 1053 --- kubernetes/test/test_v1_deployment_status.py | 67 - .../test/test_v1_deployment_strategy.py | 55 - .../test/test_v1_downward_api_projection.py | 63 - .../test/test_v1_downward_api_volume_file.py | 61 - .../test_v1_downward_api_volume_source.py | 64 - .../test/test_v1_empty_dir_volume_source.py | 53 - kubernetes/test/test_v1_endpoint_address.py | 63 - kubernetes/test/test_v1_endpoint_port.py | 55 - kubernetes/test/test_v1_endpoint_subset.py | 85 - kubernetes/test/test_v1_endpoints.py | 121 - kubernetes/test/test_v1_endpoints_list.py | 204 - kubernetes/test/test_v1_env_from_source.py | 58 - kubernetes/test/test_v1_env_var.py | 70 - kubernetes/test/test_v1_env_var_source.py | 66 - .../test/test_v1_ephemeral_container.py | 241 - kubernetes/test/test_v1_event.py | 172 - kubernetes/test/test_v1_event_list.py | 212 - kubernetes/test/test_v1_event_series.py | 54 - kubernetes/test/test_v1_event_source.py | 53 - kubernetes/test/test_v1_exec_action.py | 54 - .../test/test_v1_external_documentation.py | 53 - kubernetes/test/test_v1_fc_volume_source.py | 60 - .../test_v1_flex_persistent_volume_source.py | 61 - kubernetes/test/test_v1_flex_volume_source.py | 60 - .../test/test_v1_flocker_volume_source.py | 53 - ...st_v1_gce_persistent_disk_volume_source.py | 56 - .../test/test_v1_git_repo_volume_source.py | 55 - ...t_v1_glusterfs_persistent_volume_source.py | 57 - .../test/test_v1_glusterfs_volume_source.py | 56 - .../test_v1_group_version_for_discovery.py | 55 - kubernetes/test/test_v1_handler.py | 68 - .../test/test_v1_horizontal_pod_autoscaler.py | 106 - .../test_v1_horizontal_pod_autoscaler_list.py | 174 - .../test_v1_horizontal_pod_autoscaler_spec.py | 63 - ...est_v1_horizontal_pod_autoscaler_status.py | 58 - kubernetes/test/test_v1_host_alias.py | 55 - .../test/test_v1_host_path_volume_source.py | 54 - kubernetes/test/test_v1_http_get_action.py | 61 - kubernetes/test/test_v1_http_header.py | 55 - kubernetes/test/test_v1_ip_block.py | 56 - .../test_v1_iscsi_persistent_volume_source.py | 69 - .../test/test_v1_iscsi_volume_source.py | 68 - kubernetes/test/test_v1_job.py | 599 -- kubernetes/test/test_v1_job_condition.py | 59 - kubernetes/test/test_v1_job_list.py | 216 - kubernetes/test/test_v1_job_spec.py | 1037 --- kubernetes/test/test_v1_job_status.py | 65 - kubernetes/test/test_v1_json_schema_props.py | 5653 ----------------- kubernetes/test/test_v1_key_to_path.py | 56 - kubernetes/test/test_v1_label_selector.py | 62 - .../test_v1_label_selector_requirement.py | 58 - kubernetes/test/test_v1_lease.py | 98 - kubernetes/test/test_v1_lease_list.py | 158 - kubernetes/test/test_v1_lease_spec.py | 56 - kubernetes/test/test_v1_lifecycle.py | 87 - kubernetes/test/test_v1_limit_range.py | 112 - kubernetes/test/test_v1_limit_range_item.py | 67 - kubernetes/test/test_v1_limit_range_list.py | 186 - kubernetes/test/test_v1_limit_range_spec.py | 89 - kubernetes/test/test_v1_list_meta.py | 55 - .../test/test_v1_load_balancer_ingress.py | 53 - .../test/test_v1_load_balancer_status.py | 56 - .../test/test_v1_local_object_reference.py | 52 - .../test_v1_local_subject_access_review.py | 141 - .../test/test_v1_local_volume_source.py | 54 - .../test/test_v1_managed_fields_entry.py | 57 - kubernetes/test/test_v1_mutating_webhook.py | 121 - .../test_v1_mutating_webhook_configuration.py | 141 - ..._v1_mutating_webhook_configuration_list.py | 244 - kubernetes/test/test_v1_namespace.py | 106 - .../test/test_v1_namespace_condition.py | 58 - kubernetes/test/test_v1_namespace_list.py | 168 - kubernetes/test/test_v1_namespace_spec.py | 54 - kubernetes/test/test_v1_namespace_status.py | 60 - kubernetes/test/test_v1_network_policy.py | 132 - .../test_v1_network_policy_egress_rule.py | 77 - .../test_v1_network_policy_ingress_rule.py | 77 - .../test/test_v1_network_policy_list.py | 226 - .../test/test_v1_network_policy_peer.py | 80 - .../test/test_v1_network_policy_port.py | 53 - .../test/test_v1_network_policy_spec.py | 136 - kubernetes/test/test_v1_nfs_volume_source.py | 56 - kubernetes/test/test_v1_node.py | 176 - kubernetes/test/test_v1_node_address.py | 55 - kubernetes/test/test_v1_node_affinity.py | 86 - kubernetes/test/test_v1_node_condition.py | 59 - kubernetes/test/test_v1_node_config_source.py | 57 - kubernetes/test/test_v1_node_config_status.py | 73 - .../test/test_v1_node_daemon_endpoints.py | 53 - kubernetes/test/test_v1_node_list.py | 302 - kubernetes/test/test_v1_node_selector.py | 83 - .../test/test_v1_node_selector_requirement.py | 58 - kubernetes/test/test_v1_node_selector_term.py | 67 - kubernetes/test/test_v1_node_spec.py | 72 - kubernetes/test/test_v1_node_status.py | 112 - kubernetes/test/test_v1_node_system_info.py | 71 - .../test/test_v1_non_resource_attributes.py | 53 - kubernetes/test/test_v1_non_resource_rule.py | 60 - .../test/test_v1_object_field_selector.py | 54 - kubernetes/test/test_v1_object_meta.py | 89 - kubernetes/test/test_v1_object_reference.py | 58 - kubernetes/test/test_v1_owner_reference.py | 61 - kubernetes/test/test_v1_persistent_volume.py | 287 - .../test/test_v1_persistent_volume_claim.py | 139 - ...st_v1_persistent_volume_claim_condition.py | 59 - .../test_v1_persistent_volume_claim_list.py | 234 - .../test_v1_persistent_volume_claim_spec.py | 80 - .../test_v1_persistent_volume_claim_status.py | 67 - ...1_persistent_volume_claim_volume_source.py | 54 - .../test/test_v1_persistent_volume_list.py | 536 -- .../test/test_v1_persistent_volume_spec.py | 261 - .../test/test_v1_persistent_volume_status.py | 54 - ...v1_photon_persistent_disk_volume_source.py | 54 - kubernetes/test/test_v1_pod.py | 603 -- kubernetes/test/test_v1_pod_affinity.py | 91 - kubernetes/test/test_v1_pod_affinity_term.py | 68 - kubernetes/test/test_v1_pod_anti_affinity.py | 91 - kubernetes/test/test_v1_pod_condition.py | 59 - kubernetes/test/test_v1_pod_dns_config.py | 62 - .../test/test_v1_pod_dns_config_option.py | 53 - kubernetes/test/test_v1_pod_ip.py | 52 - kubernetes/test/test_v1_pod_list.py | 1168 ---- kubernetes/test/test_v1_pod_readiness_gate.py | 53 - .../test/test_v1_pod_security_context.py | 72 - kubernetes/test/test_v1_pod_spec.py | 903 --- kubernetes/test/test_v1_pod_status.py | 147 - kubernetes/test/test_v1_pod_template.py | 576 -- kubernetes/test/test_v1_pod_template_list.py | 1036 --- kubernetes/test/test_v1_pod_template_spec.py | 534 -- kubernetes/test/test_v1_policy_rule.py | 69 - .../test/test_v1_portworx_volume_source.py | 55 - kubernetes/test/test_v1_preconditions.py | 53 - .../test/test_v1_preferred_scheduling_term.py | 81 - kubernetes/test/test_v1_priority_class.py | 97 - .../test/test_v1_priority_class_list.py | 154 - kubernetes/test/test_v1_probe.py | 73 - .../test/test_v1_projected_volume_source.py | 92 - .../test/test_v1_quobyte_volume_source.py | 59 - .../test_v1_rbd_persistent_volume_source.py | 67 - kubernetes/test/test_v1_rbd_volume_source.py | 66 - kubernetes/test/test_v1_replica_set.py | 161 - .../test/test_v1_replica_set_condition.py | 58 - kubernetes/test/test_v1_replica_set_list.py | 206 - kubernetes/test/test_v1_replica_set_spec.py | 561 -- kubernetes/test/test_v1_replica_set_status.py | 65 - .../test/test_v1_replication_controller.py | 152 - ...est_v1_replication_controller_condition.py | 58 - .../test_v1_replication_controller_list.py | 188 - .../test_v1_replication_controller_spec.py | 540 -- .../test_v1_replication_controller_status.py | 65 - .../test/test_v1_resource_attributes.py | 58 - .../test/test_v1_resource_field_selector.py | 55 - kubernetes/test/test_v1_resource_quota.py | 115 - .../test/test_v1_resource_quota_list.py | 186 - .../test/test_v1_resource_quota_spec.py | 66 - .../test/test_v1_resource_quota_status.py | 57 - .../test/test_v1_resource_requirements.py | 57 - kubernetes/test/test_v1_resource_rule.py | 66 - kubernetes/test/test_v1_role.py | 110 - kubernetes/test/test_v1_role_binding.py | 107 - kubernetes/test/test_v1_role_binding_list.py | 168 - kubernetes/test/test_v1_role_list.py | 182 - kubernetes/test/test_v1_role_ref.py | 57 - .../test/test_v1_rolling_update_daemon_set.py | 52 - .../test/test_v1_rolling_update_deployment.py | 53 - ...v1_rolling_update_stateful_set_strategy.py | 52 - .../test/test_v1_rule_with_operations.py | 64 - kubernetes/test/test_v1_scale.py | 97 - ...st_v1_scale_io_persistent_volume_source.py | 68 - .../test/test_v1_scale_io_volume_source.py | 66 - kubernetes/test/test_v1_scale_spec.py | 52 - kubernetes/test/test_v1_scale_status.py | 54 - kubernetes/test/test_v1_scope_selector.py | 59 - ...v1_scoped_resource_selector_requirement.py | 58 - kubernetes/test/test_v1_se_linux_options.py | 55 - kubernetes/test/test_v1_secret.py | 99 - kubernetes/test/test_v1_secret_env_source.py | 53 - .../test/test_v1_secret_key_selector.py | 55 - kubernetes/test/test_v1_secret_list.py | 160 - kubernetes/test/test_v1_secret_projection.py | 59 - kubernetes/test/test_v1_secret_reference.py | 53 - .../test/test_v1_secret_volume_source.py | 60 - kubernetes/test/test_v1_security_context.py | 74 - .../test_v1_self_subject_access_review.py | 121 - ...test_v1_self_subject_access_review_spec.py | 62 - .../test/test_v1_self_subject_rules_review.py | 123 - .../test_v1_self_subject_rules_review_spec.py | 52 - .../test_v1_server_address_by_client_cidr.py | 55 - kubernetes/test/test_v1_service.py | 129 - kubernetes/test/test_v1_service_account.py | 107 - .../test/test_v1_service_account_list.py | 176 - ...est_v1_service_account_token_projection.py | 55 - kubernetes/test/test_v1_service_list.py | 220 - kubernetes/test/test_v1_service_port.py | 57 - kubernetes/test/test_v1_service_spec.py | 80 - kubernetes/test/test_v1_service_status.py | 57 - .../test/test_v1_session_affinity_config.py | 53 - kubernetes/test/test_v1_stateful_set.py | 625 -- .../test/test_v1_stateful_set_condition.py | 58 - kubernetes/test/test_v1_stateful_set_list.py | 252 - kubernetes/test/test_v1_stateful_set_spec.py | 1140 ---- .../test/test_v1_stateful_set_status.py | 68 - .../test_v1_stateful_set_update_strategy.py | 54 - kubernetes/test/test_v1_status.py | 74 - kubernetes/test/test_v1_status_cause.py | 54 - kubernetes/test/test_v1_status_details.py | 62 - kubernetes/test/test_v1_storage_class.py | 113 - kubernetes/test/test_v1_storage_class_list.py | 186 - ..._v1_storage_os_persistent_volume_source.py | 63 - .../test/test_v1_storage_os_volume_source.py | 57 - kubernetes/test/test_v1_subject.py | 57 - .../test/test_v1_subject_access_review.py | 141 - .../test_v1_subject_access_review_spec.py | 72 - .../test_v1_subject_access_review_status.py | 56 - .../test_v1_subject_rules_review_status.py | 102 - kubernetes/test/test_v1_sysctl.py | 55 - kubernetes/test/test_v1_taint.py | 57 - kubernetes/test/test_v1_tcp_socket_action.py | 54 - kubernetes/test/test_v1_token_request.py | 115 - kubernetes/test/test_v1_token_request_spec.py | 63 - .../test/test_v1_token_request_status.py | 55 - kubernetes/test/test_v1_token_review.py | 119 - kubernetes/test/test_v1_token_review_spec.py | 55 - .../test/test_v1_token_review_status.py | 67 - kubernetes/test/test_v1_toleration.py | 56 - ..._v1_topology_selector_label_requirement.py | 59 - .../test/test_v1_topology_selector_term.py | 58 - .../test_v1_topology_spread_constraint.py | 69 - .../test_v1_typed_local_object_reference.py | 56 - kubernetes/test/test_v1_user_info.py | 61 - kubernetes/test/test_v1_validating_webhook.py | 120 - ...est_v1_validating_webhook_configuration.py | 140 - ...1_validating_webhook_configuration_list.py | 242 - kubernetes/test/test_v1_volume.py | 263 - kubernetes/test/test_v1_volume_attachment.py | 495 -- .../test/test_v1_volume_attachment_list.py | 560 -- .../test/test_v1_volume_attachment_source.py | 243 - .../test/test_v1_volume_attachment_spec.py | 441 -- .../test/test_v1_volume_attachment_status.py | 62 - kubernetes/test/test_v1_volume_device.py | 55 - kubernetes/test/test_v1_volume_error.py | 53 - kubernetes/test/test_v1_volume_mount.py | 59 - .../test/test_v1_volume_node_affinity.py | 68 - kubernetes/test/test_v1_volume_projection.py | 86 - ...t_v1_vsphere_virtual_disk_volume_source.py | 56 - kubernetes/test/test_v1_watch_event.py | 55 - kubernetes/test/test_v1_webhook_conversion.py | 65 - .../test_v1_weighted_pod_affinity_term.py | 87 - ...est_v1_windows_security_context_options.py | 54 - .../test/test_v1alpha1_aggregation_rule.py | 65 - kubernetes/test/test_v1alpha1_audit_sink.py | 110 - .../test/test_v1alpha1_audit_sink_list.py | 182 - .../test/test_v1alpha1_audit_sink_spec.py | 85 - kubernetes/test/test_v1alpha1_cluster_role.py | 125 - .../test_v1alpha1_cluster_role_binding.py | 107 - ...test_v1alpha1_cluster_role_binding_list.py | 168 - .../test/test_v1alpha1_cluster_role_list.py | 212 - kubernetes/test/test_v1alpha1_endpoint.py | 71 - .../test/test_v1alpha1_endpoint_conditions.py | 52 - .../test/test_v1alpha1_endpoint_port.py | 54 - .../test/test_v1alpha1_endpoint_slice.py | 139 - .../test/test_v1alpha1_endpoint_slice_list.py | 200 - kubernetes/test/test_v1alpha1_overhead.py | 54 - kubernetes/test/test_v1alpha1_pod_preset.py | 319 - .../test/test_v1alpha1_pod_preset_list.py | 600 -- .../test/test_v1alpha1_pod_preset_spec.py | 279 - kubernetes/test/test_v1alpha1_policy.py | 56 - kubernetes/test/test_v1alpha1_policy_rule.py | 69 - .../test/test_v1alpha1_priority_class.py | 97 - .../test/test_v1alpha1_priority_class_list.py | 154 - kubernetes/test/test_v1alpha1_role.py | 110 - kubernetes/test/test_v1alpha1_role_binding.py | 107 - .../test/test_v1alpha1_role_binding_list.py | 168 - kubernetes/test/test_v1alpha1_role_list.py | 182 - kubernetes/test/test_v1alpha1_role_ref.py | 57 - .../test/test_v1alpha1_runtime_class.py | 128 - .../test/test_v1alpha1_runtime_class_list.py | 182 - .../test/test_v1alpha1_runtime_class_spec.py | 69 - kubernetes/test/test_v1alpha1_scheduling.py | 62 - .../test/test_v1alpha1_service_reference.py | 57 - kubernetes/test/test_v1alpha1_subject.py | 57 - .../test/test_v1alpha1_volume_attachment.py | 495 -- .../test_v1alpha1_volume_attachment_list.py | 560 -- .../test_v1alpha1_volume_attachment_source.py | 243 - .../test_v1alpha1_volume_attachment_spec.py | 441 -- .../test_v1alpha1_volume_attachment_status.py | 62 - kubernetes/test/test_v1alpha1_volume_error.py | 53 - kubernetes/test/test_v1alpha1_webhook.py | 70 - .../test_v1alpha1_webhook_client_config.py | 58 - .../test_v1alpha1_webhook_throttle_config.py | 53 - .../test/test_v1beta1_aggregation_rule.py | 65 - kubernetes/test/test_v1beta1_api_service.py | 112 - .../test_v1beta1_api_service_condition.py | 58 - .../test/test_v1beta1_api_service_list.py | 186 - .../test/test_v1beta1_api_service_spec.py | 67 - .../test/test_v1beta1_api_service_status.py | 59 - ...est_v1beta1_certificate_signing_request.py | 116 - ...1_certificate_signing_request_condition.py | 56 - ...1beta1_certificate_signing_request_list.py | 194 - ...1beta1_certificate_signing_request_spec.py | 66 - ...eta1_certificate_signing_request_status.py | 59 - kubernetes/test/test_v1beta1_cluster_role.py | 125 - .../test/test_v1beta1_cluster_role_binding.py | 107 - .../test_v1beta1_cluster_role_binding_list.py | 168 - .../test/test_v1beta1_cluster_role_list.py | 212 - .../test/test_v1beta1_controller_revision.py | 95 - .../test_v1beta1_controller_revision_list.py | 150 - kubernetes/test/test_v1beta1_cron_job.py | 171 - kubernetes/test/test_v1beta1_cron_job_list.py | 186 - kubernetes/test/test_v1beta1_cron_job_spec.py | 178 - .../test/test_v1beta1_cron_job_status.py | 62 - kubernetes/test/test_v1beta1_csi_driver.py | 104 - .../test/test_v1beta1_csi_driver_list.py | 158 - .../test/test_v1beta1_csi_driver_spec.py | 56 - kubernetes/test/test_v1beta1_csi_node.py | 114 - .../test/test_v1beta1_csi_node_driver.py | 60 - kubernetes/test/test_v1beta1_csi_node_list.py | 168 - kubernetes/test/test_v1beta1_csi_node_spec.py | 71 - ...beta1_custom_resource_column_definition.py | 60 - ...test_v1beta1_custom_resource_conversion.py | 64 - ...test_v1beta1_custom_resource_definition.py | 2281 ------- ...a1_custom_resource_definition_condition.py | 58 - ...v1beta1_custom_resource_definition_list.py | 2346 ------- ...1beta1_custom_resource_definition_names.py | 63 - ...v1beta1_custom_resource_definition_spec.py | 2192 ------- ...beta1_custom_resource_definition_status.py | 87 - ...eta1_custom_resource_definition_version.py | 1104 ---- ...beta1_custom_resource_subresource_scale.py | 56 - ...st_v1beta1_custom_resource_subresources.py | 56 - ...test_v1beta1_custom_resource_validation.py | 1082 ---- kubernetes/test/test_v1beta1_daemon_set.py | 603 -- .../test/test_v1beta1_daemon_set_condition.py | 58 - .../test/test_v1beta1_daemon_set_list.py | 224 - .../test/test_v1beta1_daemon_set_spec.py | 1038 --- .../test/test_v1beta1_daemon_set_status.py | 72 - ...test_v1beta1_daemon_set_update_strategy.py | 54 - kubernetes/test/test_v1beta1_event.py | 126 - kubernetes/test/test_v1beta1_event_list.py | 212 - kubernetes/test/test_v1beta1_event_series.py | 57 - kubernetes/test/test_v1beta1_eviction.py | 104 - .../test_v1beta1_external_documentation.py | 53 - kubernetes/test/test_v1beta1_ip_block.py | 56 - .../test/test_v1beta1_job_template_spec.py | 149 - .../test/test_v1beta1_json_schema_props.py | 5653 ----------------- kubernetes/test/test_v1beta1_lease.py | 98 - kubernetes/test/test_v1beta1_lease_list.py | 158 - kubernetes/test/test_v1beta1_lease_spec.py | 56 - ...est_v1beta1_local_subject_access_review.py | 139 - .../test/test_v1beta1_mutating_webhook.py | 117 - ..._v1beta1_mutating_webhook_configuration.py | 141 - ...ta1_mutating_webhook_configuration_list.py | 244 - .../test/test_v1beta1_network_policy.py | 132 - ...test_v1beta1_network_policy_egress_rule.py | 77 - ...est_v1beta1_network_policy_ingress_rule.py | 77 - .../test/test_v1beta1_network_policy_list.py | 226 - .../test/test_v1beta1_network_policy_peer.py | 80 - .../test/test_v1beta1_network_policy_port.py | 53 - .../test/test_v1beta1_network_policy_spec.py | 136 - .../test_v1beta1_non_resource_attributes.py | 53 - .../test/test_v1beta1_non_resource_rule.py | 60 - kubernetes/test/test_v1beta1_overhead.py | 54 - .../test_v1beta1_pod_disruption_budget.py | 116 - ...test_v1beta1_pod_disruption_budget_list.py | 194 - ...test_v1beta1_pod_disruption_budget_spec.py | 65 - ...st_v1beta1_pod_disruption_budget_status.py | 63 - kubernetes/test/test_v1beta1_policy_rule.py | 69 - .../test/test_v1beta1_priority_class.py | 97 - .../test/test_v1beta1_priority_class_list.py | 154 - kubernetes/test/test_v1beta1_replica_set.py | 594 -- .../test_v1beta1_replica_set_condition.py | 58 - .../test/test_v1beta1_replica_set_list.py | 206 - .../test/test_v1beta1_replica_set_spec.py | 549 -- .../test/test_v1beta1_replica_set_status.py | 65 - .../test/test_v1beta1_resource_attributes.py | 58 - kubernetes/test/test_v1beta1_resource_rule.py | 66 - kubernetes/test/test_v1beta1_role.py | 110 - kubernetes/test/test_v1beta1_role_binding.py | 107 - .../test/test_v1beta1_role_binding_list.py | 168 - kubernetes/test/test_v1beta1_role_list.py | 182 - kubernetes/test/test_v1beta1_role_ref.py | 57 - .../test_v1beta1_rolling_update_daemon_set.py | 52 - ...a1_rolling_update_stateful_set_strategy.py | 52 - .../test/test_v1beta1_rule_with_operations.py | 64 - kubernetes/test/test_v1beta1_runtime_class.py | 110 - .../test/test_v1beta1_runtime_class_list.py | 180 - kubernetes/test/test_v1beta1_scheduling.py | 62 - ...test_v1beta1_self_subject_access_review.py | 121 - ...v1beta1_self_subject_access_review_spec.py | 62 - .../test_v1beta1_self_subject_rules_review.py | 123 - ..._v1beta1_self_subject_rules_review_spec.py | 52 - kubernetes/test/test_v1beta1_stateful_set.py | 625 -- .../test_v1beta1_stateful_set_condition.py | 58 - .../test/test_v1beta1_stateful_set_list.py | 252 - .../test/test_v1beta1_stateful_set_spec.py | 1128 ---- .../test/test_v1beta1_stateful_set_status.py | 68 - ...st_v1beta1_stateful_set_update_strategy.py | 54 - kubernetes/test/test_v1beta1_storage_class.py | 113 - .../test/test_v1beta1_storage_class_list.py | 186 - kubernetes/test/test_v1beta1_subject.py | 57 - .../test_v1beta1_subject_access_review.py | 139 - ...test_v1beta1_subject_access_review_spec.py | 72 - ...st_v1beta1_subject_access_review_status.py | 56 - ...est_v1beta1_subject_rules_review_status.py | 102 - kubernetes/test/test_v1beta1_token_review.py | 119 - .../test/test_v1beta1_token_review_spec.py | 55 - .../test/test_v1beta1_token_review_status.py | 67 - kubernetes/test/test_v1beta1_user_info.py | 61 - .../test/test_v1beta1_validating_webhook.py | 116 - ...1beta1_validating_webhook_configuration.py | 140 - ...1_validating_webhook_configuration_list.py | 242 - .../test/test_v1beta1_volume_attachment.py | 495 -- .../test_v1beta1_volume_attachment_list.py | 560 -- .../test_v1beta1_volume_attachment_source.py | 243 - .../test_v1beta1_volume_attachment_spec.py | 441 -- .../test_v1beta1_volume_attachment_status.py | 62 - kubernetes/test/test_v1beta1_volume_error.py | 53 - .../test_v1beta1_volume_node_resources.py | 52 - .../test/test_v1beta2_controller_revision.py | 95 - .../test_v1beta2_controller_revision_list.py | 150 - kubernetes/test/test_v1beta2_daemon_set.py | 602 -- .../test/test_v1beta2_daemon_set_condition.py | 58 - .../test/test_v1beta2_daemon_set_list.py | 222 - .../test/test_v1beta2_daemon_set_spec.py | 1049 --- .../test/test_v1beta2_daemon_set_status.py | 72 - ...test_v1beta2_daemon_set_update_strategy.py | 54 - kubernetes/test/test_v1beta2_deployment.py | 605 -- .../test/test_v1beta2_deployment_condition.py | 59 - .../test/test_v1beta2_deployment_list.py | 228 - .../test/test_v1beta2_deployment_spec.py | 1053 --- .../test/test_v1beta2_deployment_status.py | 67 - .../test/test_v1beta2_deployment_strategy.py | 55 - kubernetes/test/test_v1beta2_replica_set.py | 594 -- .../test_v1beta2_replica_set_condition.py | 58 - .../test/test_v1beta2_replica_set_list.py | 206 - .../test/test_v1beta2_replica_set_spec.py | 561 -- .../test/test_v1beta2_replica_set_status.py | 65 - .../test_v1beta2_rolling_update_daemon_set.py | 52 - .../test_v1beta2_rolling_update_deployment.py | 53 - ...a2_rolling_update_stateful_set_strategy.py | 52 - kubernetes/test/test_v1beta2_scale.py | 100 - kubernetes/test/test_v1beta2_scale_spec.py | 52 - kubernetes/test/test_v1beta2_scale_status.py | 57 - kubernetes/test/test_v1beta2_stateful_set.py | 625 -- .../test_v1beta2_stateful_set_condition.py | 58 - .../test/test_v1beta2_stateful_set_list.py | 252 - .../test/test_v1beta2_stateful_set_spec.py | 1140 ---- .../test/test_v1beta2_stateful_set_status.py | 68 - ...st_v1beta2_stateful_set_update_strategy.py | 54 - kubernetes/test/test_v2alpha1_cron_job.py | 151 - .../test/test_v2alpha1_cron_job_list.py | 186 - .../test/test_v2alpha1_cron_job_spec.py | 178 - .../test/test_v2alpha1_cron_job_status.py | 62 - .../test/test_v2alpha1_job_template_spec.py | 582 -- ..._v2beta1_cross_version_object_reference.py | 56 - .../test_v2beta1_external_metric_source.py | 67 - .../test_v2beta1_external_metric_status.py | 68 - .../test_v2beta1_horizontal_pod_autoscaler.py | 184 - ...ta1_horizontal_pod_autoscaler_condition.py | 58 - ..._v2beta1_horizontal_pod_autoscaler_list.py | 266 - ..._v2beta1_horizontal_pod_autoscaler_spec.py | 98 - ...2beta1_horizontal_pod_autoscaler_status.py | 109 - kubernetes/test/test_v2beta1_metric_spec.py | 108 - kubernetes/test/test_v2beta1_metric_status.py | 108 - .../test/test_v2beta1_object_metric_source.py | 76 - .../test/test_v2beta1_object_metric_status.py | 76 - .../test/test_v2beta1_pods_metric_source.py | 67 - .../test/test_v2beta1_pods_metric_status.py | 67 - .../test_v2beta1_resource_metric_source.py | 55 - .../test_v2beta1_resource_metric_status.py | 56 - ..._v2beta2_cross_version_object_reference.py | 56 - .../test_v2beta2_external_metric_source.py | 89 - .../test_v2beta2_external_metric_status.py | 87 - .../test_v2beta2_horizontal_pod_autoscaler.py | 210 - ...ta2_horizontal_pod_autoscaler_condition.py | 58 - ..._v2beta2_horizontal_pod_autoscaler_list.py | 296 - ..._v2beta2_horizontal_pod_autoscaler_spec.py | 113 - ...2beta2_horizontal_pod_autoscaler_status.py | 120 - .../test/test_v2beta2_metric_identifier.py | 65 - kubernetes/test/test_v2beta2_metric_spec.py | 124 - kubernetes/test/test_v2beta2_metric_status.py | 120 - kubernetes/test/test_v2beta2_metric_target.py | 56 - .../test/test_v2beta2_metric_value_status.py | 54 - .../test/test_v2beta2_object_metric_source.py | 97 - .../test/test_v2beta2_object_metric_status.py | 95 - .../test/test_v2beta2_pods_metric_source.py | 89 - .../test/test_v2beta2_pods_metric_status.py | 87 - .../test_v2beta2_resource_metric_source.py | 63 - .../test_v2beta2_resource_metric_status.py | 61 - kubernetes/test/test_version_api.py | 39 - kubernetes/test/test_version_info.py | 69 - 714 files changed, 124540 deletions(-) delete mode 100644 kubernetes/test/__init__.py delete mode 100644 kubernetes/test/test_admissionregistration_api.py delete mode 100644 kubernetes/test/test_admissionregistration_v1_api.py delete mode 100644 kubernetes/test/test_admissionregistration_v1_service_reference.py delete mode 100644 kubernetes/test/test_admissionregistration_v1_webhook_client_config.py delete mode 100644 kubernetes/test/test_admissionregistration_v1beta1_api.py delete mode 100644 kubernetes/test/test_admissionregistration_v1beta1_service_reference.py delete mode 100644 kubernetes/test/test_admissionregistration_v1beta1_webhook_client_config.py delete mode 100644 kubernetes/test/test_apiextensions_api.py delete mode 100644 kubernetes/test/test_apiextensions_v1_api.py delete mode 100644 kubernetes/test/test_apiextensions_v1_service_reference.py delete mode 100644 kubernetes/test/test_apiextensions_v1_webhook_client_config.py delete mode 100644 kubernetes/test/test_apiextensions_v1beta1_api.py delete mode 100644 kubernetes/test/test_apiextensions_v1beta1_service_reference.py delete mode 100644 kubernetes/test/test_apiextensions_v1beta1_webhook_client_config.py delete mode 100644 kubernetes/test/test_apiregistration_api.py delete mode 100644 kubernetes/test/test_apiregistration_v1_api.py delete mode 100644 kubernetes/test/test_apiregistration_v1_service_reference.py delete mode 100644 kubernetes/test/test_apiregistration_v1beta1_api.py delete mode 100644 kubernetes/test/test_apiregistration_v1beta1_service_reference.py delete mode 100644 kubernetes/test/test_apis_api.py delete mode 100644 kubernetes/test/test_apps_api.py delete mode 100644 kubernetes/test/test_apps_v1_api.py delete mode 100644 kubernetes/test/test_apps_v1beta1_api.py delete mode 100644 kubernetes/test/test_apps_v1beta1_deployment.py delete mode 100644 kubernetes/test/test_apps_v1beta1_deployment_condition.py delete mode 100644 kubernetes/test/test_apps_v1beta1_deployment_list.py delete mode 100644 kubernetes/test/test_apps_v1beta1_deployment_rollback.py delete mode 100644 kubernetes/test/test_apps_v1beta1_deployment_spec.py delete mode 100644 kubernetes/test/test_apps_v1beta1_deployment_status.py delete mode 100644 kubernetes/test/test_apps_v1beta1_deployment_strategy.py delete mode 100644 kubernetes/test/test_apps_v1beta1_rollback_config.py delete mode 100644 kubernetes/test/test_apps_v1beta1_rolling_update_deployment.py delete mode 100644 kubernetes/test/test_apps_v1beta1_scale.py delete mode 100644 kubernetes/test/test_apps_v1beta1_scale_spec.py delete mode 100644 kubernetes/test/test_apps_v1beta1_scale_status.py delete mode 100644 kubernetes/test/test_apps_v1beta2_api.py delete mode 100644 kubernetes/test/test_auditregistration_api.py delete mode 100644 kubernetes/test/test_auditregistration_v1alpha1_api.py delete mode 100644 kubernetes/test/test_authentication_api.py delete mode 100644 kubernetes/test/test_authentication_v1_api.py delete mode 100644 kubernetes/test/test_authentication_v1beta1_api.py delete mode 100644 kubernetes/test/test_authorization_api.py delete mode 100644 kubernetes/test/test_authorization_v1_api.py delete mode 100644 kubernetes/test/test_authorization_v1beta1_api.py delete mode 100644 kubernetes/test/test_autoscaling_api.py delete mode 100644 kubernetes/test/test_autoscaling_v1_api.py delete mode 100644 kubernetes/test/test_autoscaling_v2beta1_api.py delete mode 100644 kubernetes/test/test_autoscaling_v2beta2_api.py delete mode 100644 kubernetes/test/test_batch_api.py delete mode 100644 kubernetes/test/test_batch_v1_api.py delete mode 100644 kubernetes/test/test_batch_v1beta1_api.py delete mode 100644 kubernetes/test/test_batch_v2alpha1_api.py delete mode 100644 kubernetes/test/test_certificates_api.py delete mode 100644 kubernetes/test/test_certificates_v1beta1_api.py delete mode 100644 kubernetes/test/test_coordination_api.py delete mode 100644 kubernetes/test/test_coordination_v1_api.py delete mode 100644 kubernetes/test/test_coordination_v1beta1_api.py delete mode 100644 kubernetes/test/test_core_api.py delete mode 100644 kubernetes/test/test_core_v1_api.py delete mode 100644 kubernetes/test/test_custom_objects_api.py delete mode 100644 kubernetes/test/test_discovery_api.py delete mode 100644 kubernetes/test/test_discovery_v1alpha1_api.py delete mode 100644 kubernetes/test/test_events_api.py delete mode 100644 kubernetes/test/test_events_v1beta1_api.py delete mode 100644 kubernetes/test/test_extensions_api.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_allowed_csi_driver.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_allowed_flex_volume.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_allowed_host_path.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_api.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_deployment.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_deployment_condition.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_deployment_list.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_deployment_rollback.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_deployment_spec.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_deployment_status.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_deployment_strategy.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_fs_group_strategy_options.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_host_port_range.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_http_ingress_path.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_http_ingress_rule_value.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_id_range.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_ingress.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_ingress_backend.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_ingress_list.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_ingress_rule.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_ingress_spec.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_ingress_status.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_ingress_tls.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_pod_security_policy.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_pod_security_policy_list.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_pod_security_policy_spec.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_rollback_config.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_rolling_update_deployment.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_run_as_group_strategy_options.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_run_as_user_strategy_options.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_runtime_class_strategy_options.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_scale.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_scale_spec.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_scale_status.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_se_linux_strategy_options.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_supplemental_groups_strategy_options.py delete mode 100644 kubernetes/test/test_logs_api.py delete mode 100644 kubernetes/test/test_networking_api.py delete mode 100644 kubernetes/test/test_networking_v1_api.py delete mode 100644 kubernetes/test/test_networking_v1beta1_api.py delete mode 100644 kubernetes/test/test_networking_v1beta1_http_ingress_path.py delete mode 100644 kubernetes/test/test_networking_v1beta1_http_ingress_rule_value.py delete mode 100644 kubernetes/test/test_networking_v1beta1_ingress.py delete mode 100644 kubernetes/test/test_networking_v1beta1_ingress_backend.py delete mode 100644 kubernetes/test/test_networking_v1beta1_ingress_list.py delete mode 100644 kubernetes/test/test_networking_v1beta1_ingress_rule.py delete mode 100644 kubernetes/test/test_networking_v1beta1_ingress_spec.py delete mode 100644 kubernetes/test/test_networking_v1beta1_ingress_status.py delete mode 100644 kubernetes/test/test_networking_v1beta1_ingress_tls.py delete mode 100644 kubernetes/test/test_node_api.py delete mode 100644 kubernetes/test/test_node_v1alpha1_api.py delete mode 100644 kubernetes/test/test_node_v1beta1_api.py delete mode 100644 kubernetes/test/test_policy_api.py delete mode 100644 kubernetes/test/test_policy_v1beta1_allowed_csi_driver.py delete mode 100644 kubernetes/test/test_policy_v1beta1_allowed_flex_volume.py delete mode 100644 kubernetes/test/test_policy_v1beta1_allowed_host_path.py delete mode 100644 kubernetes/test/test_policy_v1beta1_api.py delete mode 100644 kubernetes/test/test_policy_v1beta1_fs_group_strategy_options.py delete mode 100644 kubernetes/test/test_policy_v1beta1_host_port_range.py delete mode 100644 kubernetes/test/test_policy_v1beta1_id_range.py delete mode 100644 kubernetes/test/test_policy_v1beta1_pod_security_policy.py delete mode 100644 kubernetes/test/test_policy_v1beta1_pod_security_policy_list.py delete mode 100644 kubernetes/test/test_policy_v1beta1_pod_security_policy_spec.py delete mode 100644 kubernetes/test/test_policy_v1beta1_run_as_group_strategy_options.py delete mode 100644 kubernetes/test/test_policy_v1beta1_run_as_user_strategy_options.py delete mode 100644 kubernetes/test/test_policy_v1beta1_runtime_class_strategy_options.py delete mode 100644 kubernetes/test/test_policy_v1beta1_se_linux_strategy_options.py delete mode 100644 kubernetes/test/test_policy_v1beta1_supplemental_groups_strategy_options.py delete mode 100644 kubernetes/test/test_rbac_authorization_api.py delete mode 100644 kubernetes/test/test_rbac_authorization_v1_api.py delete mode 100644 kubernetes/test/test_rbac_authorization_v1alpha1_api.py delete mode 100644 kubernetes/test/test_rbac_authorization_v1beta1_api.py delete mode 100644 kubernetes/test/test_scheduling_api.py delete mode 100644 kubernetes/test/test_scheduling_v1_api.py delete mode 100644 kubernetes/test/test_scheduling_v1alpha1_api.py delete mode 100644 kubernetes/test/test_scheduling_v1beta1_api.py delete mode 100644 kubernetes/test/test_settings_api.py delete mode 100644 kubernetes/test/test_settings_v1alpha1_api.py delete mode 100644 kubernetes/test/test_storage_api.py delete mode 100644 kubernetes/test/test_storage_v1_api.py delete mode 100644 kubernetes/test/test_storage_v1alpha1_api.py delete mode 100644 kubernetes/test/test_storage_v1beta1_api.py delete mode 100644 kubernetes/test/test_v1_affinity.py delete mode 100644 kubernetes/test/test_v1_aggregation_rule.py delete mode 100644 kubernetes/test/test_v1_api_group.py delete mode 100644 kubernetes/test/test_v1_api_group_list.py delete mode 100644 kubernetes/test/test_v1_api_resource.py delete mode 100644 kubernetes/test/test_v1_api_resource_list.py delete mode 100644 kubernetes/test/test_v1_api_service.py delete mode 100644 kubernetes/test/test_v1_api_service_condition.py delete mode 100644 kubernetes/test/test_v1_api_service_list.py delete mode 100644 kubernetes/test/test_v1_api_service_spec.py delete mode 100644 kubernetes/test/test_v1_api_service_status.py delete mode 100644 kubernetes/test/test_v1_api_versions.py delete mode 100644 kubernetes/test/test_v1_attached_volume.py delete mode 100644 kubernetes/test/test_v1_aws_elastic_block_store_volume_source.py delete mode 100644 kubernetes/test/test_v1_azure_disk_volume_source.py delete mode 100644 kubernetes/test/test_v1_azure_file_persistent_volume_source.py delete mode 100644 kubernetes/test/test_v1_azure_file_volume_source.py delete mode 100644 kubernetes/test/test_v1_binding.py delete mode 100644 kubernetes/test/test_v1_bound_object_reference.py delete mode 100644 kubernetes/test/test_v1_capabilities.py delete mode 100644 kubernetes/test/test_v1_ceph_fs_persistent_volume_source.py delete mode 100644 kubernetes/test/test_v1_ceph_fs_volume_source.py delete mode 100644 kubernetes/test/test_v1_cinder_persistent_volume_source.py delete mode 100644 kubernetes/test/test_v1_cinder_volume_source.py delete mode 100644 kubernetes/test/test_v1_client_ip_config.py delete mode 100644 kubernetes/test/test_v1_cluster_role.py delete mode 100644 kubernetes/test/test_v1_cluster_role_binding.py delete mode 100644 kubernetes/test/test_v1_cluster_role_binding_list.py delete mode 100644 kubernetes/test/test_v1_cluster_role_list.py delete mode 100644 kubernetes/test/test_v1_component_condition.py delete mode 100644 kubernetes/test/test_v1_component_status.py delete mode 100644 kubernetes/test/test_v1_component_status_list.py delete mode 100644 kubernetes/test/test_v1_config_map.py delete mode 100644 kubernetes/test/test_v1_config_map_env_source.py delete mode 100644 kubernetes/test/test_v1_config_map_key_selector.py delete mode 100644 kubernetes/test/test_v1_config_map_list.py delete mode 100644 kubernetes/test/test_v1_config_map_node_config_source.py delete mode 100644 kubernetes/test/test_v1_config_map_projection.py delete mode 100644 kubernetes/test/test_v1_config_map_volume_source.py delete mode 100644 kubernetes/test/test_v1_container.py delete mode 100644 kubernetes/test/test_v1_container_image.py delete mode 100644 kubernetes/test/test_v1_container_port.py delete mode 100644 kubernetes/test/test_v1_container_state.py delete mode 100644 kubernetes/test/test_v1_container_state_running.py delete mode 100644 kubernetes/test/test_v1_container_state_terminated.py delete mode 100644 kubernetes/test/test_v1_container_state_waiting.py delete mode 100644 kubernetes/test/test_v1_container_status.py delete mode 100644 kubernetes/test/test_v1_controller_revision.py delete mode 100644 kubernetes/test/test_v1_controller_revision_list.py delete mode 100644 kubernetes/test/test_v1_cross_version_object_reference.py delete mode 100644 kubernetes/test/test_v1_csi_persistent_volume_source.py delete mode 100644 kubernetes/test/test_v1_csi_volume_source.py delete mode 100644 kubernetes/test/test_v1_custom_resource_column_definition.py delete mode 100644 kubernetes/test/test_v1_custom_resource_conversion.py delete mode 100644 kubernetes/test/test_v1_custom_resource_definition.py delete mode 100644 kubernetes/test/test_v1_custom_resource_definition_condition.py delete mode 100644 kubernetes/test/test_v1_custom_resource_definition_list.py delete mode 100644 kubernetes/test/test_v1_custom_resource_definition_names.py delete mode 100644 kubernetes/test/test_v1_custom_resource_definition_spec.py delete mode 100644 kubernetes/test/test_v1_custom_resource_definition_status.py delete mode 100644 kubernetes/test/test_v1_custom_resource_definition_version.py delete mode 100644 kubernetes/test/test_v1_custom_resource_subresource_scale.py delete mode 100644 kubernetes/test/test_v1_custom_resource_subresources.py delete mode 100644 kubernetes/test/test_v1_custom_resource_validation.py delete mode 100644 kubernetes/test/test_v1_daemon_endpoint.py delete mode 100644 kubernetes/test/test_v1_daemon_set.py delete mode 100644 kubernetes/test/test_v1_daemon_set_condition.py delete mode 100644 kubernetes/test/test_v1_daemon_set_list.py delete mode 100644 kubernetes/test/test_v1_daemon_set_spec.py delete mode 100644 kubernetes/test/test_v1_daemon_set_status.py delete mode 100644 kubernetes/test/test_v1_daemon_set_update_strategy.py delete mode 100644 kubernetes/test/test_v1_delete_options.py delete mode 100644 kubernetes/test/test_v1_deployment.py delete mode 100644 kubernetes/test/test_v1_deployment_condition.py delete mode 100644 kubernetes/test/test_v1_deployment_list.py delete mode 100644 kubernetes/test/test_v1_deployment_spec.py delete mode 100644 kubernetes/test/test_v1_deployment_status.py delete mode 100644 kubernetes/test/test_v1_deployment_strategy.py delete mode 100644 kubernetes/test/test_v1_downward_api_projection.py delete mode 100644 kubernetes/test/test_v1_downward_api_volume_file.py delete mode 100644 kubernetes/test/test_v1_downward_api_volume_source.py delete mode 100644 kubernetes/test/test_v1_empty_dir_volume_source.py delete mode 100644 kubernetes/test/test_v1_endpoint_address.py delete mode 100644 kubernetes/test/test_v1_endpoint_port.py delete mode 100644 kubernetes/test/test_v1_endpoint_subset.py delete mode 100644 kubernetes/test/test_v1_endpoints.py delete mode 100644 kubernetes/test/test_v1_endpoints_list.py delete mode 100644 kubernetes/test/test_v1_env_from_source.py delete mode 100644 kubernetes/test/test_v1_env_var.py delete mode 100644 kubernetes/test/test_v1_env_var_source.py delete mode 100644 kubernetes/test/test_v1_ephemeral_container.py delete mode 100644 kubernetes/test/test_v1_event.py delete mode 100644 kubernetes/test/test_v1_event_list.py delete mode 100644 kubernetes/test/test_v1_event_series.py delete mode 100644 kubernetes/test/test_v1_event_source.py delete mode 100644 kubernetes/test/test_v1_exec_action.py delete mode 100644 kubernetes/test/test_v1_external_documentation.py delete mode 100644 kubernetes/test/test_v1_fc_volume_source.py delete mode 100644 kubernetes/test/test_v1_flex_persistent_volume_source.py delete mode 100644 kubernetes/test/test_v1_flex_volume_source.py delete mode 100644 kubernetes/test/test_v1_flocker_volume_source.py delete mode 100644 kubernetes/test/test_v1_gce_persistent_disk_volume_source.py delete mode 100644 kubernetes/test/test_v1_git_repo_volume_source.py delete mode 100644 kubernetes/test/test_v1_glusterfs_persistent_volume_source.py delete mode 100644 kubernetes/test/test_v1_glusterfs_volume_source.py delete mode 100644 kubernetes/test/test_v1_group_version_for_discovery.py delete mode 100644 kubernetes/test/test_v1_handler.py delete mode 100644 kubernetes/test/test_v1_horizontal_pod_autoscaler.py delete mode 100644 kubernetes/test/test_v1_horizontal_pod_autoscaler_list.py delete mode 100644 kubernetes/test/test_v1_horizontal_pod_autoscaler_spec.py delete mode 100644 kubernetes/test/test_v1_horizontal_pod_autoscaler_status.py delete mode 100644 kubernetes/test/test_v1_host_alias.py delete mode 100644 kubernetes/test/test_v1_host_path_volume_source.py delete mode 100644 kubernetes/test/test_v1_http_get_action.py delete mode 100644 kubernetes/test/test_v1_http_header.py delete mode 100644 kubernetes/test/test_v1_ip_block.py delete mode 100644 kubernetes/test/test_v1_iscsi_persistent_volume_source.py delete mode 100644 kubernetes/test/test_v1_iscsi_volume_source.py delete mode 100644 kubernetes/test/test_v1_job.py delete mode 100644 kubernetes/test/test_v1_job_condition.py delete mode 100644 kubernetes/test/test_v1_job_list.py delete mode 100644 kubernetes/test/test_v1_job_spec.py delete mode 100644 kubernetes/test/test_v1_job_status.py delete mode 100644 kubernetes/test/test_v1_json_schema_props.py delete mode 100644 kubernetes/test/test_v1_key_to_path.py delete mode 100644 kubernetes/test/test_v1_label_selector.py delete mode 100644 kubernetes/test/test_v1_label_selector_requirement.py delete mode 100644 kubernetes/test/test_v1_lease.py delete mode 100644 kubernetes/test/test_v1_lease_list.py delete mode 100644 kubernetes/test/test_v1_lease_spec.py delete mode 100644 kubernetes/test/test_v1_lifecycle.py delete mode 100644 kubernetes/test/test_v1_limit_range.py delete mode 100644 kubernetes/test/test_v1_limit_range_item.py delete mode 100644 kubernetes/test/test_v1_limit_range_list.py delete mode 100644 kubernetes/test/test_v1_limit_range_spec.py delete mode 100644 kubernetes/test/test_v1_list_meta.py delete mode 100644 kubernetes/test/test_v1_load_balancer_ingress.py delete mode 100644 kubernetes/test/test_v1_load_balancer_status.py delete mode 100644 kubernetes/test/test_v1_local_object_reference.py delete mode 100644 kubernetes/test/test_v1_local_subject_access_review.py delete mode 100644 kubernetes/test/test_v1_local_volume_source.py delete mode 100644 kubernetes/test/test_v1_managed_fields_entry.py delete mode 100644 kubernetes/test/test_v1_mutating_webhook.py delete mode 100644 kubernetes/test/test_v1_mutating_webhook_configuration.py delete mode 100644 kubernetes/test/test_v1_mutating_webhook_configuration_list.py delete mode 100644 kubernetes/test/test_v1_namespace.py delete mode 100644 kubernetes/test/test_v1_namespace_condition.py delete mode 100644 kubernetes/test/test_v1_namespace_list.py delete mode 100644 kubernetes/test/test_v1_namespace_spec.py delete mode 100644 kubernetes/test/test_v1_namespace_status.py delete mode 100644 kubernetes/test/test_v1_network_policy.py delete mode 100644 kubernetes/test/test_v1_network_policy_egress_rule.py delete mode 100644 kubernetes/test/test_v1_network_policy_ingress_rule.py delete mode 100644 kubernetes/test/test_v1_network_policy_list.py delete mode 100644 kubernetes/test/test_v1_network_policy_peer.py delete mode 100644 kubernetes/test/test_v1_network_policy_port.py delete mode 100644 kubernetes/test/test_v1_network_policy_spec.py delete mode 100644 kubernetes/test/test_v1_nfs_volume_source.py delete mode 100644 kubernetes/test/test_v1_node.py delete mode 100644 kubernetes/test/test_v1_node_address.py delete mode 100644 kubernetes/test/test_v1_node_affinity.py delete mode 100644 kubernetes/test/test_v1_node_condition.py delete mode 100644 kubernetes/test/test_v1_node_config_source.py delete mode 100644 kubernetes/test/test_v1_node_config_status.py delete mode 100644 kubernetes/test/test_v1_node_daemon_endpoints.py delete mode 100644 kubernetes/test/test_v1_node_list.py delete mode 100644 kubernetes/test/test_v1_node_selector.py delete mode 100644 kubernetes/test/test_v1_node_selector_requirement.py delete mode 100644 kubernetes/test/test_v1_node_selector_term.py delete mode 100644 kubernetes/test/test_v1_node_spec.py delete mode 100644 kubernetes/test/test_v1_node_status.py delete mode 100644 kubernetes/test/test_v1_node_system_info.py delete mode 100644 kubernetes/test/test_v1_non_resource_attributes.py delete mode 100644 kubernetes/test/test_v1_non_resource_rule.py delete mode 100644 kubernetes/test/test_v1_object_field_selector.py delete mode 100644 kubernetes/test/test_v1_object_meta.py delete mode 100644 kubernetes/test/test_v1_object_reference.py delete mode 100644 kubernetes/test/test_v1_owner_reference.py delete mode 100644 kubernetes/test/test_v1_persistent_volume.py delete mode 100644 kubernetes/test/test_v1_persistent_volume_claim.py delete mode 100644 kubernetes/test/test_v1_persistent_volume_claim_condition.py delete mode 100644 kubernetes/test/test_v1_persistent_volume_claim_list.py delete mode 100644 kubernetes/test/test_v1_persistent_volume_claim_spec.py delete mode 100644 kubernetes/test/test_v1_persistent_volume_claim_status.py delete mode 100644 kubernetes/test/test_v1_persistent_volume_claim_volume_source.py delete mode 100644 kubernetes/test/test_v1_persistent_volume_list.py delete mode 100644 kubernetes/test/test_v1_persistent_volume_spec.py delete mode 100644 kubernetes/test/test_v1_persistent_volume_status.py delete mode 100644 kubernetes/test/test_v1_photon_persistent_disk_volume_source.py delete mode 100644 kubernetes/test/test_v1_pod.py delete mode 100644 kubernetes/test/test_v1_pod_affinity.py delete mode 100644 kubernetes/test/test_v1_pod_affinity_term.py delete mode 100644 kubernetes/test/test_v1_pod_anti_affinity.py delete mode 100644 kubernetes/test/test_v1_pod_condition.py delete mode 100644 kubernetes/test/test_v1_pod_dns_config.py delete mode 100644 kubernetes/test/test_v1_pod_dns_config_option.py delete mode 100644 kubernetes/test/test_v1_pod_ip.py delete mode 100644 kubernetes/test/test_v1_pod_list.py delete mode 100644 kubernetes/test/test_v1_pod_readiness_gate.py delete mode 100644 kubernetes/test/test_v1_pod_security_context.py delete mode 100644 kubernetes/test/test_v1_pod_spec.py delete mode 100644 kubernetes/test/test_v1_pod_status.py delete mode 100644 kubernetes/test/test_v1_pod_template.py delete mode 100644 kubernetes/test/test_v1_pod_template_list.py delete mode 100644 kubernetes/test/test_v1_pod_template_spec.py delete mode 100644 kubernetes/test/test_v1_policy_rule.py delete mode 100644 kubernetes/test/test_v1_portworx_volume_source.py delete mode 100644 kubernetes/test/test_v1_preconditions.py delete mode 100644 kubernetes/test/test_v1_preferred_scheduling_term.py delete mode 100644 kubernetes/test/test_v1_priority_class.py delete mode 100644 kubernetes/test/test_v1_priority_class_list.py delete mode 100644 kubernetes/test/test_v1_probe.py delete mode 100644 kubernetes/test/test_v1_projected_volume_source.py delete mode 100644 kubernetes/test/test_v1_quobyte_volume_source.py delete mode 100644 kubernetes/test/test_v1_rbd_persistent_volume_source.py delete mode 100644 kubernetes/test/test_v1_rbd_volume_source.py delete mode 100644 kubernetes/test/test_v1_replica_set.py delete mode 100644 kubernetes/test/test_v1_replica_set_condition.py delete mode 100644 kubernetes/test/test_v1_replica_set_list.py delete mode 100644 kubernetes/test/test_v1_replica_set_spec.py delete mode 100644 kubernetes/test/test_v1_replica_set_status.py delete mode 100644 kubernetes/test/test_v1_replication_controller.py delete mode 100644 kubernetes/test/test_v1_replication_controller_condition.py delete mode 100644 kubernetes/test/test_v1_replication_controller_list.py delete mode 100644 kubernetes/test/test_v1_replication_controller_spec.py delete mode 100644 kubernetes/test/test_v1_replication_controller_status.py delete mode 100644 kubernetes/test/test_v1_resource_attributes.py delete mode 100644 kubernetes/test/test_v1_resource_field_selector.py delete mode 100644 kubernetes/test/test_v1_resource_quota.py delete mode 100644 kubernetes/test/test_v1_resource_quota_list.py delete mode 100644 kubernetes/test/test_v1_resource_quota_spec.py delete mode 100644 kubernetes/test/test_v1_resource_quota_status.py delete mode 100644 kubernetes/test/test_v1_resource_requirements.py delete mode 100644 kubernetes/test/test_v1_resource_rule.py delete mode 100644 kubernetes/test/test_v1_role.py delete mode 100644 kubernetes/test/test_v1_role_binding.py delete mode 100644 kubernetes/test/test_v1_role_binding_list.py delete mode 100644 kubernetes/test/test_v1_role_list.py delete mode 100644 kubernetes/test/test_v1_role_ref.py delete mode 100644 kubernetes/test/test_v1_rolling_update_daemon_set.py delete mode 100644 kubernetes/test/test_v1_rolling_update_deployment.py delete mode 100644 kubernetes/test/test_v1_rolling_update_stateful_set_strategy.py delete mode 100644 kubernetes/test/test_v1_rule_with_operations.py delete mode 100644 kubernetes/test/test_v1_scale.py delete mode 100644 kubernetes/test/test_v1_scale_io_persistent_volume_source.py delete mode 100644 kubernetes/test/test_v1_scale_io_volume_source.py delete mode 100644 kubernetes/test/test_v1_scale_spec.py delete mode 100644 kubernetes/test/test_v1_scale_status.py delete mode 100644 kubernetes/test/test_v1_scope_selector.py delete mode 100644 kubernetes/test/test_v1_scoped_resource_selector_requirement.py delete mode 100644 kubernetes/test/test_v1_se_linux_options.py delete mode 100644 kubernetes/test/test_v1_secret.py delete mode 100644 kubernetes/test/test_v1_secret_env_source.py delete mode 100644 kubernetes/test/test_v1_secret_key_selector.py delete mode 100644 kubernetes/test/test_v1_secret_list.py delete mode 100644 kubernetes/test/test_v1_secret_projection.py delete mode 100644 kubernetes/test/test_v1_secret_reference.py delete mode 100644 kubernetes/test/test_v1_secret_volume_source.py delete mode 100644 kubernetes/test/test_v1_security_context.py delete mode 100644 kubernetes/test/test_v1_self_subject_access_review.py delete mode 100644 kubernetes/test/test_v1_self_subject_access_review_spec.py delete mode 100644 kubernetes/test/test_v1_self_subject_rules_review.py delete mode 100644 kubernetes/test/test_v1_self_subject_rules_review_spec.py delete mode 100644 kubernetes/test/test_v1_server_address_by_client_cidr.py delete mode 100644 kubernetes/test/test_v1_service.py delete mode 100644 kubernetes/test/test_v1_service_account.py delete mode 100644 kubernetes/test/test_v1_service_account_list.py delete mode 100644 kubernetes/test/test_v1_service_account_token_projection.py delete mode 100644 kubernetes/test/test_v1_service_list.py delete mode 100644 kubernetes/test/test_v1_service_port.py delete mode 100644 kubernetes/test/test_v1_service_spec.py delete mode 100644 kubernetes/test/test_v1_service_status.py delete mode 100644 kubernetes/test/test_v1_session_affinity_config.py delete mode 100644 kubernetes/test/test_v1_stateful_set.py delete mode 100644 kubernetes/test/test_v1_stateful_set_condition.py delete mode 100644 kubernetes/test/test_v1_stateful_set_list.py delete mode 100644 kubernetes/test/test_v1_stateful_set_spec.py delete mode 100644 kubernetes/test/test_v1_stateful_set_status.py delete mode 100644 kubernetes/test/test_v1_stateful_set_update_strategy.py delete mode 100644 kubernetes/test/test_v1_status.py delete mode 100644 kubernetes/test/test_v1_status_cause.py delete mode 100644 kubernetes/test/test_v1_status_details.py delete mode 100644 kubernetes/test/test_v1_storage_class.py delete mode 100644 kubernetes/test/test_v1_storage_class_list.py delete mode 100644 kubernetes/test/test_v1_storage_os_persistent_volume_source.py delete mode 100644 kubernetes/test/test_v1_storage_os_volume_source.py delete mode 100644 kubernetes/test/test_v1_subject.py delete mode 100644 kubernetes/test/test_v1_subject_access_review.py delete mode 100644 kubernetes/test/test_v1_subject_access_review_spec.py delete mode 100644 kubernetes/test/test_v1_subject_access_review_status.py delete mode 100644 kubernetes/test/test_v1_subject_rules_review_status.py delete mode 100644 kubernetes/test/test_v1_sysctl.py delete mode 100644 kubernetes/test/test_v1_taint.py delete mode 100644 kubernetes/test/test_v1_tcp_socket_action.py delete mode 100644 kubernetes/test/test_v1_token_request.py delete mode 100644 kubernetes/test/test_v1_token_request_spec.py delete mode 100644 kubernetes/test/test_v1_token_request_status.py delete mode 100644 kubernetes/test/test_v1_token_review.py delete mode 100644 kubernetes/test/test_v1_token_review_spec.py delete mode 100644 kubernetes/test/test_v1_token_review_status.py delete mode 100644 kubernetes/test/test_v1_toleration.py delete mode 100644 kubernetes/test/test_v1_topology_selector_label_requirement.py delete mode 100644 kubernetes/test/test_v1_topology_selector_term.py delete mode 100644 kubernetes/test/test_v1_topology_spread_constraint.py delete mode 100644 kubernetes/test/test_v1_typed_local_object_reference.py delete mode 100644 kubernetes/test/test_v1_user_info.py delete mode 100644 kubernetes/test/test_v1_validating_webhook.py delete mode 100644 kubernetes/test/test_v1_validating_webhook_configuration.py delete mode 100644 kubernetes/test/test_v1_validating_webhook_configuration_list.py delete mode 100644 kubernetes/test/test_v1_volume.py delete mode 100644 kubernetes/test/test_v1_volume_attachment.py delete mode 100644 kubernetes/test/test_v1_volume_attachment_list.py delete mode 100644 kubernetes/test/test_v1_volume_attachment_source.py delete mode 100644 kubernetes/test/test_v1_volume_attachment_spec.py delete mode 100644 kubernetes/test/test_v1_volume_attachment_status.py delete mode 100644 kubernetes/test/test_v1_volume_device.py delete mode 100644 kubernetes/test/test_v1_volume_error.py delete mode 100644 kubernetes/test/test_v1_volume_mount.py delete mode 100644 kubernetes/test/test_v1_volume_node_affinity.py delete mode 100644 kubernetes/test/test_v1_volume_projection.py delete mode 100644 kubernetes/test/test_v1_vsphere_virtual_disk_volume_source.py delete mode 100644 kubernetes/test/test_v1_watch_event.py delete mode 100644 kubernetes/test/test_v1_webhook_conversion.py delete mode 100644 kubernetes/test/test_v1_weighted_pod_affinity_term.py delete mode 100644 kubernetes/test/test_v1_windows_security_context_options.py delete mode 100644 kubernetes/test/test_v1alpha1_aggregation_rule.py delete mode 100644 kubernetes/test/test_v1alpha1_audit_sink.py delete mode 100644 kubernetes/test/test_v1alpha1_audit_sink_list.py delete mode 100644 kubernetes/test/test_v1alpha1_audit_sink_spec.py delete mode 100644 kubernetes/test/test_v1alpha1_cluster_role.py delete mode 100644 kubernetes/test/test_v1alpha1_cluster_role_binding.py delete mode 100644 kubernetes/test/test_v1alpha1_cluster_role_binding_list.py delete mode 100644 kubernetes/test/test_v1alpha1_cluster_role_list.py delete mode 100644 kubernetes/test/test_v1alpha1_endpoint.py delete mode 100644 kubernetes/test/test_v1alpha1_endpoint_conditions.py delete mode 100644 kubernetes/test/test_v1alpha1_endpoint_port.py delete mode 100644 kubernetes/test/test_v1alpha1_endpoint_slice.py delete mode 100644 kubernetes/test/test_v1alpha1_endpoint_slice_list.py delete mode 100644 kubernetes/test/test_v1alpha1_overhead.py delete mode 100644 kubernetes/test/test_v1alpha1_pod_preset.py delete mode 100644 kubernetes/test/test_v1alpha1_pod_preset_list.py delete mode 100644 kubernetes/test/test_v1alpha1_pod_preset_spec.py delete mode 100644 kubernetes/test/test_v1alpha1_policy.py delete mode 100644 kubernetes/test/test_v1alpha1_policy_rule.py delete mode 100644 kubernetes/test/test_v1alpha1_priority_class.py delete mode 100644 kubernetes/test/test_v1alpha1_priority_class_list.py delete mode 100644 kubernetes/test/test_v1alpha1_role.py delete mode 100644 kubernetes/test/test_v1alpha1_role_binding.py delete mode 100644 kubernetes/test/test_v1alpha1_role_binding_list.py delete mode 100644 kubernetes/test/test_v1alpha1_role_list.py delete mode 100644 kubernetes/test/test_v1alpha1_role_ref.py delete mode 100644 kubernetes/test/test_v1alpha1_runtime_class.py delete mode 100644 kubernetes/test/test_v1alpha1_runtime_class_list.py delete mode 100644 kubernetes/test/test_v1alpha1_runtime_class_spec.py delete mode 100644 kubernetes/test/test_v1alpha1_scheduling.py delete mode 100644 kubernetes/test/test_v1alpha1_service_reference.py delete mode 100644 kubernetes/test/test_v1alpha1_subject.py delete mode 100644 kubernetes/test/test_v1alpha1_volume_attachment.py delete mode 100644 kubernetes/test/test_v1alpha1_volume_attachment_list.py delete mode 100644 kubernetes/test/test_v1alpha1_volume_attachment_source.py delete mode 100644 kubernetes/test/test_v1alpha1_volume_attachment_spec.py delete mode 100644 kubernetes/test/test_v1alpha1_volume_attachment_status.py delete mode 100644 kubernetes/test/test_v1alpha1_volume_error.py delete mode 100644 kubernetes/test/test_v1alpha1_webhook.py delete mode 100644 kubernetes/test/test_v1alpha1_webhook_client_config.py delete mode 100644 kubernetes/test/test_v1alpha1_webhook_throttle_config.py delete mode 100644 kubernetes/test/test_v1beta1_aggregation_rule.py delete mode 100644 kubernetes/test/test_v1beta1_api_service.py delete mode 100644 kubernetes/test/test_v1beta1_api_service_condition.py delete mode 100644 kubernetes/test/test_v1beta1_api_service_list.py delete mode 100644 kubernetes/test/test_v1beta1_api_service_spec.py delete mode 100644 kubernetes/test/test_v1beta1_api_service_status.py delete mode 100644 kubernetes/test/test_v1beta1_certificate_signing_request.py delete mode 100644 kubernetes/test/test_v1beta1_certificate_signing_request_condition.py delete mode 100644 kubernetes/test/test_v1beta1_certificate_signing_request_list.py delete mode 100644 kubernetes/test/test_v1beta1_certificate_signing_request_spec.py delete mode 100644 kubernetes/test/test_v1beta1_certificate_signing_request_status.py delete mode 100644 kubernetes/test/test_v1beta1_cluster_role.py delete mode 100644 kubernetes/test/test_v1beta1_cluster_role_binding.py delete mode 100644 kubernetes/test/test_v1beta1_cluster_role_binding_list.py delete mode 100644 kubernetes/test/test_v1beta1_cluster_role_list.py delete mode 100644 kubernetes/test/test_v1beta1_controller_revision.py delete mode 100644 kubernetes/test/test_v1beta1_controller_revision_list.py delete mode 100644 kubernetes/test/test_v1beta1_cron_job.py delete mode 100644 kubernetes/test/test_v1beta1_cron_job_list.py delete mode 100644 kubernetes/test/test_v1beta1_cron_job_spec.py delete mode 100644 kubernetes/test/test_v1beta1_cron_job_status.py delete mode 100644 kubernetes/test/test_v1beta1_csi_driver.py delete mode 100644 kubernetes/test/test_v1beta1_csi_driver_list.py delete mode 100644 kubernetes/test/test_v1beta1_csi_driver_spec.py delete mode 100644 kubernetes/test/test_v1beta1_csi_node.py delete mode 100644 kubernetes/test/test_v1beta1_csi_node_driver.py delete mode 100644 kubernetes/test/test_v1beta1_csi_node_list.py delete mode 100644 kubernetes/test/test_v1beta1_csi_node_spec.py delete mode 100644 kubernetes/test/test_v1beta1_custom_resource_column_definition.py delete mode 100644 kubernetes/test/test_v1beta1_custom_resource_conversion.py delete mode 100644 kubernetes/test/test_v1beta1_custom_resource_definition.py delete mode 100644 kubernetes/test/test_v1beta1_custom_resource_definition_condition.py delete mode 100644 kubernetes/test/test_v1beta1_custom_resource_definition_list.py delete mode 100644 kubernetes/test/test_v1beta1_custom_resource_definition_names.py delete mode 100644 kubernetes/test/test_v1beta1_custom_resource_definition_spec.py delete mode 100644 kubernetes/test/test_v1beta1_custom_resource_definition_status.py delete mode 100644 kubernetes/test/test_v1beta1_custom_resource_definition_version.py delete mode 100644 kubernetes/test/test_v1beta1_custom_resource_subresource_scale.py delete mode 100644 kubernetes/test/test_v1beta1_custom_resource_subresources.py delete mode 100644 kubernetes/test/test_v1beta1_custom_resource_validation.py delete mode 100644 kubernetes/test/test_v1beta1_daemon_set.py delete mode 100644 kubernetes/test/test_v1beta1_daemon_set_condition.py delete mode 100644 kubernetes/test/test_v1beta1_daemon_set_list.py delete mode 100644 kubernetes/test/test_v1beta1_daemon_set_spec.py delete mode 100644 kubernetes/test/test_v1beta1_daemon_set_status.py delete mode 100644 kubernetes/test/test_v1beta1_daemon_set_update_strategy.py delete mode 100644 kubernetes/test/test_v1beta1_event.py delete mode 100644 kubernetes/test/test_v1beta1_event_list.py delete mode 100644 kubernetes/test/test_v1beta1_event_series.py delete mode 100644 kubernetes/test/test_v1beta1_eviction.py delete mode 100644 kubernetes/test/test_v1beta1_external_documentation.py delete mode 100644 kubernetes/test/test_v1beta1_ip_block.py delete mode 100644 kubernetes/test/test_v1beta1_job_template_spec.py delete mode 100644 kubernetes/test/test_v1beta1_json_schema_props.py delete mode 100644 kubernetes/test/test_v1beta1_lease.py delete mode 100644 kubernetes/test/test_v1beta1_lease_list.py delete mode 100644 kubernetes/test/test_v1beta1_lease_spec.py delete mode 100644 kubernetes/test/test_v1beta1_local_subject_access_review.py delete mode 100644 kubernetes/test/test_v1beta1_mutating_webhook.py delete mode 100644 kubernetes/test/test_v1beta1_mutating_webhook_configuration.py delete mode 100644 kubernetes/test/test_v1beta1_mutating_webhook_configuration_list.py delete mode 100644 kubernetes/test/test_v1beta1_network_policy.py delete mode 100644 kubernetes/test/test_v1beta1_network_policy_egress_rule.py delete mode 100644 kubernetes/test/test_v1beta1_network_policy_ingress_rule.py delete mode 100644 kubernetes/test/test_v1beta1_network_policy_list.py delete mode 100644 kubernetes/test/test_v1beta1_network_policy_peer.py delete mode 100644 kubernetes/test/test_v1beta1_network_policy_port.py delete mode 100644 kubernetes/test/test_v1beta1_network_policy_spec.py delete mode 100644 kubernetes/test/test_v1beta1_non_resource_attributes.py delete mode 100644 kubernetes/test/test_v1beta1_non_resource_rule.py delete mode 100644 kubernetes/test/test_v1beta1_overhead.py delete mode 100644 kubernetes/test/test_v1beta1_pod_disruption_budget.py delete mode 100644 kubernetes/test/test_v1beta1_pod_disruption_budget_list.py delete mode 100644 kubernetes/test/test_v1beta1_pod_disruption_budget_spec.py delete mode 100644 kubernetes/test/test_v1beta1_pod_disruption_budget_status.py delete mode 100644 kubernetes/test/test_v1beta1_policy_rule.py delete mode 100644 kubernetes/test/test_v1beta1_priority_class.py delete mode 100644 kubernetes/test/test_v1beta1_priority_class_list.py delete mode 100644 kubernetes/test/test_v1beta1_replica_set.py delete mode 100644 kubernetes/test/test_v1beta1_replica_set_condition.py delete mode 100644 kubernetes/test/test_v1beta1_replica_set_list.py delete mode 100644 kubernetes/test/test_v1beta1_replica_set_spec.py delete mode 100644 kubernetes/test/test_v1beta1_replica_set_status.py delete mode 100644 kubernetes/test/test_v1beta1_resource_attributes.py delete mode 100644 kubernetes/test/test_v1beta1_resource_rule.py delete mode 100644 kubernetes/test/test_v1beta1_role.py delete mode 100644 kubernetes/test/test_v1beta1_role_binding.py delete mode 100644 kubernetes/test/test_v1beta1_role_binding_list.py delete mode 100644 kubernetes/test/test_v1beta1_role_list.py delete mode 100644 kubernetes/test/test_v1beta1_role_ref.py delete mode 100644 kubernetes/test/test_v1beta1_rolling_update_daemon_set.py delete mode 100644 kubernetes/test/test_v1beta1_rolling_update_stateful_set_strategy.py delete mode 100644 kubernetes/test/test_v1beta1_rule_with_operations.py delete mode 100644 kubernetes/test/test_v1beta1_runtime_class.py delete mode 100644 kubernetes/test/test_v1beta1_runtime_class_list.py delete mode 100644 kubernetes/test/test_v1beta1_scheduling.py delete mode 100644 kubernetes/test/test_v1beta1_self_subject_access_review.py delete mode 100644 kubernetes/test/test_v1beta1_self_subject_access_review_spec.py delete mode 100644 kubernetes/test/test_v1beta1_self_subject_rules_review.py delete mode 100644 kubernetes/test/test_v1beta1_self_subject_rules_review_spec.py delete mode 100644 kubernetes/test/test_v1beta1_stateful_set.py delete mode 100644 kubernetes/test/test_v1beta1_stateful_set_condition.py delete mode 100644 kubernetes/test/test_v1beta1_stateful_set_list.py delete mode 100644 kubernetes/test/test_v1beta1_stateful_set_spec.py delete mode 100644 kubernetes/test/test_v1beta1_stateful_set_status.py delete mode 100644 kubernetes/test/test_v1beta1_stateful_set_update_strategy.py delete mode 100644 kubernetes/test/test_v1beta1_storage_class.py delete mode 100644 kubernetes/test/test_v1beta1_storage_class_list.py delete mode 100644 kubernetes/test/test_v1beta1_subject.py delete mode 100644 kubernetes/test/test_v1beta1_subject_access_review.py delete mode 100644 kubernetes/test/test_v1beta1_subject_access_review_spec.py delete mode 100644 kubernetes/test/test_v1beta1_subject_access_review_status.py delete mode 100644 kubernetes/test/test_v1beta1_subject_rules_review_status.py delete mode 100644 kubernetes/test/test_v1beta1_token_review.py delete mode 100644 kubernetes/test/test_v1beta1_token_review_spec.py delete mode 100644 kubernetes/test/test_v1beta1_token_review_status.py delete mode 100644 kubernetes/test/test_v1beta1_user_info.py delete mode 100644 kubernetes/test/test_v1beta1_validating_webhook.py delete mode 100644 kubernetes/test/test_v1beta1_validating_webhook_configuration.py delete mode 100644 kubernetes/test/test_v1beta1_validating_webhook_configuration_list.py delete mode 100644 kubernetes/test/test_v1beta1_volume_attachment.py delete mode 100644 kubernetes/test/test_v1beta1_volume_attachment_list.py delete mode 100644 kubernetes/test/test_v1beta1_volume_attachment_source.py delete mode 100644 kubernetes/test/test_v1beta1_volume_attachment_spec.py delete mode 100644 kubernetes/test/test_v1beta1_volume_attachment_status.py delete mode 100644 kubernetes/test/test_v1beta1_volume_error.py delete mode 100644 kubernetes/test/test_v1beta1_volume_node_resources.py delete mode 100644 kubernetes/test/test_v1beta2_controller_revision.py delete mode 100644 kubernetes/test/test_v1beta2_controller_revision_list.py delete mode 100644 kubernetes/test/test_v1beta2_daemon_set.py delete mode 100644 kubernetes/test/test_v1beta2_daemon_set_condition.py delete mode 100644 kubernetes/test/test_v1beta2_daemon_set_list.py delete mode 100644 kubernetes/test/test_v1beta2_daemon_set_spec.py delete mode 100644 kubernetes/test/test_v1beta2_daemon_set_status.py delete mode 100644 kubernetes/test/test_v1beta2_daemon_set_update_strategy.py delete mode 100644 kubernetes/test/test_v1beta2_deployment.py delete mode 100644 kubernetes/test/test_v1beta2_deployment_condition.py delete mode 100644 kubernetes/test/test_v1beta2_deployment_list.py delete mode 100644 kubernetes/test/test_v1beta2_deployment_spec.py delete mode 100644 kubernetes/test/test_v1beta2_deployment_status.py delete mode 100644 kubernetes/test/test_v1beta2_deployment_strategy.py delete mode 100644 kubernetes/test/test_v1beta2_replica_set.py delete mode 100644 kubernetes/test/test_v1beta2_replica_set_condition.py delete mode 100644 kubernetes/test/test_v1beta2_replica_set_list.py delete mode 100644 kubernetes/test/test_v1beta2_replica_set_spec.py delete mode 100644 kubernetes/test/test_v1beta2_replica_set_status.py delete mode 100644 kubernetes/test/test_v1beta2_rolling_update_daemon_set.py delete mode 100644 kubernetes/test/test_v1beta2_rolling_update_deployment.py delete mode 100644 kubernetes/test/test_v1beta2_rolling_update_stateful_set_strategy.py delete mode 100644 kubernetes/test/test_v1beta2_scale.py delete mode 100644 kubernetes/test/test_v1beta2_scale_spec.py delete mode 100644 kubernetes/test/test_v1beta2_scale_status.py delete mode 100644 kubernetes/test/test_v1beta2_stateful_set.py delete mode 100644 kubernetes/test/test_v1beta2_stateful_set_condition.py delete mode 100644 kubernetes/test/test_v1beta2_stateful_set_list.py delete mode 100644 kubernetes/test/test_v1beta2_stateful_set_spec.py delete mode 100644 kubernetes/test/test_v1beta2_stateful_set_status.py delete mode 100644 kubernetes/test/test_v1beta2_stateful_set_update_strategy.py delete mode 100644 kubernetes/test/test_v2alpha1_cron_job.py delete mode 100644 kubernetes/test/test_v2alpha1_cron_job_list.py delete mode 100644 kubernetes/test/test_v2alpha1_cron_job_spec.py delete mode 100644 kubernetes/test/test_v2alpha1_cron_job_status.py delete mode 100644 kubernetes/test/test_v2alpha1_job_template_spec.py delete mode 100644 kubernetes/test/test_v2beta1_cross_version_object_reference.py delete mode 100644 kubernetes/test/test_v2beta1_external_metric_source.py delete mode 100644 kubernetes/test/test_v2beta1_external_metric_status.py delete mode 100644 kubernetes/test/test_v2beta1_horizontal_pod_autoscaler.py delete mode 100644 kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_condition.py delete mode 100644 kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_list.py delete mode 100644 kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_spec.py delete mode 100644 kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_status.py delete mode 100644 kubernetes/test/test_v2beta1_metric_spec.py delete mode 100644 kubernetes/test/test_v2beta1_metric_status.py delete mode 100644 kubernetes/test/test_v2beta1_object_metric_source.py delete mode 100644 kubernetes/test/test_v2beta1_object_metric_status.py delete mode 100644 kubernetes/test/test_v2beta1_pods_metric_source.py delete mode 100644 kubernetes/test/test_v2beta1_pods_metric_status.py delete mode 100644 kubernetes/test/test_v2beta1_resource_metric_source.py delete mode 100644 kubernetes/test/test_v2beta1_resource_metric_status.py delete mode 100644 kubernetes/test/test_v2beta2_cross_version_object_reference.py delete mode 100644 kubernetes/test/test_v2beta2_external_metric_source.py delete mode 100644 kubernetes/test/test_v2beta2_external_metric_status.py delete mode 100644 kubernetes/test/test_v2beta2_horizontal_pod_autoscaler.py delete mode 100644 kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_condition.py delete mode 100644 kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_list.py delete mode 100644 kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_spec.py delete mode 100644 kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_status.py delete mode 100644 kubernetes/test/test_v2beta2_metric_identifier.py delete mode 100644 kubernetes/test/test_v2beta2_metric_spec.py delete mode 100644 kubernetes/test/test_v2beta2_metric_status.py delete mode 100644 kubernetes/test/test_v2beta2_metric_target.py delete mode 100644 kubernetes/test/test_v2beta2_metric_value_status.py delete mode 100644 kubernetes/test/test_v2beta2_object_metric_source.py delete mode 100644 kubernetes/test/test_v2beta2_object_metric_status.py delete mode 100644 kubernetes/test/test_v2beta2_pods_metric_source.py delete mode 100644 kubernetes/test/test_v2beta2_pods_metric_status.py delete mode 100644 kubernetes/test/test_v2beta2_resource_metric_source.py delete mode 100644 kubernetes/test/test_v2beta2_resource_metric_status.py delete mode 100644 kubernetes/test/test_version_api.py delete mode 100644 kubernetes/test/test_version_info.py diff --git a/kubernetes/test/__init__.py b/kubernetes/test/__init__.py deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/kubernetes/test/test_admissionregistration_api.py b/kubernetes/test/test_admissionregistration_api.py deleted file mode 100644 index 4d512c3eed..0000000000 --- a/kubernetes/test/test_admissionregistration_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.admissionregistration_api import AdmissionregistrationApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestAdmissionregistrationApi(unittest.TestCase): - """AdmissionregistrationApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.admissionregistration_api.AdmissionregistrationApi() # noqa: E501 - - 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_admissionregistration_v1_api.py b/kubernetes/test/test_admissionregistration_v1_api.py deleted file mode 100644 index 37fd21ef38..0000000000 --- a/kubernetes/test/test_admissionregistration_v1_api.py +++ /dev/null @@ -1,123 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.admissionregistration_v1_api import AdmissionregistrationV1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestAdmissionregistrationV1Api(unittest.TestCase): - """AdmissionregistrationV1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.admissionregistration_v1_api.AdmissionregistrationV1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_mutating_webhook_configuration(self): - """Test case for create_mutating_webhook_configuration - - """ - pass - - def test_create_validating_webhook_configuration(self): - """Test case for create_validating_webhook_configuration - - """ - pass - - def test_delete_collection_mutating_webhook_configuration(self): - """Test case for delete_collection_mutating_webhook_configuration - - """ - pass - - def test_delete_collection_validating_webhook_configuration(self): - """Test case for delete_collection_validating_webhook_configuration - - """ - pass - - def test_delete_mutating_webhook_configuration(self): - """Test case for delete_mutating_webhook_configuration - - """ - pass - - def test_delete_validating_webhook_configuration(self): - """Test case for delete_validating_webhook_configuration - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_mutating_webhook_configuration(self): - """Test case for list_mutating_webhook_configuration - - """ - pass - - def test_list_validating_webhook_configuration(self): - """Test case for list_validating_webhook_configuration - - """ - pass - - def test_patch_mutating_webhook_configuration(self): - """Test case for patch_mutating_webhook_configuration - - """ - pass - - def test_patch_validating_webhook_configuration(self): - """Test case for patch_validating_webhook_configuration - - """ - pass - - def test_read_mutating_webhook_configuration(self): - """Test case for read_mutating_webhook_configuration - - """ - pass - - def test_read_validating_webhook_configuration(self): - """Test case for read_validating_webhook_configuration - - """ - pass - - def test_replace_mutating_webhook_configuration(self): - """Test case for replace_mutating_webhook_configuration - - """ - pass - - def test_replace_validating_webhook_configuration(self): - """Test case for replace_validating_webhook_configuration - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_admissionregistration_v1_service_reference.py b/kubernetes/test/test_admissionregistration_v1_service_reference.py deleted file mode 100644 index 7103c44d7c..0000000000 --- a/kubernetes/test/test_admissionregistration_v1_service_reference.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.admissionregistration_v1_service_reference import AdmissionregistrationV1ServiceReference # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestAdmissionregistrationV1ServiceReference(unittest.TestCase): - """AdmissionregistrationV1ServiceReference unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test AdmissionregistrationV1ServiceReference - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.admissionregistration_v1_service_reference.AdmissionregistrationV1ServiceReference() # noqa: E501 - if include_optional : - return AdmissionregistrationV1ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56 - ) - else : - return AdmissionregistrationV1ServiceReference( - name = '0', - namespace = '0', - ) - - def testAdmissionregistrationV1ServiceReference(self): - """Test AdmissionregistrationV1ServiceReference""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_admissionregistration_v1_webhook_client_config.py b/kubernetes/test/test_admissionregistration_v1_webhook_client_config.py deleted file mode 100644 index 940ba56fdb..0000000000 --- a/kubernetes/test/test_admissionregistration_v1_webhook_client_config.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.admissionregistration_v1_webhook_client_config import AdmissionregistrationV1WebhookClientConfig # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestAdmissionregistrationV1WebhookClientConfig(unittest.TestCase): - """AdmissionregistrationV1WebhookClientConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test AdmissionregistrationV1WebhookClientConfig - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.admissionregistration_v1_webhook_client_config.AdmissionregistrationV1WebhookClientConfig() # noqa: E501 - if include_optional : - return AdmissionregistrationV1WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.admissionregistration/v1/service_reference.admissionregistration.v1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0' - ) - else : - return AdmissionregistrationV1WebhookClientConfig( - ) - - def testAdmissionregistrationV1WebhookClientConfig(self): - """Test AdmissionregistrationV1WebhookClientConfig""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_admissionregistration_v1beta1_api.py b/kubernetes/test/test_admissionregistration_v1beta1_api.py deleted file mode 100644 index 835c2fa3b2..0000000000 --- a/kubernetes/test/test_admissionregistration_v1beta1_api.py +++ /dev/null @@ -1,123 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.admissionregistration_v1beta1_api import AdmissionregistrationV1beta1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestAdmissionregistrationV1beta1Api(unittest.TestCase): - """AdmissionregistrationV1beta1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.admissionregistration_v1beta1_api.AdmissionregistrationV1beta1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_mutating_webhook_configuration(self): - """Test case for create_mutating_webhook_configuration - - """ - pass - - def test_create_validating_webhook_configuration(self): - """Test case for create_validating_webhook_configuration - - """ - pass - - def test_delete_collection_mutating_webhook_configuration(self): - """Test case for delete_collection_mutating_webhook_configuration - - """ - pass - - def test_delete_collection_validating_webhook_configuration(self): - """Test case for delete_collection_validating_webhook_configuration - - """ - pass - - def test_delete_mutating_webhook_configuration(self): - """Test case for delete_mutating_webhook_configuration - - """ - pass - - def test_delete_validating_webhook_configuration(self): - """Test case for delete_validating_webhook_configuration - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_mutating_webhook_configuration(self): - """Test case for list_mutating_webhook_configuration - - """ - pass - - def test_list_validating_webhook_configuration(self): - """Test case for list_validating_webhook_configuration - - """ - pass - - def test_patch_mutating_webhook_configuration(self): - """Test case for patch_mutating_webhook_configuration - - """ - pass - - def test_patch_validating_webhook_configuration(self): - """Test case for patch_validating_webhook_configuration - - """ - pass - - def test_read_mutating_webhook_configuration(self): - """Test case for read_mutating_webhook_configuration - - """ - pass - - def test_read_validating_webhook_configuration(self): - """Test case for read_validating_webhook_configuration - - """ - pass - - def test_replace_mutating_webhook_configuration(self): - """Test case for replace_mutating_webhook_configuration - - """ - pass - - def test_replace_validating_webhook_configuration(self): - """Test case for replace_validating_webhook_configuration - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_admissionregistration_v1beta1_service_reference.py b/kubernetes/test/test_admissionregistration_v1beta1_service_reference.py deleted file mode 100644 index 27c9243c45..0000000000 --- a/kubernetes/test/test_admissionregistration_v1beta1_service_reference.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.admissionregistration_v1beta1_service_reference import AdmissionregistrationV1beta1ServiceReference # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestAdmissionregistrationV1beta1ServiceReference(unittest.TestCase): - """AdmissionregistrationV1beta1ServiceReference unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test AdmissionregistrationV1beta1ServiceReference - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.admissionregistration_v1beta1_service_reference.AdmissionregistrationV1beta1ServiceReference() # noqa: E501 - if include_optional : - return AdmissionregistrationV1beta1ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56 - ) - else : - return AdmissionregistrationV1beta1ServiceReference( - name = '0', - namespace = '0', - ) - - def testAdmissionregistrationV1beta1ServiceReference(self): - """Test AdmissionregistrationV1beta1ServiceReference""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_admissionregistration_v1beta1_webhook_client_config.py b/kubernetes/test/test_admissionregistration_v1beta1_webhook_client_config.py deleted file mode 100644 index 48c450b6f1..0000000000 --- a/kubernetes/test/test_admissionregistration_v1beta1_webhook_client_config.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.admissionregistration_v1beta1_webhook_client_config import AdmissionregistrationV1beta1WebhookClientConfig # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestAdmissionregistrationV1beta1WebhookClientConfig(unittest.TestCase): - """AdmissionregistrationV1beta1WebhookClientConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test AdmissionregistrationV1beta1WebhookClientConfig - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.admissionregistration_v1beta1_webhook_client_config.AdmissionregistrationV1beta1WebhookClientConfig() # noqa: E501 - if include_optional : - return AdmissionregistrationV1beta1WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.admissionregistration/v1beta1/service_reference.admissionregistration.v1beta1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0' - ) - else : - return AdmissionregistrationV1beta1WebhookClientConfig( - ) - - def testAdmissionregistrationV1beta1WebhookClientConfig(self): - """Test AdmissionregistrationV1beta1WebhookClientConfig""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apiextensions_api.py b/kubernetes/test/test_apiextensions_api.py deleted file mode 100644 index ff7480db97..0000000000 --- a/kubernetes/test/test_apiextensions_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.apiextensions_api import ApiextensionsApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestApiextensionsApi(unittest.TestCase): - """ApiextensionsApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.apiextensions_api.ApiextensionsApi() # noqa: E501 - - 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_apiextensions_v1_api.py b/kubernetes/test/test_apiextensions_v1_api.py deleted file mode 100644 index 94f6a77aa1..0000000000 --- a/kubernetes/test/test_apiextensions_v1_api.py +++ /dev/null @@ -1,99 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.apiextensions_v1_api import ApiextensionsV1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestApiextensionsV1Api(unittest.TestCase): - """ApiextensionsV1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.apiextensions_v1_api.ApiextensionsV1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_custom_resource_definition(self): - """Test case for create_custom_resource_definition - - """ - pass - - def test_delete_collection_custom_resource_definition(self): - """Test case for delete_collection_custom_resource_definition - - """ - pass - - def test_delete_custom_resource_definition(self): - """Test case for delete_custom_resource_definition - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_custom_resource_definition(self): - """Test case for list_custom_resource_definition - - """ - pass - - def test_patch_custom_resource_definition(self): - """Test case for patch_custom_resource_definition - - """ - pass - - def test_patch_custom_resource_definition_status(self): - """Test case for patch_custom_resource_definition_status - - """ - pass - - def test_read_custom_resource_definition(self): - """Test case for read_custom_resource_definition - - """ - pass - - def test_read_custom_resource_definition_status(self): - """Test case for read_custom_resource_definition_status - - """ - pass - - def test_replace_custom_resource_definition(self): - """Test case for replace_custom_resource_definition - - """ - pass - - def test_replace_custom_resource_definition_status(self): - """Test case for replace_custom_resource_definition_status - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apiextensions_v1_service_reference.py b/kubernetes/test/test_apiextensions_v1_service_reference.py deleted file mode 100644 index 2d9f974da1..0000000000 --- a/kubernetes/test/test_apiextensions_v1_service_reference.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.apiextensions_v1_service_reference import ApiextensionsV1ServiceReference # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestApiextensionsV1ServiceReference(unittest.TestCase): - """ApiextensionsV1ServiceReference unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ApiextensionsV1ServiceReference - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.apiextensions_v1_service_reference.ApiextensionsV1ServiceReference() # noqa: E501 - if include_optional : - return ApiextensionsV1ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56 - ) - else : - return ApiextensionsV1ServiceReference( - name = '0', - namespace = '0', - ) - - def testApiextensionsV1ServiceReference(self): - """Test ApiextensionsV1ServiceReference""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apiextensions_v1_webhook_client_config.py b/kubernetes/test/test_apiextensions_v1_webhook_client_config.py deleted file mode 100644 index bd07b6eaa0..0000000000 --- a/kubernetes/test/test_apiextensions_v1_webhook_client_config.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.apiextensions_v1_webhook_client_config import ApiextensionsV1WebhookClientConfig # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestApiextensionsV1WebhookClientConfig(unittest.TestCase): - """ApiextensionsV1WebhookClientConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ApiextensionsV1WebhookClientConfig - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.apiextensions_v1_webhook_client_config.ApiextensionsV1WebhookClientConfig() # noqa: E501 - if include_optional : - return ApiextensionsV1WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.apiextensions/v1/service_reference.apiextensions.v1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0' - ) - else : - return ApiextensionsV1WebhookClientConfig( - ) - - def testApiextensionsV1WebhookClientConfig(self): - """Test ApiextensionsV1WebhookClientConfig""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apiextensions_v1beta1_api.py b/kubernetes/test/test_apiextensions_v1beta1_api.py deleted file mode 100644 index 4b4e5f689f..0000000000 --- a/kubernetes/test/test_apiextensions_v1beta1_api.py +++ /dev/null @@ -1,99 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.apiextensions_v1beta1_api import ApiextensionsV1beta1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestApiextensionsV1beta1Api(unittest.TestCase): - """ApiextensionsV1beta1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.apiextensions_v1beta1_api.ApiextensionsV1beta1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_custom_resource_definition(self): - """Test case for create_custom_resource_definition - - """ - pass - - def test_delete_collection_custom_resource_definition(self): - """Test case for delete_collection_custom_resource_definition - - """ - pass - - def test_delete_custom_resource_definition(self): - """Test case for delete_custom_resource_definition - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_custom_resource_definition(self): - """Test case for list_custom_resource_definition - - """ - pass - - def test_patch_custom_resource_definition(self): - """Test case for patch_custom_resource_definition - - """ - pass - - def test_patch_custom_resource_definition_status(self): - """Test case for patch_custom_resource_definition_status - - """ - pass - - def test_read_custom_resource_definition(self): - """Test case for read_custom_resource_definition - - """ - pass - - def test_read_custom_resource_definition_status(self): - """Test case for read_custom_resource_definition_status - - """ - pass - - def test_replace_custom_resource_definition(self): - """Test case for replace_custom_resource_definition - - """ - pass - - def test_replace_custom_resource_definition_status(self): - """Test case for replace_custom_resource_definition_status - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apiextensions_v1beta1_service_reference.py b/kubernetes/test/test_apiextensions_v1beta1_service_reference.py deleted file mode 100644 index e8e26ce579..0000000000 --- a/kubernetes/test/test_apiextensions_v1beta1_service_reference.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.apiextensions_v1beta1_service_reference import ApiextensionsV1beta1ServiceReference # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestApiextensionsV1beta1ServiceReference(unittest.TestCase): - """ApiextensionsV1beta1ServiceReference unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ApiextensionsV1beta1ServiceReference - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.apiextensions_v1beta1_service_reference.ApiextensionsV1beta1ServiceReference() # noqa: E501 - if include_optional : - return ApiextensionsV1beta1ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56 - ) - else : - return ApiextensionsV1beta1ServiceReference( - name = '0', - namespace = '0', - ) - - def testApiextensionsV1beta1ServiceReference(self): - """Test ApiextensionsV1beta1ServiceReference""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -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 deleted file mode 100644 index 82a2767485..0000000000 --- a/kubernetes/test/test_apiextensions_v1beta1_webhook_client_config.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.apiextensions_v1beta1_webhook_client_config import ApiextensionsV1beta1WebhookClientConfig # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestApiextensionsV1beta1WebhookClientConfig(unittest.TestCase): - """ApiextensionsV1beta1WebhookClientConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ApiextensionsV1beta1WebhookClientConfig - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.apiextensions_v1beta1_webhook_client_config.ApiextensionsV1beta1WebhookClientConfig() # noqa: E501 - if include_optional : - return ApiextensionsV1beta1WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.apiextensions/v1beta1/service_reference.apiextensions.v1beta1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0' - ) - else : - return ApiextensionsV1beta1WebhookClientConfig( - ) - - def testApiextensionsV1beta1WebhookClientConfig(self): - """Test ApiextensionsV1beta1WebhookClientConfig""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apiregistration_api.py b/kubernetes/test/test_apiregistration_api.py deleted file mode 100644 index 39f4600935..0000000000 --- a/kubernetes/test/test_apiregistration_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.apiregistration_api import ApiregistrationApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestApiregistrationApi(unittest.TestCase): - """ApiregistrationApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.apiregistration_api.ApiregistrationApi() # noqa: E501 - - 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_apiregistration_v1_api.py b/kubernetes/test/test_apiregistration_v1_api.py deleted file mode 100644 index 3b4bdd6913..0000000000 --- a/kubernetes/test/test_apiregistration_v1_api.py +++ /dev/null @@ -1,99 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.apiregistration_v1_api import ApiregistrationV1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestApiregistrationV1Api(unittest.TestCase): - """ApiregistrationV1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.apiregistration_v1_api.ApiregistrationV1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_api_service(self): - """Test case for create_api_service - - """ - pass - - def test_delete_api_service(self): - """Test case for delete_api_service - - """ - pass - - def test_delete_collection_api_service(self): - """Test case for delete_collection_api_service - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_api_service(self): - """Test case for list_api_service - - """ - pass - - def test_patch_api_service(self): - """Test case for patch_api_service - - """ - pass - - def test_patch_api_service_status(self): - """Test case for patch_api_service_status - - """ - pass - - def test_read_api_service(self): - """Test case for read_api_service - - """ - pass - - def test_read_api_service_status(self): - """Test case for read_api_service_status - - """ - pass - - def test_replace_api_service(self): - """Test case for replace_api_service - - """ - pass - - def test_replace_api_service_status(self): - """Test case for replace_api_service_status - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apiregistration_v1_service_reference.py b/kubernetes/test/test_apiregistration_v1_service_reference.py deleted file mode 100644 index cd32052eae..0000000000 --- a/kubernetes/test/test_apiregistration_v1_service_reference.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.apiregistration_v1_service_reference import ApiregistrationV1ServiceReference # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestApiregistrationV1ServiceReference(unittest.TestCase): - """ApiregistrationV1ServiceReference unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ApiregistrationV1ServiceReference - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.apiregistration_v1_service_reference.ApiregistrationV1ServiceReference() # noqa: E501 - if include_optional : - return ApiregistrationV1ServiceReference( - name = '0', - namespace = '0', - port = 56 - ) - else : - return ApiregistrationV1ServiceReference( - ) - - def testApiregistrationV1ServiceReference(self): - """Test ApiregistrationV1ServiceReference""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apiregistration_v1beta1_api.py b/kubernetes/test/test_apiregistration_v1beta1_api.py deleted file mode 100644 index 9dc0291036..0000000000 --- a/kubernetes/test/test_apiregistration_v1beta1_api.py +++ /dev/null @@ -1,99 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.apiregistration_v1beta1_api import ApiregistrationV1beta1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestApiregistrationV1beta1Api(unittest.TestCase): - """ApiregistrationV1beta1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.apiregistration_v1beta1_api.ApiregistrationV1beta1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_api_service(self): - """Test case for create_api_service - - """ - pass - - def test_delete_api_service(self): - """Test case for delete_api_service - - """ - pass - - def test_delete_collection_api_service(self): - """Test case for delete_collection_api_service - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_api_service(self): - """Test case for list_api_service - - """ - pass - - def test_patch_api_service(self): - """Test case for patch_api_service - - """ - pass - - def test_patch_api_service_status(self): - """Test case for patch_api_service_status - - """ - pass - - def test_read_api_service(self): - """Test case for read_api_service - - """ - pass - - def test_read_api_service_status(self): - """Test case for read_api_service_status - - """ - pass - - def test_replace_api_service(self): - """Test case for replace_api_service - - """ - pass - - def test_replace_api_service_status(self): - """Test case for replace_api_service_status - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apiregistration_v1beta1_service_reference.py b/kubernetes/test/test_apiregistration_v1beta1_service_reference.py deleted file mode 100644 index 88deb80508..0000000000 --- a/kubernetes/test/test_apiregistration_v1beta1_service_reference.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.apiregistration_v1beta1_service_reference import ApiregistrationV1beta1ServiceReference # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestApiregistrationV1beta1ServiceReference(unittest.TestCase): - """ApiregistrationV1beta1ServiceReference unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ApiregistrationV1beta1ServiceReference - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.apiregistration_v1beta1_service_reference.ApiregistrationV1beta1ServiceReference() # noqa: E501 - if include_optional : - return ApiregistrationV1beta1ServiceReference( - name = '0', - namespace = '0', - port = 56 - ) - else : - return ApiregistrationV1beta1ServiceReference( - ) - - def testApiregistrationV1beta1ServiceReference(self): - """Test ApiregistrationV1beta1ServiceReference""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apis_api.py b/kubernetes/test/test_apis_api.py deleted file mode 100644 index 1de2732094..0000000000 --- a/kubernetes/test/test_apis_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.apis_api import ApisApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestApisApi(unittest.TestCase): - """ApisApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.apis_api.ApisApi() # noqa: E501 - - def tearDown(self): - pass - - def test_get_api_versions(self): - """Test case for get_api_versions - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apps_api.py b/kubernetes/test/test_apps_api.py deleted file mode 100644 index 4c5f8611c2..0000000000 --- a/kubernetes/test/test_apps_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.apps_api import AppsApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestAppsApi(unittest.TestCase): - """AppsApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.apps_api.AppsApi() # noqa: E501 - - 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_apps_v1_api.py b/kubernetes/test/test_apps_v1_api.py deleted file mode 100644 index 02a5743460..0000000000 --- a/kubernetes/test/test_apps_v1_api.py +++ /dev/null @@ -1,405 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.apps_v1_api import AppsV1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestAppsV1Api(unittest.TestCase): - """AppsV1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.apps_v1_api.AppsV1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_namespaced_controller_revision(self): - """Test case for create_namespaced_controller_revision - - """ - pass - - def test_create_namespaced_daemon_set(self): - """Test case for create_namespaced_daemon_set - - """ - pass - - def test_create_namespaced_deployment(self): - """Test case for create_namespaced_deployment - - """ - pass - - def test_create_namespaced_replica_set(self): - """Test case for create_namespaced_replica_set - - """ - pass - - def test_create_namespaced_stateful_set(self): - """Test case for create_namespaced_stateful_set - - """ - pass - - def test_delete_collection_namespaced_controller_revision(self): - """Test case for delete_collection_namespaced_controller_revision - - """ - pass - - def test_delete_collection_namespaced_daemon_set(self): - """Test case for delete_collection_namespaced_daemon_set - - """ - pass - - def test_delete_collection_namespaced_deployment(self): - """Test case for delete_collection_namespaced_deployment - - """ - pass - - def test_delete_collection_namespaced_replica_set(self): - """Test case for delete_collection_namespaced_replica_set - - """ - pass - - def test_delete_collection_namespaced_stateful_set(self): - """Test case for delete_collection_namespaced_stateful_set - - """ - pass - - def test_delete_namespaced_controller_revision(self): - """Test case for delete_namespaced_controller_revision - - """ - pass - - def test_delete_namespaced_daemon_set(self): - """Test case for delete_namespaced_daemon_set - - """ - pass - - def test_delete_namespaced_deployment(self): - """Test case for delete_namespaced_deployment - - """ - pass - - def test_delete_namespaced_replica_set(self): - """Test case for delete_namespaced_replica_set - - """ - pass - - def test_delete_namespaced_stateful_set(self): - """Test case for delete_namespaced_stateful_set - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_controller_revision_for_all_namespaces(self): - """Test case for list_controller_revision_for_all_namespaces - - """ - pass - - def test_list_daemon_set_for_all_namespaces(self): - """Test case for list_daemon_set_for_all_namespaces - - """ - pass - - def test_list_deployment_for_all_namespaces(self): - """Test case for list_deployment_for_all_namespaces - - """ - pass - - def test_list_namespaced_controller_revision(self): - """Test case for list_namespaced_controller_revision - - """ - pass - - def test_list_namespaced_daemon_set(self): - """Test case for list_namespaced_daemon_set - - """ - pass - - def test_list_namespaced_deployment(self): - """Test case for list_namespaced_deployment - - """ - pass - - def test_list_namespaced_replica_set(self): - """Test case for list_namespaced_replica_set - - """ - pass - - def test_list_namespaced_stateful_set(self): - """Test case for list_namespaced_stateful_set - - """ - pass - - def test_list_replica_set_for_all_namespaces(self): - """Test case for list_replica_set_for_all_namespaces - - """ - pass - - def test_list_stateful_set_for_all_namespaces(self): - """Test case for list_stateful_set_for_all_namespaces - - """ - pass - - def test_patch_namespaced_controller_revision(self): - """Test case for patch_namespaced_controller_revision - - """ - pass - - def test_patch_namespaced_daemon_set(self): - """Test case for patch_namespaced_daemon_set - - """ - pass - - def test_patch_namespaced_daemon_set_status(self): - """Test case for patch_namespaced_daemon_set_status - - """ - pass - - def test_patch_namespaced_deployment(self): - """Test case for patch_namespaced_deployment - - """ - pass - - def test_patch_namespaced_deployment_scale(self): - """Test case for patch_namespaced_deployment_scale - - """ - pass - - def test_patch_namespaced_deployment_status(self): - """Test case for patch_namespaced_deployment_status - - """ - pass - - def test_patch_namespaced_replica_set(self): - """Test case for patch_namespaced_replica_set - - """ - pass - - def test_patch_namespaced_replica_set_scale(self): - """Test case for patch_namespaced_replica_set_scale - - """ - pass - - def test_patch_namespaced_replica_set_status(self): - """Test case for patch_namespaced_replica_set_status - - """ - pass - - def test_patch_namespaced_stateful_set(self): - """Test case for patch_namespaced_stateful_set - - """ - pass - - def test_patch_namespaced_stateful_set_scale(self): - """Test case for patch_namespaced_stateful_set_scale - - """ - pass - - def test_patch_namespaced_stateful_set_status(self): - """Test case for patch_namespaced_stateful_set_status - - """ - pass - - def test_read_namespaced_controller_revision(self): - """Test case for read_namespaced_controller_revision - - """ - pass - - def test_read_namespaced_daemon_set(self): - """Test case for read_namespaced_daemon_set - - """ - pass - - def test_read_namespaced_daemon_set_status(self): - """Test case for read_namespaced_daemon_set_status - - """ - pass - - def test_read_namespaced_deployment(self): - """Test case for read_namespaced_deployment - - """ - pass - - def test_read_namespaced_deployment_scale(self): - """Test case for read_namespaced_deployment_scale - - """ - pass - - def test_read_namespaced_deployment_status(self): - """Test case for read_namespaced_deployment_status - - """ - pass - - def test_read_namespaced_replica_set(self): - """Test case for read_namespaced_replica_set - - """ - pass - - def test_read_namespaced_replica_set_scale(self): - """Test case for read_namespaced_replica_set_scale - - """ - pass - - def test_read_namespaced_replica_set_status(self): - """Test case for read_namespaced_replica_set_status - - """ - pass - - def test_read_namespaced_stateful_set(self): - """Test case for read_namespaced_stateful_set - - """ - pass - - def test_read_namespaced_stateful_set_scale(self): - """Test case for read_namespaced_stateful_set_scale - - """ - pass - - def test_read_namespaced_stateful_set_status(self): - """Test case for read_namespaced_stateful_set_status - - """ - pass - - def test_replace_namespaced_controller_revision(self): - """Test case for replace_namespaced_controller_revision - - """ - pass - - def test_replace_namespaced_daemon_set(self): - """Test case for replace_namespaced_daemon_set - - """ - pass - - def test_replace_namespaced_daemon_set_status(self): - """Test case for replace_namespaced_daemon_set_status - - """ - pass - - def test_replace_namespaced_deployment(self): - """Test case for replace_namespaced_deployment - - """ - pass - - def test_replace_namespaced_deployment_scale(self): - """Test case for replace_namespaced_deployment_scale - - """ - pass - - def test_replace_namespaced_deployment_status(self): - """Test case for replace_namespaced_deployment_status - - """ - pass - - def test_replace_namespaced_replica_set(self): - """Test case for replace_namespaced_replica_set - - """ - pass - - def test_replace_namespaced_replica_set_scale(self): - """Test case for replace_namespaced_replica_set_scale - - """ - pass - - def test_replace_namespaced_replica_set_status(self): - """Test case for replace_namespaced_replica_set_status - - """ - pass - - def test_replace_namespaced_stateful_set(self): - """Test case for replace_namespaced_stateful_set - - """ - pass - - def test_replace_namespaced_stateful_set_scale(self): - """Test case for replace_namespaced_stateful_set_scale - - """ - pass - - def test_replace_namespaced_stateful_set_status(self): - """Test case for replace_namespaced_stateful_set_status - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apps_v1beta1_api.py b/kubernetes/test/test_apps_v1beta1_api.py deleted file mode 100644 index 4499397fc7..0000000000 --- a/kubernetes/test/test_apps_v1beta1_api.py +++ /dev/null @@ -1,261 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.apps_v1beta1_api import AppsV1beta1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestAppsV1beta1Api(unittest.TestCase): - """AppsV1beta1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.apps_v1beta1_api.AppsV1beta1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_namespaced_controller_revision(self): - """Test case for create_namespaced_controller_revision - - """ - pass - - def test_create_namespaced_deployment(self): - """Test case for create_namespaced_deployment - - """ - pass - - def test_create_namespaced_deployment_rollback(self): - """Test case for create_namespaced_deployment_rollback - - """ - pass - - def test_create_namespaced_stateful_set(self): - """Test case for create_namespaced_stateful_set - - """ - pass - - def test_delete_collection_namespaced_controller_revision(self): - """Test case for delete_collection_namespaced_controller_revision - - """ - pass - - def test_delete_collection_namespaced_deployment(self): - """Test case for delete_collection_namespaced_deployment - - """ - pass - - def test_delete_collection_namespaced_stateful_set(self): - """Test case for delete_collection_namespaced_stateful_set - - """ - pass - - def test_delete_namespaced_controller_revision(self): - """Test case for delete_namespaced_controller_revision - - """ - pass - - def test_delete_namespaced_deployment(self): - """Test case for delete_namespaced_deployment - - """ - pass - - def test_delete_namespaced_stateful_set(self): - """Test case for delete_namespaced_stateful_set - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_controller_revision_for_all_namespaces(self): - """Test case for list_controller_revision_for_all_namespaces - - """ - pass - - def test_list_deployment_for_all_namespaces(self): - """Test case for list_deployment_for_all_namespaces - - """ - pass - - def test_list_namespaced_controller_revision(self): - """Test case for list_namespaced_controller_revision - - """ - pass - - def test_list_namespaced_deployment(self): - """Test case for list_namespaced_deployment - - """ - pass - - def test_list_namespaced_stateful_set(self): - """Test case for list_namespaced_stateful_set - - """ - pass - - def test_list_stateful_set_for_all_namespaces(self): - """Test case for list_stateful_set_for_all_namespaces - - """ - pass - - def test_patch_namespaced_controller_revision(self): - """Test case for patch_namespaced_controller_revision - - """ - pass - - def test_patch_namespaced_deployment(self): - """Test case for patch_namespaced_deployment - - """ - pass - - def test_patch_namespaced_deployment_scale(self): - """Test case for patch_namespaced_deployment_scale - - """ - pass - - def test_patch_namespaced_deployment_status(self): - """Test case for patch_namespaced_deployment_status - - """ - pass - - def test_patch_namespaced_stateful_set(self): - """Test case for patch_namespaced_stateful_set - - """ - pass - - def test_patch_namespaced_stateful_set_scale(self): - """Test case for patch_namespaced_stateful_set_scale - - """ - pass - - def test_patch_namespaced_stateful_set_status(self): - """Test case for patch_namespaced_stateful_set_status - - """ - pass - - def test_read_namespaced_controller_revision(self): - """Test case for read_namespaced_controller_revision - - """ - pass - - def test_read_namespaced_deployment(self): - """Test case for read_namespaced_deployment - - """ - pass - - def test_read_namespaced_deployment_scale(self): - """Test case for read_namespaced_deployment_scale - - """ - pass - - def test_read_namespaced_deployment_status(self): - """Test case for read_namespaced_deployment_status - - """ - pass - - def test_read_namespaced_stateful_set(self): - """Test case for read_namespaced_stateful_set - - """ - pass - - def test_read_namespaced_stateful_set_scale(self): - """Test case for read_namespaced_stateful_set_scale - - """ - pass - - def test_read_namespaced_stateful_set_status(self): - """Test case for read_namespaced_stateful_set_status - - """ - pass - - def test_replace_namespaced_controller_revision(self): - """Test case for replace_namespaced_controller_revision - - """ - pass - - def test_replace_namespaced_deployment(self): - """Test case for replace_namespaced_deployment - - """ - pass - - def test_replace_namespaced_deployment_scale(self): - """Test case for replace_namespaced_deployment_scale - - """ - pass - - def test_replace_namespaced_deployment_status(self): - """Test case for replace_namespaced_deployment_status - - """ - pass - - def test_replace_namespaced_stateful_set(self): - """Test case for replace_namespaced_stateful_set - - """ - pass - - def test_replace_namespaced_stateful_set_scale(self): - """Test case for replace_namespaced_stateful_set_scale - - """ - pass - - def test_replace_namespaced_stateful_set_status(self): - """Test case for replace_namespaced_stateful_set_status - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apps_v1beta1_deployment.py b/kubernetes/test/test_apps_v1beta1_deployment.py deleted file mode 100644 index 8d506f3e0c..0000000000 --- a/kubernetes/test/test_apps_v1beta1_deployment.py +++ /dev/null @@ -1,174 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.apps_v1beta1_deployment import AppsV1beta1Deployment # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestAppsV1beta1Deployment(unittest.TestCase): - """AppsV1beta1Deployment unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test AppsV1beta1Deployment - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.apps_v1beta1_deployment.AppsV1beta1Deployment() # noqa: E501 - if include_optional : - return AppsV1beta1Deployment( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.apps/v1beta1/deployment_spec.apps.v1beta1.DeploymentSpec( - min_ready_seconds = 56, - paused = True, - progress_deadline_seconds = 56, - replicas = 56, - revision_history_limit = 56, - rollback_to = kubernetes.client.models.apps/v1beta1/rollback_config.apps.v1beta1.RollbackConfig( - revision = 56, ), - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - strategy = kubernetes.client.models.apps/v1beta1/deployment_strategy.apps.v1beta1.DeploymentStrategy( - rolling_update = kubernetes.client.models.apps/v1beta1/rolling_update_deployment.apps.v1beta1.RollingUpdateDeployment( - max_surge = kubernetes.client.models.max_surge.maxSurge(), - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), ), ), - status = kubernetes.client.models.apps/v1beta1/deployment_status.apps.v1beta1.DeploymentStatus( - available_replicas = 56, - collision_count = 56, - conditions = [ - kubernetes.client.models.apps/v1beta1/deployment_condition.apps.v1beta1.DeploymentCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - unavailable_replicas = 56, - updated_replicas = 56, ) - ) - else : - return AppsV1beta1Deployment( - ) - - def testAppsV1beta1Deployment(self): - """Test AppsV1beta1Deployment""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apps_v1beta1_deployment_condition.py b/kubernetes/test/test_apps_v1beta1_deployment_condition.py deleted file mode 100644 index 0c2e9454d4..0000000000 --- a/kubernetes/test/test_apps_v1beta1_deployment_condition.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.apps_v1beta1_deployment_condition import AppsV1beta1DeploymentCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestAppsV1beta1DeploymentCondition(unittest.TestCase): - """AppsV1beta1DeploymentCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test AppsV1beta1DeploymentCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.apps_v1beta1_deployment_condition.AppsV1beta1DeploymentCondition() # noqa: E501 - if include_optional : - return AppsV1beta1DeploymentCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return AppsV1beta1DeploymentCondition( - status = '0', - type = '0', - ) - - def testAppsV1beta1DeploymentCondition(self): - """Test AppsV1beta1DeploymentCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apps_v1beta1_deployment_list.py b/kubernetes/test/test_apps_v1beta1_deployment_list.py deleted file mode 100644 index 2af80f706d..0000000000 --- a/kubernetes/test/test_apps_v1beta1_deployment_list.py +++ /dev/null @@ -1,232 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.apps_v1beta1_deployment_list import AppsV1beta1DeploymentList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestAppsV1beta1DeploymentList(unittest.TestCase): - """AppsV1beta1DeploymentList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test AppsV1beta1DeploymentList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.apps_v1beta1_deployment_list.AppsV1beta1DeploymentList() # noqa: E501 - if include_optional : - return AppsV1beta1DeploymentList( - api_version = '0', - items = [ - kubernetes.client.models.apps/v1beta1/deployment.apps.v1beta1.Deployment( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.apps/v1beta1/deployment_spec.apps.v1beta1.DeploymentSpec( - min_ready_seconds = 56, - paused = True, - progress_deadline_seconds = 56, - replicas = 56, - revision_history_limit = 56, - rollback_to = kubernetes.client.models.apps/v1beta1/rollback_config.apps.v1beta1.RollbackConfig( - revision = 56, ), - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - strategy = kubernetes.client.models.apps/v1beta1/deployment_strategy.apps.v1beta1.DeploymentStrategy( - rolling_update = kubernetes.client.models.apps/v1beta1/rolling_update_deployment.apps.v1beta1.RollingUpdateDeployment( - max_surge = kubernetes.client.models.max_surge.maxSurge(), - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), - status = kubernetes.client.models.apps/v1beta1/deployment_status.apps.v1beta1.DeploymentStatus( - available_replicas = 56, - collision_count = 56, - conditions = [ - kubernetes.client.models.apps/v1beta1/deployment_condition.apps.v1beta1.DeploymentCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - unavailable_replicas = 56, - updated_replicas = 56, ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return AppsV1beta1DeploymentList( - items = [ - kubernetes.client.models.apps/v1beta1/deployment.apps.v1beta1.Deployment( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.apps/v1beta1/deployment_spec.apps.v1beta1.DeploymentSpec( - min_ready_seconds = 56, - paused = True, - progress_deadline_seconds = 56, - replicas = 56, - revision_history_limit = 56, - rollback_to = kubernetes.client.models.apps/v1beta1/rollback_config.apps.v1beta1.RollbackConfig( - revision = 56, ), - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - strategy = kubernetes.client.models.apps/v1beta1/deployment_strategy.apps.v1beta1.DeploymentStrategy( - rolling_update = kubernetes.client.models.apps/v1beta1/rolling_update_deployment.apps.v1beta1.RollingUpdateDeployment( - max_surge = kubernetes.client.models.max_surge.maxSurge(), - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), - status = kubernetes.client.models.apps/v1beta1/deployment_status.apps.v1beta1.DeploymentStatus( - available_replicas = 56, - collision_count = 56, - conditions = [ - kubernetes.client.models.apps/v1beta1/deployment_condition.apps.v1beta1.DeploymentCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - unavailable_replicas = 56, - updated_replicas = 56, ), ) - ], - ) - - def testAppsV1beta1DeploymentList(self): - """Test AppsV1beta1DeploymentList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apps_v1beta1_deployment_rollback.py b/kubernetes/test/test_apps_v1beta1_deployment_rollback.py deleted file mode 100644 index 98e604ab02..0000000000 --- a/kubernetes/test/test_apps_v1beta1_deployment_rollback.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.apps_v1beta1_deployment_rollback import AppsV1beta1DeploymentRollback # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestAppsV1beta1DeploymentRollback(unittest.TestCase): - """AppsV1beta1DeploymentRollback unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test AppsV1beta1DeploymentRollback - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.apps_v1beta1_deployment_rollback.AppsV1beta1DeploymentRollback() # noqa: E501 - if include_optional : - return AppsV1beta1DeploymentRollback( - api_version = '0', - kind = '0', - name = '0', - rollback_to = kubernetes.client.models.apps/v1beta1/rollback_config.apps.v1beta1.RollbackConfig( - revision = 56, ), - updated_annotations = { - 'key' : '0' - } - ) - else : - return AppsV1beta1DeploymentRollback( - name = '0', - rollback_to = kubernetes.client.models.apps/v1beta1/rollback_config.apps.v1beta1.RollbackConfig( - revision = 56, ), - ) - - def testAppsV1beta1DeploymentRollback(self): - """Test AppsV1beta1DeploymentRollback""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apps_v1beta1_deployment_spec.py b/kubernetes/test/test_apps_v1beta1_deployment_spec.py deleted file mode 100644 index fff4a64ce9..0000000000 --- a/kubernetes/test/test_apps_v1beta1_deployment_spec.py +++ /dev/null @@ -1,1043 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.apps_v1beta1_deployment_spec import AppsV1beta1DeploymentSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestAppsV1beta1DeploymentSpec(unittest.TestCase): - """AppsV1beta1DeploymentSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test AppsV1beta1DeploymentSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.apps_v1beta1_deployment_spec.AppsV1beta1DeploymentSpec() # noqa: E501 - if include_optional : - return AppsV1beta1DeploymentSpec( - min_ready_seconds = 56, - paused = True, - progress_deadline_seconds = 56, - replicas = 56, - revision_history_limit = 56, - rollback_to = kubernetes.client.models.apps/v1beta1/rollback_config.apps.v1beta1.RollbackConfig( - revision = 56, ), - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - strategy = kubernetes.client.models.apps/v1beta1/deployment_strategy.apps.v1beta1.DeploymentStrategy( - rolling_update = kubernetes.client.models.apps/v1beta1/rolling_update_deployment.apps.v1beta1.RollingUpdateDeployment( - max_surge = kubernetes.client.models.max_surge.maxSurge(), - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ) - ) - else : - return AppsV1beta1DeploymentSpec( - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - ) - - def testAppsV1beta1DeploymentSpec(self): - """Test AppsV1beta1DeploymentSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apps_v1beta1_deployment_status.py b/kubernetes/test/test_apps_v1beta1_deployment_status.py deleted file mode 100644 index cd2fc61f20..0000000000 --- a/kubernetes/test/test_apps_v1beta1_deployment_status.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.apps_v1beta1_deployment_status import AppsV1beta1DeploymentStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestAppsV1beta1DeploymentStatus(unittest.TestCase): - """AppsV1beta1DeploymentStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test AppsV1beta1DeploymentStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.apps_v1beta1_deployment_status.AppsV1beta1DeploymentStatus() # noqa: E501 - if include_optional : - return AppsV1beta1DeploymentStatus( - available_replicas = 56, - collision_count = 56, - conditions = [ - kubernetes.client.models.apps/v1beta1/deployment_condition.apps.v1beta1.DeploymentCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - unavailable_replicas = 56, - updated_replicas = 56 - ) - else : - return AppsV1beta1DeploymentStatus( - ) - - def testAppsV1beta1DeploymentStatus(self): - """Test AppsV1beta1DeploymentStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apps_v1beta1_deployment_strategy.py b/kubernetes/test/test_apps_v1beta1_deployment_strategy.py deleted file mode 100644 index 99629a94c0..0000000000 --- a/kubernetes/test/test_apps_v1beta1_deployment_strategy.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.apps_v1beta1_deployment_strategy import AppsV1beta1DeploymentStrategy # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestAppsV1beta1DeploymentStrategy(unittest.TestCase): - """AppsV1beta1DeploymentStrategy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test AppsV1beta1DeploymentStrategy - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.apps_v1beta1_deployment_strategy.AppsV1beta1DeploymentStrategy() # noqa: E501 - if include_optional : - return AppsV1beta1DeploymentStrategy( - rolling_update = kubernetes.client.models.apps/v1beta1/rolling_update_deployment.apps.v1beta1.RollingUpdateDeployment( - max_surge = kubernetes.client.models.max_surge.maxSurge(), - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0' - ) - else : - return AppsV1beta1DeploymentStrategy( - ) - - def testAppsV1beta1DeploymentStrategy(self): - """Test AppsV1beta1DeploymentStrategy""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apps_v1beta1_rollback_config.py b/kubernetes/test/test_apps_v1beta1_rollback_config.py deleted file mode 100644 index aa43f0edeb..0000000000 --- a/kubernetes/test/test_apps_v1beta1_rollback_config.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.apps_v1beta1_rollback_config import AppsV1beta1RollbackConfig # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestAppsV1beta1RollbackConfig(unittest.TestCase): - """AppsV1beta1RollbackConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test AppsV1beta1RollbackConfig - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.apps_v1beta1_rollback_config.AppsV1beta1RollbackConfig() # noqa: E501 - if include_optional : - return AppsV1beta1RollbackConfig( - revision = 56 - ) - else : - return AppsV1beta1RollbackConfig( - ) - - def testAppsV1beta1RollbackConfig(self): - """Test AppsV1beta1RollbackConfig""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apps_v1beta1_rolling_update_deployment.py b/kubernetes/test/test_apps_v1beta1_rolling_update_deployment.py deleted file mode 100644 index f85c0d893a..0000000000 --- a/kubernetes/test/test_apps_v1beta1_rolling_update_deployment.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.apps_v1beta1_rolling_update_deployment import AppsV1beta1RollingUpdateDeployment # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestAppsV1beta1RollingUpdateDeployment(unittest.TestCase): - """AppsV1beta1RollingUpdateDeployment unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test AppsV1beta1RollingUpdateDeployment - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.apps_v1beta1_rolling_update_deployment.AppsV1beta1RollingUpdateDeployment() # noqa: E501 - if include_optional : - return AppsV1beta1RollingUpdateDeployment( - max_surge = kubernetes.client.models.max_surge.maxSurge(), - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable() - ) - else : - return AppsV1beta1RollingUpdateDeployment( - ) - - def testAppsV1beta1RollingUpdateDeployment(self): - """Test AppsV1beta1RollingUpdateDeployment""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apps_v1beta1_scale.py b/kubernetes/test/test_apps_v1beta1_scale.py deleted file mode 100644 index 64ecf15d03..0000000000 --- a/kubernetes/test/test_apps_v1beta1_scale.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.apps_v1beta1_scale import AppsV1beta1Scale # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestAppsV1beta1Scale(unittest.TestCase): - """AppsV1beta1Scale unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test AppsV1beta1Scale - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.apps_v1beta1_scale.AppsV1beta1Scale() # noqa: E501 - if include_optional : - return AppsV1beta1Scale( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.apps/v1beta1/scale_spec.apps.v1beta1.ScaleSpec( - replicas = 56, ), - status = kubernetes.client.models.apps/v1beta1/scale_status.apps.v1beta1.ScaleStatus( - replicas = 56, - selector = { - 'key' : '0' - }, - target_selector = '0', ) - ) - else : - return AppsV1beta1Scale( - ) - - def testAppsV1beta1Scale(self): - """Test AppsV1beta1Scale""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apps_v1beta1_scale_spec.py b/kubernetes/test/test_apps_v1beta1_scale_spec.py deleted file mode 100644 index f1a4a3c400..0000000000 --- a/kubernetes/test/test_apps_v1beta1_scale_spec.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.apps_v1beta1_scale_spec import AppsV1beta1ScaleSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestAppsV1beta1ScaleSpec(unittest.TestCase): - """AppsV1beta1ScaleSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test AppsV1beta1ScaleSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.apps_v1beta1_scale_spec.AppsV1beta1ScaleSpec() # noqa: E501 - if include_optional : - return AppsV1beta1ScaleSpec( - replicas = 56 - ) - else : - return AppsV1beta1ScaleSpec( - ) - - def testAppsV1beta1ScaleSpec(self): - """Test AppsV1beta1ScaleSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apps_v1beta1_scale_status.py b/kubernetes/test/test_apps_v1beta1_scale_status.py deleted file mode 100644 index 1caf2c7867..0000000000 --- a/kubernetes/test/test_apps_v1beta1_scale_status.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.apps_v1beta1_scale_status import AppsV1beta1ScaleStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestAppsV1beta1ScaleStatus(unittest.TestCase): - """AppsV1beta1ScaleStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test AppsV1beta1ScaleStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.apps_v1beta1_scale_status.AppsV1beta1ScaleStatus() # noqa: E501 - if include_optional : - return AppsV1beta1ScaleStatus( - replicas = 56, - selector = { - 'key' : '0' - }, - target_selector = '0' - ) - else : - return AppsV1beta1ScaleStatus( - replicas = 56, - ) - - def testAppsV1beta1ScaleStatus(self): - """Test AppsV1beta1ScaleStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apps_v1beta2_api.py b/kubernetes/test/test_apps_v1beta2_api.py deleted file mode 100644 index 12ca00e4cd..0000000000 --- a/kubernetes/test/test_apps_v1beta2_api.py +++ /dev/null @@ -1,405 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.apps_v1beta2_api import AppsV1beta2Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestAppsV1beta2Api(unittest.TestCase): - """AppsV1beta2Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.apps_v1beta2_api.AppsV1beta2Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_namespaced_controller_revision(self): - """Test case for create_namespaced_controller_revision - - """ - pass - - def test_create_namespaced_daemon_set(self): - """Test case for create_namespaced_daemon_set - - """ - pass - - def test_create_namespaced_deployment(self): - """Test case for create_namespaced_deployment - - """ - pass - - def test_create_namespaced_replica_set(self): - """Test case for create_namespaced_replica_set - - """ - pass - - def test_create_namespaced_stateful_set(self): - """Test case for create_namespaced_stateful_set - - """ - pass - - def test_delete_collection_namespaced_controller_revision(self): - """Test case for delete_collection_namespaced_controller_revision - - """ - pass - - def test_delete_collection_namespaced_daemon_set(self): - """Test case for delete_collection_namespaced_daemon_set - - """ - pass - - def test_delete_collection_namespaced_deployment(self): - """Test case for delete_collection_namespaced_deployment - - """ - pass - - def test_delete_collection_namespaced_replica_set(self): - """Test case for delete_collection_namespaced_replica_set - - """ - pass - - def test_delete_collection_namespaced_stateful_set(self): - """Test case for delete_collection_namespaced_stateful_set - - """ - pass - - def test_delete_namespaced_controller_revision(self): - """Test case for delete_namespaced_controller_revision - - """ - pass - - def test_delete_namespaced_daemon_set(self): - """Test case for delete_namespaced_daemon_set - - """ - pass - - def test_delete_namespaced_deployment(self): - """Test case for delete_namespaced_deployment - - """ - pass - - def test_delete_namespaced_replica_set(self): - """Test case for delete_namespaced_replica_set - - """ - pass - - def test_delete_namespaced_stateful_set(self): - """Test case for delete_namespaced_stateful_set - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_controller_revision_for_all_namespaces(self): - """Test case for list_controller_revision_for_all_namespaces - - """ - pass - - def test_list_daemon_set_for_all_namespaces(self): - """Test case for list_daemon_set_for_all_namespaces - - """ - pass - - def test_list_deployment_for_all_namespaces(self): - """Test case for list_deployment_for_all_namespaces - - """ - pass - - def test_list_namespaced_controller_revision(self): - """Test case for list_namespaced_controller_revision - - """ - pass - - def test_list_namespaced_daemon_set(self): - """Test case for list_namespaced_daemon_set - - """ - pass - - def test_list_namespaced_deployment(self): - """Test case for list_namespaced_deployment - - """ - pass - - def test_list_namespaced_replica_set(self): - """Test case for list_namespaced_replica_set - - """ - pass - - def test_list_namespaced_stateful_set(self): - """Test case for list_namespaced_stateful_set - - """ - pass - - def test_list_replica_set_for_all_namespaces(self): - """Test case for list_replica_set_for_all_namespaces - - """ - pass - - def test_list_stateful_set_for_all_namespaces(self): - """Test case for list_stateful_set_for_all_namespaces - - """ - pass - - def test_patch_namespaced_controller_revision(self): - """Test case for patch_namespaced_controller_revision - - """ - pass - - def test_patch_namespaced_daemon_set(self): - """Test case for patch_namespaced_daemon_set - - """ - pass - - def test_patch_namespaced_daemon_set_status(self): - """Test case for patch_namespaced_daemon_set_status - - """ - pass - - def test_patch_namespaced_deployment(self): - """Test case for patch_namespaced_deployment - - """ - pass - - def test_patch_namespaced_deployment_scale(self): - """Test case for patch_namespaced_deployment_scale - - """ - pass - - def test_patch_namespaced_deployment_status(self): - """Test case for patch_namespaced_deployment_status - - """ - pass - - def test_patch_namespaced_replica_set(self): - """Test case for patch_namespaced_replica_set - - """ - pass - - def test_patch_namespaced_replica_set_scale(self): - """Test case for patch_namespaced_replica_set_scale - - """ - pass - - def test_patch_namespaced_replica_set_status(self): - """Test case for patch_namespaced_replica_set_status - - """ - pass - - def test_patch_namespaced_stateful_set(self): - """Test case for patch_namespaced_stateful_set - - """ - pass - - def test_patch_namespaced_stateful_set_scale(self): - """Test case for patch_namespaced_stateful_set_scale - - """ - pass - - def test_patch_namespaced_stateful_set_status(self): - """Test case for patch_namespaced_stateful_set_status - - """ - pass - - def test_read_namespaced_controller_revision(self): - """Test case for read_namespaced_controller_revision - - """ - pass - - def test_read_namespaced_daemon_set(self): - """Test case for read_namespaced_daemon_set - - """ - pass - - def test_read_namespaced_daemon_set_status(self): - """Test case for read_namespaced_daemon_set_status - - """ - pass - - def test_read_namespaced_deployment(self): - """Test case for read_namespaced_deployment - - """ - pass - - def test_read_namespaced_deployment_scale(self): - """Test case for read_namespaced_deployment_scale - - """ - pass - - def test_read_namespaced_deployment_status(self): - """Test case for read_namespaced_deployment_status - - """ - pass - - def test_read_namespaced_replica_set(self): - """Test case for read_namespaced_replica_set - - """ - pass - - def test_read_namespaced_replica_set_scale(self): - """Test case for read_namespaced_replica_set_scale - - """ - pass - - def test_read_namespaced_replica_set_status(self): - """Test case for read_namespaced_replica_set_status - - """ - pass - - def test_read_namespaced_stateful_set(self): - """Test case for read_namespaced_stateful_set - - """ - pass - - def test_read_namespaced_stateful_set_scale(self): - """Test case for read_namespaced_stateful_set_scale - - """ - pass - - def test_read_namespaced_stateful_set_status(self): - """Test case for read_namespaced_stateful_set_status - - """ - pass - - def test_replace_namespaced_controller_revision(self): - """Test case for replace_namespaced_controller_revision - - """ - pass - - def test_replace_namespaced_daemon_set(self): - """Test case for replace_namespaced_daemon_set - - """ - pass - - def test_replace_namespaced_daemon_set_status(self): - """Test case for replace_namespaced_daemon_set_status - - """ - pass - - def test_replace_namespaced_deployment(self): - """Test case for replace_namespaced_deployment - - """ - pass - - def test_replace_namespaced_deployment_scale(self): - """Test case for replace_namespaced_deployment_scale - - """ - pass - - def test_replace_namespaced_deployment_status(self): - """Test case for replace_namespaced_deployment_status - - """ - pass - - def test_replace_namespaced_replica_set(self): - """Test case for replace_namespaced_replica_set - - """ - pass - - def test_replace_namespaced_replica_set_scale(self): - """Test case for replace_namespaced_replica_set_scale - - """ - pass - - def test_replace_namespaced_replica_set_status(self): - """Test case for replace_namespaced_replica_set_status - - """ - pass - - def test_replace_namespaced_stateful_set(self): - """Test case for replace_namespaced_stateful_set - - """ - pass - - def test_replace_namespaced_stateful_set_scale(self): - """Test case for replace_namespaced_stateful_set_scale - - """ - pass - - def test_replace_namespaced_stateful_set_status(self): - """Test case for replace_namespaced_stateful_set_status - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_auditregistration_api.py b/kubernetes/test/test_auditregistration_api.py deleted file mode 100644 index f1184c377f..0000000000 --- a/kubernetes/test/test_auditregistration_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.auditregistration_api import AuditregistrationApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestAuditregistrationApi(unittest.TestCase): - """AuditregistrationApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.auditregistration_api.AuditregistrationApi() # noqa: E501 - - 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 deleted file mode 100644 index c378ea510d..0000000000 --- a/kubernetes/test/test_auditregistration_v1alpha1_api.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.auditregistration_v1alpha1_api import AuditregistrationV1alpha1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestAuditregistrationV1alpha1Api(unittest.TestCase): - """AuditregistrationV1alpha1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.auditregistration_v1alpha1_api.AuditregistrationV1alpha1Api() # noqa: E501 - - 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 deleted file mode 100644 index e11ab98c0d..0000000000 --- a/kubernetes/test/test_authentication_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.authentication_api import AuthenticationApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestAuthenticationApi(unittest.TestCase): - """AuthenticationApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.authentication_api.AuthenticationApi() # noqa: E501 - - 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_authentication_v1_api.py b/kubernetes/test/test_authentication_v1_api.py deleted file mode 100644 index 2640bb41c2..0000000000 --- a/kubernetes/test/test_authentication_v1_api.py +++ /dev/null @@ -1,45 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.authentication_v1_api import AuthenticationV1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestAuthenticationV1Api(unittest.TestCase): - """AuthenticationV1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.authentication_v1_api.AuthenticationV1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_token_review(self): - """Test case for create_token_review - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_authentication_v1beta1_api.py b/kubernetes/test/test_authentication_v1beta1_api.py deleted file mode 100644 index 260ec1fa8e..0000000000 --- a/kubernetes/test/test_authentication_v1beta1_api.py +++ /dev/null @@ -1,45 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.authentication_v1beta1_api import AuthenticationV1beta1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestAuthenticationV1beta1Api(unittest.TestCase): - """AuthenticationV1beta1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.authentication_v1beta1_api.AuthenticationV1beta1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_token_review(self): - """Test case for create_token_review - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_authorization_api.py b/kubernetes/test/test_authorization_api.py deleted file mode 100644 index 460f287933..0000000000 --- a/kubernetes/test/test_authorization_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.authorization_api import AuthorizationApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestAuthorizationApi(unittest.TestCase): - """AuthorizationApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.authorization_api.AuthorizationApi() # noqa: E501 - - 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_authorization_v1_api.py b/kubernetes/test/test_authorization_v1_api.py deleted file mode 100644 index 10963a09d4..0000000000 --- a/kubernetes/test/test_authorization_v1_api.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.authorization_v1_api import AuthorizationV1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestAuthorizationV1Api(unittest.TestCase): - """AuthorizationV1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.authorization_v1_api.AuthorizationV1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_namespaced_local_subject_access_review(self): - """Test case for create_namespaced_local_subject_access_review - - """ - pass - - def test_create_self_subject_access_review(self): - """Test case for create_self_subject_access_review - - """ - pass - - def test_create_self_subject_rules_review(self): - """Test case for create_self_subject_rules_review - - """ - pass - - def test_create_subject_access_review(self): - """Test case for create_subject_access_review - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_authorization_v1beta1_api.py b/kubernetes/test/test_authorization_v1beta1_api.py deleted file mode 100644 index 9a2ab70cbe..0000000000 --- a/kubernetes/test/test_authorization_v1beta1_api.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.authorization_v1beta1_api import AuthorizationV1beta1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestAuthorizationV1beta1Api(unittest.TestCase): - """AuthorizationV1beta1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.authorization_v1beta1_api.AuthorizationV1beta1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_namespaced_local_subject_access_review(self): - """Test case for create_namespaced_local_subject_access_review - - """ - pass - - def test_create_self_subject_access_review(self): - """Test case for create_self_subject_access_review - - """ - pass - - def test_create_self_subject_rules_review(self): - """Test case for create_self_subject_rules_review - - """ - pass - - def test_create_subject_access_review(self): - """Test case for create_subject_access_review - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_autoscaling_api.py b/kubernetes/test/test_autoscaling_api.py deleted file mode 100644 index e4c6a398d5..0000000000 --- a/kubernetes/test/test_autoscaling_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.autoscaling_api import AutoscalingApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestAutoscalingApi(unittest.TestCase): - """AutoscalingApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.autoscaling_api.AutoscalingApi() # noqa: E501 - - 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_autoscaling_v1_api.py b/kubernetes/test/test_autoscaling_v1_api.py deleted file mode 100644 index 4e8eb4ad12..0000000000 --- a/kubernetes/test/test_autoscaling_v1_api.py +++ /dev/null @@ -1,105 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.autoscaling_v1_api import AutoscalingV1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestAutoscalingV1Api(unittest.TestCase): - """AutoscalingV1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.autoscaling_v1_api.AutoscalingV1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_namespaced_horizontal_pod_autoscaler(self): - """Test case for create_namespaced_horizontal_pod_autoscaler - - """ - pass - - def test_delete_collection_namespaced_horizontal_pod_autoscaler(self): - """Test case for delete_collection_namespaced_horizontal_pod_autoscaler - - """ - pass - - def test_delete_namespaced_horizontal_pod_autoscaler(self): - """Test case for delete_namespaced_horizontal_pod_autoscaler - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_horizontal_pod_autoscaler_for_all_namespaces(self): - """Test case for list_horizontal_pod_autoscaler_for_all_namespaces - - """ - pass - - def test_list_namespaced_horizontal_pod_autoscaler(self): - """Test case for list_namespaced_horizontal_pod_autoscaler - - """ - pass - - def test_patch_namespaced_horizontal_pod_autoscaler(self): - """Test case for patch_namespaced_horizontal_pod_autoscaler - - """ - pass - - def test_patch_namespaced_horizontal_pod_autoscaler_status(self): - """Test case for patch_namespaced_horizontal_pod_autoscaler_status - - """ - pass - - def test_read_namespaced_horizontal_pod_autoscaler(self): - """Test case for read_namespaced_horizontal_pod_autoscaler - - """ - pass - - def test_read_namespaced_horizontal_pod_autoscaler_status(self): - """Test case for read_namespaced_horizontal_pod_autoscaler_status - - """ - pass - - def test_replace_namespaced_horizontal_pod_autoscaler(self): - """Test case for replace_namespaced_horizontal_pod_autoscaler - - """ - pass - - def test_replace_namespaced_horizontal_pod_autoscaler_status(self): - """Test case for replace_namespaced_horizontal_pod_autoscaler_status - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_autoscaling_v2beta1_api.py b/kubernetes/test/test_autoscaling_v2beta1_api.py deleted file mode 100644 index cc5bb4e73a..0000000000 --- a/kubernetes/test/test_autoscaling_v2beta1_api.py +++ /dev/null @@ -1,105 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.autoscaling_v2beta1_api import AutoscalingV2beta1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestAutoscalingV2beta1Api(unittest.TestCase): - """AutoscalingV2beta1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.autoscaling_v2beta1_api.AutoscalingV2beta1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_namespaced_horizontal_pod_autoscaler(self): - """Test case for create_namespaced_horizontal_pod_autoscaler - - """ - pass - - def test_delete_collection_namespaced_horizontal_pod_autoscaler(self): - """Test case for delete_collection_namespaced_horizontal_pod_autoscaler - - """ - pass - - def test_delete_namespaced_horizontal_pod_autoscaler(self): - """Test case for delete_namespaced_horizontal_pod_autoscaler - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_horizontal_pod_autoscaler_for_all_namespaces(self): - """Test case for list_horizontal_pod_autoscaler_for_all_namespaces - - """ - pass - - def test_list_namespaced_horizontal_pod_autoscaler(self): - """Test case for list_namespaced_horizontal_pod_autoscaler - - """ - pass - - def test_patch_namespaced_horizontal_pod_autoscaler(self): - """Test case for patch_namespaced_horizontal_pod_autoscaler - - """ - pass - - def test_patch_namespaced_horizontal_pod_autoscaler_status(self): - """Test case for patch_namespaced_horizontal_pod_autoscaler_status - - """ - pass - - def test_read_namespaced_horizontal_pod_autoscaler(self): - """Test case for read_namespaced_horizontal_pod_autoscaler - - """ - pass - - def test_read_namespaced_horizontal_pod_autoscaler_status(self): - """Test case for read_namespaced_horizontal_pod_autoscaler_status - - """ - pass - - def test_replace_namespaced_horizontal_pod_autoscaler(self): - """Test case for replace_namespaced_horizontal_pod_autoscaler - - """ - pass - - def test_replace_namespaced_horizontal_pod_autoscaler_status(self): - """Test case for replace_namespaced_horizontal_pod_autoscaler_status - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_autoscaling_v2beta2_api.py b/kubernetes/test/test_autoscaling_v2beta2_api.py deleted file mode 100644 index 69a78e02fd..0000000000 --- a/kubernetes/test/test_autoscaling_v2beta2_api.py +++ /dev/null @@ -1,105 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.autoscaling_v2beta2_api import AutoscalingV2beta2Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestAutoscalingV2beta2Api(unittest.TestCase): - """AutoscalingV2beta2Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.autoscaling_v2beta2_api.AutoscalingV2beta2Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_namespaced_horizontal_pod_autoscaler(self): - """Test case for create_namespaced_horizontal_pod_autoscaler - - """ - pass - - def test_delete_collection_namespaced_horizontal_pod_autoscaler(self): - """Test case for delete_collection_namespaced_horizontal_pod_autoscaler - - """ - pass - - def test_delete_namespaced_horizontal_pod_autoscaler(self): - """Test case for delete_namespaced_horizontal_pod_autoscaler - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_horizontal_pod_autoscaler_for_all_namespaces(self): - """Test case for list_horizontal_pod_autoscaler_for_all_namespaces - - """ - pass - - def test_list_namespaced_horizontal_pod_autoscaler(self): - """Test case for list_namespaced_horizontal_pod_autoscaler - - """ - pass - - def test_patch_namespaced_horizontal_pod_autoscaler(self): - """Test case for patch_namespaced_horizontal_pod_autoscaler - - """ - pass - - def test_patch_namespaced_horizontal_pod_autoscaler_status(self): - """Test case for patch_namespaced_horizontal_pod_autoscaler_status - - """ - pass - - def test_read_namespaced_horizontal_pod_autoscaler(self): - """Test case for read_namespaced_horizontal_pod_autoscaler - - """ - pass - - def test_read_namespaced_horizontal_pod_autoscaler_status(self): - """Test case for read_namespaced_horizontal_pod_autoscaler_status - - """ - pass - - def test_replace_namespaced_horizontal_pod_autoscaler(self): - """Test case for replace_namespaced_horizontal_pod_autoscaler - - """ - pass - - def test_replace_namespaced_horizontal_pod_autoscaler_status(self): - """Test case for replace_namespaced_horizontal_pod_autoscaler_status - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_batch_api.py b/kubernetes/test/test_batch_api.py deleted file mode 100644 index 194b566af5..0000000000 --- a/kubernetes/test/test_batch_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.batch_api import BatchApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestBatchApi(unittest.TestCase): - """BatchApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.batch_api.BatchApi() # noqa: E501 - - 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_batch_v1_api.py b/kubernetes/test/test_batch_v1_api.py deleted file mode 100644 index 3528b38eb2..0000000000 --- a/kubernetes/test/test_batch_v1_api.py +++ /dev/null @@ -1,105 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.batch_v1_api import BatchV1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestBatchV1Api(unittest.TestCase): - """BatchV1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.batch_v1_api.BatchV1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_namespaced_job(self): - """Test case for create_namespaced_job - - """ - pass - - def test_delete_collection_namespaced_job(self): - """Test case for delete_collection_namespaced_job - - """ - pass - - def test_delete_namespaced_job(self): - """Test case for delete_namespaced_job - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_job_for_all_namespaces(self): - """Test case for list_job_for_all_namespaces - - """ - pass - - def test_list_namespaced_job(self): - """Test case for list_namespaced_job - - """ - pass - - def test_patch_namespaced_job(self): - """Test case for patch_namespaced_job - - """ - pass - - def test_patch_namespaced_job_status(self): - """Test case for patch_namespaced_job_status - - """ - pass - - def test_read_namespaced_job(self): - """Test case for read_namespaced_job - - """ - pass - - def test_read_namespaced_job_status(self): - """Test case for read_namespaced_job_status - - """ - pass - - def test_replace_namespaced_job(self): - """Test case for replace_namespaced_job - - """ - pass - - def test_replace_namespaced_job_status(self): - """Test case for replace_namespaced_job_status - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_batch_v1beta1_api.py b/kubernetes/test/test_batch_v1beta1_api.py deleted file mode 100644 index da33236a22..0000000000 --- a/kubernetes/test/test_batch_v1beta1_api.py +++ /dev/null @@ -1,105 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.batch_v1beta1_api import BatchV1beta1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestBatchV1beta1Api(unittest.TestCase): - """BatchV1beta1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.batch_v1beta1_api.BatchV1beta1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_namespaced_cron_job(self): - """Test case for create_namespaced_cron_job - - """ - pass - - def test_delete_collection_namespaced_cron_job(self): - """Test case for delete_collection_namespaced_cron_job - - """ - pass - - def test_delete_namespaced_cron_job(self): - """Test case for delete_namespaced_cron_job - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_cron_job_for_all_namespaces(self): - """Test case for list_cron_job_for_all_namespaces - - """ - pass - - def test_list_namespaced_cron_job(self): - """Test case for list_namespaced_cron_job - - """ - pass - - def test_patch_namespaced_cron_job(self): - """Test case for patch_namespaced_cron_job - - """ - pass - - def test_patch_namespaced_cron_job_status(self): - """Test case for patch_namespaced_cron_job_status - - """ - pass - - def test_read_namespaced_cron_job(self): - """Test case for read_namespaced_cron_job - - """ - pass - - def test_read_namespaced_cron_job_status(self): - """Test case for read_namespaced_cron_job_status - - """ - pass - - def test_replace_namespaced_cron_job(self): - """Test case for replace_namespaced_cron_job - - """ - pass - - def test_replace_namespaced_cron_job_status(self): - """Test case for replace_namespaced_cron_job_status - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_batch_v2alpha1_api.py b/kubernetes/test/test_batch_v2alpha1_api.py deleted file mode 100644 index 9459321185..0000000000 --- a/kubernetes/test/test_batch_v2alpha1_api.py +++ /dev/null @@ -1,105 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.batch_v2alpha1_api import BatchV2alpha1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestBatchV2alpha1Api(unittest.TestCase): - """BatchV2alpha1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.batch_v2alpha1_api.BatchV2alpha1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_namespaced_cron_job(self): - """Test case for create_namespaced_cron_job - - """ - pass - - def test_delete_collection_namespaced_cron_job(self): - """Test case for delete_collection_namespaced_cron_job - - """ - pass - - def test_delete_namespaced_cron_job(self): - """Test case for delete_namespaced_cron_job - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_cron_job_for_all_namespaces(self): - """Test case for list_cron_job_for_all_namespaces - - """ - pass - - def test_list_namespaced_cron_job(self): - """Test case for list_namespaced_cron_job - - """ - pass - - def test_patch_namespaced_cron_job(self): - """Test case for patch_namespaced_cron_job - - """ - pass - - def test_patch_namespaced_cron_job_status(self): - """Test case for patch_namespaced_cron_job_status - - """ - pass - - def test_read_namespaced_cron_job(self): - """Test case for read_namespaced_cron_job - - """ - pass - - def test_read_namespaced_cron_job_status(self): - """Test case for read_namespaced_cron_job_status - - """ - pass - - def test_replace_namespaced_cron_job(self): - """Test case for replace_namespaced_cron_job - - """ - pass - - def test_replace_namespaced_cron_job_status(self): - """Test case for replace_namespaced_cron_job_status - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_certificates_api.py b/kubernetes/test/test_certificates_api.py deleted file mode 100644 index 1605c07425..0000000000 --- a/kubernetes/test/test_certificates_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.certificates_api import CertificatesApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestCertificatesApi(unittest.TestCase): - """CertificatesApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.certificates_api.CertificatesApi() # noqa: E501 - - 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_certificates_v1beta1_api.py b/kubernetes/test/test_certificates_v1beta1_api.py deleted file mode 100644 index c0dcde74d1..0000000000 --- a/kubernetes/test/test_certificates_v1beta1_api.py +++ /dev/null @@ -1,105 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.certificates_v1beta1_api import CertificatesV1beta1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestCertificatesV1beta1Api(unittest.TestCase): - """CertificatesV1beta1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.certificates_v1beta1_api.CertificatesV1beta1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_certificate_signing_request(self): - """Test case for create_certificate_signing_request - - """ - pass - - def test_delete_certificate_signing_request(self): - """Test case for delete_certificate_signing_request - - """ - pass - - def test_delete_collection_certificate_signing_request(self): - """Test case for delete_collection_certificate_signing_request - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_certificate_signing_request(self): - """Test case for list_certificate_signing_request - - """ - pass - - def test_patch_certificate_signing_request(self): - """Test case for patch_certificate_signing_request - - """ - pass - - def test_patch_certificate_signing_request_status(self): - """Test case for patch_certificate_signing_request_status - - """ - pass - - def test_read_certificate_signing_request(self): - """Test case for read_certificate_signing_request - - """ - pass - - def test_read_certificate_signing_request_status(self): - """Test case for read_certificate_signing_request_status - - """ - pass - - def test_replace_certificate_signing_request(self): - """Test case for replace_certificate_signing_request - - """ - pass - - def test_replace_certificate_signing_request_approval(self): - """Test case for replace_certificate_signing_request_approval - - """ - pass - - def test_replace_certificate_signing_request_status(self): - """Test case for replace_certificate_signing_request_status - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_coordination_api.py b/kubernetes/test/test_coordination_api.py deleted file mode 100644 index 837b776d27..0000000000 --- a/kubernetes/test/test_coordination_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.coordination_api import CoordinationApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestCoordinationApi(unittest.TestCase): - """CoordinationApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.coordination_api.CoordinationApi() # noqa: E501 - - 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_coordination_v1_api.py b/kubernetes/test/test_coordination_v1_api.py deleted file mode 100644 index 7db1347919..0000000000 --- a/kubernetes/test/test_coordination_v1_api.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.coordination_v1_api import CoordinationV1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestCoordinationV1Api(unittest.TestCase): - """CoordinationV1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.coordination_v1_api.CoordinationV1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_namespaced_lease(self): - """Test case for create_namespaced_lease - - """ - pass - - def test_delete_collection_namespaced_lease(self): - """Test case for delete_collection_namespaced_lease - - """ - pass - - def test_delete_namespaced_lease(self): - """Test case for delete_namespaced_lease - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_lease_for_all_namespaces(self): - """Test case for list_lease_for_all_namespaces - - """ - pass - - def test_list_namespaced_lease(self): - """Test case for list_namespaced_lease - - """ - pass - - def test_patch_namespaced_lease(self): - """Test case for patch_namespaced_lease - - """ - pass - - def test_read_namespaced_lease(self): - """Test case for read_namespaced_lease - - """ - pass - - def test_replace_namespaced_lease(self): - """Test case for replace_namespaced_lease - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_coordination_v1beta1_api.py b/kubernetes/test/test_coordination_v1beta1_api.py deleted file mode 100644 index 9396fe80cc..0000000000 --- a/kubernetes/test/test_coordination_v1beta1_api.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.coordination_v1beta1_api import CoordinationV1beta1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestCoordinationV1beta1Api(unittest.TestCase): - """CoordinationV1beta1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.coordination_v1beta1_api.CoordinationV1beta1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_namespaced_lease(self): - """Test case for create_namespaced_lease - - """ - pass - - def test_delete_collection_namespaced_lease(self): - """Test case for delete_collection_namespaced_lease - - """ - pass - - def test_delete_namespaced_lease(self): - """Test case for delete_namespaced_lease - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_lease_for_all_namespaces(self): - """Test case for list_lease_for_all_namespaces - - """ - pass - - def test_list_namespaced_lease(self): - """Test case for list_namespaced_lease - - """ - pass - - def test_patch_namespaced_lease(self): - """Test case for patch_namespaced_lease - - """ - pass - - def test_read_namespaced_lease(self): - """Test case for read_namespaced_lease - - """ - pass - - def test_replace_namespaced_lease(self): - """Test case for replace_namespaced_lease - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_core_api.py b/kubernetes/test/test_core_api.py deleted file mode 100644 index 36ec01c93f..0000000000 --- a/kubernetes/test/test_core_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.core_api import CoreApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestCoreApi(unittest.TestCase): - """CoreApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.core_api.CoreApi() # noqa: E501 - - def tearDown(self): - pass - - def test_get_api_versions(self): - """Test case for get_api_versions - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_core_v1_api.py b/kubernetes/test/test_core_v1_api.py deleted file mode 100644 index 661caad48a..0000000000 --- a/kubernetes/test/test_core_v1_api.py +++ /dev/null @@ -1,1227 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.core_v1_api import CoreV1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestCoreV1Api(unittest.TestCase): - """CoreV1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.core_v1_api.CoreV1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_connect_delete_namespaced_pod_proxy(self): - """Test case for connect_delete_namespaced_pod_proxy - - """ - pass - - def test_connect_delete_namespaced_pod_proxy_with_path(self): - """Test case for connect_delete_namespaced_pod_proxy_with_path - - """ - pass - - def test_connect_delete_namespaced_service_proxy(self): - """Test case for connect_delete_namespaced_service_proxy - - """ - pass - - def test_connect_delete_namespaced_service_proxy_with_path(self): - """Test case for connect_delete_namespaced_service_proxy_with_path - - """ - pass - - def test_connect_delete_node_proxy(self): - """Test case for connect_delete_node_proxy - - """ - pass - - def test_connect_delete_node_proxy_with_path(self): - """Test case for connect_delete_node_proxy_with_path - - """ - pass - - def test_connect_get_namespaced_pod_attach(self): - """Test case for connect_get_namespaced_pod_attach - - """ - pass - - def test_connect_get_namespaced_pod_exec(self): - """Test case for connect_get_namespaced_pod_exec - - """ - pass - - def test_connect_get_namespaced_pod_portforward(self): - """Test case for connect_get_namespaced_pod_portforward - - """ - pass - - def test_connect_get_namespaced_pod_proxy(self): - """Test case for connect_get_namespaced_pod_proxy - - """ - pass - - def test_connect_get_namespaced_pod_proxy_with_path(self): - """Test case for connect_get_namespaced_pod_proxy_with_path - - """ - pass - - def test_connect_get_namespaced_service_proxy(self): - """Test case for connect_get_namespaced_service_proxy - - """ - pass - - def test_connect_get_namespaced_service_proxy_with_path(self): - """Test case for connect_get_namespaced_service_proxy_with_path - - """ - pass - - def test_connect_get_node_proxy(self): - """Test case for connect_get_node_proxy - - """ - pass - - def test_connect_get_node_proxy_with_path(self): - """Test case for connect_get_node_proxy_with_path - - """ - pass - - def test_connect_head_namespaced_pod_proxy(self): - """Test case for connect_head_namespaced_pod_proxy - - """ - pass - - def test_connect_head_namespaced_pod_proxy_with_path(self): - """Test case for connect_head_namespaced_pod_proxy_with_path - - """ - pass - - def test_connect_head_namespaced_service_proxy(self): - """Test case for connect_head_namespaced_service_proxy - - """ - pass - - def test_connect_head_namespaced_service_proxy_with_path(self): - """Test case for connect_head_namespaced_service_proxy_with_path - - """ - pass - - def test_connect_head_node_proxy(self): - """Test case for connect_head_node_proxy - - """ - pass - - def test_connect_head_node_proxy_with_path(self): - """Test case for connect_head_node_proxy_with_path - - """ - pass - - def test_connect_options_namespaced_pod_proxy(self): - """Test case for connect_options_namespaced_pod_proxy - - """ - pass - - def test_connect_options_namespaced_pod_proxy_with_path(self): - """Test case for connect_options_namespaced_pod_proxy_with_path - - """ - pass - - def test_connect_options_namespaced_service_proxy(self): - """Test case for connect_options_namespaced_service_proxy - - """ - pass - - def test_connect_options_namespaced_service_proxy_with_path(self): - """Test case for connect_options_namespaced_service_proxy_with_path - - """ - pass - - def test_connect_options_node_proxy(self): - """Test case for connect_options_node_proxy - - """ - pass - - def test_connect_options_node_proxy_with_path(self): - """Test case for connect_options_node_proxy_with_path - - """ - pass - - def test_connect_patch_namespaced_pod_proxy(self): - """Test case for connect_patch_namespaced_pod_proxy - - """ - pass - - def test_connect_patch_namespaced_pod_proxy_with_path(self): - """Test case for connect_patch_namespaced_pod_proxy_with_path - - """ - pass - - def test_connect_patch_namespaced_service_proxy(self): - """Test case for connect_patch_namespaced_service_proxy - - """ - pass - - def test_connect_patch_namespaced_service_proxy_with_path(self): - """Test case for connect_patch_namespaced_service_proxy_with_path - - """ - pass - - def test_connect_patch_node_proxy(self): - """Test case for connect_patch_node_proxy - - """ - pass - - def test_connect_patch_node_proxy_with_path(self): - """Test case for connect_patch_node_proxy_with_path - - """ - pass - - def test_connect_post_namespaced_pod_attach(self): - """Test case for connect_post_namespaced_pod_attach - - """ - pass - - def test_connect_post_namespaced_pod_exec(self): - """Test case for connect_post_namespaced_pod_exec - - """ - pass - - def test_connect_post_namespaced_pod_portforward(self): - """Test case for connect_post_namespaced_pod_portforward - - """ - pass - - def test_connect_post_namespaced_pod_proxy(self): - """Test case for connect_post_namespaced_pod_proxy - - """ - pass - - def test_connect_post_namespaced_pod_proxy_with_path(self): - """Test case for connect_post_namespaced_pod_proxy_with_path - - """ - pass - - def test_connect_post_namespaced_service_proxy(self): - """Test case for connect_post_namespaced_service_proxy - - """ - pass - - def test_connect_post_namespaced_service_proxy_with_path(self): - """Test case for connect_post_namespaced_service_proxy_with_path - - """ - pass - - def test_connect_post_node_proxy(self): - """Test case for connect_post_node_proxy - - """ - pass - - def test_connect_post_node_proxy_with_path(self): - """Test case for connect_post_node_proxy_with_path - - """ - pass - - def test_connect_put_namespaced_pod_proxy(self): - """Test case for connect_put_namespaced_pod_proxy - - """ - pass - - def test_connect_put_namespaced_pod_proxy_with_path(self): - """Test case for connect_put_namespaced_pod_proxy_with_path - - """ - pass - - def test_connect_put_namespaced_service_proxy(self): - """Test case for connect_put_namespaced_service_proxy - - """ - pass - - def test_connect_put_namespaced_service_proxy_with_path(self): - """Test case for connect_put_namespaced_service_proxy_with_path - - """ - pass - - def test_connect_put_node_proxy(self): - """Test case for connect_put_node_proxy - - """ - pass - - def test_connect_put_node_proxy_with_path(self): - """Test case for connect_put_node_proxy_with_path - - """ - pass - - def test_create_namespace(self): - """Test case for create_namespace - - """ - pass - - def test_create_namespaced_binding(self): - """Test case for create_namespaced_binding - - """ - pass - - def test_create_namespaced_config_map(self): - """Test case for create_namespaced_config_map - - """ - pass - - def test_create_namespaced_endpoints(self): - """Test case for create_namespaced_endpoints - - """ - pass - - def test_create_namespaced_event(self): - """Test case for create_namespaced_event - - """ - pass - - def test_create_namespaced_limit_range(self): - """Test case for create_namespaced_limit_range - - """ - pass - - def test_create_namespaced_persistent_volume_claim(self): - """Test case for create_namespaced_persistent_volume_claim - - """ - pass - - def test_create_namespaced_pod(self): - """Test case for create_namespaced_pod - - """ - pass - - def test_create_namespaced_pod_binding(self): - """Test case for create_namespaced_pod_binding - - """ - pass - - def test_create_namespaced_pod_eviction(self): - """Test case for create_namespaced_pod_eviction - - """ - pass - - def test_create_namespaced_pod_template(self): - """Test case for create_namespaced_pod_template - - """ - pass - - def test_create_namespaced_replication_controller(self): - """Test case for create_namespaced_replication_controller - - """ - pass - - def test_create_namespaced_resource_quota(self): - """Test case for create_namespaced_resource_quota - - """ - pass - - def test_create_namespaced_secret(self): - """Test case for create_namespaced_secret - - """ - pass - - def test_create_namespaced_service(self): - """Test case for create_namespaced_service - - """ - pass - - def test_create_namespaced_service_account(self): - """Test case for create_namespaced_service_account - - """ - pass - - def test_create_namespaced_service_account_token(self): - """Test case for create_namespaced_service_account_token - - """ - pass - - def test_create_node(self): - """Test case for create_node - - """ - pass - - def test_create_persistent_volume(self): - """Test case for create_persistent_volume - - """ - pass - - def test_delete_collection_namespaced_config_map(self): - """Test case for delete_collection_namespaced_config_map - - """ - pass - - def test_delete_collection_namespaced_endpoints(self): - """Test case for delete_collection_namespaced_endpoints - - """ - pass - - def test_delete_collection_namespaced_event(self): - """Test case for delete_collection_namespaced_event - - """ - pass - - def test_delete_collection_namespaced_limit_range(self): - """Test case for delete_collection_namespaced_limit_range - - """ - pass - - def test_delete_collection_namespaced_persistent_volume_claim(self): - """Test case for delete_collection_namespaced_persistent_volume_claim - - """ - pass - - def test_delete_collection_namespaced_pod(self): - """Test case for delete_collection_namespaced_pod - - """ - pass - - def test_delete_collection_namespaced_pod_template(self): - """Test case for delete_collection_namespaced_pod_template - - """ - pass - - def test_delete_collection_namespaced_replication_controller(self): - """Test case for delete_collection_namespaced_replication_controller - - """ - pass - - def test_delete_collection_namespaced_resource_quota(self): - """Test case for delete_collection_namespaced_resource_quota - - """ - pass - - def test_delete_collection_namespaced_secret(self): - """Test case for delete_collection_namespaced_secret - - """ - pass - - def test_delete_collection_namespaced_service_account(self): - """Test case for delete_collection_namespaced_service_account - - """ - pass - - def test_delete_collection_node(self): - """Test case for delete_collection_node - - """ - pass - - def test_delete_collection_persistent_volume(self): - """Test case for delete_collection_persistent_volume - - """ - pass - - def test_delete_namespace(self): - """Test case for delete_namespace - - """ - pass - - def test_delete_namespaced_config_map(self): - """Test case for delete_namespaced_config_map - - """ - pass - - def test_delete_namespaced_endpoints(self): - """Test case for delete_namespaced_endpoints - - """ - pass - - def test_delete_namespaced_event(self): - """Test case for delete_namespaced_event - - """ - pass - - def test_delete_namespaced_limit_range(self): - """Test case for delete_namespaced_limit_range - - """ - pass - - def test_delete_namespaced_persistent_volume_claim(self): - """Test case for delete_namespaced_persistent_volume_claim - - """ - pass - - def test_delete_namespaced_pod(self): - """Test case for delete_namespaced_pod - - """ - pass - - def test_delete_namespaced_pod_template(self): - """Test case for delete_namespaced_pod_template - - """ - pass - - def test_delete_namespaced_replication_controller(self): - """Test case for delete_namespaced_replication_controller - - """ - pass - - def test_delete_namespaced_resource_quota(self): - """Test case for delete_namespaced_resource_quota - - """ - pass - - def test_delete_namespaced_secret(self): - """Test case for delete_namespaced_secret - - """ - pass - - def test_delete_namespaced_service(self): - """Test case for delete_namespaced_service - - """ - pass - - def test_delete_namespaced_service_account(self): - """Test case for delete_namespaced_service_account - - """ - pass - - def test_delete_node(self): - """Test case for delete_node - - """ - pass - - def test_delete_persistent_volume(self): - """Test case for delete_persistent_volume - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_component_status(self): - """Test case for list_component_status - - """ - pass - - def test_list_config_map_for_all_namespaces(self): - """Test case for list_config_map_for_all_namespaces - - """ - pass - - def test_list_endpoints_for_all_namespaces(self): - """Test case for list_endpoints_for_all_namespaces - - """ - pass - - def test_list_event_for_all_namespaces(self): - """Test case for list_event_for_all_namespaces - - """ - pass - - def test_list_limit_range_for_all_namespaces(self): - """Test case for list_limit_range_for_all_namespaces - - """ - pass - - def test_list_namespace(self): - """Test case for list_namespace - - """ - pass - - def test_list_namespaced_config_map(self): - """Test case for list_namespaced_config_map - - """ - pass - - def test_list_namespaced_endpoints(self): - """Test case for list_namespaced_endpoints - - """ - pass - - def test_list_namespaced_event(self): - """Test case for list_namespaced_event - - """ - pass - - def test_list_namespaced_limit_range(self): - """Test case for list_namespaced_limit_range - - """ - pass - - def test_list_namespaced_persistent_volume_claim(self): - """Test case for list_namespaced_persistent_volume_claim - - """ - pass - - def test_list_namespaced_pod(self): - """Test case for list_namespaced_pod - - """ - pass - - def test_list_namespaced_pod_template(self): - """Test case for list_namespaced_pod_template - - """ - pass - - def test_list_namespaced_replication_controller(self): - """Test case for list_namespaced_replication_controller - - """ - pass - - def test_list_namespaced_resource_quota(self): - """Test case for list_namespaced_resource_quota - - """ - pass - - def test_list_namespaced_secret(self): - """Test case for list_namespaced_secret - - """ - pass - - def test_list_namespaced_service(self): - """Test case for list_namespaced_service - - """ - pass - - def test_list_namespaced_service_account(self): - """Test case for list_namespaced_service_account - - """ - pass - - def test_list_node(self): - """Test case for list_node - - """ - pass - - def test_list_persistent_volume(self): - """Test case for list_persistent_volume - - """ - pass - - def test_list_persistent_volume_claim_for_all_namespaces(self): - """Test case for list_persistent_volume_claim_for_all_namespaces - - """ - pass - - def test_list_pod_for_all_namespaces(self): - """Test case for list_pod_for_all_namespaces - - """ - pass - - def test_list_pod_template_for_all_namespaces(self): - """Test case for list_pod_template_for_all_namespaces - - """ - pass - - def test_list_replication_controller_for_all_namespaces(self): - """Test case for list_replication_controller_for_all_namespaces - - """ - pass - - def test_list_resource_quota_for_all_namespaces(self): - """Test case for list_resource_quota_for_all_namespaces - - """ - pass - - def test_list_secret_for_all_namespaces(self): - """Test case for list_secret_for_all_namespaces - - """ - pass - - def test_list_service_account_for_all_namespaces(self): - """Test case for list_service_account_for_all_namespaces - - """ - pass - - def test_list_service_for_all_namespaces(self): - """Test case for list_service_for_all_namespaces - - """ - pass - - def test_patch_namespace(self): - """Test case for patch_namespace - - """ - pass - - def test_patch_namespace_status(self): - """Test case for patch_namespace_status - - """ - pass - - def test_patch_namespaced_config_map(self): - """Test case for patch_namespaced_config_map - - """ - pass - - def test_patch_namespaced_endpoints(self): - """Test case for patch_namespaced_endpoints - - """ - pass - - def test_patch_namespaced_event(self): - """Test case for patch_namespaced_event - - """ - pass - - def test_patch_namespaced_limit_range(self): - """Test case for patch_namespaced_limit_range - - """ - pass - - def test_patch_namespaced_persistent_volume_claim(self): - """Test case for patch_namespaced_persistent_volume_claim - - """ - pass - - def test_patch_namespaced_persistent_volume_claim_status(self): - """Test case for patch_namespaced_persistent_volume_claim_status - - """ - pass - - def test_patch_namespaced_pod(self): - """Test case for patch_namespaced_pod - - """ - pass - - def test_patch_namespaced_pod_status(self): - """Test case for patch_namespaced_pod_status - - """ - pass - - def test_patch_namespaced_pod_template(self): - """Test case for patch_namespaced_pod_template - - """ - pass - - def test_patch_namespaced_replication_controller(self): - """Test case for patch_namespaced_replication_controller - - """ - pass - - def test_patch_namespaced_replication_controller_scale(self): - """Test case for patch_namespaced_replication_controller_scale - - """ - pass - - def test_patch_namespaced_replication_controller_status(self): - """Test case for patch_namespaced_replication_controller_status - - """ - pass - - def test_patch_namespaced_resource_quota(self): - """Test case for patch_namespaced_resource_quota - - """ - pass - - def test_patch_namespaced_resource_quota_status(self): - """Test case for patch_namespaced_resource_quota_status - - """ - pass - - def test_patch_namespaced_secret(self): - """Test case for patch_namespaced_secret - - """ - pass - - def test_patch_namespaced_service(self): - """Test case for patch_namespaced_service - - """ - pass - - def test_patch_namespaced_service_account(self): - """Test case for patch_namespaced_service_account - - """ - pass - - def test_patch_namespaced_service_status(self): - """Test case for patch_namespaced_service_status - - """ - pass - - def test_patch_node(self): - """Test case for patch_node - - """ - pass - - def test_patch_node_status(self): - """Test case for patch_node_status - - """ - pass - - def test_patch_persistent_volume(self): - """Test case for patch_persistent_volume - - """ - pass - - def test_patch_persistent_volume_status(self): - """Test case for patch_persistent_volume_status - - """ - pass - - def test_read_component_status(self): - """Test case for read_component_status - - """ - pass - - def test_read_namespace(self): - """Test case for read_namespace - - """ - pass - - def test_read_namespace_status(self): - """Test case for read_namespace_status - - """ - pass - - def test_read_namespaced_config_map(self): - """Test case for read_namespaced_config_map - - """ - pass - - def test_read_namespaced_endpoints(self): - """Test case for read_namespaced_endpoints - - """ - pass - - def test_read_namespaced_event(self): - """Test case for read_namespaced_event - - """ - pass - - def test_read_namespaced_limit_range(self): - """Test case for read_namespaced_limit_range - - """ - pass - - def test_read_namespaced_persistent_volume_claim(self): - """Test case for read_namespaced_persistent_volume_claim - - """ - pass - - def test_read_namespaced_persistent_volume_claim_status(self): - """Test case for read_namespaced_persistent_volume_claim_status - - """ - pass - - def test_read_namespaced_pod(self): - """Test case for read_namespaced_pod - - """ - pass - - def test_read_namespaced_pod_log(self): - """Test case for read_namespaced_pod_log - - """ - pass - - def test_read_namespaced_pod_status(self): - """Test case for read_namespaced_pod_status - - """ - pass - - def test_read_namespaced_pod_template(self): - """Test case for read_namespaced_pod_template - - """ - pass - - def test_read_namespaced_replication_controller(self): - """Test case for read_namespaced_replication_controller - - """ - pass - - def test_read_namespaced_replication_controller_scale(self): - """Test case for read_namespaced_replication_controller_scale - - """ - pass - - def test_read_namespaced_replication_controller_status(self): - """Test case for read_namespaced_replication_controller_status - - """ - pass - - def test_read_namespaced_resource_quota(self): - """Test case for read_namespaced_resource_quota - - """ - pass - - def test_read_namespaced_resource_quota_status(self): - """Test case for read_namespaced_resource_quota_status - - """ - pass - - def test_read_namespaced_secret(self): - """Test case for read_namespaced_secret - - """ - pass - - def test_read_namespaced_service(self): - """Test case for read_namespaced_service - - """ - pass - - def test_read_namespaced_service_account(self): - """Test case for read_namespaced_service_account - - """ - pass - - def test_read_namespaced_service_status(self): - """Test case for read_namespaced_service_status - - """ - pass - - def test_read_node(self): - """Test case for read_node - - """ - pass - - def test_read_node_status(self): - """Test case for read_node_status - - """ - pass - - def test_read_persistent_volume(self): - """Test case for read_persistent_volume - - """ - pass - - def test_read_persistent_volume_status(self): - """Test case for read_persistent_volume_status - - """ - pass - - def test_replace_namespace(self): - """Test case for replace_namespace - - """ - pass - - def test_replace_namespace_finalize(self): - """Test case for replace_namespace_finalize - - """ - pass - - def test_replace_namespace_status(self): - """Test case for replace_namespace_status - - """ - pass - - def test_replace_namespaced_config_map(self): - """Test case for replace_namespaced_config_map - - """ - pass - - def test_replace_namespaced_endpoints(self): - """Test case for replace_namespaced_endpoints - - """ - pass - - def test_replace_namespaced_event(self): - """Test case for replace_namespaced_event - - """ - pass - - def test_replace_namespaced_limit_range(self): - """Test case for replace_namespaced_limit_range - - """ - pass - - def test_replace_namespaced_persistent_volume_claim(self): - """Test case for replace_namespaced_persistent_volume_claim - - """ - pass - - def test_replace_namespaced_persistent_volume_claim_status(self): - """Test case for replace_namespaced_persistent_volume_claim_status - - """ - pass - - def test_replace_namespaced_pod(self): - """Test case for replace_namespaced_pod - - """ - pass - - def test_replace_namespaced_pod_status(self): - """Test case for replace_namespaced_pod_status - - """ - pass - - def test_replace_namespaced_pod_template(self): - """Test case for replace_namespaced_pod_template - - """ - pass - - def test_replace_namespaced_replication_controller(self): - """Test case for replace_namespaced_replication_controller - - """ - pass - - def test_replace_namespaced_replication_controller_scale(self): - """Test case for replace_namespaced_replication_controller_scale - - """ - pass - - def test_replace_namespaced_replication_controller_status(self): - """Test case for replace_namespaced_replication_controller_status - - """ - pass - - def test_replace_namespaced_resource_quota(self): - """Test case for replace_namespaced_resource_quota - - """ - pass - - def test_replace_namespaced_resource_quota_status(self): - """Test case for replace_namespaced_resource_quota_status - - """ - pass - - def test_replace_namespaced_secret(self): - """Test case for replace_namespaced_secret - - """ - pass - - def test_replace_namespaced_service(self): - """Test case for replace_namespaced_service - - """ - pass - - def test_replace_namespaced_service_account(self): - """Test case for replace_namespaced_service_account - - """ - pass - - def test_replace_namespaced_service_status(self): - """Test case for replace_namespaced_service_status - - """ - pass - - def test_replace_node(self): - """Test case for replace_node - - """ - pass - - def test_replace_node_status(self): - """Test case for replace_node_status - - """ - pass - - def test_replace_persistent_volume(self): - """Test case for replace_persistent_volume - - """ - pass - - def test_replace_persistent_volume_status(self): - """Test case for replace_persistent_volume_status - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_custom_objects_api.py b/kubernetes/test/test_custom_objects_api.py deleted file mode 100644 index 32102c7627..0000000000 --- a/kubernetes/test/test_custom_objects_api.py +++ /dev/null @@ -1,189 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.custom_objects_api import CustomObjectsApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestCustomObjectsApi(unittest.TestCase): - """CustomObjectsApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.custom_objects_api.CustomObjectsApi() # noqa: E501 - - def tearDown(self): - pass - - def test_create_cluster_custom_object(self): - """Test case for create_cluster_custom_object - - """ - pass - - def test_create_namespaced_custom_object(self): - """Test case for create_namespaced_custom_object - - """ - pass - - def test_delete_cluster_custom_object(self): - """Test case for delete_cluster_custom_object - - """ - pass - - def test_delete_collection_cluster_custom_object(self): - """Test case for delete_collection_cluster_custom_object - - """ - pass - - def test_delete_collection_namespaced_custom_object(self): - """Test case for delete_collection_namespaced_custom_object - - """ - pass - - def test_delete_namespaced_custom_object(self): - """Test case for delete_namespaced_custom_object - - """ - pass - - def test_get_cluster_custom_object(self): - """Test case for get_cluster_custom_object - - """ - pass - - def test_get_cluster_custom_object_scale(self): - """Test case for get_cluster_custom_object_scale - - """ - pass - - def test_get_cluster_custom_object_status(self): - """Test case for get_cluster_custom_object_status - - """ - pass - - def test_get_namespaced_custom_object(self): - """Test case for get_namespaced_custom_object - - """ - pass - - def test_get_namespaced_custom_object_scale(self): - """Test case for get_namespaced_custom_object_scale - - """ - pass - - def test_get_namespaced_custom_object_status(self): - """Test case for get_namespaced_custom_object_status - - """ - pass - - def test_list_cluster_custom_object(self): - """Test case for list_cluster_custom_object - - """ - pass - - def test_list_namespaced_custom_object(self): - """Test case for list_namespaced_custom_object - - """ - pass - - def test_patch_cluster_custom_object(self): - """Test case for patch_cluster_custom_object - - """ - pass - - def test_patch_cluster_custom_object_scale(self): - """Test case for patch_cluster_custom_object_scale - - """ - pass - - def test_patch_cluster_custom_object_status(self): - """Test case for patch_cluster_custom_object_status - - """ - pass - - def test_patch_namespaced_custom_object(self): - """Test case for patch_namespaced_custom_object - - """ - pass - - def test_patch_namespaced_custom_object_scale(self): - """Test case for patch_namespaced_custom_object_scale - - """ - pass - - def test_patch_namespaced_custom_object_status(self): - """Test case for patch_namespaced_custom_object_status - - """ - pass - - def test_replace_cluster_custom_object(self): - """Test case for replace_cluster_custom_object - - """ - pass - - def test_replace_cluster_custom_object_scale(self): - """Test case for replace_cluster_custom_object_scale - - """ - pass - - def test_replace_cluster_custom_object_status(self): - """Test case for replace_cluster_custom_object_status - - """ - pass - - def test_replace_namespaced_custom_object(self): - """Test case for replace_namespaced_custom_object - - """ - pass - - def test_replace_namespaced_custom_object_scale(self): - """Test case for replace_namespaced_custom_object_scale - - """ - pass - - def test_replace_namespaced_custom_object_status(self): - """Test case for replace_namespaced_custom_object_status - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_discovery_api.py b/kubernetes/test/test_discovery_api.py deleted file mode 100644 index de8e019eed..0000000000 --- a/kubernetes/test/test_discovery_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.discovery_api import DiscoveryApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestDiscoveryApi(unittest.TestCase): - """DiscoveryApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.discovery_api.DiscoveryApi() # noqa: E501 - - 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_discovery_v1alpha1_api.py b/kubernetes/test/test_discovery_v1alpha1_api.py deleted file mode 100644 index cef4d3314b..0000000000 --- a/kubernetes/test/test_discovery_v1alpha1_api.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.discovery_v1alpha1_api import DiscoveryV1alpha1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestDiscoveryV1alpha1Api(unittest.TestCase): - """DiscoveryV1alpha1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.discovery_v1alpha1_api.DiscoveryV1alpha1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_namespaced_endpoint_slice(self): - """Test case for create_namespaced_endpoint_slice - - """ - pass - - def test_delete_collection_namespaced_endpoint_slice(self): - """Test case for delete_collection_namespaced_endpoint_slice - - """ - pass - - def test_delete_namespaced_endpoint_slice(self): - """Test case for delete_namespaced_endpoint_slice - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_endpoint_slice_for_all_namespaces(self): - """Test case for list_endpoint_slice_for_all_namespaces - - """ - pass - - def test_list_namespaced_endpoint_slice(self): - """Test case for list_namespaced_endpoint_slice - - """ - pass - - def test_patch_namespaced_endpoint_slice(self): - """Test case for patch_namespaced_endpoint_slice - - """ - pass - - def test_read_namespaced_endpoint_slice(self): - """Test case for read_namespaced_endpoint_slice - - """ - pass - - def test_replace_namespaced_endpoint_slice(self): - """Test case for replace_namespaced_endpoint_slice - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_events_api.py b/kubernetes/test/test_events_api.py deleted file mode 100644 index a3c75b584c..0000000000 --- a/kubernetes/test/test_events_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.events_api import EventsApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestEventsApi(unittest.TestCase): - """EventsApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.events_api.EventsApi() # noqa: E501 - - 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_events_v1beta1_api.py b/kubernetes/test/test_events_v1beta1_api.py deleted file mode 100644 index e652bdd024..0000000000 --- a/kubernetes/test/test_events_v1beta1_api.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.events_v1beta1_api import EventsV1beta1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestEventsV1beta1Api(unittest.TestCase): - """EventsV1beta1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.events_v1beta1_api.EventsV1beta1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_namespaced_event(self): - """Test case for create_namespaced_event - - """ - pass - - def test_delete_collection_namespaced_event(self): - """Test case for delete_collection_namespaced_event - - """ - pass - - def test_delete_namespaced_event(self): - """Test case for delete_namespaced_event - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_event_for_all_namespaces(self): - """Test case for list_event_for_all_namespaces - - """ - pass - - def test_list_namespaced_event(self): - """Test case for list_namespaced_event - - """ - pass - - def test_patch_namespaced_event(self): - """Test case for patch_namespaced_event - - """ - pass - - def test_read_namespaced_event(self): - """Test case for read_namespaced_event - - """ - pass - - def test_replace_namespaced_event(self): - """Test case for replace_namespaced_event - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_api.py b/kubernetes/test/test_extensions_api.py deleted file mode 100644 index 2e2726eca4..0000000000 --- a/kubernetes/test/test_extensions_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.extensions_api import ExtensionsApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestExtensionsApi(unittest.TestCase): - """ExtensionsApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.extensions_api.ExtensionsApi() # noqa: E501 - - 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_extensions_v1beta1_allowed_csi_driver.py b/kubernetes/test/test_extensions_v1beta1_allowed_csi_driver.py deleted file mode 100644 index a8ad074fe0..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_allowed_csi_driver.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_allowed_csi_driver import ExtensionsV1beta1AllowedCSIDriver # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1AllowedCSIDriver(unittest.TestCase): - """ExtensionsV1beta1AllowedCSIDriver unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1AllowedCSIDriver - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_allowed_csi_driver.ExtensionsV1beta1AllowedCSIDriver() # noqa: E501 - if include_optional : - return ExtensionsV1beta1AllowedCSIDriver( - name = '0' - ) - else : - return ExtensionsV1beta1AllowedCSIDriver( - name = '0', - ) - - def testExtensionsV1beta1AllowedCSIDriver(self): - """Test ExtensionsV1beta1AllowedCSIDriver""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_allowed_flex_volume.py b/kubernetes/test/test_extensions_v1beta1_allowed_flex_volume.py deleted file mode 100644 index e08af5f7dd..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_allowed_flex_volume.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_allowed_flex_volume import ExtensionsV1beta1AllowedFlexVolume # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1AllowedFlexVolume(unittest.TestCase): - """ExtensionsV1beta1AllowedFlexVolume unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1AllowedFlexVolume - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_allowed_flex_volume.ExtensionsV1beta1AllowedFlexVolume() # noqa: E501 - if include_optional : - return ExtensionsV1beta1AllowedFlexVolume( - driver = '0' - ) - else : - return ExtensionsV1beta1AllowedFlexVolume( - driver = '0', - ) - - def testExtensionsV1beta1AllowedFlexVolume(self): - """Test ExtensionsV1beta1AllowedFlexVolume""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_allowed_host_path.py b/kubernetes/test/test_extensions_v1beta1_allowed_host_path.py deleted file mode 100644 index b5401463ab..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_allowed_host_path.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_allowed_host_path import ExtensionsV1beta1AllowedHostPath # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1AllowedHostPath(unittest.TestCase): - """ExtensionsV1beta1AllowedHostPath unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1AllowedHostPath - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_allowed_host_path.ExtensionsV1beta1AllowedHostPath() # noqa: E501 - if include_optional : - return ExtensionsV1beta1AllowedHostPath( - path_prefix = '0', - read_only = True - ) - else : - return ExtensionsV1beta1AllowedHostPath( - ) - - def testExtensionsV1beta1AllowedHostPath(self): - """Test ExtensionsV1beta1AllowedHostPath""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_api.py b/kubernetes/test/test_extensions_v1beta1_api.py deleted file mode 100644 index 2739fbcf53..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_api.py +++ /dev/null @@ -1,453 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.extensions_v1beta1_api import ExtensionsV1beta1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestExtensionsV1beta1Api(unittest.TestCase): - """ExtensionsV1beta1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.extensions_v1beta1_api.ExtensionsV1beta1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_namespaced_daemon_set(self): - """Test case for create_namespaced_daemon_set - - """ - pass - - def test_create_namespaced_deployment(self): - """Test case for create_namespaced_deployment - - """ - pass - - def test_create_namespaced_deployment_rollback(self): - """Test case for create_namespaced_deployment_rollback - - """ - pass - - def test_create_namespaced_ingress(self): - """Test case for create_namespaced_ingress - - """ - pass - - def test_create_namespaced_network_policy(self): - """Test case for create_namespaced_network_policy - - """ - pass - - def test_create_namespaced_replica_set(self): - """Test case for create_namespaced_replica_set - - """ - pass - - def test_create_pod_security_policy(self): - """Test case for create_pod_security_policy - - """ - pass - - def test_delete_collection_namespaced_daemon_set(self): - """Test case for delete_collection_namespaced_daemon_set - - """ - pass - - def test_delete_collection_namespaced_deployment(self): - """Test case for delete_collection_namespaced_deployment - - """ - pass - - def test_delete_collection_namespaced_ingress(self): - """Test case for delete_collection_namespaced_ingress - - """ - pass - - def test_delete_collection_namespaced_network_policy(self): - """Test case for delete_collection_namespaced_network_policy - - """ - pass - - def test_delete_collection_namespaced_replica_set(self): - """Test case for delete_collection_namespaced_replica_set - - """ - pass - - def test_delete_collection_pod_security_policy(self): - """Test case for delete_collection_pod_security_policy - - """ - pass - - def test_delete_namespaced_daemon_set(self): - """Test case for delete_namespaced_daemon_set - - """ - pass - - def test_delete_namespaced_deployment(self): - """Test case for delete_namespaced_deployment - - """ - pass - - def test_delete_namespaced_ingress(self): - """Test case for delete_namespaced_ingress - - """ - pass - - def test_delete_namespaced_network_policy(self): - """Test case for delete_namespaced_network_policy - - """ - pass - - def test_delete_namespaced_replica_set(self): - """Test case for delete_namespaced_replica_set - - """ - pass - - def test_delete_pod_security_policy(self): - """Test case for delete_pod_security_policy - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_daemon_set_for_all_namespaces(self): - """Test case for list_daemon_set_for_all_namespaces - - """ - pass - - def test_list_deployment_for_all_namespaces(self): - """Test case for list_deployment_for_all_namespaces - - """ - pass - - def test_list_ingress_for_all_namespaces(self): - """Test case for list_ingress_for_all_namespaces - - """ - pass - - def test_list_namespaced_daemon_set(self): - """Test case for list_namespaced_daemon_set - - """ - pass - - def test_list_namespaced_deployment(self): - """Test case for list_namespaced_deployment - - """ - pass - - def test_list_namespaced_ingress(self): - """Test case for list_namespaced_ingress - - """ - pass - - def test_list_namespaced_network_policy(self): - """Test case for list_namespaced_network_policy - - """ - pass - - def test_list_namespaced_replica_set(self): - """Test case for list_namespaced_replica_set - - """ - pass - - def test_list_network_policy_for_all_namespaces(self): - """Test case for list_network_policy_for_all_namespaces - - """ - pass - - def test_list_pod_security_policy(self): - """Test case for list_pod_security_policy - - """ - pass - - def test_list_replica_set_for_all_namespaces(self): - """Test case for list_replica_set_for_all_namespaces - - """ - pass - - def test_patch_namespaced_daemon_set(self): - """Test case for patch_namespaced_daemon_set - - """ - pass - - def test_patch_namespaced_daemon_set_status(self): - """Test case for patch_namespaced_daemon_set_status - - """ - pass - - def test_patch_namespaced_deployment(self): - """Test case for patch_namespaced_deployment - - """ - pass - - def test_patch_namespaced_deployment_scale(self): - """Test case for patch_namespaced_deployment_scale - - """ - pass - - def test_patch_namespaced_deployment_status(self): - """Test case for patch_namespaced_deployment_status - - """ - pass - - def test_patch_namespaced_ingress(self): - """Test case for patch_namespaced_ingress - - """ - pass - - def test_patch_namespaced_ingress_status(self): - """Test case for patch_namespaced_ingress_status - - """ - pass - - def test_patch_namespaced_network_policy(self): - """Test case for patch_namespaced_network_policy - - """ - pass - - def test_patch_namespaced_replica_set(self): - """Test case for patch_namespaced_replica_set - - """ - pass - - def test_patch_namespaced_replica_set_scale(self): - """Test case for patch_namespaced_replica_set_scale - - """ - pass - - def test_patch_namespaced_replica_set_status(self): - """Test case for patch_namespaced_replica_set_status - - """ - pass - - def test_patch_namespaced_replication_controller_dummy_scale(self): - """Test case for patch_namespaced_replication_controller_dummy_scale - - """ - pass - - def test_patch_pod_security_policy(self): - """Test case for patch_pod_security_policy - - """ - pass - - def test_read_namespaced_daemon_set(self): - """Test case for read_namespaced_daemon_set - - """ - pass - - def test_read_namespaced_daemon_set_status(self): - """Test case for read_namespaced_daemon_set_status - - """ - pass - - def test_read_namespaced_deployment(self): - """Test case for read_namespaced_deployment - - """ - pass - - def test_read_namespaced_deployment_scale(self): - """Test case for read_namespaced_deployment_scale - - """ - pass - - def test_read_namespaced_deployment_status(self): - """Test case for read_namespaced_deployment_status - - """ - pass - - def test_read_namespaced_ingress(self): - """Test case for read_namespaced_ingress - - """ - pass - - def test_read_namespaced_ingress_status(self): - """Test case for read_namespaced_ingress_status - - """ - pass - - def test_read_namespaced_network_policy(self): - """Test case for read_namespaced_network_policy - - """ - pass - - def test_read_namespaced_replica_set(self): - """Test case for read_namespaced_replica_set - - """ - pass - - def test_read_namespaced_replica_set_scale(self): - """Test case for read_namespaced_replica_set_scale - - """ - pass - - def test_read_namespaced_replica_set_status(self): - """Test case for read_namespaced_replica_set_status - - """ - pass - - def test_read_namespaced_replication_controller_dummy_scale(self): - """Test case for read_namespaced_replication_controller_dummy_scale - - """ - pass - - def test_read_pod_security_policy(self): - """Test case for read_pod_security_policy - - """ - pass - - def test_replace_namespaced_daemon_set(self): - """Test case for replace_namespaced_daemon_set - - """ - pass - - def test_replace_namespaced_daemon_set_status(self): - """Test case for replace_namespaced_daemon_set_status - - """ - pass - - def test_replace_namespaced_deployment(self): - """Test case for replace_namespaced_deployment - - """ - pass - - def test_replace_namespaced_deployment_scale(self): - """Test case for replace_namespaced_deployment_scale - - """ - pass - - def test_replace_namespaced_deployment_status(self): - """Test case for replace_namespaced_deployment_status - - """ - pass - - def test_replace_namespaced_ingress(self): - """Test case for replace_namespaced_ingress - - """ - pass - - def test_replace_namespaced_ingress_status(self): - """Test case for replace_namespaced_ingress_status - - """ - pass - - def test_replace_namespaced_network_policy(self): - """Test case for replace_namespaced_network_policy - - """ - pass - - def test_replace_namespaced_replica_set(self): - """Test case for replace_namespaced_replica_set - - """ - pass - - def test_replace_namespaced_replica_set_scale(self): - """Test case for replace_namespaced_replica_set_scale - - """ - pass - - def test_replace_namespaced_replica_set_status(self): - """Test case for replace_namespaced_replica_set_status - - """ - pass - - def test_replace_namespaced_replication_controller_dummy_scale(self): - """Test case for replace_namespaced_replication_controller_dummy_scale - - """ - pass - - def test_replace_pod_security_policy(self): - """Test case for replace_pod_security_policy - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_deployment.py b/kubernetes/test/test_extensions_v1beta1_deployment.py deleted file mode 100644 index ac70fa0eb0..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_deployment.py +++ /dev/null @@ -1,607 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_deployment import ExtensionsV1beta1Deployment # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1Deployment(unittest.TestCase): - """ExtensionsV1beta1Deployment unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1Deployment - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_deployment.ExtensionsV1beta1Deployment() # noqa: E501 - if include_optional : - return ExtensionsV1beta1Deployment( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.extensions/v1beta1/deployment_spec.extensions.v1beta1.DeploymentSpec( - min_ready_seconds = 56, - paused = True, - progress_deadline_seconds = 56, - replicas = 56, - revision_history_limit = 56, - rollback_to = kubernetes.client.models.extensions/v1beta1/rollback_config.extensions.v1beta1.RollbackConfig( - revision = 56, ), - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - strategy = kubernetes.client.models.extensions/v1beta1/deployment_strategy.extensions.v1beta1.DeploymentStrategy( - rolling_update = kubernetes.client.models.extensions/v1beta1/rolling_update_deployment.extensions.v1beta1.RollingUpdateDeployment( - max_surge = kubernetes.client.models.max_surge.maxSurge(), - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), ), - status = kubernetes.client.models.extensions/v1beta1/deployment_status.extensions.v1beta1.DeploymentStatus( - available_replicas = 56, - collision_count = 56, - conditions = [ - kubernetes.client.models.extensions/v1beta1/deployment_condition.extensions.v1beta1.DeploymentCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - unavailable_replicas = 56, - updated_replicas = 56, ) - ) - else : - return ExtensionsV1beta1Deployment( - ) - - def testExtensionsV1beta1Deployment(self): - """Test ExtensionsV1beta1Deployment""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_deployment_condition.py b/kubernetes/test/test_extensions_v1beta1_deployment_condition.py deleted file mode 100644 index c25725c9ab..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_deployment_condition.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_deployment_condition import ExtensionsV1beta1DeploymentCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1DeploymentCondition(unittest.TestCase): - """ExtensionsV1beta1DeploymentCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1DeploymentCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_deployment_condition.ExtensionsV1beta1DeploymentCondition() # noqa: E501 - if include_optional : - return ExtensionsV1beta1DeploymentCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return ExtensionsV1beta1DeploymentCondition( - status = '0', - type = '0', - ) - - def testExtensionsV1beta1DeploymentCondition(self): - """Test ExtensionsV1beta1DeploymentCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_deployment_list.py b/kubernetes/test/test_extensions_v1beta1_deployment_list.py deleted file mode 100644 index 4eb21d91e4..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_deployment_list.py +++ /dev/null @@ -1,232 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_deployment_list import ExtensionsV1beta1DeploymentList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1DeploymentList(unittest.TestCase): - """ExtensionsV1beta1DeploymentList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1DeploymentList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_deployment_list.ExtensionsV1beta1DeploymentList() # noqa: E501 - if include_optional : - return ExtensionsV1beta1DeploymentList( - api_version = '0', - items = [ - kubernetes.client.models.extensions/v1beta1/deployment.extensions.v1beta1.Deployment( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.extensions/v1beta1/deployment_spec.extensions.v1beta1.DeploymentSpec( - min_ready_seconds = 56, - paused = True, - progress_deadline_seconds = 56, - replicas = 56, - revision_history_limit = 56, - rollback_to = kubernetes.client.models.extensions/v1beta1/rollback_config.extensions.v1beta1.RollbackConfig( - revision = 56, ), - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - strategy = kubernetes.client.models.extensions/v1beta1/deployment_strategy.extensions.v1beta1.DeploymentStrategy( - rolling_update = kubernetes.client.models.extensions/v1beta1/rolling_update_deployment.extensions.v1beta1.RollingUpdateDeployment( - max_surge = kubernetes.client.models.max_surge.maxSurge(), - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), - status = kubernetes.client.models.extensions/v1beta1/deployment_status.extensions.v1beta1.DeploymentStatus( - available_replicas = 56, - collision_count = 56, - conditions = [ - kubernetes.client.models.extensions/v1beta1/deployment_condition.extensions.v1beta1.DeploymentCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - unavailable_replicas = 56, - updated_replicas = 56, ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return ExtensionsV1beta1DeploymentList( - items = [ - kubernetes.client.models.extensions/v1beta1/deployment.extensions.v1beta1.Deployment( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.extensions/v1beta1/deployment_spec.extensions.v1beta1.DeploymentSpec( - min_ready_seconds = 56, - paused = True, - progress_deadline_seconds = 56, - replicas = 56, - revision_history_limit = 56, - rollback_to = kubernetes.client.models.extensions/v1beta1/rollback_config.extensions.v1beta1.RollbackConfig( - revision = 56, ), - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - strategy = kubernetes.client.models.extensions/v1beta1/deployment_strategy.extensions.v1beta1.DeploymentStrategy( - rolling_update = kubernetes.client.models.extensions/v1beta1/rolling_update_deployment.extensions.v1beta1.RollingUpdateDeployment( - max_surge = kubernetes.client.models.max_surge.maxSurge(), - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), - status = kubernetes.client.models.extensions/v1beta1/deployment_status.extensions.v1beta1.DeploymentStatus( - available_replicas = 56, - collision_count = 56, - conditions = [ - kubernetes.client.models.extensions/v1beta1/deployment_condition.extensions.v1beta1.DeploymentCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - unavailable_replicas = 56, - updated_replicas = 56, ), ) - ], - ) - - def testExtensionsV1beta1DeploymentList(self): - """Test ExtensionsV1beta1DeploymentList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_deployment_rollback.py b/kubernetes/test/test_extensions_v1beta1_deployment_rollback.py deleted file mode 100644 index 01fe7200a4..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_deployment_rollback.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_deployment_rollback import ExtensionsV1beta1DeploymentRollback # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1DeploymentRollback(unittest.TestCase): - """ExtensionsV1beta1DeploymentRollback unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1DeploymentRollback - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_deployment_rollback.ExtensionsV1beta1DeploymentRollback() # noqa: E501 - if include_optional : - return ExtensionsV1beta1DeploymentRollback( - api_version = '0', - kind = '0', - name = '0', - rollback_to = kubernetes.client.models.extensions/v1beta1/rollback_config.extensions.v1beta1.RollbackConfig( - revision = 56, ), - updated_annotations = { - 'key' : '0' - } - ) - else : - return ExtensionsV1beta1DeploymentRollback( - name = '0', - rollback_to = kubernetes.client.models.extensions/v1beta1/rollback_config.extensions.v1beta1.RollbackConfig( - revision = 56, ), - ) - - def testExtensionsV1beta1DeploymentRollback(self): - """Test ExtensionsV1beta1DeploymentRollback""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_deployment_spec.py b/kubernetes/test/test_extensions_v1beta1_deployment_spec.py deleted file mode 100644 index 184b1ee7fc..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_deployment_spec.py +++ /dev/null @@ -1,1043 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_deployment_spec import ExtensionsV1beta1DeploymentSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1DeploymentSpec(unittest.TestCase): - """ExtensionsV1beta1DeploymentSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1DeploymentSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_deployment_spec.ExtensionsV1beta1DeploymentSpec() # noqa: E501 - if include_optional : - return ExtensionsV1beta1DeploymentSpec( - min_ready_seconds = 56, - paused = True, - progress_deadline_seconds = 56, - replicas = 56, - revision_history_limit = 56, - rollback_to = kubernetes.client.models.extensions/v1beta1/rollback_config.extensions.v1beta1.RollbackConfig( - revision = 56, ), - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - strategy = kubernetes.client.models.extensions/v1beta1/deployment_strategy.extensions.v1beta1.DeploymentStrategy( - rolling_update = kubernetes.client.models.extensions/v1beta1/rolling_update_deployment.extensions.v1beta1.RollingUpdateDeployment( - max_surge = kubernetes.client.models.max_surge.maxSurge(), - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ) - ) - else : - return ExtensionsV1beta1DeploymentSpec( - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - ) - - def testExtensionsV1beta1DeploymentSpec(self): - """Test ExtensionsV1beta1DeploymentSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_deployment_status.py b/kubernetes/test/test_extensions_v1beta1_deployment_status.py deleted file mode 100644 index 9700fa073e..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_deployment_status.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_deployment_status import ExtensionsV1beta1DeploymentStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1DeploymentStatus(unittest.TestCase): - """ExtensionsV1beta1DeploymentStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1DeploymentStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_deployment_status.ExtensionsV1beta1DeploymentStatus() # noqa: E501 - if include_optional : - return ExtensionsV1beta1DeploymentStatus( - available_replicas = 56, - collision_count = 56, - conditions = [ - kubernetes.client.models.extensions/v1beta1/deployment_condition.extensions.v1beta1.DeploymentCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - unavailable_replicas = 56, - updated_replicas = 56 - ) - else : - return ExtensionsV1beta1DeploymentStatus( - ) - - def testExtensionsV1beta1DeploymentStatus(self): - """Test ExtensionsV1beta1DeploymentStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_deployment_strategy.py b/kubernetes/test/test_extensions_v1beta1_deployment_strategy.py deleted file mode 100644 index 05dd735192..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_deployment_strategy.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_deployment_strategy import ExtensionsV1beta1DeploymentStrategy # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1DeploymentStrategy(unittest.TestCase): - """ExtensionsV1beta1DeploymentStrategy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1DeploymentStrategy - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_deployment_strategy.ExtensionsV1beta1DeploymentStrategy() # noqa: E501 - if include_optional : - return ExtensionsV1beta1DeploymentStrategy( - rolling_update = kubernetes.client.models.extensions/v1beta1/rolling_update_deployment.extensions.v1beta1.RollingUpdateDeployment( - max_surge = kubernetes.client.models.max_surge.maxSurge(), - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0' - ) - else : - return ExtensionsV1beta1DeploymentStrategy( - ) - - def testExtensionsV1beta1DeploymentStrategy(self): - """Test ExtensionsV1beta1DeploymentStrategy""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_fs_group_strategy_options.py b/kubernetes/test/test_extensions_v1beta1_fs_group_strategy_options.py deleted file mode 100644 index d3b845148b..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_fs_group_strategy_options.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_fs_group_strategy_options import ExtensionsV1beta1FSGroupStrategyOptions # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1FSGroupStrategyOptions(unittest.TestCase): - """ExtensionsV1beta1FSGroupStrategyOptions unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1FSGroupStrategyOptions - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_fs_group_strategy_options.ExtensionsV1beta1FSGroupStrategyOptions() # noqa: E501 - if include_optional : - return ExtensionsV1beta1FSGroupStrategyOptions( - ranges = [ - kubernetes.client.models.extensions/v1beta1/id_range.extensions.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0' - ) - else : - return ExtensionsV1beta1FSGroupStrategyOptions( - ) - - def testExtensionsV1beta1FSGroupStrategyOptions(self): - """Test ExtensionsV1beta1FSGroupStrategyOptions""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_host_port_range.py b/kubernetes/test/test_extensions_v1beta1_host_port_range.py deleted file mode 100644 index ff990e1e86..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_host_port_range.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_host_port_range import ExtensionsV1beta1HostPortRange # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1HostPortRange(unittest.TestCase): - """ExtensionsV1beta1HostPortRange unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1HostPortRange - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_host_port_range.ExtensionsV1beta1HostPortRange() # noqa: E501 - if include_optional : - return ExtensionsV1beta1HostPortRange( - max = 56, - min = 56 - ) - else : - return ExtensionsV1beta1HostPortRange( - max = 56, - min = 56, - ) - - def testExtensionsV1beta1HostPortRange(self): - """Test ExtensionsV1beta1HostPortRange""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_http_ingress_path.py b/kubernetes/test/test_extensions_v1beta1_http_ingress_path.py deleted file mode 100644 index 5945b71334..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_http_ingress_path.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_http_ingress_path import ExtensionsV1beta1HTTPIngressPath # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1HTTPIngressPath(unittest.TestCase): - """ExtensionsV1beta1HTTPIngressPath unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1HTTPIngressPath - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_http_ingress_path.ExtensionsV1beta1HTTPIngressPath() # noqa: E501 - if include_optional : - return ExtensionsV1beta1HTTPIngressPath( - backend = kubernetes.client.models.extensions/v1beta1/ingress_backend.extensions.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - path = '0' - ) - else : - return ExtensionsV1beta1HTTPIngressPath( - backend = kubernetes.client.models.extensions/v1beta1/ingress_backend.extensions.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - ) - - def testExtensionsV1beta1HTTPIngressPath(self): - """Test ExtensionsV1beta1HTTPIngressPath""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_http_ingress_rule_value.py b/kubernetes/test/test_extensions_v1beta1_http_ingress_rule_value.py deleted file mode 100644 index 43ac5f2cda..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_http_ingress_rule_value.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_http_ingress_rule_value import ExtensionsV1beta1HTTPIngressRuleValue # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1HTTPIngressRuleValue(unittest.TestCase): - """ExtensionsV1beta1HTTPIngressRuleValue unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1HTTPIngressRuleValue - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_http_ingress_rule_value.ExtensionsV1beta1HTTPIngressRuleValue() # noqa: E501 - if include_optional : - return ExtensionsV1beta1HTTPIngressRuleValue( - paths = [ - kubernetes.client.models.extensions/v1beta1/http_ingress_path.extensions.v1beta1.HTTPIngressPath( - backend = kubernetes.client.models.extensions/v1beta1/ingress_backend.extensions.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - path = '0', ) - ] - ) - else : - return ExtensionsV1beta1HTTPIngressRuleValue( - paths = [ - kubernetes.client.models.extensions/v1beta1/http_ingress_path.extensions.v1beta1.HTTPIngressPath( - backend = kubernetes.client.models.extensions/v1beta1/ingress_backend.extensions.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - path = '0', ) - ], - ) - - def testExtensionsV1beta1HTTPIngressRuleValue(self): - """Test ExtensionsV1beta1HTTPIngressRuleValue""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_id_range.py b/kubernetes/test/test_extensions_v1beta1_id_range.py deleted file mode 100644 index 75cf776276..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_id_range.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_id_range import ExtensionsV1beta1IDRange # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1IDRange(unittest.TestCase): - """ExtensionsV1beta1IDRange unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1IDRange - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_id_range.ExtensionsV1beta1IDRange() # noqa: E501 - if include_optional : - return ExtensionsV1beta1IDRange( - max = 56, - min = 56 - ) - else : - return ExtensionsV1beta1IDRange( - max = 56, - min = 56, - ) - - def testExtensionsV1beta1IDRange(self): - """Test ExtensionsV1beta1IDRange""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_ingress.py b/kubernetes/test/test_extensions_v1beta1_ingress.py deleted file mode 100644 index ac8542d6d9..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_ingress.py +++ /dev/null @@ -1,122 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_ingress import ExtensionsV1beta1Ingress # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1Ingress(unittest.TestCase): - """ExtensionsV1beta1Ingress unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1Ingress - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_ingress.ExtensionsV1beta1Ingress() # noqa: E501 - if include_optional : - return ExtensionsV1beta1Ingress( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.extensions/v1beta1/ingress_spec.extensions.v1beta1.IngressSpec( - backend = kubernetes.client.models.extensions/v1beta1/ingress_backend.extensions.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - rules = [ - kubernetes.client.models.extensions/v1beta1/ingress_rule.extensions.v1beta1.IngressRule( - host = '0', - http = kubernetes.client.models.extensions/v1beta1/http_ingress_rule_value.extensions.v1beta1.HTTPIngressRuleValue( - paths = [ - kubernetes.client.models.extensions/v1beta1/http_ingress_path.extensions.v1beta1.HTTPIngressPath( - backend = kubernetes.client.models.extensions/v1beta1/ingress_backend.extensions.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - path = '0', ) - ], ), ) - ], - tls = [ - kubernetes.client.models.extensions/v1beta1/ingress_tls.extensions.v1beta1.IngressTLS( - hosts = [ - '0' - ], - secret_name = '0', ) - ], ), - status = kubernetes.client.models.extensions/v1beta1/ingress_status.extensions.v1beta1.IngressStatus( - load_balancer = kubernetes.client.models.v1/load_balancer_status.v1.LoadBalancerStatus( - ingress = [ - kubernetes.client.models.v1/load_balancer_ingress.v1.LoadBalancerIngress( - hostname = '0', - ip = '0', ) - ], ), ) - ) - else : - return ExtensionsV1beta1Ingress( - ) - - def testExtensionsV1beta1Ingress(self): - """Test ExtensionsV1beta1Ingress""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_ingress_backend.py b/kubernetes/test/test_extensions_v1beta1_ingress_backend.py deleted file mode 100644 index 0847a676c9..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_ingress_backend.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_ingress_backend import ExtensionsV1beta1IngressBackend # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1IngressBackend(unittest.TestCase): - """ExtensionsV1beta1IngressBackend unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1IngressBackend - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_ingress_backend.ExtensionsV1beta1IngressBackend() # noqa: E501 - if include_optional : - return ExtensionsV1beta1IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort() - ) - else : - return ExtensionsV1beta1IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), - ) - - def testExtensionsV1beta1IngressBackend(self): - """Test ExtensionsV1beta1IngressBackend""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_ingress_list.py b/kubernetes/test/test_extensions_v1beta1_ingress_list.py deleted file mode 100644 index bf4c8d3fe1..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_ingress_list.py +++ /dev/null @@ -1,206 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_ingress_list import ExtensionsV1beta1IngressList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1IngressList(unittest.TestCase): - """ExtensionsV1beta1IngressList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1IngressList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_ingress_list.ExtensionsV1beta1IngressList() # noqa: E501 - if include_optional : - return ExtensionsV1beta1IngressList( - api_version = '0', - items = [ - kubernetes.client.models.extensions/v1beta1/ingress.extensions.v1beta1.Ingress( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.extensions/v1beta1/ingress_spec.extensions.v1beta1.IngressSpec( - backend = kubernetes.client.models.extensions/v1beta1/ingress_backend.extensions.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - rules = [ - kubernetes.client.models.extensions/v1beta1/ingress_rule.extensions.v1beta1.IngressRule( - host = '0', - http = kubernetes.client.models.extensions/v1beta1/http_ingress_rule_value.extensions.v1beta1.HTTPIngressRuleValue( - paths = [ - kubernetes.client.models.extensions/v1beta1/http_ingress_path.extensions.v1beta1.HTTPIngressPath( - backend = kubernetes.client.models.extensions/v1beta1/ingress_backend.extensions.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - path = '0', ) - ], ), ) - ], - tls = [ - kubernetes.client.models.extensions/v1beta1/ingress_tls.extensions.v1beta1.IngressTLS( - hosts = [ - '0' - ], - secret_name = '0', ) - ], ), - status = kubernetes.client.models.extensions/v1beta1/ingress_status.extensions.v1beta1.IngressStatus( - load_balancer = kubernetes.client.models.v1/load_balancer_status.v1.LoadBalancerStatus( - ingress = [ - kubernetes.client.models.v1/load_balancer_ingress.v1.LoadBalancerIngress( - hostname = '0', - ip = '0', ) - ], ), ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return ExtensionsV1beta1IngressList( - items = [ - kubernetes.client.models.extensions/v1beta1/ingress.extensions.v1beta1.Ingress( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.extensions/v1beta1/ingress_spec.extensions.v1beta1.IngressSpec( - backend = kubernetes.client.models.extensions/v1beta1/ingress_backend.extensions.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - rules = [ - kubernetes.client.models.extensions/v1beta1/ingress_rule.extensions.v1beta1.IngressRule( - host = '0', - http = kubernetes.client.models.extensions/v1beta1/http_ingress_rule_value.extensions.v1beta1.HTTPIngressRuleValue( - paths = [ - kubernetes.client.models.extensions/v1beta1/http_ingress_path.extensions.v1beta1.HTTPIngressPath( - backend = kubernetes.client.models.extensions/v1beta1/ingress_backend.extensions.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - path = '0', ) - ], ), ) - ], - tls = [ - kubernetes.client.models.extensions/v1beta1/ingress_tls.extensions.v1beta1.IngressTLS( - hosts = [ - '0' - ], - secret_name = '0', ) - ], ), - status = kubernetes.client.models.extensions/v1beta1/ingress_status.extensions.v1beta1.IngressStatus( - load_balancer = kubernetes.client.models.v1/load_balancer_status.v1.LoadBalancerStatus( - ingress = [ - kubernetes.client.models.v1/load_balancer_ingress.v1.LoadBalancerIngress( - hostname = '0', - ip = '0', ) - ], ), ), ) - ], - ) - - def testExtensionsV1beta1IngressList(self): - """Test ExtensionsV1beta1IngressList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_ingress_rule.py b/kubernetes/test/test_extensions_v1beta1_ingress_rule.py deleted file mode 100644 index 8e45d9ca7b..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_ingress_rule.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_ingress_rule import ExtensionsV1beta1IngressRule # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1IngressRule(unittest.TestCase): - """ExtensionsV1beta1IngressRule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1IngressRule - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_ingress_rule.ExtensionsV1beta1IngressRule() # noqa: E501 - if include_optional : - return ExtensionsV1beta1IngressRule( - host = '0', - http = kubernetes.client.models.extensions/v1beta1/http_ingress_rule_value.extensions.v1beta1.HTTPIngressRuleValue( - paths = [ - kubernetes.client.models.extensions/v1beta1/http_ingress_path.extensions.v1beta1.HTTPIngressPath( - backend = kubernetes.client.models.extensions/v1beta1/ingress_backend.extensions.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - path = '0', ) - ], ) - ) - else : - return ExtensionsV1beta1IngressRule( - ) - - def testExtensionsV1beta1IngressRule(self): - """Test ExtensionsV1beta1IngressRule""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_ingress_spec.py b/kubernetes/test/test_extensions_v1beta1_ingress_spec.py deleted file mode 100644 index 78c1dff250..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_ingress_spec.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_ingress_spec import ExtensionsV1beta1IngressSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1IngressSpec(unittest.TestCase): - """ExtensionsV1beta1IngressSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1IngressSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_ingress_spec.ExtensionsV1beta1IngressSpec() # noqa: E501 - if include_optional : - return ExtensionsV1beta1IngressSpec( - backend = kubernetes.client.models.extensions/v1beta1/ingress_backend.extensions.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - rules = [ - kubernetes.client.models.extensions/v1beta1/ingress_rule.extensions.v1beta1.IngressRule( - host = '0', - http = kubernetes.client.models.extensions/v1beta1/http_ingress_rule_value.extensions.v1beta1.HTTPIngressRuleValue( - paths = [ - kubernetes.client.models.extensions/v1beta1/http_ingress_path.extensions.v1beta1.HTTPIngressPath( - backend = kubernetes.client.models.extensions/v1beta1/ingress_backend.extensions.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - path = '0', ) - ], ), ) - ], - tls = [ - kubernetes.client.models.extensions/v1beta1/ingress_tls.extensions.v1beta1.IngressTLS( - hosts = [ - '0' - ], - secret_name = '0', ) - ] - ) - else : - return ExtensionsV1beta1IngressSpec( - ) - - def testExtensionsV1beta1IngressSpec(self): - """Test ExtensionsV1beta1IngressSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_ingress_status.py b/kubernetes/test/test_extensions_v1beta1_ingress_status.py deleted file mode 100644 index a59e2e7527..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_ingress_status.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_ingress_status import ExtensionsV1beta1IngressStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1IngressStatus(unittest.TestCase): - """ExtensionsV1beta1IngressStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1IngressStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_ingress_status.ExtensionsV1beta1IngressStatus() # noqa: E501 - if include_optional : - return ExtensionsV1beta1IngressStatus( - load_balancer = kubernetes.client.models.v1/load_balancer_status.v1.LoadBalancerStatus( - ingress = [ - kubernetes.client.models.v1/load_balancer_ingress.v1.LoadBalancerIngress( - hostname = '0', - ip = '0', ) - ], ) - ) - else : - return ExtensionsV1beta1IngressStatus( - ) - - def testExtensionsV1beta1IngressStatus(self): - """Test ExtensionsV1beta1IngressStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_ingress_tls.py b/kubernetes/test/test_extensions_v1beta1_ingress_tls.py deleted file mode 100644 index 911ea52ec3..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_ingress_tls.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_ingress_tls import ExtensionsV1beta1IngressTLS # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1IngressTLS(unittest.TestCase): - """ExtensionsV1beta1IngressTLS unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1IngressTLS - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_ingress_tls.ExtensionsV1beta1IngressTLS() # noqa: E501 - if include_optional : - return ExtensionsV1beta1IngressTLS( - hosts = [ - '0' - ], - secret_name = '0' - ) - else : - return ExtensionsV1beta1IngressTLS( - ) - - def testExtensionsV1beta1IngressTLS(self): - """Test ExtensionsV1beta1IngressTLS""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_pod_security_policy.py b/kubernetes/test/test_extensions_v1beta1_pod_security_policy.py deleted file mode 100644 index b4f86acd85..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_pod_security_policy.py +++ /dev/null @@ -1,164 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_pod_security_policy import ExtensionsV1beta1PodSecurityPolicy # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1PodSecurityPolicy(unittest.TestCase): - """ExtensionsV1beta1PodSecurityPolicy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1PodSecurityPolicy - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_pod_security_policy.ExtensionsV1beta1PodSecurityPolicy() # noqa: E501 - if include_optional : - return ExtensionsV1beta1PodSecurityPolicy( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.extensions/v1beta1/pod_security_policy_spec.extensions.v1beta1.PodSecurityPolicySpec( - allow_privilege_escalation = True, - allowed_csi_drivers = [ - kubernetes.client.models.extensions/v1beta1/allowed_csi_driver.extensions.v1beta1.AllowedCSIDriver( - name = '0', ) - ], - allowed_capabilities = [ - '0' - ], - allowed_flex_volumes = [ - kubernetes.client.models.extensions/v1beta1/allowed_flex_volume.extensions.v1beta1.AllowedFlexVolume( - driver = '0', ) - ], - allowed_host_paths = [ - kubernetes.client.models.extensions/v1beta1/allowed_host_path.extensions.v1beta1.AllowedHostPath( - path_prefix = '0', - read_only = True, ) - ], - allowed_proc_mount_types = [ - '0' - ], - allowed_unsafe_sysctls = [ - '0' - ], - default_add_capabilities = [ - '0' - ], - default_allow_privilege_escalation = True, - forbidden_sysctls = [ - '0' - ], - fs_group = kubernetes.client.models.extensions/v1beta1/fs_group_strategy_options.extensions.v1beta1.FSGroupStrategyOptions( - ranges = [ - kubernetes.client.models.extensions/v1beta1/id_range.extensions.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0', ), - host_ipc = True, - host_network = True, - host_pid = True, - host_ports = [ - kubernetes.client.models.extensions/v1beta1/host_port_range.extensions.v1beta1.HostPortRange( - max = 56, - min = 56, ) - ], - privileged = True, - read_only_root_filesystem = True, - required_drop_capabilities = [ - '0' - ], - run_as_group = kubernetes.client.models.extensions/v1beta1/run_as_group_strategy_options.extensions.v1beta1.RunAsGroupStrategyOptions( - rule = '0', ), - run_as_user = kubernetes.client.models.extensions/v1beta1/run_as_user_strategy_options.extensions.v1beta1.RunAsUserStrategyOptions( - rule = '0', ), - runtime_class = kubernetes.client.models.extensions/v1beta1/runtime_class_strategy_options.extensions.v1beta1.RuntimeClassStrategyOptions( - allowed_runtime_class_names = [ - '0' - ], - default_runtime_class_name = '0', ), - se_linux = kubernetes.client.models.extensions/v1beta1/se_linux_strategy_options.extensions.v1beta1.SELinuxStrategyOptions( - rule = '0', - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), ), - supplemental_groups = kubernetes.client.models.extensions/v1beta1/supplemental_groups_strategy_options.extensions.v1beta1.SupplementalGroupsStrategyOptions( - rule = '0', ), - volumes = [ - '0' - ], ) - ) - else : - return ExtensionsV1beta1PodSecurityPolicy( - ) - - def testExtensionsV1beta1PodSecurityPolicy(self): - """Test ExtensionsV1beta1PodSecurityPolicy""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_pod_security_policy_list.py b/kubernetes/test/test_extensions_v1beta1_pod_security_policy_list.py deleted file mode 100644 index 4f107de32f..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_pod_security_policy_list.py +++ /dev/null @@ -1,290 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_pod_security_policy_list import ExtensionsV1beta1PodSecurityPolicyList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1PodSecurityPolicyList(unittest.TestCase): - """ExtensionsV1beta1PodSecurityPolicyList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1PodSecurityPolicyList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_pod_security_policy_list.ExtensionsV1beta1PodSecurityPolicyList() # noqa: E501 - if include_optional : - return ExtensionsV1beta1PodSecurityPolicyList( - api_version = '0', - items = [ - kubernetes.client.models.extensions/v1beta1/pod_security_policy.extensions.v1beta1.PodSecurityPolicy( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.extensions/v1beta1/pod_security_policy_spec.extensions.v1beta1.PodSecurityPolicySpec( - allow_privilege_escalation = True, - allowed_csi_drivers = [ - kubernetes.client.models.extensions/v1beta1/allowed_csi_driver.extensions.v1beta1.AllowedCSIDriver( - name = '0', ) - ], - allowed_capabilities = [ - '0' - ], - allowed_flex_volumes = [ - kubernetes.client.models.extensions/v1beta1/allowed_flex_volume.extensions.v1beta1.AllowedFlexVolume( - driver = '0', ) - ], - allowed_host_paths = [ - kubernetes.client.models.extensions/v1beta1/allowed_host_path.extensions.v1beta1.AllowedHostPath( - path_prefix = '0', - read_only = True, ) - ], - allowed_proc_mount_types = [ - '0' - ], - allowed_unsafe_sysctls = [ - '0' - ], - default_add_capabilities = [ - '0' - ], - default_allow_privilege_escalation = True, - forbidden_sysctls = [ - '0' - ], - fs_group = kubernetes.client.models.extensions/v1beta1/fs_group_strategy_options.extensions.v1beta1.FSGroupStrategyOptions( - ranges = [ - kubernetes.client.models.extensions/v1beta1/id_range.extensions.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0', ), - host_ipc = True, - host_network = True, - host_pid = True, - host_ports = [ - kubernetes.client.models.extensions/v1beta1/host_port_range.extensions.v1beta1.HostPortRange( - max = 56, - min = 56, ) - ], - privileged = True, - read_only_root_filesystem = True, - required_drop_capabilities = [ - '0' - ], - run_as_group = kubernetes.client.models.extensions/v1beta1/run_as_group_strategy_options.extensions.v1beta1.RunAsGroupStrategyOptions( - rule = '0', ), - run_as_user = kubernetes.client.models.extensions/v1beta1/run_as_user_strategy_options.extensions.v1beta1.RunAsUserStrategyOptions( - rule = '0', ), - runtime_class = kubernetes.client.models.extensions/v1beta1/runtime_class_strategy_options.extensions.v1beta1.RuntimeClassStrategyOptions( - allowed_runtime_class_names = [ - '0' - ], - default_runtime_class_name = '0', ), - se_linux = kubernetes.client.models.extensions/v1beta1/se_linux_strategy_options.extensions.v1beta1.SELinuxStrategyOptions( - rule = '0', - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), ), - supplemental_groups = kubernetes.client.models.extensions/v1beta1/supplemental_groups_strategy_options.extensions.v1beta1.SupplementalGroupsStrategyOptions( - rule = '0', ), - volumes = [ - '0' - ], ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return ExtensionsV1beta1PodSecurityPolicyList( - items = [ - kubernetes.client.models.extensions/v1beta1/pod_security_policy.extensions.v1beta1.PodSecurityPolicy( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.extensions/v1beta1/pod_security_policy_spec.extensions.v1beta1.PodSecurityPolicySpec( - allow_privilege_escalation = True, - allowed_csi_drivers = [ - kubernetes.client.models.extensions/v1beta1/allowed_csi_driver.extensions.v1beta1.AllowedCSIDriver( - name = '0', ) - ], - allowed_capabilities = [ - '0' - ], - allowed_flex_volumes = [ - kubernetes.client.models.extensions/v1beta1/allowed_flex_volume.extensions.v1beta1.AllowedFlexVolume( - driver = '0', ) - ], - allowed_host_paths = [ - kubernetes.client.models.extensions/v1beta1/allowed_host_path.extensions.v1beta1.AllowedHostPath( - path_prefix = '0', - read_only = True, ) - ], - allowed_proc_mount_types = [ - '0' - ], - allowed_unsafe_sysctls = [ - '0' - ], - default_add_capabilities = [ - '0' - ], - default_allow_privilege_escalation = True, - forbidden_sysctls = [ - '0' - ], - fs_group = kubernetes.client.models.extensions/v1beta1/fs_group_strategy_options.extensions.v1beta1.FSGroupStrategyOptions( - ranges = [ - kubernetes.client.models.extensions/v1beta1/id_range.extensions.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0', ), - host_ipc = True, - host_network = True, - host_pid = True, - host_ports = [ - kubernetes.client.models.extensions/v1beta1/host_port_range.extensions.v1beta1.HostPortRange( - max = 56, - min = 56, ) - ], - privileged = True, - read_only_root_filesystem = True, - required_drop_capabilities = [ - '0' - ], - run_as_group = kubernetes.client.models.extensions/v1beta1/run_as_group_strategy_options.extensions.v1beta1.RunAsGroupStrategyOptions( - rule = '0', ), - run_as_user = kubernetes.client.models.extensions/v1beta1/run_as_user_strategy_options.extensions.v1beta1.RunAsUserStrategyOptions( - rule = '0', ), - runtime_class = kubernetes.client.models.extensions/v1beta1/runtime_class_strategy_options.extensions.v1beta1.RuntimeClassStrategyOptions( - allowed_runtime_class_names = [ - '0' - ], - default_runtime_class_name = '0', ), - se_linux = kubernetes.client.models.extensions/v1beta1/se_linux_strategy_options.extensions.v1beta1.SELinuxStrategyOptions( - rule = '0', - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), ), - supplemental_groups = kubernetes.client.models.extensions/v1beta1/supplemental_groups_strategy_options.extensions.v1beta1.SupplementalGroupsStrategyOptions( - rule = '0', ), - volumes = [ - '0' - ], ), ) - ], - ) - - def testExtensionsV1beta1PodSecurityPolicyList(self): - """Test ExtensionsV1beta1PodSecurityPolicyList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_pod_security_policy_spec.py b/kubernetes/test/test_extensions_v1beta1_pod_security_policy_spec.py deleted file mode 100644 index 3b41902fc8..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_pod_security_policy_spec.py +++ /dev/null @@ -1,165 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_pod_security_policy_spec import ExtensionsV1beta1PodSecurityPolicySpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1PodSecurityPolicySpec(unittest.TestCase): - """ExtensionsV1beta1PodSecurityPolicySpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1PodSecurityPolicySpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_pod_security_policy_spec.ExtensionsV1beta1PodSecurityPolicySpec() # noqa: E501 - if include_optional : - return ExtensionsV1beta1PodSecurityPolicySpec( - allow_privilege_escalation = True, - allowed_csi_drivers = [ - kubernetes.client.models.extensions/v1beta1/allowed_csi_driver.extensions.v1beta1.AllowedCSIDriver( - name = '0', ) - ], - allowed_capabilities = [ - '0' - ], - allowed_flex_volumes = [ - kubernetes.client.models.extensions/v1beta1/allowed_flex_volume.extensions.v1beta1.AllowedFlexVolume( - driver = '0', ) - ], - allowed_host_paths = [ - kubernetes.client.models.extensions/v1beta1/allowed_host_path.extensions.v1beta1.AllowedHostPath( - path_prefix = '0', - read_only = True, ) - ], - allowed_proc_mount_types = [ - '0' - ], - allowed_unsafe_sysctls = [ - '0' - ], - default_add_capabilities = [ - '0' - ], - default_allow_privilege_escalation = True, - forbidden_sysctls = [ - '0' - ], - fs_group = kubernetes.client.models.extensions/v1beta1/fs_group_strategy_options.extensions.v1beta1.FSGroupStrategyOptions( - ranges = [ - kubernetes.client.models.extensions/v1beta1/id_range.extensions.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0', ), - host_ipc = True, - host_network = True, - host_pid = True, - host_ports = [ - kubernetes.client.models.extensions/v1beta1/host_port_range.extensions.v1beta1.HostPortRange( - max = 56, - min = 56, ) - ], - privileged = True, - read_only_root_filesystem = True, - required_drop_capabilities = [ - '0' - ], - run_as_group = kubernetes.client.models.extensions/v1beta1/run_as_group_strategy_options.extensions.v1beta1.RunAsGroupStrategyOptions( - ranges = [ - kubernetes.client.models.extensions/v1beta1/id_range.extensions.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0', ), - run_as_user = kubernetes.client.models.extensions/v1beta1/run_as_user_strategy_options.extensions.v1beta1.RunAsUserStrategyOptions( - ranges = [ - kubernetes.client.models.extensions/v1beta1/id_range.extensions.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0', ), - runtime_class = kubernetes.client.models.extensions/v1beta1/runtime_class_strategy_options.extensions.v1beta1.RuntimeClassStrategyOptions( - allowed_runtime_class_names = [ - '0' - ], - default_runtime_class_name = '0', ), - se_linux = kubernetes.client.models.extensions/v1beta1/se_linux_strategy_options.extensions.v1beta1.SELinuxStrategyOptions( - rule = '0', - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), ), - supplemental_groups = kubernetes.client.models.extensions/v1beta1/supplemental_groups_strategy_options.extensions.v1beta1.SupplementalGroupsStrategyOptions( - ranges = [ - kubernetes.client.models.extensions/v1beta1/id_range.extensions.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0', ), - volumes = [ - '0' - ] - ) - else : - return ExtensionsV1beta1PodSecurityPolicySpec( - fs_group = kubernetes.client.models.extensions/v1beta1/fs_group_strategy_options.extensions.v1beta1.FSGroupStrategyOptions( - ranges = [ - kubernetes.client.models.extensions/v1beta1/id_range.extensions.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0', ), - run_as_user = kubernetes.client.models.extensions/v1beta1/run_as_user_strategy_options.extensions.v1beta1.RunAsUserStrategyOptions( - ranges = [ - kubernetes.client.models.extensions/v1beta1/id_range.extensions.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0', ), - se_linux = kubernetes.client.models.extensions/v1beta1/se_linux_strategy_options.extensions.v1beta1.SELinuxStrategyOptions( - rule = '0', - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), ), - supplemental_groups = kubernetes.client.models.extensions/v1beta1/supplemental_groups_strategy_options.extensions.v1beta1.SupplementalGroupsStrategyOptions( - ranges = [ - kubernetes.client.models.extensions/v1beta1/id_range.extensions.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0', ), - ) - - def testExtensionsV1beta1PodSecurityPolicySpec(self): - """Test ExtensionsV1beta1PodSecurityPolicySpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_rollback_config.py b/kubernetes/test/test_extensions_v1beta1_rollback_config.py deleted file mode 100644 index 99733c5d3f..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_rollback_config.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_rollback_config import ExtensionsV1beta1RollbackConfig # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1RollbackConfig(unittest.TestCase): - """ExtensionsV1beta1RollbackConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1RollbackConfig - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_rollback_config.ExtensionsV1beta1RollbackConfig() # noqa: E501 - if include_optional : - return ExtensionsV1beta1RollbackConfig( - revision = 56 - ) - else : - return ExtensionsV1beta1RollbackConfig( - ) - - def testExtensionsV1beta1RollbackConfig(self): - """Test ExtensionsV1beta1RollbackConfig""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_rolling_update_deployment.py b/kubernetes/test/test_extensions_v1beta1_rolling_update_deployment.py deleted file mode 100644 index b316d9882b..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_rolling_update_deployment.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_rolling_update_deployment import ExtensionsV1beta1RollingUpdateDeployment # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1RollingUpdateDeployment(unittest.TestCase): - """ExtensionsV1beta1RollingUpdateDeployment unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1RollingUpdateDeployment - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_rolling_update_deployment.ExtensionsV1beta1RollingUpdateDeployment() # noqa: E501 - if include_optional : - return ExtensionsV1beta1RollingUpdateDeployment( - max_surge = kubernetes.client.models.max_surge.maxSurge(), - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable() - ) - else : - return ExtensionsV1beta1RollingUpdateDeployment( - ) - - def testExtensionsV1beta1RollingUpdateDeployment(self): - """Test ExtensionsV1beta1RollingUpdateDeployment""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() 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 deleted file mode 100644 index 851b0f8928..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_run_as_group_strategy_options.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_run_as_group_strategy_options import ExtensionsV1beta1RunAsGroupStrategyOptions # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1RunAsGroupStrategyOptions(unittest.TestCase): - """ExtensionsV1beta1RunAsGroupStrategyOptions unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1RunAsGroupStrategyOptions - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_run_as_group_strategy_options.ExtensionsV1beta1RunAsGroupStrategyOptions() # noqa: E501 - if include_optional : - return ExtensionsV1beta1RunAsGroupStrategyOptions( - ranges = [ - kubernetes.client.models.extensions/v1beta1/id_range.extensions.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0' - ) - else : - return ExtensionsV1beta1RunAsGroupStrategyOptions( - rule = '0', - ) - - def testExtensionsV1beta1RunAsGroupStrategyOptions(self): - """Test ExtensionsV1beta1RunAsGroupStrategyOptions""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -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 deleted file mode 100644 index 7bd827486a..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_run_as_user_strategy_options.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_run_as_user_strategy_options import ExtensionsV1beta1RunAsUserStrategyOptions # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1RunAsUserStrategyOptions(unittest.TestCase): - """ExtensionsV1beta1RunAsUserStrategyOptions unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1RunAsUserStrategyOptions - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_run_as_user_strategy_options.ExtensionsV1beta1RunAsUserStrategyOptions() # noqa: E501 - if include_optional : - return ExtensionsV1beta1RunAsUserStrategyOptions( - ranges = [ - kubernetes.client.models.extensions/v1beta1/id_range.extensions.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0' - ) - else : - return ExtensionsV1beta1RunAsUserStrategyOptions( - rule = '0', - ) - - def testExtensionsV1beta1RunAsUserStrategyOptions(self): - """Test ExtensionsV1beta1RunAsUserStrategyOptions""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_runtime_class_strategy_options.py b/kubernetes/test/test_extensions_v1beta1_runtime_class_strategy_options.py deleted file mode 100644 index a202419d4d..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_runtime_class_strategy_options.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_runtime_class_strategy_options import ExtensionsV1beta1RuntimeClassStrategyOptions # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1RuntimeClassStrategyOptions(unittest.TestCase): - """ExtensionsV1beta1RuntimeClassStrategyOptions unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1RuntimeClassStrategyOptions - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_runtime_class_strategy_options.ExtensionsV1beta1RuntimeClassStrategyOptions() # noqa: E501 - if include_optional : - return ExtensionsV1beta1RuntimeClassStrategyOptions( - allowed_runtime_class_names = [ - '0' - ], - default_runtime_class_name = '0' - ) - else : - return ExtensionsV1beta1RuntimeClassStrategyOptions( - allowed_runtime_class_names = [ - '0' - ], - ) - - def testExtensionsV1beta1RuntimeClassStrategyOptions(self): - """Test ExtensionsV1beta1RuntimeClassStrategyOptions""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_scale.py b/kubernetes/test/test_extensions_v1beta1_scale.py deleted file mode 100644 index 3bfc05545b..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_scale.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_scale import ExtensionsV1beta1Scale # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1Scale(unittest.TestCase): - """ExtensionsV1beta1Scale unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1Scale - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_scale.ExtensionsV1beta1Scale() # noqa: E501 - if include_optional : - return ExtensionsV1beta1Scale( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.extensions/v1beta1/scale_spec.extensions.v1beta1.ScaleSpec( - replicas = 56, ), - status = kubernetes.client.models.extensions/v1beta1/scale_status.extensions.v1beta1.ScaleStatus( - replicas = 56, - selector = { - 'key' : '0' - }, - target_selector = '0', ) - ) - else : - return ExtensionsV1beta1Scale( - ) - - def testExtensionsV1beta1Scale(self): - """Test ExtensionsV1beta1Scale""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_scale_spec.py b/kubernetes/test/test_extensions_v1beta1_scale_spec.py deleted file mode 100644 index a24067616f..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_scale_spec.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_scale_spec import ExtensionsV1beta1ScaleSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1ScaleSpec(unittest.TestCase): - """ExtensionsV1beta1ScaleSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1ScaleSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_scale_spec.ExtensionsV1beta1ScaleSpec() # noqa: E501 - if include_optional : - return ExtensionsV1beta1ScaleSpec( - replicas = 56 - ) - else : - return ExtensionsV1beta1ScaleSpec( - ) - - def testExtensionsV1beta1ScaleSpec(self): - """Test ExtensionsV1beta1ScaleSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_scale_status.py b/kubernetes/test/test_extensions_v1beta1_scale_status.py deleted file mode 100644 index a3b23c82f2..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_scale_status.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_scale_status import ExtensionsV1beta1ScaleStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1ScaleStatus(unittest.TestCase): - """ExtensionsV1beta1ScaleStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1ScaleStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_scale_status.ExtensionsV1beta1ScaleStatus() # noqa: E501 - if include_optional : - return ExtensionsV1beta1ScaleStatus( - replicas = 56, - selector = { - 'key' : '0' - }, - target_selector = '0' - ) - else : - return ExtensionsV1beta1ScaleStatus( - replicas = 56, - ) - - def testExtensionsV1beta1ScaleStatus(self): - """Test ExtensionsV1beta1ScaleStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_se_linux_strategy_options.py b/kubernetes/test/test_extensions_v1beta1_se_linux_strategy_options.py deleted file mode 100644 index 01d9c9a174..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_se_linux_strategy_options.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_se_linux_strategy_options import ExtensionsV1beta1SELinuxStrategyOptions # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1SELinuxStrategyOptions(unittest.TestCase): - """ExtensionsV1beta1SELinuxStrategyOptions unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1SELinuxStrategyOptions - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_se_linux_strategy_options.ExtensionsV1beta1SELinuxStrategyOptions() # noqa: E501 - if include_optional : - return ExtensionsV1beta1SELinuxStrategyOptions( - rule = '0', - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ) - ) - else : - return ExtensionsV1beta1SELinuxStrategyOptions( - rule = '0', - ) - - def testExtensionsV1beta1SELinuxStrategyOptions(self): - """Test ExtensionsV1beta1SELinuxStrategyOptions""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_supplemental_groups_strategy_options.py b/kubernetes/test/test_extensions_v1beta1_supplemental_groups_strategy_options.py deleted file mode 100644 index 2238cad95d..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_supplemental_groups_strategy_options.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_supplemental_groups_strategy_options import ExtensionsV1beta1SupplementalGroupsStrategyOptions # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1SupplementalGroupsStrategyOptions(unittest.TestCase): - """ExtensionsV1beta1SupplementalGroupsStrategyOptions unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1SupplementalGroupsStrategyOptions - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_supplemental_groups_strategy_options.ExtensionsV1beta1SupplementalGroupsStrategyOptions() # noqa: E501 - if include_optional : - return ExtensionsV1beta1SupplementalGroupsStrategyOptions( - ranges = [ - kubernetes.client.models.extensions/v1beta1/id_range.extensions.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0' - ) - else : - return ExtensionsV1beta1SupplementalGroupsStrategyOptions( - ) - - def testExtensionsV1beta1SupplementalGroupsStrategyOptions(self): - """Test ExtensionsV1beta1SupplementalGroupsStrategyOptions""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_logs_api.py b/kubernetes/test/test_logs_api.py deleted file mode 100644 index e4fd0f724e..0000000000 --- a/kubernetes/test/test_logs_api.py +++ /dev/null @@ -1,45 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.logs_api import LogsApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestLogsApi(unittest.TestCase): - """LogsApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.logs_api.LogsApi() # noqa: E501 - - def tearDown(self): - pass - - def test_log_file_handler(self): - """Test case for log_file_handler - - """ - pass - - def test_log_file_list_handler(self): - """Test case for log_file_list_handler - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_networking_api.py b/kubernetes/test/test_networking_api.py deleted file mode 100644 index ee8a0dcbe6..0000000000 --- a/kubernetes/test/test_networking_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.networking_api import NetworkingApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestNetworkingApi(unittest.TestCase): - """NetworkingApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.networking_api.NetworkingApi() # noqa: E501 - - 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_networking_v1_api.py b/kubernetes/test/test_networking_v1_api.py deleted file mode 100644 index 11260746fc..0000000000 --- a/kubernetes/test/test_networking_v1_api.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.networking_v1_api import NetworkingV1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestNetworkingV1Api(unittest.TestCase): - """NetworkingV1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.networking_v1_api.NetworkingV1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_namespaced_network_policy(self): - """Test case for create_namespaced_network_policy - - """ - pass - - def test_delete_collection_namespaced_network_policy(self): - """Test case for delete_collection_namespaced_network_policy - - """ - pass - - def test_delete_namespaced_network_policy(self): - """Test case for delete_namespaced_network_policy - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_namespaced_network_policy(self): - """Test case for list_namespaced_network_policy - - """ - pass - - def test_list_network_policy_for_all_namespaces(self): - """Test case for list_network_policy_for_all_namespaces - - """ - pass - - def test_patch_namespaced_network_policy(self): - """Test case for patch_namespaced_network_policy - - """ - pass - - def test_read_namespaced_network_policy(self): - """Test case for read_namespaced_network_policy - - """ - pass - - def test_replace_namespaced_network_policy(self): - """Test case for replace_namespaced_network_policy - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_networking_v1beta1_api.py b/kubernetes/test/test_networking_v1beta1_api.py deleted file mode 100644 index 579842cc20..0000000000 --- a/kubernetes/test/test_networking_v1beta1_api.py +++ /dev/null @@ -1,105 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.networking_v1beta1_api import NetworkingV1beta1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestNetworkingV1beta1Api(unittest.TestCase): - """NetworkingV1beta1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.networking_v1beta1_api.NetworkingV1beta1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_namespaced_ingress(self): - """Test case for create_namespaced_ingress - - """ - pass - - def test_delete_collection_namespaced_ingress(self): - """Test case for delete_collection_namespaced_ingress - - """ - pass - - def test_delete_namespaced_ingress(self): - """Test case for delete_namespaced_ingress - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_ingress_for_all_namespaces(self): - """Test case for list_ingress_for_all_namespaces - - """ - pass - - def test_list_namespaced_ingress(self): - """Test case for list_namespaced_ingress - - """ - pass - - def test_patch_namespaced_ingress(self): - """Test case for patch_namespaced_ingress - - """ - pass - - def test_patch_namespaced_ingress_status(self): - """Test case for patch_namespaced_ingress_status - - """ - pass - - def test_read_namespaced_ingress(self): - """Test case for read_namespaced_ingress - - """ - pass - - def test_read_namespaced_ingress_status(self): - """Test case for read_namespaced_ingress_status - - """ - pass - - def test_replace_namespaced_ingress(self): - """Test case for replace_namespaced_ingress - - """ - pass - - def test_replace_namespaced_ingress_status(self): - """Test case for replace_namespaced_ingress_status - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_networking_v1beta1_http_ingress_path.py b/kubernetes/test/test_networking_v1beta1_http_ingress_path.py deleted file mode 100644 index a34d3e96a4..0000000000 --- a/kubernetes/test/test_networking_v1beta1_http_ingress_path.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.networking_v1beta1_http_ingress_path import NetworkingV1beta1HTTPIngressPath # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestNetworkingV1beta1HTTPIngressPath(unittest.TestCase): - """NetworkingV1beta1HTTPIngressPath unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test NetworkingV1beta1HTTPIngressPath - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.networking_v1beta1_http_ingress_path.NetworkingV1beta1HTTPIngressPath() # noqa: E501 - if include_optional : - return NetworkingV1beta1HTTPIngressPath( - backend = kubernetes.client.models.networking/v1beta1/ingress_backend.networking.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - path = '0' - ) - else : - return NetworkingV1beta1HTTPIngressPath( - backend = kubernetes.client.models.networking/v1beta1/ingress_backend.networking.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - ) - - def testNetworkingV1beta1HTTPIngressPath(self): - """Test NetworkingV1beta1HTTPIngressPath""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_networking_v1beta1_http_ingress_rule_value.py b/kubernetes/test/test_networking_v1beta1_http_ingress_rule_value.py deleted file mode 100644 index de3f024f37..0000000000 --- a/kubernetes/test/test_networking_v1beta1_http_ingress_rule_value.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.networking_v1beta1_http_ingress_rule_value import NetworkingV1beta1HTTPIngressRuleValue # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestNetworkingV1beta1HTTPIngressRuleValue(unittest.TestCase): - """NetworkingV1beta1HTTPIngressRuleValue unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test NetworkingV1beta1HTTPIngressRuleValue - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.networking_v1beta1_http_ingress_rule_value.NetworkingV1beta1HTTPIngressRuleValue() # noqa: E501 - if include_optional : - return NetworkingV1beta1HTTPIngressRuleValue( - paths = [ - kubernetes.client.models.networking/v1beta1/http_ingress_path.networking.v1beta1.HTTPIngressPath( - backend = kubernetes.client.models.networking/v1beta1/ingress_backend.networking.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - path = '0', ) - ] - ) - else : - return NetworkingV1beta1HTTPIngressRuleValue( - paths = [ - kubernetes.client.models.networking/v1beta1/http_ingress_path.networking.v1beta1.HTTPIngressPath( - backend = kubernetes.client.models.networking/v1beta1/ingress_backend.networking.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - path = '0', ) - ], - ) - - def testNetworkingV1beta1HTTPIngressRuleValue(self): - """Test NetworkingV1beta1HTTPIngressRuleValue""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_networking_v1beta1_ingress.py b/kubernetes/test/test_networking_v1beta1_ingress.py deleted file mode 100644 index df8bcad0fe..0000000000 --- a/kubernetes/test/test_networking_v1beta1_ingress.py +++ /dev/null @@ -1,122 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.networking_v1beta1_ingress import NetworkingV1beta1Ingress # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestNetworkingV1beta1Ingress(unittest.TestCase): - """NetworkingV1beta1Ingress unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test NetworkingV1beta1Ingress - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.networking_v1beta1_ingress.NetworkingV1beta1Ingress() # noqa: E501 - if include_optional : - return NetworkingV1beta1Ingress( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.networking/v1beta1/ingress_spec.networking.v1beta1.IngressSpec( - backend = kubernetes.client.models.networking/v1beta1/ingress_backend.networking.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - rules = [ - kubernetes.client.models.networking/v1beta1/ingress_rule.networking.v1beta1.IngressRule( - host = '0', - http = kubernetes.client.models.networking/v1beta1/http_ingress_rule_value.networking.v1beta1.HTTPIngressRuleValue( - paths = [ - kubernetes.client.models.networking/v1beta1/http_ingress_path.networking.v1beta1.HTTPIngressPath( - backend = kubernetes.client.models.networking/v1beta1/ingress_backend.networking.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - path = '0', ) - ], ), ) - ], - tls = [ - kubernetes.client.models.networking/v1beta1/ingress_tls.networking.v1beta1.IngressTLS( - hosts = [ - '0' - ], - secret_name = '0', ) - ], ), - status = kubernetes.client.models.networking/v1beta1/ingress_status.networking.v1beta1.IngressStatus( - load_balancer = kubernetes.client.models.v1/load_balancer_status.v1.LoadBalancerStatus( - ingress = [ - kubernetes.client.models.v1/load_balancer_ingress.v1.LoadBalancerIngress( - hostname = '0', - ip = '0', ) - ], ), ) - ) - else : - return NetworkingV1beta1Ingress( - ) - - def testNetworkingV1beta1Ingress(self): - """Test NetworkingV1beta1Ingress""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_networking_v1beta1_ingress_backend.py b/kubernetes/test/test_networking_v1beta1_ingress_backend.py deleted file mode 100644 index ec933cdf4c..0000000000 --- a/kubernetes/test/test_networking_v1beta1_ingress_backend.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.networking_v1beta1_ingress_backend import NetworkingV1beta1IngressBackend # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestNetworkingV1beta1IngressBackend(unittest.TestCase): - """NetworkingV1beta1IngressBackend unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test NetworkingV1beta1IngressBackend - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.networking_v1beta1_ingress_backend.NetworkingV1beta1IngressBackend() # noqa: E501 - if include_optional : - return NetworkingV1beta1IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort() - ) - else : - return NetworkingV1beta1IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), - ) - - def testNetworkingV1beta1IngressBackend(self): - """Test NetworkingV1beta1IngressBackend""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_networking_v1beta1_ingress_list.py b/kubernetes/test/test_networking_v1beta1_ingress_list.py deleted file mode 100644 index 0146f7e27e..0000000000 --- a/kubernetes/test/test_networking_v1beta1_ingress_list.py +++ /dev/null @@ -1,206 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.networking_v1beta1_ingress_list import NetworkingV1beta1IngressList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestNetworkingV1beta1IngressList(unittest.TestCase): - """NetworkingV1beta1IngressList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test NetworkingV1beta1IngressList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.networking_v1beta1_ingress_list.NetworkingV1beta1IngressList() # noqa: E501 - if include_optional : - return NetworkingV1beta1IngressList( - api_version = '0', - items = [ - kubernetes.client.models.networking/v1beta1/ingress.networking.v1beta1.Ingress( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.networking/v1beta1/ingress_spec.networking.v1beta1.IngressSpec( - backend = kubernetes.client.models.networking/v1beta1/ingress_backend.networking.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - rules = [ - kubernetes.client.models.networking/v1beta1/ingress_rule.networking.v1beta1.IngressRule( - host = '0', - http = kubernetes.client.models.networking/v1beta1/http_ingress_rule_value.networking.v1beta1.HTTPIngressRuleValue( - paths = [ - kubernetes.client.models.networking/v1beta1/http_ingress_path.networking.v1beta1.HTTPIngressPath( - backend = kubernetes.client.models.networking/v1beta1/ingress_backend.networking.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - path = '0', ) - ], ), ) - ], - tls = [ - kubernetes.client.models.networking/v1beta1/ingress_tls.networking.v1beta1.IngressTLS( - hosts = [ - '0' - ], - secret_name = '0', ) - ], ), - status = kubernetes.client.models.networking/v1beta1/ingress_status.networking.v1beta1.IngressStatus( - load_balancer = kubernetes.client.models.v1/load_balancer_status.v1.LoadBalancerStatus( - ingress = [ - kubernetes.client.models.v1/load_balancer_ingress.v1.LoadBalancerIngress( - hostname = '0', - ip = '0', ) - ], ), ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return NetworkingV1beta1IngressList( - items = [ - kubernetes.client.models.networking/v1beta1/ingress.networking.v1beta1.Ingress( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.networking/v1beta1/ingress_spec.networking.v1beta1.IngressSpec( - backend = kubernetes.client.models.networking/v1beta1/ingress_backend.networking.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - rules = [ - kubernetes.client.models.networking/v1beta1/ingress_rule.networking.v1beta1.IngressRule( - host = '0', - http = kubernetes.client.models.networking/v1beta1/http_ingress_rule_value.networking.v1beta1.HTTPIngressRuleValue( - paths = [ - kubernetes.client.models.networking/v1beta1/http_ingress_path.networking.v1beta1.HTTPIngressPath( - backend = kubernetes.client.models.networking/v1beta1/ingress_backend.networking.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - path = '0', ) - ], ), ) - ], - tls = [ - kubernetes.client.models.networking/v1beta1/ingress_tls.networking.v1beta1.IngressTLS( - hosts = [ - '0' - ], - secret_name = '0', ) - ], ), - status = kubernetes.client.models.networking/v1beta1/ingress_status.networking.v1beta1.IngressStatus( - load_balancer = kubernetes.client.models.v1/load_balancer_status.v1.LoadBalancerStatus( - ingress = [ - kubernetes.client.models.v1/load_balancer_ingress.v1.LoadBalancerIngress( - hostname = '0', - ip = '0', ) - ], ), ), ) - ], - ) - - def testNetworkingV1beta1IngressList(self): - """Test NetworkingV1beta1IngressList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_networking_v1beta1_ingress_rule.py b/kubernetes/test/test_networking_v1beta1_ingress_rule.py deleted file mode 100644 index c240ce208b..0000000000 --- a/kubernetes/test/test_networking_v1beta1_ingress_rule.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.networking_v1beta1_ingress_rule import NetworkingV1beta1IngressRule # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestNetworkingV1beta1IngressRule(unittest.TestCase): - """NetworkingV1beta1IngressRule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test NetworkingV1beta1IngressRule - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.networking_v1beta1_ingress_rule.NetworkingV1beta1IngressRule() # noqa: E501 - if include_optional : - return NetworkingV1beta1IngressRule( - host = '0', - http = kubernetes.client.models.networking/v1beta1/http_ingress_rule_value.networking.v1beta1.HTTPIngressRuleValue( - paths = [ - kubernetes.client.models.networking/v1beta1/http_ingress_path.networking.v1beta1.HTTPIngressPath( - backend = kubernetes.client.models.networking/v1beta1/ingress_backend.networking.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - path = '0', ) - ], ) - ) - else : - return NetworkingV1beta1IngressRule( - ) - - def testNetworkingV1beta1IngressRule(self): - """Test NetworkingV1beta1IngressRule""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_networking_v1beta1_ingress_spec.py b/kubernetes/test/test_networking_v1beta1_ingress_spec.py deleted file mode 100644 index 3787dd5d1a..0000000000 --- a/kubernetes/test/test_networking_v1beta1_ingress_spec.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.networking_v1beta1_ingress_spec import NetworkingV1beta1IngressSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestNetworkingV1beta1IngressSpec(unittest.TestCase): - """NetworkingV1beta1IngressSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test NetworkingV1beta1IngressSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.networking_v1beta1_ingress_spec.NetworkingV1beta1IngressSpec() # noqa: E501 - if include_optional : - return NetworkingV1beta1IngressSpec( - backend = kubernetes.client.models.networking/v1beta1/ingress_backend.networking.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - rules = [ - kubernetes.client.models.networking/v1beta1/ingress_rule.networking.v1beta1.IngressRule( - host = '0', - http = kubernetes.client.models.networking/v1beta1/http_ingress_rule_value.networking.v1beta1.HTTPIngressRuleValue( - paths = [ - kubernetes.client.models.networking/v1beta1/http_ingress_path.networking.v1beta1.HTTPIngressPath( - backend = kubernetes.client.models.networking/v1beta1/ingress_backend.networking.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - path = '0', ) - ], ), ) - ], - tls = [ - kubernetes.client.models.networking/v1beta1/ingress_tls.networking.v1beta1.IngressTLS( - hosts = [ - '0' - ], - secret_name = '0', ) - ] - ) - else : - return NetworkingV1beta1IngressSpec( - ) - - def testNetworkingV1beta1IngressSpec(self): - """Test NetworkingV1beta1IngressSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_networking_v1beta1_ingress_status.py b/kubernetes/test/test_networking_v1beta1_ingress_status.py deleted file mode 100644 index a87f2bcfb1..0000000000 --- a/kubernetes/test/test_networking_v1beta1_ingress_status.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.networking_v1beta1_ingress_status import NetworkingV1beta1IngressStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestNetworkingV1beta1IngressStatus(unittest.TestCase): - """NetworkingV1beta1IngressStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test NetworkingV1beta1IngressStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.networking_v1beta1_ingress_status.NetworkingV1beta1IngressStatus() # noqa: E501 - if include_optional : - return NetworkingV1beta1IngressStatus( - load_balancer = kubernetes.client.models.v1/load_balancer_status.v1.LoadBalancerStatus( - ingress = [ - kubernetes.client.models.v1/load_balancer_ingress.v1.LoadBalancerIngress( - hostname = '0', - ip = '0', ) - ], ) - ) - else : - return NetworkingV1beta1IngressStatus( - ) - - def testNetworkingV1beta1IngressStatus(self): - """Test NetworkingV1beta1IngressStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_networking_v1beta1_ingress_tls.py b/kubernetes/test/test_networking_v1beta1_ingress_tls.py deleted file mode 100644 index e82569cc50..0000000000 --- a/kubernetes/test/test_networking_v1beta1_ingress_tls.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.networking_v1beta1_ingress_tls import NetworkingV1beta1IngressTLS # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestNetworkingV1beta1IngressTLS(unittest.TestCase): - """NetworkingV1beta1IngressTLS unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test NetworkingV1beta1IngressTLS - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.networking_v1beta1_ingress_tls.NetworkingV1beta1IngressTLS() # noqa: E501 - if include_optional : - return NetworkingV1beta1IngressTLS( - hosts = [ - '0' - ], - secret_name = '0' - ) - else : - return NetworkingV1beta1IngressTLS( - ) - - def testNetworkingV1beta1IngressTLS(self): - """Test NetworkingV1beta1IngressTLS""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_node_api.py b/kubernetes/test/test_node_api.py deleted file mode 100644 index 5759fff435..0000000000 --- a/kubernetes/test/test_node_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.node_api import NodeApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestNodeApi(unittest.TestCase): - """NodeApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.node_api.NodeApi() # noqa: E501 - - 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_node_v1alpha1_api.py b/kubernetes/test/test_node_v1alpha1_api.py deleted file mode 100644 index 4abf107705..0000000000 --- a/kubernetes/test/test_node_v1alpha1_api.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.node_v1alpha1_api import NodeV1alpha1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestNodeV1alpha1Api(unittest.TestCase): - """NodeV1alpha1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.node_v1alpha1_api.NodeV1alpha1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_runtime_class(self): - """Test case for create_runtime_class - - """ - pass - - def test_delete_collection_runtime_class(self): - """Test case for delete_collection_runtime_class - - """ - pass - - def test_delete_runtime_class(self): - """Test case for delete_runtime_class - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_runtime_class(self): - """Test case for list_runtime_class - - """ - pass - - def test_patch_runtime_class(self): - """Test case for patch_runtime_class - - """ - pass - - def test_read_runtime_class(self): - """Test case for read_runtime_class - - """ - pass - - def test_replace_runtime_class(self): - """Test case for replace_runtime_class - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_node_v1beta1_api.py b/kubernetes/test/test_node_v1beta1_api.py deleted file mode 100644 index 40831814ad..0000000000 --- a/kubernetes/test/test_node_v1beta1_api.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.node_v1beta1_api import NodeV1beta1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestNodeV1beta1Api(unittest.TestCase): - """NodeV1beta1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.node_v1beta1_api.NodeV1beta1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_runtime_class(self): - """Test case for create_runtime_class - - """ - pass - - def test_delete_collection_runtime_class(self): - """Test case for delete_collection_runtime_class - - """ - pass - - def test_delete_runtime_class(self): - """Test case for delete_runtime_class - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_runtime_class(self): - """Test case for list_runtime_class - - """ - pass - - def test_patch_runtime_class(self): - """Test case for patch_runtime_class - - """ - pass - - def test_read_runtime_class(self): - """Test case for read_runtime_class - - """ - pass - - def test_replace_runtime_class(self): - """Test case for replace_runtime_class - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_policy_api.py b/kubernetes/test/test_policy_api.py deleted file mode 100644 index 223dbb566c..0000000000 --- a/kubernetes/test/test_policy_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.policy_api import PolicyApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestPolicyApi(unittest.TestCase): - """PolicyApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.policy_api.PolicyApi() # noqa: E501 - - 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_policy_v1beta1_allowed_csi_driver.py b/kubernetes/test/test_policy_v1beta1_allowed_csi_driver.py deleted file mode 100644 index 0309aac3d9..0000000000 --- a/kubernetes/test/test_policy_v1beta1_allowed_csi_driver.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.policy_v1beta1_allowed_csi_driver import PolicyV1beta1AllowedCSIDriver # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestPolicyV1beta1AllowedCSIDriver(unittest.TestCase): - """PolicyV1beta1AllowedCSIDriver unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test PolicyV1beta1AllowedCSIDriver - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.policy_v1beta1_allowed_csi_driver.PolicyV1beta1AllowedCSIDriver() # noqa: E501 - if include_optional : - return PolicyV1beta1AllowedCSIDriver( - name = '0' - ) - else : - return PolicyV1beta1AllowedCSIDriver( - name = '0', - ) - - def testPolicyV1beta1AllowedCSIDriver(self): - """Test PolicyV1beta1AllowedCSIDriver""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_policy_v1beta1_allowed_flex_volume.py b/kubernetes/test/test_policy_v1beta1_allowed_flex_volume.py deleted file mode 100644 index de84909a84..0000000000 --- a/kubernetes/test/test_policy_v1beta1_allowed_flex_volume.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.policy_v1beta1_allowed_flex_volume import PolicyV1beta1AllowedFlexVolume # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestPolicyV1beta1AllowedFlexVolume(unittest.TestCase): - """PolicyV1beta1AllowedFlexVolume unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test PolicyV1beta1AllowedFlexVolume - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.policy_v1beta1_allowed_flex_volume.PolicyV1beta1AllowedFlexVolume() # noqa: E501 - if include_optional : - return PolicyV1beta1AllowedFlexVolume( - driver = '0' - ) - else : - return PolicyV1beta1AllowedFlexVolume( - driver = '0', - ) - - def testPolicyV1beta1AllowedFlexVolume(self): - """Test PolicyV1beta1AllowedFlexVolume""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_policy_v1beta1_allowed_host_path.py b/kubernetes/test/test_policy_v1beta1_allowed_host_path.py deleted file mode 100644 index 4c6aa05c3b..0000000000 --- a/kubernetes/test/test_policy_v1beta1_allowed_host_path.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.policy_v1beta1_allowed_host_path import PolicyV1beta1AllowedHostPath # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestPolicyV1beta1AllowedHostPath(unittest.TestCase): - """PolicyV1beta1AllowedHostPath unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test PolicyV1beta1AllowedHostPath - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.policy_v1beta1_allowed_host_path.PolicyV1beta1AllowedHostPath() # noqa: E501 - if include_optional : - return PolicyV1beta1AllowedHostPath( - path_prefix = '0', - read_only = True - ) - else : - return PolicyV1beta1AllowedHostPath( - ) - - def testPolicyV1beta1AllowedHostPath(self): - """Test PolicyV1beta1AllowedHostPath""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_policy_v1beta1_api.py b/kubernetes/test/test_policy_v1beta1_api.py deleted file mode 100644 index e8b5241409..0000000000 --- a/kubernetes/test/test_policy_v1beta1_api.py +++ /dev/null @@ -1,147 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.policy_v1beta1_api import PolicyV1beta1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestPolicyV1beta1Api(unittest.TestCase): - """PolicyV1beta1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.policy_v1beta1_api.PolicyV1beta1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_namespaced_pod_disruption_budget(self): - """Test case for create_namespaced_pod_disruption_budget - - """ - pass - - def test_create_pod_security_policy(self): - """Test case for create_pod_security_policy - - """ - pass - - def test_delete_collection_namespaced_pod_disruption_budget(self): - """Test case for delete_collection_namespaced_pod_disruption_budget - - """ - pass - - def test_delete_collection_pod_security_policy(self): - """Test case for delete_collection_pod_security_policy - - """ - pass - - def test_delete_namespaced_pod_disruption_budget(self): - """Test case for delete_namespaced_pod_disruption_budget - - """ - pass - - def test_delete_pod_security_policy(self): - """Test case for delete_pod_security_policy - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_namespaced_pod_disruption_budget(self): - """Test case for list_namespaced_pod_disruption_budget - - """ - pass - - def test_list_pod_disruption_budget_for_all_namespaces(self): - """Test case for list_pod_disruption_budget_for_all_namespaces - - """ - pass - - def test_list_pod_security_policy(self): - """Test case for list_pod_security_policy - - """ - pass - - def test_patch_namespaced_pod_disruption_budget(self): - """Test case for patch_namespaced_pod_disruption_budget - - """ - pass - - def test_patch_namespaced_pod_disruption_budget_status(self): - """Test case for patch_namespaced_pod_disruption_budget_status - - """ - pass - - def test_patch_pod_security_policy(self): - """Test case for patch_pod_security_policy - - """ - pass - - def test_read_namespaced_pod_disruption_budget(self): - """Test case for read_namespaced_pod_disruption_budget - - """ - pass - - def test_read_namespaced_pod_disruption_budget_status(self): - """Test case for read_namespaced_pod_disruption_budget_status - - """ - pass - - def test_read_pod_security_policy(self): - """Test case for read_pod_security_policy - - """ - pass - - def test_replace_namespaced_pod_disruption_budget(self): - """Test case for replace_namespaced_pod_disruption_budget - - """ - pass - - def test_replace_namespaced_pod_disruption_budget_status(self): - """Test case for replace_namespaced_pod_disruption_budget_status - - """ - pass - - def test_replace_pod_security_policy(self): - """Test case for replace_pod_security_policy - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_policy_v1beta1_fs_group_strategy_options.py b/kubernetes/test/test_policy_v1beta1_fs_group_strategy_options.py deleted file mode 100644 index 0477703641..0000000000 --- a/kubernetes/test/test_policy_v1beta1_fs_group_strategy_options.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.policy_v1beta1_fs_group_strategy_options import PolicyV1beta1FSGroupStrategyOptions # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestPolicyV1beta1FSGroupStrategyOptions(unittest.TestCase): - """PolicyV1beta1FSGroupStrategyOptions unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test PolicyV1beta1FSGroupStrategyOptions - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.policy_v1beta1_fs_group_strategy_options.PolicyV1beta1FSGroupStrategyOptions() # noqa: E501 - if include_optional : - return PolicyV1beta1FSGroupStrategyOptions( - ranges = [ - kubernetes.client.models.policy/v1beta1/id_range.policy.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0' - ) - else : - return PolicyV1beta1FSGroupStrategyOptions( - ) - - def testPolicyV1beta1FSGroupStrategyOptions(self): - """Test PolicyV1beta1FSGroupStrategyOptions""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_policy_v1beta1_host_port_range.py b/kubernetes/test/test_policy_v1beta1_host_port_range.py deleted file mode 100644 index 13f2c02258..0000000000 --- a/kubernetes/test/test_policy_v1beta1_host_port_range.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.policy_v1beta1_host_port_range import PolicyV1beta1HostPortRange # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestPolicyV1beta1HostPortRange(unittest.TestCase): - """PolicyV1beta1HostPortRange unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test PolicyV1beta1HostPortRange - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.policy_v1beta1_host_port_range.PolicyV1beta1HostPortRange() # noqa: E501 - if include_optional : - return PolicyV1beta1HostPortRange( - max = 56, - min = 56 - ) - else : - return PolicyV1beta1HostPortRange( - max = 56, - min = 56, - ) - - def testPolicyV1beta1HostPortRange(self): - """Test PolicyV1beta1HostPortRange""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_policy_v1beta1_id_range.py b/kubernetes/test/test_policy_v1beta1_id_range.py deleted file mode 100644 index f58c46ee04..0000000000 --- a/kubernetes/test/test_policy_v1beta1_id_range.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.policy_v1beta1_id_range import PolicyV1beta1IDRange # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestPolicyV1beta1IDRange(unittest.TestCase): - """PolicyV1beta1IDRange unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test PolicyV1beta1IDRange - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.policy_v1beta1_id_range.PolicyV1beta1IDRange() # noqa: E501 - if include_optional : - return PolicyV1beta1IDRange( - max = 56, - min = 56 - ) - else : - return PolicyV1beta1IDRange( - max = 56, - min = 56, - ) - - def testPolicyV1beta1IDRange(self): - """Test PolicyV1beta1IDRange""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_policy_v1beta1_pod_security_policy.py b/kubernetes/test/test_policy_v1beta1_pod_security_policy.py deleted file mode 100644 index fe6170532a..0000000000 --- a/kubernetes/test/test_policy_v1beta1_pod_security_policy.py +++ /dev/null @@ -1,164 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.policy_v1beta1_pod_security_policy import PolicyV1beta1PodSecurityPolicy # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestPolicyV1beta1PodSecurityPolicy(unittest.TestCase): - """PolicyV1beta1PodSecurityPolicy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test PolicyV1beta1PodSecurityPolicy - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.policy_v1beta1_pod_security_policy.PolicyV1beta1PodSecurityPolicy() # noqa: E501 - if include_optional : - return PolicyV1beta1PodSecurityPolicy( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.policy/v1beta1/pod_security_policy_spec.policy.v1beta1.PodSecurityPolicySpec( - allow_privilege_escalation = True, - allowed_csi_drivers = [ - kubernetes.client.models.policy/v1beta1/allowed_csi_driver.policy.v1beta1.AllowedCSIDriver( - name = '0', ) - ], - allowed_capabilities = [ - '0' - ], - allowed_flex_volumes = [ - kubernetes.client.models.policy/v1beta1/allowed_flex_volume.policy.v1beta1.AllowedFlexVolume( - driver = '0', ) - ], - allowed_host_paths = [ - kubernetes.client.models.policy/v1beta1/allowed_host_path.policy.v1beta1.AllowedHostPath( - path_prefix = '0', - read_only = True, ) - ], - allowed_proc_mount_types = [ - '0' - ], - allowed_unsafe_sysctls = [ - '0' - ], - default_add_capabilities = [ - '0' - ], - default_allow_privilege_escalation = True, - forbidden_sysctls = [ - '0' - ], - fs_group = kubernetes.client.models.policy/v1beta1/fs_group_strategy_options.policy.v1beta1.FSGroupStrategyOptions( - ranges = [ - kubernetes.client.models.policy/v1beta1/id_range.policy.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0', ), - host_ipc = True, - host_network = True, - host_pid = True, - host_ports = [ - kubernetes.client.models.policy/v1beta1/host_port_range.policy.v1beta1.HostPortRange( - max = 56, - min = 56, ) - ], - privileged = True, - read_only_root_filesystem = True, - required_drop_capabilities = [ - '0' - ], - run_as_group = kubernetes.client.models.policy/v1beta1/run_as_group_strategy_options.policy.v1beta1.RunAsGroupStrategyOptions( - rule = '0', ), - run_as_user = kubernetes.client.models.policy/v1beta1/run_as_user_strategy_options.policy.v1beta1.RunAsUserStrategyOptions( - rule = '0', ), - runtime_class = kubernetes.client.models.policy/v1beta1/runtime_class_strategy_options.policy.v1beta1.RuntimeClassStrategyOptions( - allowed_runtime_class_names = [ - '0' - ], - default_runtime_class_name = '0', ), - se_linux = kubernetes.client.models.policy/v1beta1/se_linux_strategy_options.policy.v1beta1.SELinuxStrategyOptions( - rule = '0', - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), ), - supplemental_groups = kubernetes.client.models.policy/v1beta1/supplemental_groups_strategy_options.policy.v1beta1.SupplementalGroupsStrategyOptions( - rule = '0', ), - volumes = [ - '0' - ], ) - ) - else : - return PolicyV1beta1PodSecurityPolicy( - ) - - def testPolicyV1beta1PodSecurityPolicy(self): - """Test PolicyV1beta1PodSecurityPolicy""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_policy_v1beta1_pod_security_policy_list.py b/kubernetes/test/test_policy_v1beta1_pod_security_policy_list.py deleted file mode 100644 index b948367290..0000000000 --- a/kubernetes/test/test_policy_v1beta1_pod_security_policy_list.py +++ /dev/null @@ -1,290 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.policy_v1beta1_pod_security_policy_list import PolicyV1beta1PodSecurityPolicyList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestPolicyV1beta1PodSecurityPolicyList(unittest.TestCase): - """PolicyV1beta1PodSecurityPolicyList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test PolicyV1beta1PodSecurityPolicyList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.policy_v1beta1_pod_security_policy_list.PolicyV1beta1PodSecurityPolicyList() # noqa: E501 - if include_optional : - return PolicyV1beta1PodSecurityPolicyList( - api_version = '0', - items = [ - kubernetes.client.models.policy/v1beta1/pod_security_policy.policy.v1beta1.PodSecurityPolicy( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.policy/v1beta1/pod_security_policy_spec.policy.v1beta1.PodSecurityPolicySpec( - allow_privilege_escalation = True, - allowed_csi_drivers = [ - kubernetes.client.models.policy/v1beta1/allowed_csi_driver.policy.v1beta1.AllowedCSIDriver( - name = '0', ) - ], - allowed_capabilities = [ - '0' - ], - allowed_flex_volumes = [ - kubernetes.client.models.policy/v1beta1/allowed_flex_volume.policy.v1beta1.AllowedFlexVolume( - driver = '0', ) - ], - allowed_host_paths = [ - kubernetes.client.models.policy/v1beta1/allowed_host_path.policy.v1beta1.AllowedHostPath( - path_prefix = '0', - read_only = True, ) - ], - allowed_proc_mount_types = [ - '0' - ], - allowed_unsafe_sysctls = [ - '0' - ], - default_add_capabilities = [ - '0' - ], - default_allow_privilege_escalation = True, - forbidden_sysctls = [ - '0' - ], - fs_group = kubernetes.client.models.policy/v1beta1/fs_group_strategy_options.policy.v1beta1.FSGroupStrategyOptions( - ranges = [ - kubernetes.client.models.policy/v1beta1/id_range.policy.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0', ), - host_ipc = True, - host_network = True, - host_pid = True, - host_ports = [ - kubernetes.client.models.policy/v1beta1/host_port_range.policy.v1beta1.HostPortRange( - max = 56, - min = 56, ) - ], - privileged = True, - read_only_root_filesystem = True, - required_drop_capabilities = [ - '0' - ], - run_as_group = kubernetes.client.models.policy/v1beta1/run_as_group_strategy_options.policy.v1beta1.RunAsGroupStrategyOptions( - rule = '0', ), - run_as_user = kubernetes.client.models.policy/v1beta1/run_as_user_strategy_options.policy.v1beta1.RunAsUserStrategyOptions( - rule = '0', ), - runtime_class = kubernetes.client.models.policy/v1beta1/runtime_class_strategy_options.policy.v1beta1.RuntimeClassStrategyOptions( - allowed_runtime_class_names = [ - '0' - ], - default_runtime_class_name = '0', ), - se_linux = kubernetes.client.models.policy/v1beta1/se_linux_strategy_options.policy.v1beta1.SELinuxStrategyOptions( - rule = '0', - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), ), - supplemental_groups = kubernetes.client.models.policy/v1beta1/supplemental_groups_strategy_options.policy.v1beta1.SupplementalGroupsStrategyOptions( - rule = '0', ), - volumes = [ - '0' - ], ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return PolicyV1beta1PodSecurityPolicyList( - items = [ - kubernetes.client.models.policy/v1beta1/pod_security_policy.policy.v1beta1.PodSecurityPolicy( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.policy/v1beta1/pod_security_policy_spec.policy.v1beta1.PodSecurityPolicySpec( - allow_privilege_escalation = True, - allowed_csi_drivers = [ - kubernetes.client.models.policy/v1beta1/allowed_csi_driver.policy.v1beta1.AllowedCSIDriver( - name = '0', ) - ], - allowed_capabilities = [ - '0' - ], - allowed_flex_volumes = [ - kubernetes.client.models.policy/v1beta1/allowed_flex_volume.policy.v1beta1.AllowedFlexVolume( - driver = '0', ) - ], - allowed_host_paths = [ - kubernetes.client.models.policy/v1beta1/allowed_host_path.policy.v1beta1.AllowedHostPath( - path_prefix = '0', - read_only = True, ) - ], - allowed_proc_mount_types = [ - '0' - ], - allowed_unsafe_sysctls = [ - '0' - ], - default_add_capabilities = [ - '0' - ], - default_allow_privilege_escalation = True, - forbidden_sysctls = [ - '0' - ], - fs_group = kubernetes.client.models.policy/v1beta1/fs_group_strategy_options.policy.v1beta1.FSGroupStrategyOptions( - ranges = [ - kubernetes.client.models.policy/v1beta1/id_range.policy.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0', ), - host_ipc = True, - host_network = True, - host_pid = True, - host_ports = [ - kubernetes.client.models.policy/v1beta1/host_port_range.policy.v1beta1.HostPortRange( - max = 56, - min = 56, ) - ], - privileged = True, - read_only_root_filesystem = True, - required_drop_capabilities = [ - '0' - ], - run_as_group = kubernetes.client.models.policy/v1beta1/run_as_group_strategy_options.policy.v1beta1.RunAsGroupStrategyOptions( - rule = '0', ), - run_as_user = kubernetes.client.models.policy/v1beta1/run_as_user_strategy_options.policy.v1beta1.RunAsUserStrategyOptions( - rule = '0', ), - runtime_class = kubernetes.client.models.policy/v1beta1/runtime_class_strategy_options.policy.v1beta1.RuntimeClassStrategyOptions( - allowed_runtime_class_names = [ - '0' - ], - default_runtime_class_name = '0', ), - se_linux = kubernetes.client.models.policy/v1beta1/se_linux_strategy_options.policy.v1beta1.SELinuxStrategyOptions( - rule = '0', - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), ), - supplemental_groups = kubernetes.client.models.policy/v1beta1/supplemental_groups_strategy_options.policy.v1beta1.SupplementalGroupsStrategyOptions( - rule = '0', ), - volumes = [ - '0' - ], ), ) - ], - ) - - def testPolicyV1beta1PodSecurityPolicyList(self): - """Test PolicyV1beta1PodSecurityPolicyList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_policy_v1beta1_pod_security_policy_spec.py b/kubernetes/test/test_policy_v1beta1_pod_security_policy_spec.py deleted file mode 100644 index 81848d157c..0000000000 --- a/kubernetes/test/test_policy_v1beta1_pod_security_policy_spec.py +++ /dev/null @@ -1,165 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.policy_v1beta1_pod_security_policy_spec import PolicyV1beta1PodSecurityPolicySpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestPolicyV1beta1PodSecurityPolicySpec(unittest.TestCase): - """PolicyV1beta1PodSecurityPolicySpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test PolicyV1beta1PodSecurityPolicySpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.policy_v1beta1_pod_security_policy_spec.PolicyV1beta1PodSecurityPolicySpec() # noqa: E501 - if include_optional : - return PolicyV1beta1PodSecurityPolicySpec( - allow_privilege_escalation = True, - allowed_csi_drivers = [ - kubernetes.client.models.policy/v1beta1/allowed_csi_driver.policy.v1beta1.AllowedCSIDriver( - name = '0', ) - ], - allowed_capabilities = [ - '0' - ], - allowed_flex_volumes = [ - kubernetes.client.models.policy/v1beta1/allowed_flex_volume.policy.v1beta1.AllowedFlexVolume( - driver = '0', ) - ], - allowed_host_paths = [ - kubernetes.client.models.policy/v1beta1/allowed_host_path.policy.v1beta1.AllowedHostPath( - path_prefix = '0', - read_only = True, ) - ], - allowed_proc_mount_types = [ - '0' - ], - allowed_unsafe_sysctls = [ - '0' - ], - default_add_capabilities = [ - '0' - ], - default_allow_privilege_escalation = True, - forbidden_sysctls = [ - '0' - ], - fs_group = kubernetes.client.models.policy/v1beta1/fs_group_strategy_options.policy.v1beta1.FSGroupStrategyOptions( - ranges = [ - kubernetes.client.models.policy/v1beta1/id_range.policy.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0', ), - host_ipc = True, - host_network = True, - host_pid = True, - host_ports = [ - kubernetes.client.models.policy/v1beta1/host_port_range.policy.v1beta1.HostPortRange( - max = 56, - min = 56, ) - ], - privileged = True, - read_only_root_filesystem = True, - required_drop_capabilities = [ - '0' - ], - run_as_group = kubernetes.client.models.policy/v1beta1/run_as_group_strategy_options.policy.v1beta1.RunAsGroupStrategyOptions( - ranges = [ - kubernetes.client.models.policy/v1beta1/id_range.policy.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0', ), - run_as_user = kubernetes.client.models.policy/v1beta1/run_as_user_strategy_options.policy.v1beta1.RunAsUserStrategyOptions( - ranges = [ - kubernetes.client.models.policy/v1beta1/id_range.policy.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0', ), - runtime_class = kubernetes.client.models.policy/v1beta1/runtime_class_strategy_options.policy.v1beta1.RuntimeClassStrategyOptions( - allowed_runtime_class_names = [ - '0' - ], - default_runtime_class_name = '0', ), - se_linux = kubernetes.client.models.policy/v1beta1/se_linux_strategy_options.policy.v1beta1.SELinuxStrategyOptions( - rule = '0', - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), ), - supplemental_groups = kubernetes.client.models.policy/v1beta1/supplemental_groups_strategy_options.policy.v1beta1.SupplementalGroupsStrategyOptions( - ranges = [ - kubernetes.client.models.policy/v1beta1/id_range.policy.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0', ), - volumes = [ - '0' - ] - ) - else : - return PolicyV1beta1PodSecurityPolicySpec( - fs_group = kubernetes.client.models.policy/v1beta1/fs_group_strategy_options.policy.v1beta1.FSGroupStrategyOptions( - ranges = [ - kubernetes.client.models.policy/v1beta1/id_range.policy.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0', ), - run_as_user = kubernetes.client.models.policy/v1beta1/run_as_user_strategy_options.policy.v1beta1.RunAsUserStrategyOptions( - ranges = [ - kubernetes.client.models.policy/v1beta1/id_range.policy.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0', ), - se_linux = kubernetes.client.models.policy/v1beta1/se_linux_strategy_options.policy.v1beta1.SELinuxStrategyOptions( - rule = '0', - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), ), - supplemental_groups = kubernetes.client.models.policy/v1beta1/supplemental_groups_strategy_options.policy.v1beta1.SupplementalGroupsStrategyOptions( - ranges = [ - kubernetes.client.models.policy/v1beta1/id_range.policy.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0', ), - ) - - def testPolicyV1beta1PodSecurityPolicySpec(self): - """Test PolicyV1beta1PodSecurityPolicySpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() 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 deleted file mode 100644 index 359bf57e74..0000000000 --- a/kubernetes/test/test_policy_v1beta1_run_as_group_strategy_options.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.policy_v1beta1_run_as_group_strategy_options import PolicyV1beta1RunAsGroupStrategyOptions # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestPolicyV1beta1RunAsGroupStrategyOptions(unittest.TestCase): - """PolicyV1beta1RunAsGroupStrategyOptions unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test PolicyV1beta1RunAsGroupStrategyOptions - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.policy_v1beta1_run_as_group_strategy_options.PolicyV1beta1RunAsGroupStrategyOptions() # noqa: E501 - if include_optional : - return PolicyV1beta1RunAsGroupStrategyOptions( - ranges = [ - kubernetes.client.models.policy/v1beta1/id_range.policy.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0' - ) - else : - return PolicyV1beta1RunAsGroupStrategyOptions( - rule = '0', - ) - - def testPolicyV1beta1RunAsGroupStrategyOptions(self): - """Test PolicyV1beta1RunAsGroupStrategyOptions""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -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 deleted file mode 100644 index a804c18232..0000000000 --- a/kubernetes/test/test_policy_v1beta1_run_as_user_strategy_options.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.policy_v1beta1_run_as_user_strategy_options import PolicyV1beta1RunAsUserStrategyOptions # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestPolicyV1beta1RunAsUserStrategyOptions(unittest.TestCase): - """PolicyV1beta1RunAsUserStrategyOptions unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test PolicyV1beta1RunAsUserStrategyOptions - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.policy_v1beta1_run_as_user_strategy_options.PolicyV1beta1RunAsUserStrategyOptions() # noqa: E501 - if include_optional : - return PolicyV1beta1RunAsUserStrategyOptions( - ranges = [ - kubernetes.client.models.policy/v1beta1/id_range.policy.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0' - ) - else : - return PolicyV1beta1RunAsUserStrategyOptions( - rule = '0', - ) - - def testPolicyV1beta1RunAsUserStrategyOptions(self): - """Test PolicyV1beta1RunAsUserStrategyOptions""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_policy_v1beta1_runtime_class_strategy_options.py b/kubernetes/test/test_policy_v1beta1_runtime_class_strategy_options.py deleted file mode 100644 index 9443a1a1f0..0000000000 --- a/kubernetes/test/test_policy_v1beta1_runtime_class_strategy_options.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.policy_v1beta1_runtime_class_strategy_options import PolicyV1beta1RuntimeClassStrategyOptions # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestPolicyV1beta1RuntimeClassStrategyOptions(unittest.TestCase): - """PolicyV1beta1RuntimeClassStrategyOptions unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test PolicyV1beta1RuntimeClassStrategyOptions - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.policy_v1beta1_runtime_class_strategy_options.PolicyV1beta1RuntimeClassStrategyOptions() # noqa: E501 - if include_optional : - return PolicyV1beta1RuntimeClassStrategyOptions( - allowed_runtime_class_names = [ - '0' - ], - default_runtime_class_name = '0' - ) - else : - return PolicyV1beta1RuntimeClassStrategyOptions( - allowed_runtime_class_names = [ - '0' - ], - ) - - def testPolicyV1beta1RuntimeClassStrategyOptions(self): - """Test PolicyV1beta1RuntimeClassStrategyOptions""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_policy_v1beta1_se_linux_strategy_options.py b/kubernetes/test/test_policy_v1beta1_se_linux_strategy_options.py deleted file mode 100644 index 4944fcbd5f..0000000000 --- a/kubernetes/test/test_policy_v1beta1_se_linux_strategy_options.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.policy_v1beta1_se_linux_strategy_options import PolicyV1beta1SELinuxStrategyOptions # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestPolicyV1beta1SELinuxStrategyOptions(unittest.TestCase): - """PolicyV1beta1SELinuxStrategyOptions unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test PolicyV1beta1SELinuxStrategyOptions - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.policy_v1beta1_se_linux_strategy_options.PolicyV1beta1SELinuxStrategyOptions() # noqa: E501 - if include_optional : - return PolicyV1beta1SELinuxStrategyOptions( - rule = '0', - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ) - ) - else : - return PolicyV1beta1SELinuxStrategyOptions( - rule = '0', - ) - - def testPolicyV1beta1SELinuxStrategyOptions(self): - """Test PolicyV1beta1SELinuxStrategyOptions""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_policy_v1beta1_supplemental_groups_strategy_options.py b/kubernetes/test/test_policy_v1beta1_supplemental_groups_strategy_options.py deleted file mode 100644 index 0811c2f021..0000000000 --- a/kubernetes/test/test_policy_v1beta1_supplemental_groups_strategy_options.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.policy_v1beta1_supplemental_groups_strategy_options import PolicyV1beta1SupplementalGroupsStrategyOptions # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestPolicyV1beta1SupplementalGroupsStrategyOptions(unittest.TestCase): - """PolicyV1beta1SupplementalGroupsStrategyOptions unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test PolicyV1beta1SupplementalGroupsStrategyOptions - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.policy_v1beta1_supplemental_groups_strategy_options.PolicyV1beta1SupplementalGroupsStrategyOptions() # noqa: E501 - if include_optional : - return PolicyV1beta1SupplementalGroupsStrategyOptions( - ranges = [ - kubernetes.client.models.policy/v1beta1/id_range.policy.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0' - ) - else : - return PolicyV1beta1SupplementalGroupsStrategyOptions( - ) - - def testPolicyV1beta1SupplementalGroupsStrategyOptions(self): - """Test PolicyV1beta1SupplementalGroupsStrategyOptions""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_rbac_authorization_api.py b/kubernetes/test/test_rbac_authorization_api.py deleted file mode 100644 index e3669070b5..0000000000 --- a/kubernetes/test/test_rbac_authorization_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.rbac_authorization_api import RbacAuthorizationApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestRbacAuthorizationApi(unittest.TestCase): - """RbacAuthorizationApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.rbac_authorization_api.RbacAuthorizationApi() # noqa: E501 - - 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_rbac_authorization_v1_api.py b/kubernetes/test/test_rbac_authorization_v1_api.py deleted file mode 100644 index 3ec7b33872..0000000000 --- a/kubernetes/test/test_rbac_authorization_v1_api.py +++ /dev/null @@ -1,219 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.rbac_authorization_v1_api import RbacAuthorizationV1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestRbacAuthorizationV1Api(unittest.TestCase): - """RbacAuthorizationV1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.rbac_authorization_v1_api.RbacAuthorizationV1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_cluster_role(self): - """Test case for create_cluster_role - - """ - pass - - def test_create_cluster_role_binding(self): - """Test case for create_cluster_role_binding - - """ - pass - - def test_create_namespaced_role(self): - """Test case for create_namespaced_role - - """ - pass - - def test_create_namespaced_role_binding(self): - """Test case for create_namespaced_role_binding - - """ - pass - - def test_delete_cluster_role(self): - """Test case for delete_cluster_role - - """ - pass - - def test_delete_cluster_role_binding(self): - """Test case for delete_cluster_role_binding - - """ - pass - - def test_delete_collection_cluster_role(self): - """Test case for delete_collection_cluster_role - - """ - pass - - def test_delete_collection_cluster_role_binding(self): - """Test case for delete_collection_cluster_role_binding - - """ - pass - - def test_delete_collection_namespaced_role(self): - """Test case for delete_collection_namespaced_role - - """ - pass - - def test_delete_collection_namespaced_role_binding(self): - """Test case for delete_collection_namespaced_role_binding - - """ - pass - - def test_delete_namespaced_role(self): - """Test case for delete_namespaced_role - - """ - pass - - def test_delete_namespaced_role_binding(self): - """Test case for delete_namespaced_role_binding - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_cluster_role(self): - """Test case for list_cluster_role - - """ - pass - - def test_list_cluster_role_binding(self): - """Test case for list_cluster_role_binding - - """ - pass - - def test_list_namespaced_role(self): - """Test case for list_namespaced_role - - """ - pass - - def test_list_namespaced_role_binding(self): - """Test case for list_namespaced_role_binding - - """ - pass - - def test_list_role_binding_for_all_namespaces(self): - """Test case for list_role_binding_for_all_namespaces - - """ - pass - - def test_list_role_for_all_namespaces(self): - """Test case for list_role_for_all_namespaces - - """ - pass - - def test_patch_cluster_role(self): - """Test case for patch_cluster_role - - """ - pass - - def test_patch_cluster_role_binding(self): - """Test case for patch_cluster_role_binding - - """ - pass - - def test_patch_namespaced_role(self): - """Test case for patch_namespaced_role - - """ - pass - - def test_patch_namespaced_role_binding(self): - """Test case for patch_namespaced_role_binding - - """ - pass - - def test_read_cluster_role(self): - """Test case for read_cluster_role - - """ - pass - - def test_read_cluster_role_binding(self): - """Test case for read_cluster_role_binding - - """ - pass - - def test_read_namespaced_role(self): - """Test case for read_namespaced_role - - """ - pass - - def test_read_namespaced_role_binding(self): - """Test case for read_namespaced_role_binding - - """ - pass - - def test_replace_cluster_role(self): - """Test case for replace_cluster_role - - """ - pass - - def test_replace_cluster_role_binding(self): - """Test case for replace_cluster_role_binding - - """ - pass - - def test_replace_namespaced_role(self): - """Test case for replace_namespaced_role - - """ - pass - - def test_replace_namespaced_role_binding(self): - """Test case for replace_namespaced_role_binding - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_rbac_authorization_v1alpha1_api.py b/kubernetes/test/test_rbac_authorization_v1alpha1_api.py deleted file mode 100644 index 6a026dee07..0000000000 --- a/kubernetes/test/test_rbac_authorization_v1alpha1_api.py +++ /dev/null @@ -1,219 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.rbac_authorization_v1alpha1_api import RbacAuthorizationV1alpha1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestRbacAuthorizationV1alpha1Api(unittest.TestCase): - """RbacAuthorizationV1alpha1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.rbac_authorization_v1alpha1_api.RbacAuthorizationV1alpha1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_cluster_role(self): - """Test case for create_cluster_role - - """ - pass - - def test_create_cluster_role_binding(self): - """Test case for create_cluster_role_binding - - """ - pass - - def test_create_namespaced_role(self): - """Test case for create_namespaced_role - - """ - pass - - def test_create_namespaced_role_binding(self): - """Test case for create_namespaced_role_binding - - """ - pass - - def test_delete_cluster_role(self): - """Test case for delete_cluster_role - - """ - pass - - def test_delete_cluster_role_binding(self): - """Test case for delete_cluster_role_binding - - """ - pass - - def test_delete_collection_cluster_role(self): - """Test case for delete_collection_cluster_role - - """ - pass - - def test_delete_collection_cluster_role_binding(self): - """Test case for delete_collection_cluster_role_binding - - """ - pass - - def test_delete_collection_namespaced_role(self): - """Test case for delete_collection_namespaced_role - - """ - pass - - def test_delete_collection_namespaced_role_binding(self): - """Test case for delete_collection_namespaced_role_binding - - """ - pass - - def test_delete_namespaced_role(self): - """Test case for delete_namespaced_role - - """ - pass - - def test_delete_namespaced_role_binding(self): - """Test case for delete_namespaced_role_binding - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_cluster_role(self): - """Test case for list_cluster_role - - """ - pass - - def test_list_cluster_role_binding(self): - """Test case for list_cluster_role_binding - - """ - pass - - def test_list_namespaced_role(self): - """Test case for list_namespaced_role - - """ - pass - - def test_list_namespaced_role_binding(self): - """Test case for list_namespaced_role_binding - - """ - pass - - def test_list_role_binding_for_all_namespaces(self): - """Test case for list_role_binding_for_all_namespaces - - """ - pass - - def test_list_role_for_all_namespaces(self): - """Test case for list_role_for_all_namespaces - - """ - pass - - def test_patch_cluster_role(self): - """Test case for patch_cluster_role - - """ - pass - - def test_patch_cluster_role_binding(self): - """Test case for patch_cluster_role_binding - - """ - pass - - def test_patch_namespaced_role(self): - """Test case for patch_namespaced_role - - """ - pass - - def test_patch_namespaced_role_binding(self): - """Test case for patch_namespaced_role_binding - - """ - pass - - def test_read_cluster_role(self): - """Test case for read_cluster_role - - """ - pass - - def test_read_cluster_role_binding(self): - """Test case for read_cluster_role_binding - - """ - pass - - def test_read_namespaced_role(self): - """Test case for read_namespaced_role - - """ - pass - - def test_read_namespaced_role_binding(self): - """Test case for read_namespaced_role_binding - - """ - pass - - def test_replace_cluster_role(self): - """Test case for replace_cluster_role - - """ - pass - - def test_replace_cluster_role_binding(self): - """Test case for replace_cluster_role_binding - - """ - pass - - def test_replace_namespaced_role(self): - """Test case for replace_namespaced_role - - """ - pass - - def test_replace_namespaced_role_binding(self): - """Test case for replace_namespaced_role_binding - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_rbac_authorization_v1beta1_api.py b/kubernetes/test/test_rbac_authorization_v1beta1_api.py deleted file mode 100644 index 3cc125643b..0000000000 --- a/kubernetes/test/test_rbac_authorization_v1beta1_api.py +++ /dev/null @@ -1,219 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.rbac_authorization_v1beta1_api import RbacAuthorizationV1beta1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestRbacAuthorizationV1beta1Api(unittest.TestCase): - """RbacAuthorizationV1beta1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.rbac_authorization_v1beta1_api.RbacAuthorizationV1beta1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_cluster_role(self): - """Test case for create_cluster_role - - """ - pass - - def test_create_cluster_role_binding(self): - """Test case for create_cluster_role_binding - - """ - pass - - def test_create_namespaced_role(self): - """Test case for create_namespaced_role - - """ - pass - - def test_create_namespaced_role_binding(self): - """Test case for create_namespaced_role_binding - - """ - pass - - def test_delete_cluster_role(self): - """Test case for delete_cluster_role - - """ - pass - - def test_delete_cluster_role_binding(self): - """Test case for delete_cluster_role_binding - - """ - pass - - def test_delete_collection_cluster_role(self): - """Test case for delete_collection_cluster_role - - """ - pass - - def test_delete_collection_cluster_role_binding(self): - """Test case for delete_collection_cluster_role_binding - - """ - pass - - def test_delete_collection_namespaced_role(self): - """Test case for delete_collection_namespaced_role - - """ - pass - - def test_delete_collection_namespaced_role_binding(self): - """Test case for delete_collection_namespaced_role_binding - - """ - pass - - def test_delete_namespaced_role(self): - """Test case for delete_namespaced_role - - """ - pass - - def test_delete_namespaced_role_binding(self): - """Test case for delete_namespaced_role_binding - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_cluster_role(self): - """Test case for list_cluster_role - - """ - pass - - def test_list_cluster_role_binding(self): - """Test case for list_cluster_role_binding - - """ - pass - - def test_list_namespaced_role(self): - """Test case for list_namespaced_role - - """ - pass - - def test_list_namespaced_role_binding(self): - """Test case for list_namespaced_role_binding - - """ - pass - - def test_list_role_binding_for_all_namespaces(self): - """Test case for list_role_binding_for_all_namespaces - - """ - pass - - def test_list_role_for_all_namespaces(self): - """Test case for list_role_for_all_namespaces - - """ - pass - - def test_patch_cluster_role(self): - """Test case for patch_cluster_role - - """ - pass - - def test_patch_cluster_role_binding(self): - """Test case for patch_cluster_role_binding - - """ - pass - - def test_patch_namespaced_role(self): - """Test case for patch_namespaced_role - - """ - pass - - def test_patch_namespaced_role_binding(self): - """Test case for patch_namespaced_role_binding - - """ - pass - - def test_read_cluster_role(self): - """Test case for read_cluster_role - - """ - pass - - def test_read_cluster_role_binding(self): - """Test case for read_cluster_role_binding - - """ - pass - - def test_read_namespaced_role(self): - """Test case for read_namespaced_role - - """ - pass - - def test_read_namespaced_role_binding(self): - """Test case for read_namespaced_role_binding - - """ - pass - - def test_replace_cluster_role(self): - """Test case for replace_cluster_role - - """ - pass - - def test_replace_cluster_role_binding(self): - """Test case for replace_cluster_role_binding - - """ - pass - - def test_replace_namespaced_role(self): - """Test case for replace_namespaced_role - - """ - pass - - def test_replace_namespaced_role_binding(self): - """Test case for replace_namespaced_role_binding - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_scheduling_api.py b/kubernetes/test/test_scheduling_api.py deleted file mode 100644 index f9b5cd0c8a..0000000000 --- a/kubernetes/test/test_scheduling_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.scheduling_api import SchedulingApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestSchedulingApi(unittest.TestCase): - """SchedulingApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.scheduling_api.SchedulingApi() # noqa: E501 - - 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_scheduling_v1_api.py b/kubernetes/test/test_scheduling_v1_api.py deleted file mode 100644 index d899ab5b79..0000000000 --- a/kubernetes/test/test_scheduling_v1_api.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.scheduling_v1_api import SchedulingV1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestSchedulingV1Api(unittest.TestCase): - """SchedulingV1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.scheduling_v1_api.SchedulingV1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_priority_class(self): - """Test case for create_priority_class - - """ - pass - - def test_delete_collection_priority_class(self): - """Test case for delete_collection_priority_class - - """ - pass - - def test_delete_priority_class(self): - """Test case for delete_priority_class - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_priority_class(self): - """Test case for list_priority_class - - """ - pass - - def test_patch_priority_class(self): - """Test case for patch_priority_class - - """ - pass - - def test_read_priority_class(self): - """Test case for read_priority_class - - """ - pass - - def test_replace_priority_class(self): - """Test case for replace_priority_class - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_scheduling_v1alpha1_api.py b/kubernetes/test/test_scheduling_v1alpha1_api.py deleted file mode 100644 index b63cce1cf4..0000000000 --- a/kubernetes/test/test_scheduling_v1alpha1_api.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.scheduling_v1alpha1_api import SchedulingV1alpha1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestSchedulingV1alpha1Api(unittest.TestCase): - """SchedulingV1alpha1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.scheduling_v1alpha1_api.SchedulingV1alpha1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_priority_class(self): - """Test case for create_priority_class - - """ - pass - - def test_delete_collection_priority_class(self): - """Test case for delete_collection_priority_class - - """ - pass - - def test_delete_priority_class(self): - """Test case for delete_priority_class - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_priority_class(self): - """Test case for list_priority_class - - """ - pass - - def test_patch_priority_class(self): - """Test case for patch_priority_class - - """ - pass - - def test_read_priority_class(self): - """Test case for read_priority_class - - """ - pass - - def test_replace_priority_class(self): - """Test case for replace_priority_class - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_scheduling_v1beta1_api.py b/kubernetes/test/test_scheduling_v1beta1_api.py deleted file mode 100644 index 6686941c53..0000000000 --- a/kubernetes/test/test_scheduling_v1beta1_api.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.scheduling_v1beta1_api import SchedulingV1beta1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestSchedulingV1beta1Api(unittest.TestCase): - """SchedulingV1beta1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.scheduling_v1beta1_api.SchedulingV1beta1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_priority_class(self): - """Test case for create_priority_class - - """ - pass - - def test_delete_collection_priority_class(self): - """Test case for delete_collection_priority_class - - """ - pass - - def test_delete_priority_class(self): - """Test case for delete_priority_class - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_priority_class(self): - """Test case for list_priority_class - - """ - pass - - def test_patch_priority_class(self): - """Test case for patch_priority_class - - """ - pass - - def test_read_priority_class(self): - """Test case for read_priority_class - - """ - pass - - def test_replace_priority_class(self): - """Test case for replace_priority_class - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_settings_api.py b/kubernetes/test/test_settings_api.py deleted file mode 100644 index f10d6c82ab..0000000000 --- a/kubernetes/test/test_settings_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.settings_api import SettingsApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestSettingsApi(unittest.TestCase): - """SettingsApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.settings_api.SettingsApi() # noqa: E501 - - 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_settings_v1alpha1_api.py b/kubernetes/test/test_settings_v1alpha1_api.py deleted file mode 100644 index bbe0b933f1..0000000000 --- a/kubernetes/test/test_settings_v1alpha1_api.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.settings_v1alpha1_api import SettingsV1alpha1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestSettingsV1alpha1Api(unittest.TestCase): - """SettingsV1alpha1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.settings_v1alpha1_api.SettingsV1alpha1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_namespaced_pod_preset(self): - """Test case for create_namespaced_pod_preset - - """ - pass - - def test_delete_collection_namespaced_pod_preset(self): - """Test case for delete_collection_namespaced_pod_preset - - """ - pass - - def test_delete_namespaced_pod_preset(self): - """Test case for delete_namespaced_pod_preset - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_namespaced_pod_preset(self): - """Test case for list_namespaced_pod_preset - - """ - pass - - def test_list_pod_preset_for_all_namespaces(self): - """Test case for list_pod_preset_for_all_namespaces - - """ - pass - - def test_patch_namespaced_pod_preset(self): - """Test case for patch_namespaced_pod_preset - - """ - pass - - def test_read_namespaced_pod_preset(self): - """Test case for read_namespaced_pod_preset - - """ - pass - - def test_replace_namespaced_pod_preset(self): - """Test case for replace_namespaced_pod_preset - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_storage_api.py b/kubernetes/test/test_storage_api.py deleted file mode 100644 index bd11a554d7..0000000000 --- a/kubernetes/test/test_storage_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.storage_api import StorageApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestStorageApi(unittest.TestCase): - """StorageApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.storage_api.StorageApi() # noqa: E501 - - 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_storage_v1_api.py b/kubernetes/test/test_storage_v1_api.py deleted file mode 100644 index 2e27158bfd..0000000000 --- a/kubernetes/test/test_storage_v1_api.py +++ /dev/null @@ -1,141 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.storage_v1_api import StorageV1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestStorageV1Api(unittest.TestCase): - """StorageV1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.storage_v1_api.StorageV1Api() # noqa: E501 - - def tearDown(self): - pass - - 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 - - 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 - - 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 - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - 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 - - 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 - - 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 - - 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 - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_storage_v1alpha1_api.py b/kubernetes/test/test_storage_v1alpha1_api.py deleted file mode 100644 index 94cf417c51..0000000000 --- a/kubernetes/test/test_storage_v1alpha1_api.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.storage_v1alpha1_api import StorageV1alpha1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestStorageV1alpha1Api(unittest.TestCase): - """StorageV1alpha1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.storage_v1alpha1_api.StorageV1alpha1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_volume_attachment(self): - """Test case for create_volume_attachment - - """ - pass - - def test_delete_collection_volume_attachment(self): - """Test case for delete_collection_volume_attachment - - """ - pass - - def test_delete_volume_attachment(self): - """Test case for delete_volume_attachment - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_volume_attachment(self): - """Test case for list_volume_attachment - - """ - pass - - def test_patch_volume_attachment(self): - """Test case for patch_volume_attachment - - """ - pass - - def test_read_volume_attachment(self): - """Test case for read_volume_attachment - - """ - pass - - def test_replace_volume_attachment(self): - """Test case for replace_volume_attachment - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_storage_v1beta1_api.py b/kubernetes/test/test_storage_v1beta1_api.py deleted file mode 100644 index 83fe7de762..0000000000 --- a/kubernetes/test/test_storage_v1beta1_api.py +++ /dev/null @@ -1,207 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.storage_v1beta1_api import StorageV1beta1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestStorageV1beta1Api(unittest.TestCase): - """StorageV1beta1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.storage_v1beta1_api.StorageV1beta1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_csi_driver(self): - """Test case for create_csi_driver - - """ - pass - - def test_create_csi_node(self): - """Test case for create_csi_node - - """ - pass - - 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 - - def test_delete_collection_csi_driver(self): - """Test case for delete_collection_csi_driver - - """ - pass - - def test_delete_collection_csi_node(self): - """Test case for delete_collection_csi_node - - """ - pass - - 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 - - def test_delete_csi_driver(self): - """Test case for delete_csi_driver - - """ - pass - - def test_delete_csi_node(self): - """Test case for delete_csi_node - - """ - pass - - 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 - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_csi_driver(self): - """Test case for list_csi_driver - - """ - pass - - def test_list_csi_node(self): - """Test case for list_csi_node - - """ - pass - - 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 - - def test_patch_csi_driver(self): - """Test case for patch_csi_driver - - """ - pass - - def test_patch_csi_node(self): - """Test case for patch_csi_node - - """ - pass - - 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_read_csi_driver(self): - """Test case for read_csi_driver - - """ - pass - - def test_read_csi_node(self): - """Test case for read_csi_node - - """ - pass - - 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_replace_csi_driver(self): - """Test case for replace_csi_driver - - """ - pass - - def test_replace_csi_node(self): - """Test case for replace_csi_node - - """ - pass - - 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 - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_affinity.py b/kubernetes/test/test_v1_affinity.py deleted file mode 100644 index b59f16a806..0000000000 --- a/kubernetes/test/test_v1_affinity.py +++ /dev/null @@ -1,126 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_affinity import V1Affinity # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Affinity(unittest.TestCase): - """V1Affinity unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Affinity - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_affinity.V1Affinity() # noqa: E501 - if include_optional : - return V1Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/weighted_pod_affinity_term.v1.WeightedPodAffinityTerm( - pod_affinity_term = kubernetes.client.models.v1/pod_affinity_term.v1.PodAffinityTerm( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - namespaces = [ - '0' - ], - topology_key = '0', ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/pod_affinity_term.v1.PodAffinityTerm( - topology_key = '0', ) - ], ), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/weighted_pod_affinity_term.v1.WeightedPodAffinityTerm( - pod_affinity_term = kubernetes.client.models.v1/pod_affinity_term.v1.PodAffinityTerm( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - namespaces = [ - '0' - ], - topology_key = '0', ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/pod_affinity_term.v1.PodAffinityTerm( - topology_key = '0', ) - ], ) - ) - else : - return V1Affinity( - ) - - def testV1Affinity(self): - """Test V1Affinity""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_aggregation_rule.py b/kubernetes/test/test_v1_aggregation_rule.py deleted file mode 100644 index 6e943846d8..0000000000 --- a/kubernetes/test/test_v1_aggregation_rule.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_aggregation_rule import V1AggregationRule # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1AggregationRule(unittest.TestCase): - """V1AggregationRule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1AggregationRule - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_aggregation_rule.V1AggregationRule() # noqa: E501 - if include_optional : - return V1AggregationRule( - cluster_role_selectors = [ - kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ) - ] - ) - else : - return V1AggregationRule( - ) - - def testV1AggregationRule(self): - """Test V1AggregationRule""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_api_group.py b/kubernetes/test/test_v1_api_group.py deleted file mode 100644 index d56374b757..0000000000 --- a/kubernetes/test/test_v1_api_group.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_api_group import V1APIGroup # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1APIGroup(unittest.TestCase): - """V1APIGroup unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1APIGroup - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_api_group.V1APIGroup() # noqa: E501 - if include_optional : - return V1APIGroup( - api_version = '0', - kind = '0', - name = '0', - preferred_version = kubernetes.client.models.v1/group_version_for_discovery.v1.GroupVersionForDiscovery( - group_version = '0', - version = '0', ), - server_address_by_client_cid_rs = [ - kubernetes.client.models.v1/server_address_by_client_cidr.v1.ServerAddressByClientCIDR( - kubernetes.client_cidr = '0', - server_address = '0', ) - ], - versions = [ - kubernetes.client.models.v1/group_version_for_discovery.v1.GroupVersionForDiscovery( - group_version = '0', - version = '0', ) - ] - ) - else : - return V1APIGroup( - name = '0', - versions = [ - kubernetes.client.models.v1/group_version_for_discovery.v1.GroupVersionForDiscovery( - group_version = '0', - version = '0', ) - ], - ) - - def testV1APIGroup(self): - """Test V1APIGroup""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_api_group_list.py b/kubernetes/test/test_v1_api_group_list.py deleted file mode 100644 index 2acd477ce7..0000000000 --- a/kubernetes/test/test_v1_api_group_list.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_api_group_list import V1APIGroupList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1APIGroupList(unittest.TestCase): - """V1APIGroupList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1APIGroupList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_api_group_list.V1APIGroupList() # noqa: E501 - if include_optional : - return V1APIGroupList( - api_version = '0', - groups = [ - kubernetes.client.models.v1/api_group.v1.APIGroup( - api_version = '0', - kind = '0', - name = '0', - preferred_version = kubernetes.client.models.v1/group_version_for_discovery.v1.GroupVersionForDiscovery( - group_version = '0', - version = '0', ), - server_address_by_client_cid_rs = [ - kubernetes.client.models.v1/server_address_by_client_cidr.v1.ServerAddressByClientCIDR( - kubernetes.client_cidr = '0', - server_address = '0', ) - ], - versions = [ - kubernetes.client.models.v1/group_version_for_discovery.v1.GroupVersionForDiscovery( - group_version = '0', - version = '0', ) - ], ) - ], - kind = '0' - ) - else : - return V1APIGroupList( - groups = [ - kubernetes.client.models.v1/api_group.v1.APIGroup( - api_version = '0', - kind = '0', - name = '0', - preferred_version = kubernetes.client.models.v1/group_version_for_discovery.v1.GroupVersionForDiscovery( - group_version = '0', - version = '0', ), - server_address_by_client_cid_rs = [ - kubernetes.client.models.v1/server_address_by_client_cidr.v1.ServerAddressByClientCIDR( - kubernetes.client_cidr = '0', - server_address = '0', ) - ], - versions = [ - kubernetes.client.models.v1/group_version_for_discovery.v1.GroupVersionForDiscovery( - group_version = '0', - version = '0', ) - ], ) - ], - ) - - def testV1APIGroupList(self): - """Test V1APIGroupList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_api_resource.py b/kubernetes/test/test_v1_api_resource.py deleted file mode 100644 index e9bee1803e..0000000000 --- a/kubernetes/test/test_v1_api_resource.py +++ /dev/null @@ -1,74 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_api_resource import V1APIResource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1APIResource(unittest.TestCase): - """V1APIResource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1APIResource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_api_resource.V1APIResource() # noqa: E501 - if include_optional : - return V1APIResource( - categories = [ - '0' - ], - group = '0', - kind = '0', - name = '0', - namespaced = True, - short_names = [ - '0' - ], - singular_name = '0', - storage_version_hash = '0', - verbs = [ - '0' - ], - version = '0' - ) - else : - return V1APIResource( - kind = '0', - name = '0', - namespaced = True, - singular_name = '0', - verbs = [ - '0' - ], - ) - - def testV1APIResource(self): - """Test V1APIResource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_api_resource_list.py b/kubernetes/test/test_v1_api_resource_list.py deleted file mode 100644 index bf047e6689..0000000000 --- a/kubernetes/test/test_v1_api_resource_list.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_api_resource_list import V1APIResourceList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1APIResourceList(unittest.TestCase): - """V1APIResourceList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1APIResourceList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_api_resource_list.V1APIResourceList() # noqa: E501 - if include_optional : - return V1APIResourceList( - api_version = '0', - group_version = '0', - kind = '0', - resources = [ - kubernetes.client.models.v1/api_resource.v1.APIResource( - categories = [ - '0' - ], - group = '0', - kind = '0', - name = '0', - namespaced = True, - short_names = [ - '0' - ], - singular_name = '0', - storage_version_hash = '0', - verbs = [ - '0' - ], - version = '0', ) - ] - ) - else : - return V1APIResourceList( - group_version = '0', - resources = [ - kubernetes.client.models.v1/api_resource.v1.APIResource( - categories = [ - '0' - ], - group = '0', - kind = '0', - name = '0', - namespaced = True, - short_names = [ - '0' - ], - singular_name = '0', - storage_version_hash = '0', - verbs = [ - '0' - ], - version = '0', ) - ], - ) - - def testV1APIResourceList(self): - """Test V1APIResourceList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_api_service.py b/kubernetes/test/test_v1_api_service.py deleted file mode 100644 index 02cd8e9bce..0000000000 --- a/kubernetes/test/test_v1_api_service.py +++ /dev/null @@ -1,112 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_api_service import V1APIService # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1APIService(unittest.TestCase): - """V1APIService unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1APIService - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_api_service.V1APIService() # noqa: E501 - if include_optional : - return V1APIService( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/api_service_spec.v1.APIServiceSpec( - ca_bundle = 'YQ==', - group = '0', - group_priority_minimum = 56, - insecure_skip_tls_verify = True, - service = kubernetes.client.models.apiregistration/v1/service_reference.apiregistration.v1.ServiceReference( - name = '0', - namespace = '0', - port = 56, ), - version = '0', - version_priority = 56, ), - status = kubernetes.client.models.v1/api_service_status.v1.APIServiceStatus( - conditions = [ - kubernetes.client.models.v1/api_service_condition.v1.APIServiceCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], ) - ) - else : - return V1APIService( - ) - - def testV1APIService(self): - """Test V1APIService""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_api_service_condition.py b/kubernetes/test/test_v1_api_service_condition.py deleted file mode 100644 index 689721ec2d..0000000000 --- a/kubernetes/test/test_v1_api_service_condition.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_api_service_condition import V1APIServiceCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1APIServiceCondition(unittest.TestCase): - """V1APIServiceCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1APIServiceCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_api_service_condition.V1APIServiceCondition() # noqa: E501 - if include_optional : - return V1APIServiceCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V1APIServiceCondition( - status = '0', - type = '0', - ) - - def testV1APIServiceCondition(self): - """Test V1APIServiceCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_api_service_list.py b/kubernetes/test/test_v1_api_service_list.py deleted file mode 100644 index 6a5279f125..0000000000 --- a/kubernetes/test/test_v1_api_service_list.py +++ /dev/null @@ -1,186 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_api_service_list import V1APIServiceList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1APIServiceList(unittest.TestCase): - """V1APIServiceList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1APIServiceList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_api_service_list.V1APIServiceList() # noqa: E501 - if include_optional : - return V1APIServiceList( - api_version = '0', - items = [ - kubernetes.client.models.v1/api_service.v1.APIService( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/api_service_spec.v1.APIServiceSpec( - ca_bundle = 'YQ==', - group = '0', - group_priority_minimum = 56, - insecure_skip_tls_verify = True, - service = kubernetes.client.models.apiregistration/v1/service_reference.apiregistration.v1.ServiceReference( - name = '0', - namespace = '0', - port = 56, ), - version = '0', - version_priority = 56, ), - status = kubernetes.client.models.v1/api_service_status.v1.APIServiceStatus( - conditions = [ - kubernetes.client.models.v1/api_service_condition.v1.APIServiceCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1APIServiceList( - items = [ - kubernetes.client.models.v1/api_service.v1.APIService( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/api_service_spec.v1.APIServiceSpec( - ca_bundle = 'YQ==', - group = '0', - group_priority_minimum = 56, - insecure_skip_tls_verify = True, - service = kubernetes.client.models.apiregistration/v1/service_reference.apiregistration.v1.ServiceReference( - name = '0', - namespace = '0', - port = 56, ), - version = '0', - version_priority = 56, ), - status = kubernetes.client.models.v1/api_service_status.v1.APIServiceStatus( - conditions = [ - kubernetes.client.models.v1/api_service_condition.v1.APIServiceCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], ), ) - ], - ) - - def testV1APIServiceList(self): - """Test V1APIServiceList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_api_service_spec.py b/kubernetes/test/test_v1_api_service_spec.py deleted file mode 100644 index 746c4203c8..0000000000 --- a/kubernetes/test/test_v1_api_service_spec.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_api_service_spec import V1APIServiceSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1APIServiceSpec(unittest.TestCase): - """V1APIServiceSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1APIServiceSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_api_service_spec.V1APIServiceSpec() # noqa: E501 - if include_optional : - return V1APIServiceSpec( - ca_bundle = 'YQ==', - group = '0', - group_priority_minimum = 56, - insecure_skip_tls_verify = True, - service = kubernetes.client.models.apiregistration/v1/service_reference.apiregistration.v1.ServiceReference( - name = '0', - namespace = '0', - port = 56, ), - version = '0', - version_priority = 56 - ) - else : - return V1APIServiceSpec( - group_priority_minimum = 56, - service = kubernetes.client.models.apiregistration/v1/service_reference.apiregistration.v1.ServiceReference( - name = '0', - namespace = '0', - port = 56, ), - version_priority = 56, - ) - - def testV1APIServiceSpec(self): - """Test V1APIServiceSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_api_service_status.py b/kubernetes/test/test_v1_api_service_status.py deleted file mode 100644 index eb5b2a7262..0000000000 --- a/kubernetes/test/test_v1_api_service_status.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_api_service_status import V1APIServiceStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1APIServiceStatus(unittest.TestCase): - """V1APIServiceStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1APIServiceStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_api_service_status.V1APIServiceStatus() # noqa: E501 - if include_optional : - return V1APIServiceStatus( - conditions = [ - kubernetes.client.models.v1/api_service_condition.v1.APIServiceCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ] - ) - else : - return V1APIServiceStatus( - ) - - def testV1APIServiceStatus(self): - """Test V1APIServiceStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_api_versions.py b/kubernetes/test/test_v1_api_versions.py deleted file mode 100644 index b2bead0518..0000000000 --- a/kubernetes/test/test_v1_api_versions.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_api_versions import V1APIVersions # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1APIVersions(unittest.TestCase): - """V1APIVersions unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1APIVersions - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_api_versions.V1APIVersions() # noqa: E501 - if include_optional : - return V1APIVersions( - api_version = '0', - kind = '0', - server_address_by_client_cid_rs = [ - kubernetes.client.models.v1/server_address_by_client_cidr.v1.ServerAddressByClientCIDR( - kubernetes.client_cidr = '0', - server_address = '0', ) - ], - versions = [ - '0' - ] - ) - else : - return V1APIVersions( - server_address_by_client_cid_rs = [ - kubernetes.client.models.v1/server_address_by_client_cidr.v1.ServerAddressByClientCIDR( - kubernetes.client_cidr = '0', - server_address = '0', ) - ], - versions = [ - '0' - ], - ) - - def testV1APIVersions(self): - """Test V1APIVersions""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_attached_volume.py b/kubernetes/test/test_v1_attached_volume.py deleted file mode 100644 index a96e1df0f9..0000000000 --- a/kubernetes/test/test_v1_attached_volume.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_attached_volume import V1AttachedVolume # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1AttachedVolume(unittest.TestCase): - """V1AttachedVolume unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1AttachedVolume - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_attached_volume.V1AttachedVolume() # noqa: E501 - if include_optional : - return V1AttachedVolume( - device_path = '0', - name = '0' - ) - else : - return V1AttachedVolume( - device_path = '0', - name = '0', - ) - - def testV1AttachedVolume(self): - """Test V1AttachedVolume""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() 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 deleted file mode 100644 index f76f54bc6c..0000000000 --- a/kubernetes/test/test_v1_aws_elastic_block_store_volume_source.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_aws_elastic_block_store_volume_source import V1AWSElasticBlockStoreVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1AWSElasticBlockStoreVolumeSource(unittest.TestCase): - """V1AWSElasticBlockStoreVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1AWSElasticBlockStoreVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_aws_elastic_block_store_volume_source.V1AWSElasticBlockStoreVolumeSource() # noqa: E501 - if include_optional : - return V1AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0' - ) - else : - return V1AWSElasticBlockStoreVolumeSource( - volume_id = '0', - ) - - def testV1AWSElasticBlockStoreVolumeSource(self): - """Test V1AWSElasticBlockStoreVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_azure_disk_volume_source.py b/kubernetes/test/test_v1_azure_disk_volume_source.py deleted file mode 100644 index 1a2ce74c92..0000000000 --- a/kubernetes/test/test_v1_azure_disk_volume_source.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_azure_disk_volume_source import V1AzureDiskVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1AzureDiskVolumeSource(unittest.TestCase): - """V1AzureDiskVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1AzureDiskVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_azure_disk_volume_source.V1AzureDiskVolumeSource() # noqa: E501 - if include_optional : - return V1AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True - ) - else : - return V1AzureDiskVolumeSource( - disk_name = '0', - disk_uri = '0', - ) - - def testV1AzureDiskVolumeSource(self): - """Test V1AzureDiskVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_azure_file_persistent_volume_source.py b/kubernetes/test/test_v1_azure_file_persistent_volume_source.py deleted file mode 100644 index f54203ebc8..0000000000 --- a/kubernetes/test/test_v1_azure_file_persistent_volume_source.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_azure_file_persistent_volume_source import V1AzureFilePersistentVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1AzureFilePersistentVolumeSource(unittest.TestCase): - """V1AzureFilePersistentVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1AzureFilePersistentVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_azure_file_persistent_volume_source.V1AzureFilePersistentVolumeSource() # noqa: E501 - if include_optional : - return V1AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0' - ) - else : - return V1AzureFilePersistentVolumeSource( - secret_name = '0', - share_name = '0', - ) - - def testV1AzureFilePersistentVolumeSource(self): - """Test V1AzureFilePersistentVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_azure_file_volume_source.py b/kubernetes/test/test_v1_azure_file_volume_source.py deleted file mode 100644 index 344247b5ff..0000000000 --- a/kubernetes/test/test_v1_azure_file_volume_source.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_azure_file_volume_source import V1AzureFileVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1AzureFileVolumeSource(unittest.TestCase): - """V1AzureFileVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1AzureFileVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_azure_file_volume_source.V1AzureFileVolumeSource() # noqa: E501 - if include_optional : - return V1AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0' - ) - else : - return V1AzureFileVolumeSource( - secret_name = '0', - share_name = '0', - ) - - def testV1AzureFileVolumeSource(self): - """Test V1AzureFileVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_binding.py b/kubernetes/test/test_v1_binding.py deleted file mode 100644 index 7afcde40e7..0000000000 --- a/kubernetes/test/test_v1_binding.py +++ /dev/null @@ -1,108 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_binding import V1Binding # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Binding(unittest.TestCase): - """V1Binding unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Binding - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_binding.V1Binding() # noqa: E501 - if include_optional : - return V1Binding( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - target = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ) - ) - else : - return V1Binding( - target = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - ) - - def testV1Binding(self): - """Test V1Binding""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_bound_object_reference.py b/kubernetes/test/test_v1_bound_object_reference.py deleted file mode 100644 index 2f37116270..0000000000 --- a/kubernetes/test/test_v1_bound_object_reference.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_bound_object_reference import V1BoundObjectReference # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1BoundObjectReference(unittest.TestCase): - """V1BoundObjectReference unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1BoundObjectReference - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_bound_object_reference.V1BoundObjectReference() # noqa: E501 - if include_optional : - return V1BoundObjectReference( - api_version = '0', - kind = '0', - name = '0', - uid = '0' - ) - else : - return V1BoundObjectReference( - ) - - def testV1BoundObjectReference(self): - """Test V1BoundObjectReference""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_capabilities.py b/kubernetes/test/test_v1_capabilities.py deleted file mode 100644 index cd0b4c24dd..0000000000 --- a/kubernetes/test/test_v1_capabilities.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_capabilities import V1Capabilities # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Capabilities(unittest.TestCase): - """V1Capabilities unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Capabilities - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_capabilities.V1Capabilities() # noqa: E501 - if include_optional : - return V1Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ] - ) - else : - return V1Capabilities( - ) - - def testV1Capabilities(self): - """Test V1Capabilities""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_ceph_fs_persistent_volume_source.py b/kubernetes/test/test_v1_ceph_fs_persistent_volume_source.py deleted file mode 100644 index c80604b494..0000000000 --- a/kubernetes/test/test_v1_ceph_fs_persistent_volume_source.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_ceph_fs_persistent_volume_source import V1CephFSPersistentVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1CephFSPersistentVolumeSource(unittest.TestCase): - """V1CephFSPersistentVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1CephFSPersistentVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_ceph_fs_persistent_volume_source.V1CephFSPersistentVolumeSource() # noqa: E501 - if include_optional : - return V1CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0' - ) - else : - return V1CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - ) - - def testV1CephFSPersistentVolumeSource(self): - """Test V1CephFSPersistentVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_ceph_fs_volume_source.py b/kubernetes/test/test_v1_ceph_fs_volume_source.py deleted file mode 100644 index a4679c4475..0000000000 --- a/kubernetes/test/test_v1_ceph_fs_volume_source.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_ceph_fs_volume_source import V1CephFSVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1CephFSVolumeSource(unittest.TestCase): - """V1CephFSVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1CephFSVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_ceph_fs_volume_source.V1CephFSVolumeSource() # noqa: E501 - if include_optional : - return V1CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - user = '0' - ) - else : - return V1CephFSVolumeSource( - monitors = [ - '0' - ], - ) - - def testV1CephFSVolumeSource(self): - """Test V1CephFSVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_cinder_persistent_volume_source.py b/kubernetes/test/test_v1_cinder_persistent_volume_source.py deleted file mode 100644 index 44ee712956..0000000000 --- a/kubernetes/test/test_v1_cinder_persistent_volume_source.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_cinder_persistent_volume_source import V1CinderPersistentVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1CinderPersistentVolumeSource(unittest.TestCase): - """V1CinderPersistentVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1CinderPersistentVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_cinder_persistent_volume_source.V1CinderPersistentVolumeSource() # noqa: E501 - if include_optional : - return V1CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - volume_id = '0' - ) - else : - return V1CinderPersistentVolumeSource( - volume_id = '0', - ) - - def testV1CinderPersistentVolumeSource(self): - """Test V1CinderPersistentVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_cinder_volume_source.py b/kubernetes/test/test_v1_cinder_volume_source.py deleted file mode 100644 index e3a7b8f9fc..0000000000 --- a/kubernetes/test/test_v1_cinder_volume_source.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_cinder_volume_source import V1CinderVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1CinderVolumeSource(unittest.TestCase): - """V1CinderVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1CinderVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_cinder_volume_source.V1CinderVolumeSource() # noqa: E501 - if include_optional : - return V1CinderVolumeSource( - fs_type = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - volume_id = '0' - ) - else : - return V1CinderVolumeSource( - volume_id = '0', - ) - - def testV1CinderVolumeSource(self): - """Test V1CinderVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_client_ip_config.py b/kubernetes/test/test_v1_client_ip_config.py deleted file mode 100644 index 67182d527b..0000000000 --- a/kubernetes/test/test_v1_client_ip_config.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_client_ip_config import V1ClientIPConfig # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ClientIPConfig(unittest.TestCase): - """V1ClientIPConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ClientIPConfig - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_client_ip_config.V1ClientIPConfig() # noqa: E501 - if include_optional : - return V1ClientIPConfig( - timeout_seconds = 56 - ) - else : - return V1ClientIPConfig( - ) - - def testV1ClientIPConfig(self): - """Test V1ClientIPConfig""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_cluster_role.py b/kubernetes/test/test_v1_cluster_role.py deleted file mode 100644 index 29c848f3f8..0000000000 --- a/kubernetes/test/test_v1_cluster_role.py +++ /dev/null @@ -1,125 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_cluster_role import V1ClusterRole # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ClusterRole(unittest.TestCase): - """V1ClusterRole unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ClusterRole - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_cluster_role.V1ClusterRole() # noqa: E501 - if include_optional : - return V1ClusterRole( - aggregation_rule = kubernetes.client.models.v1/aggregation_rule.v1.AggregationRule( - cluster_role_selectors = [ - kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ) - ], ), - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - rules = [ - kubernetes.client.models.v1/policy_rule.v1.PolicyRule( - api_groups = [ - '0' - ], - non_resource_ur_ls = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ] - ) - else : - return V1ClusterRole( - ) - - def testV1ClusterRole(self): - """Test V1ClusterRole""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_cluster_role_binding.py b/kubernetes/test/test_v1_cluster_role_binding.py deleted file mode 100644 index 6b7e620dab..0000000000 --- a/kubernetes/test/test_v1_cluster_role_binding.py +++ /dev/null @@ -1,107 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_cluster_role_binding import V1ClusterRoleBinding # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ClusterRoleBinding(unittest.TestCase): - """V1ClusterRoleBinding unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ClusterRoleBinding - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_cluster_role_binding.V1ClusterRoleBinding() # noqa: E501 - if include_optional : - return V1ClusterRoleBinding( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - role_ref = kubernetes.client.models.v1/role_ref.v1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - subjects = [ - kubernetes.client.models.v1/subject.v1.Subject( - api_group = '0', - kind = '0', - name = '0', - namespace = '0', ) - ] - ) - else : - return V1ClusterRoleBinding( - role_ref = kubernetes.client.models.v1/role_ref.v1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - ) - - def testV1ClusterRoleBinding(self): - """Test V1ClusterRoleBinding""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_cluster_role_binding_list.py b/kubernetes/test/test_v1_cluster_role_binding_list.py deleted file mode 100644 index aa95941544..0000000000 --- a/kubernetes/test/test_v1_cluster_role_binding_list.py +++ /dev/null @@ -1,168 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_cluster_role_binding_list import V1ClusterRoleBindingList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ClusterRoleBindingList(unittest.TestCase): - """V1ClusterRoleBindingList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ClusterRoleBindingList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_cluster_role_binding_list.V1ClusterRoleBindingList() # noqa: E501 - if include_optional : - return V1ClusterRoleBindingList( - api_version = '0', - items = [ - kubernetes.client.models.v1/cluster_role_binding.v1.ClusterRoleBinding( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - role_ref = kubernetes.client.models.v1/role_ref.v1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - subjects = [ - kubernetes.client.models.v1/subject.v1.Subject( - api_group = '0', - kind = '0', - name = '0', - namespace = '0', ) - ], ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1ClusterRoleBindingList( - items = [ - kubernetes.client.models.v1/cluster_role_binding.v1.ClusterRoleBinding( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - role_ref = kubernetes.client.models.v1/role_ref.v1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - subjects = [ - kubernetes.client.models.v1/subject.v1.Subject( - api_group = '0', - kind = '0', - name = '0', - namespace = '0', ) - ], ) - ], - ) - - def testV1ClusterRoleBindingList(self): - """Test V1ClusterRoleBindingList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_cluster_role_list.py b/kubernetes/test/test_v1_cluster_role_list.py deleted file mode 100644 index fdd26fe69d..0000000000 --- a/kubernetes/test/test_v1_cluster_role_list.py +++ /dev/null @@ -1,212 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_cluster_role_list import V1ClusterRoleList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ClusterRoleList(unittest.TestCase): - """V1ClusterRoleList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ClusterRoleList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_cluster_role_list.V1ClusterRoleList() # noqa: E501 - if include_optional : - return V1ClusterRoleList( - api_version = '0', - items = [ - kubernetes.client.models.v1/cluster_role.v1.ClusterRole( - aggregation_rule = kubernetes.client.models.v1/aggregation_rule.v1.AggregationRule( - cluster_role_selectors = [ - kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ) - ], ), - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - rules = [ - kubernetes.client.models.v1/policy_rule.v1.PolicyRule( - api_groups = [ - '0' - ], - non_resource_ur_ls = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ], ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1ClusterRoleList( - items = [ - kubernetes.client.models.v1/cluster_role.v1.ClusterRole( - aggregation_rule = kubernetes.client.models.v1/aggregation_rule.v1.AggregationRule( - cluster_role_selectors = [ - kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ) - ], ), - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - rules = [ - kubernetes.client.models.v1/policy_rule.v1.PolicyRule( - api_groups = [ - '0' - ], - non_resource_ur_ls = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ], ) - ], - ) - - def testV1ClusterRoleList(self): - """Test V1ClusterRoleList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_component_condition.py b/kubernetes/test/test_v1_component_condition.py deleted file mode 100644 index 59e9002040..0000000000 --- a/kubernetes/test/test_v1_component_condition.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_component_condition import V1ComponentCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ComponentCondition(unittest.TestCase): - """V1ComponentCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ComponentCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_component_condition.V1ComponentCondition() # noqa: E501 - if include_optional : - return V1ComponentCondition( - error = '0', - message = '0', - status = '0', - type = '0' - ) - else : - return V1ComponentCondition( - status = '0', - type = '0', - ) - - def testV1ComponentCondition(self): - """Test V1ComponentCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_component_status.py b/kubernetes/test/test_v1_component_status.py deleted file mode 100644 index b80bb6a8f2..0000000000 --- a/kubernetes/test/test_v1_component_status.py +++ /dev/null @@ -1,99 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_component_status import V1ComponentStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ComponentStatus(unittest.TestCase): - """V1ComponentStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ComponentStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_component_status.V1ComponentStatus() # noqa: E501 - if include_optional : - return V1ComponentStatus( - api_version = '0', - conditions = [ - kubernetes.client.models.v1/component_condition.v1.ComponentCondition( - error = '0', - message = '0', - status = '0', - type = '0', ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ) - ) - else : - return V1ComponentStatus( - ) - - def testV1ComponentStatus(self): - """Test V1ComponentStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_component_status_list.py b/kubernetes/test/test_v1_component_status_list.py deleted file mode 100644 index 5e27bc7d4a..0000000000 --- a/kubernetes/test/test_v1_component_status_list.py +++ /dev/null @@ -1,160 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_component_status_list import V1ComponentStatusList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ComponentStatusList(unittest.TestCase): - """V1ComponentStatusList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ComponentStatusList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_component_status_list.V1ComponentStatusList() # noqa: E501 - if include_optional : - return V1ComponentStatusList( - api_version = '0', - items = [ - kubernetes.client.models.v1/component_status.v1.ComponentStatus( - api_version = '0', - conditions = [ - kubernetes.client.models.v1/component_condition.v1.ComponentCondition( - error = '0', - message = '0', - status = '0', - type = '0', ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1ComponentStatusList( - items = [ - kubernetes.client.models.v1/component_status.v1.ComponentStatus( - api_version = '0', - conditions = [ - kubernetes.client.models.v1/component_condition.v1.ComponentCondition( - error = '0', - message = '0', - status = '0', - type = '0', ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), ) - ], - ) - - def testV1ComponentStatusList(self): - """Test V1ComponentStatusList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_config_map.py b/kubernetes/test/test_v1_config_map.py deleted file mode 100644 index 727f636b01..0000000000 --- a/kubernetes/test/test_v1_config_map.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_config_map import V1ConfigMap # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ConfigMap(unittest.TestCase): - """V1ConfigMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ConfigMap - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_config_map.V1ConfigMap() # noqa: E501 - if include_optional : - return V1ConfigMap( - api_version = '0', - binary_data = { - 'key' : 'YQ==' - }, - data = { - 'key' : '0' - }, - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ) - ) - else : - return V1ConfigMap( - ) - - def testV1ConfigMap(self): - """Test V1ConfigMap""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_config_map_env_source.py b/kubernetes/test/test_v1_config_map_env_source.py deleted file mode 100644 index 4b1e58d4d7..0000000000 --- a/kubernetes/test/test_v1_config_map_env_source.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_config_map_env_source import V1ConfigMapEnvSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ConfigMapEnvSource(unittest.TestCase): - """V1ConfigMapEnvSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ConfigMapEnvSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_config_map_env_source.V1ConfigMapEnvSource() # noqa: E501 - if include_optional : - return V1ConfigMapEnvSource( - name = '0', - optional = True - ) - else : - return V1ConfigMapEnvSource( - ) - - def testV1ConfigMapEnvSource(self): - """Test V1ConfigMapEnvSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_config_map_key_selector.py b/kubernetes/test/test_v1_config_map_key_selector.py deleted file mode 100644 index f3d85781a6..0000000000 --- a/kubernetes/test/test_v1_config_map_key_selector.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_config_map_key_selector import V1ConfigMapKeySelector # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ConfigMapKeySelector(unittest.TestCase): - """V1ConfigMapKeySelector unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ConfigMapKeySelector - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_config_map_key_selector.V1ConfigMapKeySelector() # noqa: E501 - if include_optional : - return V1ConfigMapKeySelector( - key = '0', - name = '0', - optional = True - ) - else : - return V1ConfigMapKeySelector( - key = '0', - ) - - def testV1ConfigMapKeySelector(self): - """Test V1ConfigMapKeySelector""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_config_map_list.py b/kubernetes/test/test_v1_config_map_list.py deleted file mode 100644 index f2724a6c80..0000000000 --- a/kubernetes/test/test_v1_config_map_list.py +++ /dev/null @@ -1,158 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_config_map_list import V1ConfigMapList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ConfigMapList(unittest.TestCase): - """V1ConfigMapList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ConfigMapList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_config_map_list.V1ConfigMapList() # noqa: E501 - if include_optional : - return V1ConfigMapList( - api_version = '0', - items = [ - kubernetes.client.models.v1/config_map.v1.ConfigMap( - api_version = '0', - binary_data = { - 'key' : 'YQ==' - }, - data = { - 'key' : '0' - }, - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1ConfigMapList( - items = [ - kubernetes.client.models.v1/config_map.v1.ConfigMap( - api_version = '0', - binary_data = { - 'key' : 'YQ==' - }, - data = { - 'key' : '0' - }, - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), ) - ], - ) - - def testV1ConfigMapList(self): - """Test V1ConfigMapList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_config_map_node_config_source.py b/kubernetes/test/test_v1_config_map_node_config_source.py deleted file mode 100644 index 6a7cb54984..0000000000 --- a/kubernetes/test/test_v1_config_map_node_config_source.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_config_map_node_config_source import V1ConfigMapNodeConfigSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ConfigMapNodeConfigSource(unittest.TestCase): - """V1ConfigMapNodeConfigSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ConfigMapNodeConfigSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_config_map_node_config_source.V1ConfigMapNodeConfigSource() # noqa: E501 - if include_optional : - return V1ConfigMapNodeConfigSource( - kubelet_config_key = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0' - ) - else : - return V1ConfigMapNodeConfigSource( - kubelet_config_key = '0', - name = '0', - namespace = '0', - ) - - def testV1ConfigMapNodeConfigSource(self): - """Test V1ConfigMapNodeConfigSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_config_map_projection.py b/kubernetes/test/test_v1_config_map_projection.py deleted file mode 100644 index 4914d7b34b..0000000000 --- a/kubernetes/test/test_v1_config_map_projection.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_config_map_projection import V1ConfigMapProjection # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ConfigMapProjection(unittest.TestCase): - """V1ConfigMapProjection unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ConfigMapProjection - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_config_map_projection.V1ConfigMapProjection() # noqa: E501 - if include_optional : - return V1ConfigMapProjection( - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True - ) - else : - return V1ConfigMapProjection( - ) - - def testV1ConfigMapProjection(self): - """Test V1ConfigMapProjection""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_config_map_volume_source.py b/kubernetes/test/test_v1_config_map_volume_source.py deleted file mode 100644 index 42e8cfa6b2..0000000000 --- a/kubernetes/test/test_v1_config_map_volume_source.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_config_map_volume_source import V1ConfigMapVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ConfigMapVolumeSource(unittest.TestCase): - """V1ConfigMapVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ConfigMapVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_config_map_volume_source.V1ConfigMapVolumeSource() # noqa: E501 - if include_optional : - return V1ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True - ) - else : - return V1ConfigMapVolumeSource( - ) - - def testV1ConfigMapVolumeSource(self): - """Test V1ConfigMapVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_container.py b/kubernetes/test/test_v1_container.py deleted file mode 100644 index 4415147dec..0000000000 --- a/kubernetes/test/test_v1_container.py +++ /dev/null @@ -1,240 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_container import V1Container # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Container(unittest.TestCase): - """V1Container unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Container - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_container.V1Container() # noqa: E501 - if include_optional : - return V1Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction( - command = [ - '0' - ], ), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction( - command = [ - '0' - ], ), - failure_threshold = 56, - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction( - command = [ - '0' - ], ), - failure_threshold = 56, - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction( - command = [ - '0' - ], ), - failure_threshold = 56, - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0' - ) - else : - return V1Container( - name = '0', - ) - - def testV1Container(self): - """Test V1Container""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_container_image.py b/kubernetes/test/test_v1_container_image.py deleted file mode 100644 index dceb6d7414..0000000000 --- a/kubernetes/test/test_v1_container_image.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_container_image import V1ContainerImage # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ContainerImage(unittest.TestCase): - """V1ContainerImage unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ContainerImage - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_container_image.V1ContainerImage() # noqa: E501 - if include_optional : - return V1ContainerImage( - names = [ - '0' - ], - size_bytes = 56 - ) - else : - return V1ContainerImage( - names = [ - '0' - ], - ) - - def testV1ContainerImage(self): - """Test V1ContainerImage""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_container_port.py b/kubernetes/test/test_v1_container_port.py deleted file mode 100644 index bbef13f8f6..0000000000 --- a/kubernetes/test/test_v1_container_port.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_container_port import V1ContainerPort # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ContainerPort(unittest.TestCase): - """V1ContainerPort unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ContainerPort - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_container_port.V1ContainerPort() # noqa: E501 - if include_optional : - return V1ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0' - ) - else : - return V1ContainerPort( - container_port = 56, - ) - - def testV1ContainerPort(self): - """Test V1ContainerPort""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_container_state.py b/kubernetes/test/test_v1_container_state.py deleted file mode 100644 index 5a75e53841..0000000000 --- a/kubernetes/test/test_v1_container_state.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_container_state import V1ContainerState # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ContainerState(unittest.TestCase): - """V1ContainerState unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ContainerState - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_container_state.V1ContainerState() # noqa: E501 - if include_optional : - return V1ContainerState( - running = kubernetes.client.models.v1/container_state_running.v1.ContainerStateRunning( - started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - terminated = kubernetes.client.models.v1/container_state_terminated.v1.ContainerStateTerminated( - container_id = '0', - exit_code = 56, - finished_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - signal = 56, - started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - waiting = kubernetes.client.models.v1/container_state_waiting.v1.ContainerStateWaiting( - message = '0', - reason = '0', ) - ) - else : - return V1ContainerState( - ) - - def testV1ContainerState(self): - """Test V1ContainerState""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_container_state_running.py b/kubernetes/test/test_v1_container_state_running.py deleted file mode 100644 index 61564b30a9..0000000000 --- a/kubernetes/test/test_v1_container_state_running.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_container_state_running import V1ContainerStateRunning # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ContainerStateRunning(unittest.TestCase): - """V1ContainerStateRunning unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ContainerStateRunning - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_container_state_running.V1ContainerStateRunning() # noqa: E501 - if include_optional : - return V1ContainerStateRunning( - started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else : - return V1ContainerStateRunning( - ) - - def testV1ContainerStateRunning(self): - """Test V1ContainerStateRunning""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_container_state_terminated.py b/kubernetes/test/test_v1_container_state_terminated.py deleted file mode 100644 index 7e693eaaba..0000000000 --- a/kubernetes/test/test_v1_container_state_terminated.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_container_state_terminated import V1ContainerStateTerminated # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ContainerStateTerminated(unittest.TestCase): - """V1ContainerStateTerminated unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ContainerStateTerminated - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_container_state_terminated.V1ContainerStateTerminated() # noqa: E501 - if include_optional : - return V1ContainerStateTerminated( - container_id = '0', - exit_code = 56, - finished_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - signal = 56, - started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else : - return V1ContainerStateTerminated( - exit_code = 56, - ) - - def testV1ContainerStateTerminated(self): - """Test V1ContainerStateTerminated""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_container_state_waiting.py b/kubernetes/test/test_v1_container_state_waiting.py deleted file mode 100644 index 6a4f3d50db..0000000000 --- a/kubernetes/test/test_v1_container_state_waiting.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_container_state_waiting import V1ContainerStateWaiting # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ContainerStateWaiting(unittest.TestCase): - """V1ContainerStateWaiting unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ContainerStateWaiting - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_container_state_waiting.V1ContainerStateWaiting() # noqa: E501 - if include_optional : - return V1ContainerStateWaiting( - message = '0', - reason = '0' - ) - else : - return V1ContainerStateWaiting( - ) - - def testV1ContainerStateWaiting(self): - """Test V1ContainerStateWaiting""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_container_status.py b/kubernetes/test/test_v1_container_status.py deleted file mode 100644 index ca40874b82..0000000000 --- a/kubernetes/test/test_v1_container_status.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_container_status import V1ContainerStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ContainerStatus(unittest.TestCase): - """V1ContainerStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ContainerStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_container_status.V1ContainerStatus() # noqa: E501 - if include_optional : - return V1ContainerStatus( - container_id = '0', - image = '0', - image_id = '0', - last_state = kubernetes.client.models.v1/container_state.v1.ContainerState( - running = kubernetes.client.models.v1/container_state_running.v1.ContainerStateRunning( - started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - terminated = kubernetes.client.models.v1/container_state_terminated.v1.ContainerStateTerminated( - container_id = '0', - exit_code = 56, - finished_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - signal = 56, - started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - waiting = kubernetes.client.models.v1/container_state_waiting.v1.ContainerStateWaiting( - message = '0', - reason = '0', ), ), - name = '0', - ready = True, - restart_count = 56, - started = True, - state = kubernetes.client.models.v1/container_state.v1.ContainerState( - running = kubernetes.client.models.v1/container_state_running.v1.ContainerStateRunning( - started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - terminated = kubernetes.client.models.v1/container_state_terminated.v1.ContainerStateTerminated( - container_id = '0', - exit_code = 56, - finished_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - signal = 56, - started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - waiting = kubernetes.client.models.v1/container_state_waiting.v1.ContainerStateWaiting( - message = '0', - reason = '0', ), ) - ) - else : - return V1ContainerStatus( - image = '0', - image_id = '0', - name = '0', - ready = True, - restart_count = 56, - ) - - def testV1ContainerStatus(self): - """Test V1ContainerStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_controller_revision.py b/kubernetes/test/test_v1_controller_revision.py deleted file mode 100644 index 8224125e69..0000000000 --- a/kubernetes/test/test_v1_controller_revision.py +++ /dev/null @@ -1,95 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_controller_revision import V1ControllerRevision # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ControllerRevision(unittest.TestCase): - """V1ControllerRevision unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ControllerRevision - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_controller_revision.V1ControllerRevision() # noqa: E501 - if include_optional : - return V1ControllerRevision( - api_version = '0', - data = None, - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - revision = 56 - ) - else : - return V1ControllerRevision( - revision = 56, - ) - - def testV1ControllerRevision(self): - """Test V1ControllerRevision""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_controller_revision_list.py b/kubernetes/test/test_v1_controller_revision_list.py deleted file mode 100644 index 9a19e8e222..0000000000 --- a/kubernetes/test/test_v1_controller_revision_list.py +++ /dev/null @@ -1,150 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_controller_revision_list import V1ControllerRevisionList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ControllerRevisionList(unittest.TestCase): - """V1ControllerRevisionList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ControllerRevisionList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_controller_revision_list.V1ControllerRevisionList() # noqa: E501 - if include_optional : - return V1ControllerRevisionList( - api_version = '0', - items = [ - kubernetes.client.models.v1/controller_revision.v1.ControllerRevision( - api_version = '0', - data = kubernetes.client.models.data.data(), - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - revision = 56, ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1ControllerRevisionList( - items = [ - kubernetes.client.models.v1/controller_revision.v1.ControllerRevision( - api_version = '0', - data = kubernetes.client.models.data.data(), - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - revision = 56, ) - ], - ) - - def testV1ControllerRevisionList(self): - """Test V1ControllerRevisionList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_cross_version_object_reference.py b/kubernetes/test/test_v1_cross_version_object_reference.py deleted file mode 100644 index 971a401367..0000000000 --- a/kubernetes/test/test_v1_cross_version_object_reference.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_cross_version_object_reference import V1CrossVersionObjectReference # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1CrossVersionObjectReference(unittest.TestCase): - """V1CrossVersionObjectReference unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1CrossVersionObjectReference - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_cross_version_object_reference.V1CrossVersionObjectReference() # noqa: E501 - if include_optional : - return V1CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0' - ) - else : - return V1CrossVersionObjectReference( - kind = '0', - name = '0', - ) - - def testV1CrossVersionObjectReference(self): - """Test V1CrossVersionObjectReference""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_csi_persistent_volume_source.py b/kubernetes/test/test_v1_csi_persistent_volume_source.py deleted file mode 100644 index 9ef4d3de9b..0000000000 --- a/kubernetes/test/test_v1_csi_persistent_volume_source.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_csi_persistent_volume_source import V1CSIPersistentVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1CSIPersistentVolumeSource(unittest.TestCase): - """V1CSIPersistentVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1CSIPersistentVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_csi_persistent_volume_source.V1CSIPersistentVolumeSource() # noqa: E501 - if include_optional : - return V1CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0' - ) - else : - return V1CSIPersistentVolumeSource( - driver = '0', - volume_handle = '0', - ) - - def testV1CSIPersistentVolumeSource(self): - """Test V1CSIPersistentVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_csi_volume_source.py b/kubernetes/test/test_v1_csi_volume_source.py deleted file mode 100644 index 5bfe0b504d..0000000000 --- a/kubernetes/test/test_v1_csi_volume_source.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_csi_volume_source import V1CSIVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1CSIVolumeSource(unittest.TestCase): - """V1CSIVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1CSIVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_csi_volume_source.V1CSIVolumeSource() # noqa: E501 - if include_optional : - return V1CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - } - ) - else : - return V1CSIVolumeSource( - driver = '0', - ) - - def testV1CSIVolumeSource(self): - """Test V1CSIVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_custom_resource_column_definition.py b/kubernetes/test/test_v1_custom_resource_column_definition.py deleted file mode 100644 index 747b4567ae..0000000000 --- a/kubernetes/test/test_v1_custom_resource_column_definition.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_custom_resource_column_definition import V1CustomResourceColumnDefinition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1CustomResourceColumnDefinition(unittest.TestCase): - """V1CustomResourceColumnDefinition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1CustomResourceColumnDefinition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_custom_resource_column_definition.V1CustomResourceColumnDefinition() # noqa: E501 - if include_optional : - return V1CustomResourceColumnDefinition( - description = '0', - format = '0', - json_path = '0', - name = '0', - priority = 56, - type = '0' - ) - else : - return V1CustomResourceColumnDefinition( - json_path = '0', - name = '0', - type = '0', - ) - - def testV1CustomResourceColumnDefinition(self): - """Test V1CustomResourceColumnDefinition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_custom_resource_conversion.py b/kubernetes/test/test_v1_custom_resource_conversion.py deleted file mode 100644 index 0ad3d89e8d..0000000000 --- a/kubernetes/test/test_v1_custom_resource_conversion.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_custom_resource_conversion import V1CustomResourceConversion # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1CustomResourceConversion(unittest.TestCase): - """V1CustomResourceConversion unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1CustomResourceConversion - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_custom_resource_conversion.V1CustomResourceConversion() # noqa: E501 - if include_optional : - return V1CustomResourceConversion( - strategy = '0', - webhook = kubernetes.client.models.v1/webhook_conversion.v1.WebhookConversion( - kubernetes.client_config = kubernetes.client.models.apiextensions/v1/webhook_client_config.apiextensions.v1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.apiextensions/v1/service_reference.apiextensions.v1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - conversion_review_versions = [ - '0' - ], ) - ) - else : - return V1CustomResourceConversion( - strategy = '0', - ) - - def testV1CustomResourceConversion(self): - """Test V1CustomResourceConversion""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_custom_resource_definition.py b/kubernetes/test/test_v1_custom_resource_definition.py deleted file mode 100644 index ea42e78972..0000000000 --- a/kubernetes/test/test_v1_custom_resource_definition.py +++ /dev/null @@ -1,2279 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_custom_resource_definition import V1CustomResourceDefinition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1CustomResourceDefinition(unittest.TestCase): - """V1CustomResourceDefinition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1CustomResourceDefinition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_custom_resource_definition.V1CustomResourceDefinition() # noqa: E501 - if include_optional : - return V1CustomResourceDefinition( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/custom_resource_definition_spec.v1.CustomResourceDefinitionSpec( - conversion = kubernetes.client.models.v1/custom_resource_conversion.v1.CustomResourceConversion( - strategy = '0', - webhook = kubernetes.client.models.v1/webhook_conversion.v1.WebhookConversion( - kubernetes.client_config = kubernetes.client.models.apiextensions/v1/webhook_client_config.apiextensions.v1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.apiextensions/v1/service_reference.apiextensions.v1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - conversion_review_versions = [ - '0' - ], ), ), - group = '0', - names = kubernetes.client.models.v1/custom_resource_definition_names.v1.CustomResourceDefinitionNames( - categories = [ - '0' - ], - kind = '0', - list_kind = '0', - plural = '0', - short_names = [ - '0' - ], - singular = '0', ), - preserve_unknown_fields = True, - scope = '0', - versions = [ - kubernetes.client.models.v1/custom_resource_definition_version.v1.CustomResourceDefinitionVersion( - additional_printer_columns = [ - kubernetes.client.models.v1/custom_resource_column_definition.v1.CustomResourceColumnDefinition( - description = '0', - format = '0', - json_path = '0', - name = '0', - priority = 56, - type = '0', ) - ], - name = '0', - schema = kubernetes.client.models.v1/custom_resource_validation.v1.CustomResourceValidation( - open_apiv3_schema = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), ), - served = True, - storage = True, - subresources = kubernetes.client.models.v1/custom_resource_subresources.v1.CustomResourceSubresources( - scale = kubernetes.client.models.v1/custom_resource_subresource_scale.v1.CustomResourceSubresourceScale( - label_selector_path = '0', - spec_replicas_path = '0', - status_replicas_path = '0', ), - status = kubernetes.client.models.status.status(), ), ) - ], ), - status = kubernetes.client.models.v1/custom_resource_definition_status.v1.CustomResourceDefinitionStatus( - accepted_names = kubernetes.client.models.v1/custom_resource_definition_names.v1.CustomResourceDefinitionNames( - categories = [ - '0' - ], - kind = '0', - list_kind = '0', - plural = '0', - short_names = [ - '0' - ], - singular = '0', ), - conditions = [ - kubernetes.client.models.v1/custom_resource_definition_condition.v1.CustomResourceDefinitionCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - stored_versions = [ - '0' - ], ) - ) - else : - return V1CustomResourceDefinition( - spec = kubernetes.client.models.v1/custom_resource_definition_spec.v1.CustomResourceDefinitionSpec( - conversion = kubernetes.client.models.v1/custom_resource_conversion.v1.CustomResourceConversion( - strategy = '0', - webhook = kubernetes.client.models.v1/webhook_conversion.v1.WebhookConversion( - kubernetes.client_config = kubernetes.client.models.apiextensions/v1/webhook_client_config.apiextensions.v1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.apiextensions/v1/service_reference.apiextensions.v1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - conversion_review_versions = [ - '0' - ], ), ), - group = '0', - names = kubernetes.client.models.v1/custom_resource_definition_names.v1.CustomResourceDefinitionNames( - categories = [ - '0' - ], - kind = '0', - list_kind = '0', - plural = '0', - short_names = [ - '0' - ], - singular = '0', ), - preserve_unknown_fields = True, - scope = '0', - versions = [ - kubernetes.client.models.v1/custom_resource_definition_version.v1.CustomResourceDefinitionVersion( - additional_printer_columns = [ - kubernetes.client.models.v1/custom_resource_column_definition.v1.CustomResourceColumnDefinition( - description = '0', - format = '0', - json_path = '0', - name = '0', - priority = 56, - type = '0', ) - ], - name = '0', - schema = kubernetes.client.models.v1/custom_resource_validation.v1.CustomResourceValidation( - open_apiv3_schema = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), ), - served = True, - storage = True, - subresources = kubernetes.client.models.v1/custom_resource_subresources.v1.CustomResourceSubresources( - scale = kubernetes.client.models.v1/custom_resource_subresource_scale.v1.CustomResourceSubresourceScale( - label_selector_path = '0', - spec_replicas_path = '0', - status_replicas_path = '0', ), - status = kubernetes.client.models.status.status(), ), ) - ], ), - ) - - def testV1CustomResourceDefinition(self): - """Test V1CustomResourceDefinition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_custom_resource_definition_condition.py b/kubernetes/test/test_v1_custom_resource_definition_condition.py deleted file mode 100644 index 1b8e2ff3e4..0000000000 --- a/kubernetes/test/test_v1_custom_resource_definition_condition.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_custom_resource_definition_condition import V1CustomResourceDefinitionCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1CustomResourceDefinitionCondition(unittest.TestCase): - """V1CustomResourceDefinitionCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1CustomResourceDefinitionCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_custom_resource_definition_condition.V1CustomResourceDefinitionCondition() # noqa: E501 - if include_optional : - return V1CustomResourceDefinitionCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V1CustomResourceDefinitionCondition( - status = '0', - type = '0', - ) - - def testV1CustomResourceDefinitionCondition(self): - """Test V1CustomResourceDefinitionCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_custom_resource_definition_list.py b/kubernetes/test/test_v1_custom_resource_definition_list.py deleted file mode 100644 index fd11285243..0000000000 --- a/kubernetes/test/test_v1_custom_resource_definition_list.py +++ /dev/null @@ -1,2344 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_custom_resource_definition_list import V1CustomResourceDefinitionList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1CustomResourceDefinitionList(unittest.TestCase): - """V1CustomResourceDefinitionList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1CustomResourceDefinitionList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_custom_resource_definition_list.V1CustomResourceDefinitionList() # noqa: E501 - if include_optional : - return V1CustomResourceDefinitionList( - api_version = '0', - items = [ - kubernetes.client.models.v1/custom_resource_definition.v1.CustomResourceDefinition( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/custom_resource_definition_spec.v1.CustomResourceDefinitionSpec( - conversion = kubernetes.client.models.v1/custom_resource_conversion.v1.CustomResourceConversion( - strategy = '0', - webhook = kubernetes.client.models.v1/webhook_conversion.v1.WebhookConversion( - kubernetes.client_config = kubernetes.client.models.apiextensions/v1/webhook_client_config.apiextensions.v1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.apiextensions/v1/service_reference.apiextensions.v1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - conversion_review_versions = [ - '0' - ], ), ), - group = '0', - names = kubernetes.client.models.v1/custom_resource_definition_names.v1.CustomResourceDefinitionNames( - categories = [ - '0' - ], - kind = '0', - list_kind = '0', - plural = '0', - short_names = [ - '0' - ], - singular = '0', ), - preserve_unknown_fields = True, - scope = '0', - versions = [ - kubernetes.client.models.v1/custom_resource_definition_version.v1.CustomResourceDefinitionVersion( - additional_printer_columns = [ - kubernetes.client.models.v1/custom_resource_column_definition.v1.CustomResourceColumnDefinition( - description = '0', - format = '0', - json_path = '0', - name = '0', - priority = 56, - type = '0', ) - ], - name = '0', - schema = kubernetes.client.models.v1/custom_resource_validation.v1.CustomResourceValidation( - open_apiv3_schema = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), ), - served = True, - storage = True, - subresources = kubernetes.client.models.v1/custom_resource_subresources.v1.CustomResourceSubresources( - scale = kubernetes.client.models.v1/custom_resource_subresource_scale.v1.CustomResourceSubresourceScale( - label_selector_path = '0', - spec_replicas_path = '0', - status_replicas_path = '0', ), - status = kubernetes.client.models.status.status(), ), ) - ], ), - status = kubernetes.client.models.v1/custom_resource_definition_status.v1.CustomResourceDefinitionStatus( - accepted_names = kubernetes.client.models.v1/custom_resource_definition_names.v1.CustomResourceDefinitionNames( - kind = '0', - list_kind = '0', - plural = '0', - singular = '0', ), - conditions = [ - kubernetes.client.models.v1/custom_resource_definition_condition.v1.CustomResourceDefinitionCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - stored_versions = [ - '0' - ], ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1CustomResourceDefinitionList( - items = [ - kubernetes.client.models.v1/custom_resource_definition.v1.CustomResourceDefinition( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/custom_resource_definition_spec.v1.CustomResourceDefinitionSpec( - conversion = kubernetes.client.models.v1/custom_resource_conversion.v1.CustomResourceConversion( - strategy = '0', - webhook = kubernetes.client.models.v1/webhook_conversion.v1.WebhookConversion( - kubernetes.client_config = kubernetes.client.models.apiextensions/v1/webhook_client_config.apiextensions.v1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.apiextensions/v1/service_reference.apiextensions.v1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - conversion_review_versions = [ - '0' - ], ), ), - group = '0', - names = kubernetes.client.models.v1/custom_resource_definition_names.v1.CustomResourceDefinitionNames( - categories = [ - '0' - ], - kind = '0', - list_kind = '0', - plural = '0', - short_names = [ - '0' - ], - singular = '0', ), - preserve_unknown_fields = True, - scope = '0', - versions = [ - kubernetes.client.models.v1/custom_resource_definition_version.v1.CustomResourceDefinitionVersion( - additional_printer_columns = [ - kubernetes.client.models.v1/custom_resource_column_definition.v1.CustomResourceColumnDefinition( - description = '0', - format = '0', - json_path = '0', - name = '0', - priority = 56, - type = '0', ) - ], - name = '0', - schema = kubernetes.client.models.v1/custom_resource_validation.v1.CustomResourceValidation( - open_apiv3_schema = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), ), - served = True, - storage = True, - subresources = kubernetes.client.models.v1/custom_resource_subresources.v1.CustomResourceSubresources( - scale = kubernetes.client.models.v1/custom_resource_subresource_scale.v1.CustomResourceSubresourceScale( - label_selector_path = '0', - spec_replicas_path = '0', - status_replicas_path = '0', ), - status = kubernetes.client.models.status.status(), ), ) - ], ), - status = kubernetes.client.models.v1/custom_resource_definition_status.v1.CustomResourceDefinitionStatus( - accepted_names = kubernetes.client.models.v1/custom_resource_definition_names.v1.CustomResourceDefinitionNames( - kind = '0', - list_kind = '0', - plural = '0', - singular = '0', ), - conditions = [ - kubernetes.client.models.v1/custom_resource_definition_condition.v1.CustomResourceDefinitionCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - stored_versions = [ - '0' - ], ), ) - ], - ) - - def testV1CustomResourceDefinitionList(self): - """Test V1CustomResourceDefinitionList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_custom_resource_definition_names.py b/kubernetes/test/test_v1_custom_resource_definition_names.py deleted file mode 100644 index 16cbf49064..0000000000 --- a/kubernetes/test/test_v1_custom_resource_definition_names.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_custom_resource_definition_names import V1CustomResourceDefinitionNames # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1CustomResourceDefinitionNames(unittest.TestCase): - """V1CustomResourceDefinitionNames unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1CustomResourceDefinitionNames - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_custom_resource_definition_names.V1CustomResourceDefinitionNames() # noqa: E501 - if include_optional : - return V1CustomResourceDefinitionNames( - categories = [ - '0' - ], - kind = '0', - list_kind = '0', - plural = '0', - short_names = [ - '0' - ], - singular = '0' - ) - else : - return V1CustomResourceDefinitionNames( - kind = '0', - plural = '0', - ) - - def testV1CustomResourceDefinitionNames(self): - """Test V1CustomResourceDefinitionNames""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_custom_resource_definition_spec.py b/kubernetes/test/test_v1_custom_resource_definition_spec.py deleted file mode 100644 index b818d644e5..0000000000 --- a/kubernetes/test/test_v1_custom_resource_definition_spec.py +++ /dev/null @@ -1,2198 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_custom_resource_definition_spec import V1CustomResourceDefinitionSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1CustomResourceDefinitionSpec(unittest.TestCase): - """V1CustomResourceDefinitionSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1CustomResourceDefinitionSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_custom_resource_definition_spec.V1CustomResourceDefinitionSpec() # noqa: E501 - if include_optional : - return V1CustomResourceDefinitionSpec( - conversion = kubernetes.client.models.v1/custom_resource_conversion.v1.CustomResourceConversion( - strategy = '0', - webhook = kubernetes.client.models.v1/webhook_conversion.v1.WebhookConversion( - kubernetes.client_config = kubernetes.client.models.apiextensions/v1/webhook_client_config.apiextensions.v1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.apiextensions/v1/service_reference.apiextensions.v1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - conversion_review_versions = [ - '0' - ], ), ), - group = '0', - names = kubernetes.client.models.v1/custom_resource_definition_names.v1.CustomResourceDefinitionNames( - categories = [ - '0' - ], - kind = '0', - list_kind = '0', - plural = '0', - short_names = [ - '0' - ], - singular = '0', ), - preserve_unknown_fields = True, - scope = '0', - versions = [ - kubernetes.client.models.v1/custom_resource_definition_version.v1.CustomResourceDefinitionVersion( - additional_printer_columns = [ - kubernetes.client.models.v1/custom_resource_column_definition.v1.CustomResourceColumnDefinition( - description = '0', - format = '0', - json_path = '0', - name = '0', - priority = 56, - type = '0', ) - ], - name = '0', - schema = kubernetes.client.models.v1/custom_resource_validation.v1.CustomResourceValidation( - open_apiv3_schema = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), ), - served = True, - storage = True, - subresources = kubernetes.client.models.v1/custom_resource_subresources.v1.CustomResourceSubresources( - scale = kubernetes.client.models.v1/custom_resource_subresource_scale.v1.CustomResourceSubresourceScale( - label_selector_path = '0', - spec_replicas_path = '0', - status_replicas_path = '0', ), - status = kubernetes.client.models.status.status(), ), ) - ] - ) - else : - return V1CustomResourceDefinitionSpec( - group = '0', - names = kubernetes.client.models.v1/custom_resource_definition_names.v1.CustomResourceDefinitionNames( - categories = [ - '0' - ], - kind = '0', - list_kind = '0', - plural = '0', - short_names = [ - '0' - ], - singular = '0', ), - scope = '0', - versions = [ - kubernetes.client.models.v1/custom_resource_definition_version.v1.CustomResourceDefinitionVersion( - additional_printer_columns = [ - kubernetes.client.models.v1/custom_resource_column_definition.v1.CustomResourceColumnDefinition( - description = '0', - format = '0', - json_path = '0', - name = '0', - priority = 56, - type = '0', ) - ], - name = '0', - schema = kubernetes.client.models.v1/custom_resource_validation.v1.CustomResourceValidation( - open_apiv3_schema = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), ), - served = True, - storage = True, - subresources = kubernetes.client.models.v1/custom_resource_subresources.v1.CustomResourceSubresources( - scale = kubernetes.client.models.v1/custom_resource_subresource_scale.v1.CustomResourceSubresourceScale( - label_selector_path = '0', - spec_replicas_path = '0', - status_replicas_path = '0', ), - status = kubernetes.client.models.status.status(), ), ) - ], - ) - - def testV1CustomResourceDefinitionSpec(self): - """Test V1CustomResourceDefinitionSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_custom_resource_definition_status.py b/kubernetes/test/test_v1_custom_resource_definition_status.py deleted file mode 100644 index a286584d78..0000000000 --- a/kubernetes/test/test_v1_custom_resource_definition_status.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_custom_resource_definition_status import V1CustomResourceDefinitionStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1CustomResourceDefinitionStatus(unittest.TestCase): - """V1CustomResourceDefinitionStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1CustomResourceDefinitionStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_custom_resource_definition_status.V1CustomResourceDefinitionStatus() # noqa: E501 - if include_optional : - return V1CustomResourceDefinitionStatus( - accepted_names = kubernetes.client.models.v1/custom_resource_definition_names.v1.CustomResourceDefinitionNames( - categories = [ - '0' - ], - kind = '0', - list_kind = '0', - plural = '0', - short_names = [ - '0' - ], - singular = '0', ), - conditions = [ - kubernetes.client.models.v1/custom_resource_definition_condition.v1.CustomResourceDefinitionCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - stored_versions = [ - '0' - ] - ) - else : - return V1CustomResourceDefinitionStatus( - accepted_names = kubernetes.client.models.v1/custom_resource_definition_names.v1.CustomResourceDefinitionNames( - categories = [ - '0' - ], - kind = '0', - list_kind = '0', - plural = '0', - short_names = [ - '0' - ], - singular = '0', ), - stored_versions = [ - '0' - ], - ) - - def testV1CustomResourceDefinitionStatus(self): - """Test V1CustomResourceDefinitionStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_custom_resource_definition_version.py b/kubernetes/test/test_v1_custom_resource_definition_version.py deleted file mode 100644 index 21944ff750..0000000000 --- a/kubernetes/test/test_v1_custom_resource_definition_version.py +++ /dev/null @@ -1,1104 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_custom_resource_definition_version import V1CustomResourceDefinitionVersion # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1CustomResourceDefinitionVersion(unittest.TestCase): - """V1CustomResourceDefinitionVersion unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1CustomResourceDefinitionVersion - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_custom_resource_definition_version.V1CustomResourceDefinitionVersion() # noqa: E501 - if include_optional : - return V1CustomResourceDefinitionVersion( - additional_printer_columns = [ - kubernetes.client.models.v1/custom_resource_column_definition.v1.CustomResourceColumnDefinition( - description = '0', - format = '0', - json_path = '0', - name = '0', - priority = 56, - type = '0', ) - ], - name = '0', - schema = kubernetes.client.models.v1/custom_resource_validation.v1.CustomResourceValidation( - open_apiv3_schema = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), ), - served = True, - storage = True, - subresources = kubernetes.client.models.v1/custom_resource_subresources.v1.CustomResourceSubresources( - scale = kubernetes.client.models.v1/custom_resource_subresource_scale.v1.CustomResourceSubresourceScale( - label_selector_path = '0', - spec_replicas_path = '0', - status_replicas_path = '0', ), - status = kubernetes.client.models.status.status(), ) - ) - else : - return V1CustomResourceDefinitionVersion( - name = '0', - served = True, - storage = True, - ) - - def testV1CustomResourceDefinitionVersion(self): - """Test V1CustomResourceDefinitionVersion""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_custom_resource_subresource_scale.py b/kubernetes/test/test_v1_custom_resource_subresource_scale.py deleted file mode 100644 index 82246bea4a..0000000000 --- a/kubernetes/test/test_v1_custom_resource_subresource_scale.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_custom_resource_subresource_scale import V1CustomResourceSubresourceScale # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1CustomResourceSubresourceScale(unittest.TestCase): - """V1CustomResourceSubresourceScale unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1CustomResourceSubresourceScale - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_custom_resource_subresource_scale.V1CustomResourceSubresourceScale() # noqa: E501 - if include_optional : - return V1CustomResourceSubresourceScale( - label_selector_path = '0', - spec_replicas_path = '0', - status_replicas_path = '0' - ) - else : - return V1CustomResourceSubresourceScale( - spec_replicas_path = '0', - status_replicas_path = '0', - ) - - def testV1CustomResourceSubresourceScale(self): - """Test V1CustomResourceSubresourceScale""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_custom_resource_subresources.py b/kubernetes/test/test_v1_custom_resource_subresources.py deleted file mode 100644 index a279a324e0..0000000000 --- a/kubernetes/test/test_v1_custom_resource_subresources.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_custom_resource_subresources import V1CustomResourceSubresources # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1CustomResourceSubresources(unittest.TestCase): - """V1CustomResourceSubresources unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1CustomResourceSubresources - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_custom_resource_subresources.V1CustomResourceSubresources() # noqa: E501 - if include_optional : - return V1CustomResourceSubresources( - scale = kubernetes.client.models.v1/custom_resource_subresource_scale.v1.CustomResourceSubresourceScale( - label_selector_path = '0', - spec_replicas_path = '0', - status_replicas_path = '0', ), - status = kubernetes.client.models.status.status() - ) - else : - return V1CustomResourceSubresources( - ) - - def testV1CustomResourceSubresources(self): - """Test V1CustomResourceSubresources""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_custom_resource_validation.py b/kubernetes/test/test_v1_custom_resource_validation.py deleted file mode 100644 index 662e5079f2..0000000000 --- a/kubernetes/test/test_v1_custom_resource_validation.py +++ /dev/null @@ -1,1082 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_custom_resource_validation import V1CustomResourceValidation # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1CustomResourceValidation(unittest.TestCase): - """V1CustomResourceValidation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1CustomResourceValidation - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_custom_resource_validation.V1CustomResourceValidation() # noqa: E501 - if include_optional : - return V1CustomResourceValidation( - open_apiv3_schema = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ) - else : - return V1CustomResourceValidation( - ) - - def testV1CustomResourceValidation(self): - """Test V1CustomResourceValidation""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_daemon_endpoint.py b/kubernetes/test/test_v1_daemon_endpoint.py deleted file mode 100644 index 6cb56fe91a..0000000000 --- a/kubernetes/test/test_v1_daemon_endpoint.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_daemon_endpoint import V1DaemonEndpoint # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1DaemonEndpoint(unittest.TestCase): - """V1DaemonEndpoint unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1DaemonEndpoint - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_daemon_endpoint.V1DaemonEndpoint() # noqa: E501 - if include_optional : - return V1DaemonEndpoint( - port = 56 - ) - else : - return V1DaemonEndpoint( - port = 56, - ) - - def testV1DaemonEndpoint(self): - """Test V1DaemonEndpoint""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_daemon_set.py b/kubernetes/test/test_v1_daemon_set.py deleted file mode 100644 index 3ba89e545b..0000000000 --- a/kubernetes/test/test_v1_daemon_set.py +++ /dev/null @@ -1,602 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_daemon_set import V1DaemonSet # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1DaemonSet(unittest.TestCase): - """V1DaemonSet unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1DaemonSet - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_daemon_set.V1DaemonSet() # noqa: E501 - if include_optional : - return V1DaemonSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/daemon_set_spec.v1.DaemonSetSpec( - min_ready_seconds = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - update_strategy = kubernetes.client.models.v1/daemon_set_update_strategy.v1.DaemonSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1/rolling_update_daemon_set.v1.RollingUpdateDaemonSet( - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), ), - status = kubernetes.client.models.v1/daemon_set_status.v1.DaemonSetStatus( - collision_count = 56, - conditions = [ - kubernetes.client.models.v1/daemon_set_condition.v1.DaemonSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_number_scheduled = 56, - desired_number_scheduled = 56, - number_available = 56, - number_misscheduled = 56, - number_ready = 56, - number_unavailable = 56, - observed_generation = 56, - updated_number_scheduled = 56, ) - ) - else : - return V1DaemonSet( - ) - - def testV1DaemonSet(self): - """Test V1DaemonSet""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_daemon_set_condition.py b/kubernetes/test/test_v1_daemon_set_condition.py deleted file mode 100644 index af3b962190..0000000000 --- a/kubernetes/test/test_v1_daemon_set_condition.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_daemon_set_condition import V1DaemonSetCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1DaemonSetCondition(unittest.TestCase): - """V1DaemonSetCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1DaemonSetCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_daemon_set_condition.V1DaemonSetCondition() # noqa: E501 - if include_optional : - return V1DaemonSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V1DaemonSetCondition( - status = '0', - type = '0', - ) - - def testV1DaemonSetCondition(self): - """Test V1DaemonSetCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_daemon_set_list.py b/kubernetes/test/test_v1_daemon_set_list.py deleted file mode 100644 index ad876f9a30..0000000000 --- a/kubernetes/test/test_v1_daemon_set_list.py +++ /dev/null @@ -1,222 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_daemon_set_list import V1DaemonSetList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1DaemonSetList(unittest.TestCase): - """V1DaemonSetList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1DaemonSetList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_daemon_set_list.V1DaemonSetList() # noqa: E501 - if include_optional : - return V1DaemonSetList( - api_version = '0', - items = [ - kubernetes.client.models.v1/daemon_set.v1.DaemonSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/daemon_set_spec.v1.DaemonSetSpec( - min_ready_seconds = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), - update_strategy = kubernetes.client.models.v1/daemon_set_update_strategy.v1.DaemonSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1/rolling_update_daemon_set.v1.RollingUpdateDaemonSet( - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), ), - status = kubernetes.client.models.v1/daemon_set_status.v1.DaemonSetStatus( - collision_count = 56, - conditions = [ - kubernetes.client.models.v1/daemon_set_condition.v1.DaemonSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_number_scheduled = 56, - desired_number_scheduled = 56, - number_available = 56, - number_misscheduled = 56, - number_ready = 56, - number_unavailable = 56, - observed_generation = 56, - updated_number_scheduled = 56, ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1DaemonSetList( - items = [ - kubernetes.client.models.v1/daemon_set.v1.DaemonSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/daemon_set_spec.v1.DaemonSetSpec( - min_ready_seconds = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), - update_strategy = kubernetes.client.models.v1/daemon_set_update_strategy.v1.DaemonSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1/rolling_update_daemon_set.v1.RollingUpdateDaemonSet( - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), ), - status = kubernetes.client.models.v1/daemon_set_status.v1.DaemonSetStatus( - collision_count = 56, - conditions = [ - kubernetes.client.models.v1/daemon_set_condition.v1.DaemonSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_number_scheduled = 56, - desired_number_scheduled = 56, - number_available = 56, - number_misscheduled = 56, - number_ready = 56, - number_unavailable = 56, - observed_generation = 56, - updated_number_scheduled = 56, ), ) - ], - ) - - def testV1DaemonSetList(self): - """Test V1DaemonSetList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_daemon_set_spec.py b/kubernetes/test/test_v1_daemon_set_spec.py deleted file mode 100644 index c215a79fa4..0000000000 --- a/kubernetes/test/test_v1_daemon_set_spec.py +++ /dev/null @@ -1,1049 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_daemon_set_spec import V1DaemonSetSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1DaemonSetSpec(unittest.TestCase): - """V1DaemonSetSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1DaemonSetSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_daemon_set_spec.V1DaemonSetSpec() # noqa: E501 - if include_optional : - return V1DaemonSetSpec( - min_ready_seconds = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - update_strategy = kubernetes.client.models.v1/daemon_set_update_strategy.v1.DaemonSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1/rolling_update_daemon_set.v1.RollingUpdateDaemonSet( - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ) - ) - else : - return V1DaemonSetSpec( - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - ) - - def testV1DaemonSetSpec(self): - """Test V1DaemonSetSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_daemon_set_status.py b/kubernetes/test/test_v1_daemon_set_status.py deleted file mode 100644 index b3b5fe39f0..0000000000 --- a/kubernetes/test/test_v1_daemon_set_status.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_daemon_set_status import V1DaemonSetStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1DaemonSetStatus(unittest.TestCase): - """V1DaemonSetStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1DaemonSetStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_daemon_set_status.V1DaemonSetStatus() # noqa: E501 - if include_optional : - return V1DaemonSetStatus( - collision_count = 56, - conditions = [ - kubernetes.client.models.v1/daemon_set_condition.v1.DaemonSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_number_scheduled = 56, - desired_number_scheduled = 56, - number_available = 56, - number_misscheduled = 56, - number_ready = 56, - number_unavailable = 56, - observed_generation = 56, - updated_number_scheduled = 56 - ) - else : - return V1DaemonSetStatus( - current_number_scheduled = 56, - desired_number_scheduled = 56, - number_misscheduled = 56, - number_ready = 56, - ) - - def testV1DaemonSetStatus(self): - """Test V1DaemonSetStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_daemon_set_update_strategy.py b/kubernetes/test/test_v1_daemon_set_update_strategy.py deleted file mode 100644 index 6614d573a2..0000000000 --- a/kubernetes/test/test_v1_daemon_set_update_strategy.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_daemon_set_update_strategy import V1DaemonSetUpdateStrategy # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1DaemonSetUpdateStrategy(unittest.TestCase): - """V1DaemonSetUpdateStrategy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1DaemonSetUpdateStrategy - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_daemon_set_update_strategy.V1DaemonSetUpdateStrategy() # noqa: E501 - if include_optional : - return V1DaemonSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1/rolling_update_daemon_set.v1.RollingUpdateDaemonSet( - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0' - ) - else : - return V1DaemonSetUpdateStrategy( - ) - - def testV1DaemonSetUpdateStrategy(self): - """Test V1DaemonSetUpdateStrategy""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_delete_options.py b/kubernetes/test/test_v1_delete_options.py deleted file mode 100644 index 3a4eaef457..0000000000 --- a/kubernetes/test/test_v1_delete_options.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_delete_options import V1DeleteOptions # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1DeleteOptions(unittest.TestCase): - """V1DeleteOptions unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1DeleteOptions - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_delete_options.V1DeleteOptions() # noqa: E501 - if include_optional : - return V1DeleteOptions( - api_version = '0', - dry_run = [ - '0' - ], - grace_period_seconds = 56, - kind = '0', - orphan_dependents = True, - preconditions = kubernetes.client.models.v1/preconditions.v1.Preconditions( - resource_version = '0', - uid = '0', ), - propagation_policy = '0' - ) - else : - return V1DeleteOptions( - ) - - def testV1DeleteOptions(self): - """Test V1DeleteOptions""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_deployment.py b/kubernetes/test/test_v1_deployment.py deleted file mode 100644 index f07f104f46..0000000000 --- a/kubernetes/test/test_v1_deployment.py +++ /dev/null @@ -1,605 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_deployment import V1Deployment # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Deployment(unittest.TestCase): - """V1Deployment unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Deployment - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_deployment.V1Deployment() # noqa: E501 - if include_optional : - return V1Deployment( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/deployment_spec.v1.DeploymentSpec( - min_ready_seconds = 56, - paused = True, - progress_deadline_seconds = 56, - replicas = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - strategy = kubernetes.client.models.v1/deployment_strategy.v1.DeploymentStrategy( - rolling_update = kubernetes.client.models.v1/rolling_update_deployment.v1.RollingUpdateDeployment( - max_surge = kubernetes.client.models.max_surge.maxSurge(), - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), ), - status = kubernetes.client.models.v1/deployment_status.v1.DeploymentStatus( - available_replicas = 56, - collision_count = 56, - conditions = [ - kubernetes.client.models.v1/deployment_condition.v1.DeploymentCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - unavailable_replicas = 56, - updated_replicas = 56, ) - ) - else : - return V1Deployment( - ) - - def testV1Deployment(self): - """Test V1Deployment""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_deployment_condition.py b/kubernetes/test/test_v1_deployment_condition.py deleted file mode 100644 index a0c5983056..0000000000 --- a/kubernetes/test/test_v1_deployment_condition.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_deployment_condition import V1DeploymentCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1DeploymentCondition(unittest.TestCase): - """V1DeploymentCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1DeploymentCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_deployment_condition.V1DeploymentCondition() # noqa: E501 - if include_optional : - return V1DeploymentCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V1DeploymentCondition( - status = '0', - type = '0', - ) - - def testV1DeploymentCondition(self): - """Test V1DeploymentCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_deployment_list.py b/kubernetes/test/test_v1_deployment_list.py deleted file mode 100644 index 28c0e08339..0000000000 --- a/kubernetes/test/test_v1_deployment_list.py +++ /dev/null @@ -1,228 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_deployment_list import V1DeploymentList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1DeploymentList(unittest.TestCase): - """V1DeploymentList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1DeploymentList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_deployment_list.V1DeploymentList() # noqa: E501 - if include_optional : - return V1DeploymentList( - api_version = '0', - items = [ - kubernetes.client.models.v1/deployment.v1.Deployment( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/deployment_spec.v1.DeploymentSpec( - min_ready_seconds = 56, - paused = True, - progress_deadline_seconds = 56, - replicas = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - strategy = kubernetes.client.models.v1/deployment_strategy.v1.DeploymentStrategy( - rolling_update = kubernetes.client.models.v1/rolling_update_deployment.v1.RollingUpdateDeployment( - max_surge = kubernetes.client.models.max_surge.maxSurge(), - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), - status = kubernetes.client.models.v1/deployment_status.v1.DeploymentStatus( - available_replicas = 56, - collision_count = 56, - conditions = [ - kubernetes.client.models.v1/deployment_condition.v1.DeploymentCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - unavailable_replicas = 56, - updated_replicas = 56, ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1DeploymentList( - items = [ - kubernetes.client.models.v1/deployment.v1.Deployment( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/deployment_spec.v1.DeploymentSpec( - min_ready_seconds = 56, - paused = True, - progress_deadline_seconds = 56, - replicas = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - strategy = kubernetes.client.models.v1/deployment_strategy.v1.DeploymentStrategy( - rolling_update = kubernetes.client.models.v1/rolling_update_deployment.v1.RollingUpdateDeployment( - max_surge = kubernetes.client.models.max_surge.maxSurge(), - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), - status = kubernetes.client.models.v1/deployment_status.v1.DeploymentStatus( - available_replicas = 56, - collision_count = 56, - conditions = [ - kubernetes.client.models.v1/deployment_condition.v1.DeploymentCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - unavailable_replicas = 56, - updated_replicas = 56, ), ) - ], - ) - - def testV1DeploymentList(self): - """Test V1DeploymentList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_deployment_spec.py b/kubernetes/test/test_v1_deployment_spec.py deleted file mode 100644 index 988436dfdd..0000000000 --- a/kubernetes/test/test_v1_deployment_spec.py +++ /dev/null @@ -1,1053 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_deployment_spec import V1DeploymentSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1DeploymentSpec(unittest.TestCase): - """V1DeploymentSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1DeploymentSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_deployment_spec.V1DeploymentSpec() # noqa: E501 - if include_optional : - return V1DeploymentSpec( - min_ready_seconds = 56, - paused = True, - progress_deadline_seconds = 56, - replicas = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - strategy = kubernetes.client.models.v1/deployment_strategy.v1.DeploymentStrategy( - rolling_update = kubernetes.client.models.v1/rolling_update_deployment.v1.RollingUpdateDeployment( - max_surge = kubernetes.client.models.max_surge.maxSurge(), - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ) - ) - else : - return V1DeploymentSpec( - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - ) - - def testV1DeploymentSpec(self): - """Test V1DeploymentSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_deployment_status.py b/kubernetes/test/test_v1_deployment_status.py deleted file mode 100644 index fc1011b5a8..0000000000 --- a/kubernetes/test/test_v1_deployment_status.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_deployment_status import V1DeploymentStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1DeploymentStatus(unittest.TestCase): - """V1DeploymentStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1DeploymentStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_deployment_status.V1DeploymentStatus() # noqa: E501 - if include_optional : - return V1DeploymentStatus( - available_replicas = 56, - collision_count = 56, - conditions = [ - kubernetes.client.models.v1/deployment_condition.v1.DeploymentCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - unavailable_replicas = 56, - updated_replicas = 56 - ) - else : - return V1DeploymentStatus( - ) - - def testV1DeploymentStatus(self): - """Test V1DeploymentStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_deployment_strategy.py b/kubernetes/test/test_v1_deployment_strategy.py deleted file mode 100644 index 6eb013eb12..0000000000 --- a/kubernetes/test/test_v1_deployment_strategy.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_deployment_strategy import V1DeploymentStrategy # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1DeploymentStrategy(unittest.TestCase): - """V1DeploymentStrategy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1DeploymentStrategy - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_deployment_strategy.V1DeploymentStrategy() # noqa: E501 - if include_optional : - return V1DeploymentStrategy( - rolling_update = kubernetes.client.models.v1/rolling_update_deployment.v1.RollingUpdateDeployment( - max_surge = kubernetes.client.models.max_surge.maxSurge(), - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0' - ) - else : - return V1DeploymentStrategy( - ) - - def testV1DeploymentStrategy(self): - """Test V1DeploymentStrategy""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_downward_api_projection.py b/kubernetes/test/test_v1_downward_api_projection.py deleted file mode 100644 index 54ac26efc4..0000000000 --- a/kubernetes/test/test_v1_downward_api_projection.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_downward_api_projection import V1DownwardAPIProjection # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1DownwardAPIProjection(unittest.TestCase): - """V1DownwardAPIProjection unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1DownwardAPIProjection - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_downward_api_projection.V1DownwardAPIProjection() # noqa: E501 - if include_optional : - return V1DownwardAPIProjection( - items = [ - kubernetes.client.models.v1/downward_api_volume_file.v1.DownwardAPIVolumeFile( - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - mode = 56, - path = '0', - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), ) - ] - ) - else : - return V1DownwardAPIProjection( - ) - - def testV1DownwardAPIProjection(self): - """Test V1DownwardAPIProjection""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_downward_api_volume_file.py b/kubernetes/test/test_v1_downward_api_volume_file.py deleted file mode 100644 index 1d27d110ad..0000000000 --- a/kubernetes/test/test_v1_downward_api_volume_file.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_downward_api_volume_file import V1DownwardAPIVolumeFile # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1DownwardAPIVolumeFile(unittest.TestCase): - """V1DownwardAPIVolumeFile unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1DownwardAPIVolumeFile - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_downward_api_volume_file.V1DownwardAPIVolumeFile() # noqa: E501 - if include_optional : - return V1DownwardAPIVolumeFile( - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - mode = 56, - path = '0', - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ) - ) - else : - return V1DownwardAPIVolumeFile( - path = '0', - ) - - def testV1DownwardAPIVolumeFile(self): - """Test V1DownwardAPIVolumeFile""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_downward_api_volume_source.py b/kubernetes/test/test_v1_downward_api_volume_source.py deleted file mode 100644 index 62fe832b21..0000000000 --- a/kubernetes/test/test_v1_downward_api_volume_source.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_downward_api_volume_source import V1DownwardAPIVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1DownwardAPIVolumeSource(unittest.TestCase): - """V1DownwardAPIVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1DownwardAPIVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_downward_api_volume_source.V1DownwardAPIVolumeSource() # noqa: E501 - if include_optional : - return V1DownwardAPIVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/downward_api_volume_file.v1.DownwardAPIVolumeFile( - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - mode = 56, - path = '0', - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), ) - ] - ) - else : - return V1DownwardAPIVolumeSource( - ) - - def testV1DownwardAPIVolumeSource(self): - """Test V1DownwardAPIVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_empty_dir_volume_source.py b/kubernetes/test/test_v1_empty_dir_volume_source.py deleted file mode 100644 index 0f32a36c87..0000000000 --- a/kubernetes/test/test_v1_empty_dir_volume_source.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_empty_dir_volume_source import V1EmptyDirVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1EmptyDirVolumeSource(unittest.TestCase): - """V1EmptyDirVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1EmptyDirVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_empty_dir_volume_source.V1EmptyDirVolumeSource() # noqa: E501 - if include_optional : - return V1EmptyDirVolumeSource( - medium = '0', - size_limit = '0' - ) - else : - return V1EmptyDirVolumeSource( - ) - - def testV1EmptyDirVolumeSource(self): - """Test V1EmptyDirVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_endpoint_address.py b/kubernetes/test/test_v1_endpoint_address.py deleted file mode 100644 index 2a9ec0810e..0000000000 --- a/kubernetes/test/test_v1_endpoint_address.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_endpoint_address import V1EndpointAddress # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1EndpointAddress(unittest.TestCase): - """V1EndpointAddress unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1EndpointAddress - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_endpoint_address.V1EndpointAddress() # noqa: E501 - if include_optional : - return V1EndpointAddress( - hostname = '0', - ip = '0', - node_name = '0', - target_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ) - ) - else : - return V1EndpointAddress( - ip = '0', - ) - - def testV1EndpointAddress(self): - """Test V1EndpointAddress""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_endpoint_port.py b/kubernetes/test/test_v1_endpoint_port.py deleted file mode 100644 index 523dd373aa..0000000000 --- a/kubernetes/test/test_v1_endpoint_port.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_endpoint_port import V1EndpointPort # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1EndpointPort(unittest.TestCase): - """V1EndpointPort unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1EndpointPort - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_endpoint_port.V1EndpointPort() # noqa: E501 - if include_optional : - return V1EndpointPort( - name = '0', - port = 56, - protocol = '0' - ) - else : - return V1EndpointPort( - port = 56, - ) - - def testV1EndpointPort(self): - """Test V1EndpointPort""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_endpoint_subset.py b/kubernetes/test/test_v1_endpoint_subset.py deleted file mode 100644 index 2fb575f453..0000000000 --- a/kubernetes/test/test_v1_endpoint_subset.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_endpoint_subset import V1EndpointSubset # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1EndpointSubset(unittest.TestCase): - """V1EndpointSubset unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1EndpointSubset - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_endpoint_subset.V1EndpointSubset() # noqa: E501 - if include_optional : - return V1EndpointSubset( - addresses = [ - kubernetes.client.models.v1/endpoint_address.v1.EndpointAddress( - hostname = '0', - ip = '0', - node_name = '0', - target_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), ) - ], - not_ready_addresses = [ - kubernetes.client.models.v1/endpoint_address.v1.EndpointAddress( - hostname = '0', - ip = '0', - node_name = '0', - target_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), ) - ], - ports = [ - kubernetes.client.models.v1/endpoint_port.v1.EndpointPort( - name = '0', - port = 56, - protocol = '0', ) - ] - ) - else : - return V1EndpointSubset( - ) - - def testV1EndpointSubset(self): - """Test V1EndpointSubset""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_endpoints.py b/kubernetes/test/test_v1_endpoints.py deleted file mode 100644 index 8940e6406f..0000000000 --- a/kubernetes/test/test_v1_endpoints.py +++ /dev/null @@ -1,121 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_endpoints import V1Endpoints # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Endpoints(unittest.TestCase): - """V1Endpoints unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Endpoints - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_endpoints.V1Endpoints() # noqa: E501 - if include_optional : - return V1Endpoints( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - subsets = [ - kubernetes.client.models.v1/endpoint_subset.v1.EndpointSubset( - addresses = [ - kubernetes.client.models.v1/endpoint_address.v1.EndpointAddress( - hostname = '0', - ip = '0', - node_name = '0', - target_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), ) - ], - not_ready_addresses = [ - kubernetes.client.models.v1/endpoint_address.v1.EndpointAddress( - hostname = '0', - ip = '0', - node_name = '0', ) - ], - ports = [ - kubernetes.client.models.v1/endpoint_port.v1.EndpointPort( - name = '0', - port = 56, - protocol = '0', ) - ], ) - ] - ) - else : - return V1Endpoints( - ) - - def testV1Endpoints(self): - """Test V1Endpoints""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_endpoints_list.py b/kubernetes/test/test_v1_endpoints_list.py deleted file mode 100644 index 20b1620c4f..0000000000 --- a/kubernetes/test/test_v1_endpoints_list.py +++ /dev/null @@ -1,204 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_endpoints_list import V1EndpointsList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1EndpointsList(unittest.TestCase): - """V1EndpointsList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1EndpointsList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_endpoints_list.V1EndpointsList() # noqa: E501 - if include_optional : - return V1EndpointsList( - api_version = '0', - items = [ - kubernetes.client.models.v1/endpoints.v1.Endpoints( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - subsets = [ - kubernetes.client.models.v1/endpoint_subset.v1.EndpointSubset( - addresses = [ - kubernetes.client.models.v1/endpoint_address.v1.EndpointAddress( - hostname = '0', - ip = '0', - node_name = '0', - target_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), ) - ], - not_ready_addresses = [ - kubernetes.client.models.v1/endpoint_address.v1.EndpointAddress( - hostname = '0', - ip = '0', - node_name = '0', ) - ], - ports = [ - kubernetes.client.models.v1/endpoint_port.v1.EndpointPort( - name = '0', - port = 56, - protocol = '0', ) - ], ) - ], ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1EndpointsList( - items = [ - kubernetes.client.models.v1/endpoints.v1.Endpoints( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - subsets = [ - kubernetes.client.models.v1/endpoint_subset.v1.EndpointSubset( - addresses = [ - kubernetes.client.models.v1/endpoint_address.v1.EndpointAddress( - hostname = '0', - ip = '0', - node_name = '0', - target_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), ) - ], - not_ready_addresses = [ - kubernetes.client.models.v1/endpoint_address.v1.EndpointAddress( - hostname = '0', - ip = '0', - node_name = '0', ) - ], - ports = [ - kubernetes.client.models.v1/endpoint_port.v1.EndpointPort( - name = '0', - port = 56, - protocol = '0', ) - ], ) - ], ) - ], - ) - - def testV1EndpointsList(self): - """Test V1EndpointsList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_env_from_source.py b/kubernetes/test/test_v1_env_from_source.py deleted file mode 100644 index eb996f943d..0000000000 --- a/kubernetes/test/test_v1_env_from_source.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_env_from_source import V1EnvFromSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1EnvFromSource(unittest.TestCase): - """V1EnvFromSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1EnvFromSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_env_from_source.V1EnvFromSource() # noqa: E501 - if include_optional : - return V1EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ) - ) - else : - return V1EnvFromSource( - ) - - def testV1EnvFromSource(self): - """Test V1EnvFromSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_env_var.py b/kubernetes/test/test_v1_env_var.py deleted file mode 100644 index ec94d659dc..0000000000 --- a/kubernetes/test/test_v1_env_var.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_env_var import V1EnvVar # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1EnvVar(unittest.TestCase): - """V1EnvVar unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1EnvVar - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_env_var.V1EnvVar() # noqa: E501 - if include_optional : - return V1EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ) - ) - else : - return V1EnvVar( - name = '0', - ) - - def testV1EnvVar(self): - """Test V1EnvVar""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_env_var_source.py b/kubernetes/test/test_v1_env_var_source.py deleted file mode 100644 index a3485b649d..0000000000 --- a/kubernetes/test/test_v1_env_var_source.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_env_var_source import V1EnvVarSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1EnvVarSource(unittest.TestCase): - """V1EnvVarSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1EnvVarSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_env_var_source.V1EnvVarSource() # noqa: E501 - if include_optional : - return V1EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ) - ) - else : - return V1EnvVarSource( - ) - - def testV1EnvVarSource(self): - """Test V1EnvVarSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_ephemeral_container.py b/kubernetes/test/test_v1_ephemeral_container.py deleted file mode 100644 index 72568f6d1f..0000000000 --- a/kubernetes/test/test_v1_ephemeral_container.py +++ /dev/null @@ -1,241 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_ephemeral_container import V1EphemeralContainer # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1EphemeralContainer(unittest.TestCase): - """V1EphemeralContainer unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1EphemeralContainer - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_ephemeral_container.V1EphemeralContainer() # noqa: E501 - if include_optional : - return V1EphemeralContainer( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction( - command = [ - '0' - ], ), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction( - command = [ - '0' - ], ), - failure_threshold = 56, - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction( - command = [ - '0' - ], ), - failure_threshold = 56, - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction( - command = [ - '0' - ], ), - failure_threshold = 56, - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0' - ) - else : - return V1EphemeralContainer( - name = '0', - ) - - def testV1EphemeralContainer(self): - """Test V1EphemeralContainer""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_event.py b/kubernetes/test/test_v1_event.py deleted file mode 100644 index 346d800b8c..0000000000 --- a/kubernetes/test/test_v1_event.py +++ /dev/null @@ -1,172 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_event import V1Event # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Event(unittest.TestCase): - """V1Event unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Event - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_event.V1Event() # noqa: E501 - if include_optional : - return V1Event( - action = '0', - api_version = '0', - count = 56, - event_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - first_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - involved_object = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - kind = '0', - last_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - reason = '0', - related = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - reporting_component = '0', - reporting_instance = '0', - series = kubernetes.client.models.v1/event_series.v1.EventSeries( - count = 56, - last_observed_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - state = '0', ), - source = kubernetes.client.models.v1/event_source.v1.EventSource( - component = '0', - host = '0', ), - type = '0' - ) - else : - return V1Event( - involved_object = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - ) - - def testV1Event(self): - """Test V1Event""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_event_list.py b/kubernetes/test/test_v1_event_list.py deleted file mode 100644 index f940c6cd40..0000000000 --- a/kubernetes/test/test_v1_event_list.py +++ /dev/null @@ -1,212 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_event_list import V1EventList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1EventList(unittest.TestCase): - """V1EventList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1EventList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_event_list.V1EventList() # noqa: E501 - if include_optional : - return V1EventList( - api_version = '0', - items = [ - kubernetes.client.models.v1/event.v1.Event( - action = '0', - api_version = '0', - count = 56, - event_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - first_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - involved_object = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - kind = '0', - last_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - reason = '0', - related = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - reporting_component = '0', - reporting_instance = '0', - series = kubernetes.client.models.v1/event_series.v1.EventSeries( - count = 56, - last_observed_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - state = '0', ), - source = kubernetes.client.models.v1/event_source.v1.EventSource( - component = '0', - host = '0', ), - type = '0', ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1EventList( - items = [ - kubernetes.client.models.v1/event.v1.Event( - action = '0', - api_version = '0', - count = 56, - event_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - first_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - involved_object = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - kind = '0', - last_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - reason = '0', - related = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - reporting_component = '0', - reporting_instance = '0', - series = kubernetes.client.models.v1/event_series.v1.EventSeries( - count = 56, - last_observed_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - state = '0', ), - source = kubernetes.client.models.v1/event_source.v1.EventSource( - component = '0', - host = '0', ), - type = '0', ) - ], - ) - - def testV1EventList(self): - """Test V1EventList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_event_series.py b/kubernetes/test/test_v1_event_series.py deleted file mode 100644 index 31da2aea3a..0000000000 --- a/kubernetes/test/test_v1_event_series.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_event_series import V1EventSeries # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1EventSeries(unittest.TestCase): - """V1EventSeries unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1EventSeries - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_event_series.V1EventSeries() # noqa: E501 - if include_optional : - return V1EventSeries( - count = 56, - last_observed_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - state = '0' - ) - else : - return V1EventSeries( - ) - - def testV1EventSeries(self): - """Test V1EventSeries""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_event_source.py b/kubernetes/test/test_v1_event_source.py deleted file mode 100644 index d4a9f19edf..0000000000 --- a/kubernetes/test/test_v1_event_source.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_event_source import V1EventSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1EventSource(unittest.TestCase): - """V1EventSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1EventSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_event_source.V1EventSource() # noqa: E501 - if include_optional : - return V1EventSource( - component = '0', - host = '0' - ) - else : - return V1EventSource( - ) - - def testV1EventSource(self): - """Test V1EventSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_exec_action.py b/kubernetes/test/test_v1_exec_action.py deleted file mode 100644 index 9029168b18..0000000000 --- a/kubernetes/test/test_v1_exec_action.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_exec_action import V1ExecAction # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ExecAction(unittest.TestCase): - """V1ExecAction unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ExecAction - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_exec_action.V1ExecAction() # noqa: E501 - if include_optional : - return V1ExecAction( - command = [ - '0' - ] - ) - else : - return V1ExecAction( - ) - - def testV1ExecAction(self): - """Test V1ExecAction""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_external_documentation.py b/kubernetes/test/test_v1_external_documentation.py deleted file mode 100644 index f22d4934d0..0000000000 --- a/kubernetes/test/test_v1_external_documentation.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_external_documentation import V1ExternalDocumentation # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ExternalDocumentation(unittest.TestCase): - """V1ExternalDocumentation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ExternalDocumentation - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_external_documentation.V1ExternalDocumentation() # noqa: E501 - if include_optional : - return V1ExternalDocumentation( - description = '0', - url = '0' - ) - else : - return V1ExternalDocumentation( - ) - - def testV1ExternalDocumentation(self): - """Test V1ExternalDocumentation""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_fc_volume_source.py b/kubernetes/test/test_v1_fc_volume_source.py deleted file mode 100644 index a7c2e7ba56..0000000000 --- a/kubernetes/test/test_v1_fc_volume_source.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_fc_volume_source import V1FCVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1FCVolumeSource(unittest.TestCase): - """V1FCVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1FCVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_fc_volume_source.V1FCVolumeSource() # noqa: E501 - if include_optional : - return V1FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ] - ) - else : - return V1FCVolumeSource( - ) - - def testV1FCVolumeSource(self): - """Test V1FCVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_flex_persistent_volume_source.py b/kubernetes/test/test_v1_flex_persistent_volume_source.py deleted file mode 100644 index 07ca1a9afe..0000000000 --- a/kubernetes/test/test_v1_flex_persistent_volume_source.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_flex_persistent_volume_source import V1FlexPersistentVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1FlexPersistentVolumeSource(unittest.TestCase): - """V1FlexPersistentVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1FlexPersistentVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_flex_persistent_volume_source.V1FlexPersistentVolumeSource() # noqa: E501 - if include_optional : - return V1FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ) - ) - else : - return V1FlexPersistentVolumeSource( - driver = '0', - ) - - def testV1FlexPersistentVolumeSource(self): - """Test V1FlexPersistentVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_flex_volume_source.py b/kubernetes/test/test_v1_flex_volume_source.py deleted file mode 100644 index e35b519618..0000000000 --- a/kubernetes/test/test_v1_flex_volume_source.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_flex_volume_source import V1FlexVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1FlexVolumeSource(unittest.TestCase): - """V1FlexVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1FlexVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_flex_volume_source.V1FlexVolumeSource() # noqa: E501 - if include_optional : - return V1FlexVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ) - else : - return V1FlexVolumeSource( - driver = '0', - ) - - def testV1FlexVolumeSource(self): - """Test V1FlexVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_flocker_volume_source.py b/kubernetes/test/test_v1_flocker_volume_source.py deleted file mode 100644 index af77cd9e39..0000000000 --- a/kubernetes/test/test_v1_flocker_volume_source.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_flocker_volume_source import V1FlockerVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1FlockerVolumeSource(unittest.TestCase): - """V1FlockerVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1FlockerVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_flocker_volume_source.V1FlockerVolumeSource() # noqa: E501 - if include_optional : - return V1FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0' - ) - else : - return V1FlockerVolumeSource( - ) - - def testV1FlockerVolumeSource(self): - """Test V1FlockerVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_gce_persistent_disk_volume_source.py b/kubernetes/test/test_v1_gce_persistent_disk_volume_source.py deleted file mode 100644 index 6721e92d58..0000000000 --- a/kubernetes/test/test_v1_gce_persistent_disk_volume_source.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_gce_persistent_disk_volume_source import V1GCEPersistentDiskVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1GCEPersistentDiskVolumeSource(unittest.TestCase): - """V1GCEPersistentDiskVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1GCEPersistentDiskVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_gce_persistent_disk_volume_source.V1GCEPersistentDiskVolumeSource() # noqa: E501 - if include_optional : - return V1GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True - ) - else : - return V1GCEPersistentDiskVolumeSource( - pd_name = '0', - ) - - def testV1GCEPersistentDiskVolumeSource(self): - """Test V1GCEPersistentDiskVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_git_repo_volume_source.py b/kubernetes/test/test_v1_git_repo_volume_source.py deleted file mode 100644 index 31a2f0e181..0000000000 --- a/kubernetes/test/test_v1_git_repo_volume_source.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_git_repo_volume_source import V1GitRepoVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1GitRepoVolumeSource(unittest.TestCase): - """V1GitRepoVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1GitRepoVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_git_repo_volume_source.V1GitRepoVolumeSource() # noqa: E501 - if include_optional : - return V1GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0' - ) - else : - return V1GitRepoVolumeSource( - repository = '0', - ) - - def testV1GitRepoVolumeSource(self): - """Test V1GitRepoVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_glusterfs_persistent_volume_source.py b/kubernetes/test/test_v1_glusterfs_persistent_volume_source.py deleted file mode 100644 index ad05b56b43..0000000000 --- a/kubernetes/test/test_v1_glusterfs_persistent_volume_source.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_glusterfs_persistent_volume_source import V1GlusterfsPersistentVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1GlusterfsPersistentVolumeSource(unittest.TestCase): - """V1GlusterfsPersistentVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1GlusterfsPersistentVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_glusterfs_persistent_volume_source.V1GlusterfsPersistentVolumeSource() # noqa: E501 - if include_optional : - return V1GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True - ) - else : - return V1GlusterfsPersistentVolumeSource( - endpoints = '0', - path = '0', - ) - - def testV1GlusterfsPersistentVolumeSource(self): - """Test V1GlusterfsPersistentVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -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 deleted file mode 100644 index 538803f0d4..0000000000 --- a/kubernetes/test/test_v1_glusterfs_volume_source.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_glusterfs_volume_source import V1GlusterfsVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1GlusterfsVolumeSource(unittest.TestCase): - """V1GlusterfsVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1GlusterfsVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_glusterfs_volume_source.V1GlusterfsVolumeSource() # noqa: E501 - if include_optional : - return V1GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True - ) - else : - return V1GlusterfsVolumeSource( - endpoints = '0', - path = '0', - ) - - def testV1GlusterfsVolumeSource(self): - """Test V1GlusterfsVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_group_version_for_discovery.py b/kubernetes/test/test_v1_group_version_for_discovery.py deleted file mode 100644 index 71b98578c4..0000000000 --- a/kubernetes/test/test_v1_group_version_for_discovery.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_group_version_for_discovery import V1GroupVersionForDiscovery # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1GroupVersionForDiscovery(unittest.TestCase): - """V1GroupVersionForDiscovery unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1GroupVersionForDiscovery - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_group_version_for_discovery.V1GroupVersionForDiscovery() # noqa: E501 - if include_optional : - return V1GroupVersionForDiscovery( - group_version = '0', - version = '0' - ) - else : - return V1GroupVersionForDiscovery( - group_version = '0', - version = '0', - ) - - def testV1GroupVersionForDiscovery(self): - """Test V1GroupVersionForDiscovery""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_handler.py b/kubernetes/test/test_v1_handler.py deleted file mode 100644 index bca872f916..0000000000 --- a/kubernetes/test/test_v1_handler.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_handler import V1Handler # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Handler(unittest.TestCase): - """V1Handler unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Handler - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_handler.V1Handler() # noqa: E501 - if include_optional : - return V1Handler( - _exec = kubernetes.client.models.v1/exec_action.v1.ExecAction( - command = [ - '0' - ], ), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ) - ) - else : - return V1Handler( - ) - - def testV1Handler(self): - """Test V1Handler""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_horizontal_pod_autoscaler.py b/kubernetes/test/test_v1_horizontal_pod_autoscaler.py deleted file mode 100644 index 54d9f526d3..0000000000 --- a/kubernetes/test/test_v1_horizontal_pod_autoscaler.py +++ /dev/null @@ -1,106 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_horizontal_pod_autoscaler import V1HorizontalPodAutoscaler # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1HorizontalPodAutoscaler(unittest.TestCase): - """V1HorizontalPodAutoscaler unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1HorizontalPodAutoscaler - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_horizontal_pod_autoscaler.V1HorizontalPodAutoscaler() # noqa: E501 - if include_optional : - return V1HorizontalPodAutoscaler( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/horizontal_pod_autoscaler_spec.v1.HorizontalPodAutoscalerSpec( - max_replicas = 56, - min_replicas = 56, - scale_target_ref = kubernetes.client.models.v1/cross_version_object_reference.v1.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - target_cpu_utilization_percentage = 56, ), - status = kubernetes.client.models.v1/horizontal_pod_autoscaler_status.v1.HorizontalPodAutoscalerStatus( - current_cpu_utilization_percentage = 56, - current_replicas = 56, - desired_replicas = 56, - last_scale_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - observed_generation = 56, ) - ) - else : - return V1HorizontalPodAutoscaler( - ) - - def testV1HorizontalPodAutoscaler(self): - """Test V1HorizontalPodAutoscaler""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_horizontal_pod_autoscaler_list.py b/kubernetes/test/test_v1_horizontal_pod_autoscaler_list.py deleted file mode 100644 index 97a0ee835c..0000000000 --- a/kubernetes/test/test_v1_horizontal_pod_autoscaler_list.py +++ /dev/null @@ -1,174 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_horizontal_pod_autoscaler_list import V1HorizontalPodAutoscalerList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1HorizontalPodAutoscalerList(unittest.TestCase): - """V1HorizontalPodAutoscalerList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1HorizontalPodAutoscalerList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_horizontal_pod_autoscaler_list.V1HorizontalPodAutoscalerList() # noqa: E501 - if include_optional : - return V1HorizontalPodAutoscalerList( - api_version = '0', - items = [ - kubernetes.client.models.v1/horizontal_pod_autoscaler.v1.HorizontalPodAutoscaler( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/horizontal_pod_autoscaler_spec.v1.HorizontalPodAutoscalerSpec( - max_replicas = 56, - min_replicas = 56, - scale_target_ref = kubernetes.client.models.v1/cross_version_object_reference.v1.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - target_cpu_utilization_percentage = 56, ), - status = kubernetes.client.models.v1/horizontal_pod_autoscaler_status.v1.HorizontalPodAutoscalerStatus( - current_cpu_utilization_percentage = 56, - current_replicas = 56, - desired_replicas = 56, - last_scale_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - observed_generation = 56, ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1HorizontalPodAutoscalerList( - items = [ - kubernetes.client.models.v1/horizontal_pod_autoscaler.v1.HorizontalPodAutoscaler( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/horizontal_pod_autoscaler_spec.v1.HorizontalPodAutoscalerSpec( - max_replicas = 56, - min_replicas = 56, - scale_target_ref = kubernetes.client.models.v1/cross_version_object_reference.v1.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - target_cpu_utilization_percentage = 56, ), - status = kubernetes.client.models.v1/horizontal_pod_autoscaler_status.v1.HorizontalPodAutoscalerStatus( - current_cpu_utilization_percentage = 56, - current_replicas = 56, - desired_replicas = 56, - last_scale_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - observed_generation = 56, ), ) - ], - ) - - def testV1HorizontalPodAutoscalerList(self): - """Test V1HorizontalPodAutoscalerList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_horizontal_pod_autoscaler_spec.py b/kubernetes/test/test_v1_horizontal_pod_autoscaler_spec.py deleted file mode 100644 index 691bf7f8c0..0000000000 --- a/kubernetes/test/test_v1_horizontal_pod_autoscaler_spec.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_horizontal_pod_autoscaler_spec import V1HorizontalPodAutoscalerSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1HorizontalPodAutoscalerSpec(unittest.TestCase): - """V1HorizontalPodAutoscalerSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1HorizontalPodAutoscalerSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_horizontal_pod_autoscaler_spec.V1HorizontalPodAutoscalerSpec() # noqa: E501 - if include_optional : - return V1HorizontalPodAutoscalerSpec( - max_replicas = 56, - min_replicas = 56, - scale_target_ref = kubernetes.client.models.v1/cross_version_object_reference.v1.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - target_cpu_utilization_percentage = 56 - ) - else : - return V1HorizontalPodAutoscalerSpec( - max_replicas = 56, - scale_target_ref = kubernetes.client.models.v1/cross_version_object_reference.v1.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - ) - - def testV1HorizontalPodAutoscalerSpec(self): - """Test V1HorizontalPodAutoscalerSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_horizontal_pod_autoscaler_status.py b/kubernetes/test/test_v1_horizontal_pod_autoscaler_status.py deleted file mode 100644 index 7bf4fbdb78..0000000000 --- a/kubernetes/test/test_v1_horizontal_pod_autoscaler_status.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_horizontal_pod_autoscaler_status import V1HorizontalPodAutoscalerStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1HorizontalPodAutoscalerStatus(unittest.TestCase): - """V1HorizontalPodAutoscalerStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1HorizontalPodAutoscalerStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_horizontal_pod_autoscaler_status.V1HorizontalPodAutoscalerStatus() # noqa: E501 - if include_optional : - return V1HorizontalPodAutoscalerStatus( - current_cpu_utilization_percentage = 56, - current_replicas = 56, - desired_replicas = 56, - last_scale_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - observed_generation = 56 - ) - else : - return V1HorizontalPodAutoscalerStatus( - current_replicas = 56, - desired_replicas = 56, - ) - - def testV1HorizontalPodAutoscalerStatus(self): - """Test V1HorizontalPodAutoscalerStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_host_alias.py b/kubernetes/test/test_v1_host_alias.py deleted file mode 100644 index 5e2ff5cca4..0000000000 --- a/kubernetes/test/test_v1_host_alias.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_host_alias import V1HostAlias # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1HostAlias(unittest.TestCase): - """V1HostAlias unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1HostAlias - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_host_alias.V1HostAlias() # noqa: E501 - if include_optional : - return V1HostAlias( - hostnames = [ - '0' - ], - ip = '0' - ) - else : - return V1HostAlias( - ) - - def testV1HostAlias(self): - """Test V1HostAlias""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_host_path_volume_source.py b/kubernetes/test/test_v1_host_path_volume_source.py deleted file mode 100644 index e472e71ed8..0000000000 --- a/kubernetes/test/test_v1_host_path_volume_source.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_host_path_volume_source import V1HostPathVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1HostPathVolumeSource(unittest.TestCase): - """V1HostPathVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1HostPathVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_host_path_volume_source.V1HostPathVolumeSource() # noqa: E501 - if include_optional : - return V1HostPathVolumeSource( - path = '0', - type = '0' - ) - else : - return V1HostPathVolumeSource( - path = '0', - ) - - def testV1HostPathVolumeSource(self): - """Test V1HostPathVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_http_get_action.py b/kubernetes/test/test_v1_http_get_action.py deleted file mode 100644 index c41caf196e..0000000000 --- a/kubernetes/test/test_v1_http_get_action.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_http_get_action import V1HTTPGetAction # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1HTTPGetAction(unittest.TestCase): - """V1HTTPGetAction unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1HTTPGetAction - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_http_get_action.V1HTTPGetAction() # noqa: E501 - if include_optional : - return V1HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0' - ) - else : - return V1HTTPGetAction( - port = kubernetes.client.models.port.port(), - ) - - def testV1HTTPGetAction(self): - """Test V1HTTPGetAction""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_http_header.py b/kubernetes/test/test_v1_http_header.py deleted file mode 100644 index f7c9f79bf6..0000000000 --- a/kubernetes/test/test_v1_http_header.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_http_header import V1HTTPHeader # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1HTTPHeader(unittest.TestCase): - """V1HTTPHeader unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1HTTPHeader - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_http_header.V1HTTPHeader() # noqa: E501 - if include_optional : - return V1HTTPHeader( - name = '0', - value = '0' - ) - else : - return V1HTTPHeader( - name = '0', - value = '0', - ) - - def testV1HTTPHeader(self): - """Test V1HTTPHeader""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_ip_block.py b/kubernetes/test/test_v1_ip_block.py deleted file mode 100644 index 7d3451e18e..0000000000 --- a/kubernetes/test/test_v1_ip_block.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_ip_block import V1IPBlock # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1IPBlock(unittest.TestCase): - """V1IPBlock unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1IPBlock - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_ip_block.V1IPBlock() # noqa: E501 - if include_optional : - return V1IPBlock( - cidr = '0', - _except = [ - '0' - ] - ) - else : - return V1IPBlock( - cidr = '0', - ) - - def testV1IPBlock(self): - """Test V1IPBlock""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_iscsi_persistent_volume_source.py b/kubernetes/test/test_v1_iscsi_persistent_volume_source.py deleted file mode 100644 index 25a3078480..0000000000 --- a/kubernetes/test/test_v1_iscsi_persistent_volume_source.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_iscsi_persistent_volume_source import V1ISCSIPersistentVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ISCSIPersistentVolumeSource(unittest.TestCase): - """V1ISCSIPersistentVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ISCSIPersistentVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_iscsi_persistent_volume_source.V1ISCSIPersistentVolumeSource() # noqa: E501 - if include_optional : - return V1ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - target_portal = '0' - ) - else : - return V1ISCSIPersistentVolumeSource( - iqn = '0', - lun = 56, - target_portal = '0', - ) - - def testV1ISCSIPersistentVolumeSource(self): - """Test V1ISCSIPersistentVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_iscsi_volume_source.py b/kubernetes/test/test_v1_iscsi_volume_source.py deleted file mode 100644 index 71184be2a3..0000000000 --- a/kubernetes/test/test_v1_iscsi_volume_source.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_iscsi_volume_source import V1ISCSIVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ISCSIVolumeSource(unittest.TestCase): - """V1ISCSIVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ISCSIVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_iscsi_volume_source.V1ISCSIVolumeSource() # noqa: E501 - if include_optional : - return V1ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - target_portal = '0' - ) - else : - return V1ISCSIVolumeSource( - iqn = '0', - lun = 56, - target_portal = '0', - ) - - def testV1ISCSIVolumeSource(self): - """Test V1ISCSIVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_job.py b/kubernetes/test/test_v1_job.py deleted file mode 100644 index eb8208e006..0000000000 --- a/kubernetes/test/test_v1_job.py +++ /dev/null @@ -1,599 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_job import V1Job # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Job(unittest.TestCase): - """V1Job unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Job - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_job.V1Job() # noqa: E501 - if include_optional : - return V1Job( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/job_spec.v1.JobSpec( - active_deadline_seconds = 56, - backoff_limit = 56, - completions = 56, - manual_selector = True, - parallelism = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - ttl_seconds_after_finished = 56, ), - status = kubernetes.client.models.v1/job_status.v1.JobStatus( - active = 56, - completion_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - conditions = [ - kubernetes.client.models.v1/job_condition.v1.JobCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - failed = 56, - start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - succeeded = 56, ) - ) - else : - return V1Job( - ) - - def testV1Job(self): - """Test V1Job""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_job_condition.py b/kubernetes/test/test_v1_job_condition.py deleted file mode 100644 index 20e4524db4..0000000000 --- a/kubernetes/test/test_v1_job_condition.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_job_condition import V1JobCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1JobCondition(unittest.TestCase): - """V1JobCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1JobCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_job_condition.V1JobCondition() # noqa: E501 - if include_optional : - return V1JobCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V1JobCondition( - status = '0', - type = '0', - ) - - def testV1JobCondition(self): - """Test V1JobCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_job_list.py b/kubernetes/test/test_v1_job_list.py deleted file mode 100644 index 98d5693257..0000000000 --- a/kubernetes/test/test_v1_job_list.py +++ /dev/null @@ -1,216 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_job_list import V1JobList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1JobList(unittest.TestCase): - """V1JobList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1JobList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_job_list.V1JobList() # noqa: E501 - if include_optional : - return V1JobList( - api_version = '0', - items = [ - kubernetes.client.models.v1/job.v1.Job( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/job_spec.v1.JobSpec( - active_deadline_seconds = 56, - backoff_limit = 56, - completions = 56, - manual_selector = True, - parallelism = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), - ttl_seconds_after_finished = 56, ), - status = kubernetes.client.models.v1/job_status.v1.JobStatus( - active = 56, - completion_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - conditions = [ - kubernetes.client.models.v1/job_condition.v1.JobCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - failed = 56, - start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - succeeded = 56, ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1JobList( - items = [ - kubernetes.client.models.v1/job.v1.Job( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/job_spec.v1.JobSpec( - active_deadline_seconds = 56, - backoff_limit = 56, - completions = 56, - manual_selector = True, - parallelism = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), - ttl_seconds_after_finished = 56, ), - status = kubernetes.client.models.v1/job_status.v1.JobStatus( - active = 56, - completion_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - conditions = [ - kubernetes.client.models.v1/job_condition.v1.JobCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - failed = 56, - start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - succeeded = 56, ), ) - ], - ) - - def testV1JobList(self): - """Test V1JobList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_job_spec.py b/kubernetes/test/test_v1_job_spec.py deleted file mode 100644 index 8d251353dc..0000000000 --- a/kubernetes/test/test_v1_job_spec.py +++ /dev/null @@ -1,1037 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_job_spec import V1JobSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1JobSpec(unittest.TestCase): - """V1JobSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1JobSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_job_spec.V1JobSpec() # noqa: E501 - if include_optional : - return V1JobSpec( - active_deadline_seconds = 56, - backoff_limit = 56, - completions = 56, - manual_selector = True, - parallelism = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - ttl_seconds_after_finished = 56 - ) - else : - return V1JobSpec( - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - ) - - def testV1JobSpec(self): - """Test V1JobSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_job_status.py b/kubernetes/test/test_v1_job_status.py deleted file mode 100644 index c77b480eb2..0000000000 --- a/kubernetes/test/test_v1_job_status.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_job_status import V1JobStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1JobStatus(unittest.TestCase): - """V1JobStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1JobStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_job_status.V1JobStatus() # noqa: E501 - if include_optional : - return V1JobStatus( - active = 56, - completion_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - conditions = [ - kubernetes.client.models.v1/job_condition.v1.JobCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - failed = 56, - start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - succeeded = 56 - ) - else : - return V1JobStatus( - ) - - def testV1JobStatus(self): - """Test V1JobStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_json_schema_props.py b/kubernetes/test/test_v1_json_schema_props.py deleted file mode 100644 index ec83364770..0000000000 --- a/kubernetes/test/test_v1_json_schema_props.py +++ /dev/null @@ -1,5653 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_json_schema_props import V1JSONSchemaProps # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1JSONSchemaProps(unittest.TestCase): - """V1JSONSchemaProps unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1JSONSchemaProps - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_json_schema_props.V1JSONSchemaProps() # noqa: E501 - if include_optional : - return V1JSONSchemaProps( - ref = '0', - schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - _not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True - ) - else : - return V1JSONSchemaProps( - ) - - def testV1JSONSchemaProps(self): - """Test V1JSONSchemaProps""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_key_to_path.py b/kubernetes/test/test_v1_key_to_path.py deleted file mode 100644 index 7577d93235..0000000000 --- a/kubernetes/test/test_v1_key_to_path.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_key_to_path import V1KeyToPath # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1KeyToPath(unittest.TestCase): - """V1KeyToPath unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1KeyToPath - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_key_to_path.V1KeyToPath() # noqa: E501 - if include_optional : - return V1KeyToPath( - key = '0', - mode = 56, - path = '0' - ) - else : - return V1KeyToPath( - key = '0', - path = '0', - ) - - def testV1KeyToPath(self): - """Test V1KeyToPath""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_label_selector.py b/kubernetes/test/test_v1_label_selector.py deleted file mode 100644 index 730e60d275..0000000000 --- a/kubernetes/test/test_v1_label_selector.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_label_selector import V1LabelSelector # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1LabelSelector(unittest.TestCase): - """V1LabelSelector unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1LabelSelector - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_label_selector.V1LabelSelector() # noqa: E501 - if include_optional : - return V1LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - } - ) - else : - return V1LabelSelector( - ) - - def testV1LabelSelector(self): - """Test V1LabelSelector""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_label_selector_requirement.py b/kubernetes/test/test_v1_label_selector_requirement.py deleted file mode 100644 index 09f8db065d..0000000000 --- a/kubernetes/test/test_v1_label_selector_requirement.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_label_selector_requirement import V1LabelSelectorRequirement # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1LabelSelectorRequirement(unittest.TestCase): - """V1LabelSelectorRequirement unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1LabelSelectorRequirement - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_label_selector_requirement.V1LabelSelectorRequirement() # noqa: E501 - if include_optional : - return V1LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ] - ) - else : - return V1LabelSelectorRequirement( - key = '0', - operator = '0', - ) - - def testV1LabelSelectorRequirement(self): - """Test V1LabelSelectorRequirement""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_lease.py b/kubernetes/test/test_v1_lease.py deleted file mode 100644 index 9c723febc6..0000000000 --- a/kubernetes/test/test_v1_lease.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_lease import V1Lease # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Lease(unittest.TestCase): - """V1Lease unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Lease - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_lease.V1Lease() # noqa: E501 - if include_optional : - return V1Lease( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/lease_spec.v1.LeaseSpec( - acquire_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - holder_identity = '0', - lease_duration_seconds = 56, - lease_transitions = 56, - renew_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ) - else : - return V1Lease( - ) - - def testV1Lease(self): - """Test V1Lease""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_lease_list.py b/kubernetes/test/test_v1_lease_list.py deleted file mode 100644 index 2ce60cd6c0..0000000000 --- a/kubernetes/test/test_v1_lease_list.py +++ /dev/null @@ -1,158 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_lease_list import V1LeaseList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1LeaseList(unittest.TestCase): - """V1LeaseList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1LeaseList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_lease_list.V1LeaseList() # noqa: E501 - if include_optional : - return V1LeaseList( - api_version = '0', - items = [ - kubernetes.client.models.v1/lease.v1.Lease( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/lease_spec.v1.LeaseSpec( - acquire_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - holder_identity = '0', - lease_duration_seconds = 56, - lease_transitions = 56, - renew_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1LeaseList( - items = [ - kubernetes.client.models.v1/lease.v1.Lease( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/lease_spec.v1.LeaseSpec( - acquire_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - holder_identity = '0', - lease_duration_seconds = 56, - lease_transitions = 56, - renew_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ) - ], - ) - - def testV1LeaseList(self): - """Test V1LeaseList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_lease_spec.py b/kubernetes/test/test_v1_lease_spec.py deleted file mode 100644 index e3f5a6e063..0000000000 --- a/kubernetes/test/test_v1_lease_spec.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_lease_spec import V1LeaseSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1LeaseSpec(unittest.TestCase): - """V1LeaseSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1LeaseSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_lease_spec.V1LeaseSpec() # noqa: E501 - if include_optional : - return V1LeaseSpec( - acquire_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - holder_identity = '0', - lease_duration_seconds = 56, - lease_transitions = 56, - renew_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else : - return V1LeaseSpec( - ) - - def testV1LeaseSpec(self): - """Test V1LeaseSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_lifecycle.py b/kubernetes/test/test_v1_lifecycle.py deleted file mode 100644 index ee1f9f6543..0000000000 --- a/kubernetes/test/test_v1_lifecycle.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_lifecycle import V1Lifecycle # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Lifecycle(unittest.TestCase): - """V1Lifecycle unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Lifecycle - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_lifecycle.V1Lifecycle() # noqa: E501 - if include_optional : - return V1Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction( - command = [ - '0' - ], ), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction( - command = [ - '0' - ], ), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ) - ) - else : - return V1Lifecycle( - ) - - def testV1Lifecycle(self): - """Test V1Lifecycle""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_limit_range.py b/kubernetes/test/test_v1_limit_range.py deleted file mode 100644 index 0025c71165..0000000000 --- a/kubernetes/test/test_v1_limit_range.py +++ /dev/null @@ -1,112 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_limit_range import V1LimitRange # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1LimitRange(unittest.TestCase): - """V1LimitRange unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1LimitRange - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_limit_range.V1LimitRange() # noqa: E501 - if include_optional : - return V1LimitRange( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/limit_range_spec.v1.LimitRangeSpec( - limits = [ - kubernetes.client.models.v1/limit_range_item.v1.LimitRangeItem( - default = { - 'key' : '0' - }, - default_request = { - 'key' : '0' - }, - max = { - 'key' : '0' - }, - max_limit_request_ratio = { - 'key' : '0' - }, - min = { - 'key' : '0' - }, - type = '0', ) - ], ) - ) - else : - return V1LimitRange( - ) - - def testV1LimitRange(self): - """Test V1LimitRange""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_limit_range_item.py b/kubernetes/test/test_v1_limit_range_item.py deleted file mode 100644 index 7e56233586..0000000000 --- a/kubernetes/test/test_v1_limit_range_item.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_limit_range_item import V1LimitRangeItem # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1LimitRangeItem(unittest.TestCase): - """V1LimitRangeItem unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1LimitRangeItem - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_limit_range_item.V1LimitRangeItem() # noqa: E501 - if include_optional : - return V1LimitRangeItem( - default = { - 'key' : '0' - }, - default_request = { - 'key' : '0' - }, - max = { - 'key' : '0' - }, - max_limit_request_ratio = { - 'key' : '0' - }, - min = { - 'key' : '0' - }, - type = '0' - ) - else : - return V1LimitRangeItem( - ) - - def testV1LimitRangeItem(self): - """Test V1LimitRangeItem""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_limit_range_list.py b/kubernetes/test/test_v1_limit_range_list.py deleted file mode 100644 index 20615d5b68..0000000000 --- a/kubernetes/test/test_v1_limit_range_list.py +++ /dev/null @@ -1,186 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_limit_range_list import V1LimitRangeList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1LimitRangeList(unittest.TestCase): - """V1LimitRangeList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1LimitRangeList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_limit_range_list.V1LimitRangeList() # noqa: E501 - if include_optional : - return V1LimitRangeList( - api_version = '0', - items = [ - kubernetes.client.models.v1/limit_range.v1.LimitRange( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/limit_range_spec.v1.LimitRangeSpec( - limits = [ - kubernetes.client.models.v1/limit_range_item.v1.LimitRangeItem( - default = { - 'key' : '0' - }, - default_request = { - 'key' : '0' - }, - max = { - 'key' : '0' - }, - max_limit_request_ratio = { - 'key' : '0' - }, - min = { - 'key' : '0' - }, - type = '0', ) - ], ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1LimitRangeList( - items = [ - kubernetes.client.models.v1/limit_range.v1.LimitRange( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/limit_range_spec.v1.LimitRangeSpec( - limits = [ - kubernetes.client.models.v1/limit_range_item.v1.LimitRangeItem( - default = { - 'key' : '0' - }, - default_request = { - 'key' : '0' - }, - max = { - 'key' : '0' - }, - max_limit_request_ratio = { - 'key' : '0' - }, - min = { - 'key' : '0' - }, - type = '0', ) - ], ), ) - ], - ) - - def testV1LimitRangeList(self): - """Test V1LimitRangeList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_limit_range_spec.py b/kubernetes/test/test_v1_limit_range_spec.py deleted file mode 100644 index d94da4df2c..0000000000 --- a/kubernetes/test/test_v1_limit_range_spec.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_limit_range_spec import V1LimitRangeSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1LimitRangeSpec(unittest.TestCase): - """V1LimitRangeSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1LimitRangeSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_limit_range_spec.V1LimitRangeSpec() # noqa: E501 - if include_optional : - return V1LimitRangeSpec( - limits = [ - kubernetes.client.models.v1/limit_range_item.v1.LimitRangeItem( - default = { - 'key' : '0' - }, - default_request = { - 'key' : '0' - }, - max = { - 'key' : '0' - }, - max_limit_request_ratio = { - 'key' : '0' - }, - min = { - 'key' : '0' - }, - type = '0', ) - ] - ) - else : - return V1LimitRangeSpec( - limits = [ - kubernetes.client.models.v1/limit_range_item.v1.LimitRangeItem( - default = { - 'key' : '0' - }, - default_request = { - 'key' : '0' - }, - max = { - 'key' : '0' - }, - max_limit_request_ratio = { - 'key' : '0' - }, - min = { - 'key' : '0' - }, - type = '0', ) - ], - ) - - def testV1LimitRangeSpec(self): - """Test V1LimitRangeSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_list_meta.py b/kubernetes/test/test_v1_list_meta.py deleted file mode 100644 index c8a0f6190c..0000000000 --- a/kubernetes/test/test_v1_list_meta.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_list_meta import V1ListMeta # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ListMeta(unittest.TestCase): - """V1ListMeta unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ListMeta - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_list_meta.V1ListMeta() # noqa: E501 - if include_optional : - return V1ListMeta( - _continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0' - ) - else : - return V1ListMeta( - ) - - def testV1ListMeta(self): - """Test V1ListMeta""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_load_balancer_ingress.py b/kubernetes/test/test_v1_load_balancer_ingress.py deleted file mode 100644 index d9d1c3f36a..0000000000 --- a/kubernetes/test/test_v1_load_balancer_ingress.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_load_balancer_ingress import V1LoadBalancerIngress # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1LoadBalancerIngress(unittest.TestCase): - """V1LoadBalancerIngress unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1LoadBalancerIngress - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_load_balancer_ingress.V1LoadBalancerIngress() # noqa: E501 - if include_optional : - return V1LoadBalancerIngress( - hostname = '0', - ip = '0' - ) - else : - return V1LoadBalancerIngress( - ) - - def testV1LoadBalancerIngress(self): - """Test V1LoadBalancerIngress""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_load_balancer_status.py b/kubernetes/test/test_v1_load_balancer_status.py deleted file mode 100644 index c7e5b4c47a..0000000000 --- a/kubernetes/test/test_v1_load_balancer_status.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_load_balancer_status import V1LoadBalancerStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1LoadBalancerStatus(unittest.TestCase): - """V1LoadBalancerStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1LoadBalancerStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_load_balancer_status.V1LoadBalancerStatus() # noqa: E501 - if include_optional : - return V1LoadBalancerStatus( - ingress = [ - kubernetes.client.models.v1/load_balancer_ingress.v1.LoadBalancerIngress( - hostname = '0', - ip = '0', ) - ] - ) - else : - return V1LoadBalancerStatus( - ) - - def testV1LoadBalancerStatus(self): - """Test V1LoadBalancerStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_local_object_reference.py b/kubernetes/test/test_v1_local_object_reference.py deleted file mode 100644 index 34b30b81b9..0000000000 --- a/kubernetes/test/test_v1_local_object_reference.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_local_object_reference import V1LocalObjectReference # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1LocalObjectReference(unittest.TestCase): - """V1LocalObjectReference unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1LocalObjectReference - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_local_object_reference.V1LocalObjectReference() # noqa: E501 - if include_optional : - return V1LocalObjectReference( - name = '0' - ) - else : - return V1LocalObjectReference( - ) - - def testV1LocalObjectReference(self): - """Test V1LocalObjectReference""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_local_subject_access_review.py b/kubernetes/test/test_v1_local_subject_access_review.py deleted file mode 100644 index 91d036abe7..0000000000 --- a/kubernetes/test/test_v1_local_subject_access_review.py +++ /dev/null @@ -1,141 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_local_subject_access_review import V1LocalSubjectAccessReview # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1LocalSubjectAccessReview(unittest.TestCase): - """V1LocalSubjectAccessReview unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1LocalSubjectAccessReview - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_local_subject_access_review.V1LocalSubjectAccessReview() # noqa: E501 - if include_optional : - return V1LocalSubjectAccessReview( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/subject_access_review_spec.v1.SubjectAccessReviewSpec( - extra = { - 'key' : [ - '0' - ] - }, - groups = [ - '0' - ], - non_resource_attributes = kubernetes.client.models.v1/non_resource_attributes.v1.NonResourceAttributes( - path = '0', - verb = '0', ), - resource_attributes = kubernetes.client.models.v1/resource_attributes.v1.ResourceAttributes( - group = '0', - name = '0', - namespace = '0', - resource = '0', - subresource = '0', - verb = '0', - version = '0', ), - uid = '0', - user = '0', ), - status = kubernetes.client.models.v1/subject_access_review_status.v1.SubjectAccessReviewStatus( - allowed = True, - denied = True, - evaluation_error = '0', - reason = '0', ) - ) - else : - return V1LocalSubjectAccessReview( - spec = kubernetes.client.models.v1/subject_access_review_spec.v1.SubjectAccessReviewSpec( - extra = { - 'key' : [ - '0' - ] - }, - groups = [ - '0' - ], - non_resource_attributes = kubernetes.client.models.v1/non_resource_attributes.v1.NonResourceAttributes( - path = '0', - verb = '0', ), - resource_attributes = kubernetes.client.models.v1/resource_attributes.v1.ResourceAttributes( - group = '0', - name = '0', - namespace = '0', - resource = '0', - subresource = '0', - verb = '0', - version = '0', ), - uid = '0', - user = '0', ), - ) - - def testV1LocalSubjectAccessReview(self): - """Test V1LocalSubjectAccessReview""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_local_volume_source.py b/kubernetes/test/test_v1_local_volume_source.py deleted file mode 100644 index 3dbcacf5b1..0000000000 --- a/kubernetes/test/test_v1_local_volume_source.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_local_volume_source import V1LocalVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1LocalVolumeSource(unittest.TestCase): - """V1LocalVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1LocalVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_local_volume_source.V1LocalVolumeSource() # noqa: E501 - if include_optional : - return V1LocalVolumeSource( - fs_type = '0', - path = '0' - ) - else : - return V1LocalVolumeSource( - path = '0', - ) - - def testV1LocalVolumeSource(self): - """Test V1LocalVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_managed_fields_entry.py b/kubernetes/test/test_v1_managed_fields_entry.py deleted file mode 100644 index 01b62c9fa2..0000000000 --- a/kubernetes/test/test_v1_managed_fields_entry.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_managed_fields_entry import V1ManagedFieldsEntry # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ManagedFieldsEntry(unittest.TestCase): - """V1ManagedFieldsEntry unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ManagedFieldsEntry - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_managed_fields_entry.V1ManagedFieldsEntry() # noqa: E501 - if include_optional : - return V1ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else : - return V1ManagedFieldsEntry( - ) - - def testV1ManagedFieldsEntry(self): - """Test V1ManagedFieldsEntry""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_mutating_webhook.py b/kubernetes/test/test_v1_mutating_webhook.py deleted file mode 100644 index 90ea0b15aa..0000000000 --- a/kubernetes/test/test_v1_mutating_webhook.py +++ /dev/null @@ -1,121 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_mutating_webhook import V1MutatingWebhook # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1MutatingWebhook(unittest.TestCase): - """V1MutatingWebhook unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1MutatingWebhook - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_mutating_webhook.V1MutatingWebhook() # noqa: E501 - if include_optional : - return V1MutatingWebhook( - admission_review_versions = [ - '0' - ], - kubernetes.client_config = kubernetes.client.models.admissionregistration/v1/webhook_client_config.admissionregistration.v1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.admissionregistration/v1/service_reference.admissionregistration.v1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - failure_policy = '0', - match_policy = '0', - name = '0', - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - reinvocation_policy = '0', - rules = [ - kubernetes.client.models.v1/rule_with_operations.v1.RuleWithOperations( - api_groups = [ - '0' - ], - api_versions = [ - '0' - ], - operations = [ - '0' - ], - resources = [ - '0' - ], - scope = '0', ) - ], - side_effects = '0', - timeout_seconds = 56 - ) - else : - return V1MutatingWebhook( - admission_review_versions = [ - '0' - ], - kubernetes.client_config = kubernetes.client.models.admissionregistration/v1/webhook_client_config.admissionregistration.v1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.admissionregistration/v1/service_reference.admissionregistration.v1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - name = '0', - side_effects = '0', - ) - - def testV1MutatingWebhook(self): - """Test V1MutatingWebhook""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_mutating_webhook_configuration.py b/kubernetes/test/test_v1_mutating_webhook_configuration.py deleted file mode 100644 index 2a0a98673c..0000000000 --- a/kubernetes/test/test_v1_mutating_webhook_configuration.py +++ /dev/null @@ -1,141 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_mutating_webhook_configuration import V1MutatingWebhookConfiguration # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1MutatingWebhookConfiguration(unittest.TestCase): - """V1MutatingWebhookConfiguration unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1MutatingWebhookConfiguration - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_mutating_webhook_configuration.V1MutatingWebhookConfiguration() # noqa: E501 - if include_optional : - return V1MutatingWebhookConfiguration( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - webhooks = [ - kubernetes.client.models.v1/mutating_webhook.v1.MutatingWebhook( - admission_review_versions = [ - '0' - ], - kubernetes.client_config = kubernetes.client.models.admissionregistration/v1/webhook_client_config.admissionregistration.v1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.admissionregistration/v1/service_reference.admissionregistration.v1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - failure_policy = '0', - match_policy = '0', - name = '0', - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - reinvocation_policy = '0', - rules = [ - kubernetes.client.models.v1/rule_with_operations.v1.RuleWithOperations( - api_groups = [ - '0' - ], - api_versions = [ - '0' - ], - operations = [ - '0' - ], - resources = [ - '0' - ], - scope = '0', ) - ], - side_effects = '0', - timeout_seconds = 56, ) - ] - ) - else : - return V1MutatingWebhookConfiguration( - ) - - def testV1MutatingWebhookConfiguration(self): - """Test V1MutatingWebhookConfiguration""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_mutating_webhook_configuration_list.py b/kubernetes/test/test_v1_mutating_webhook_configuration_list.py deleted file mode 100644 index ed6b93ed06..0000000000 --- a/kubernetes/test/test_v1_mutating_webhook_configuration_list.py +++ /dev/null @@ -1,244 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_mutating_webhook_configuration_list import V1MutatingWebhookConfigurationList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1MutatingWebhookConfigurationList(unittest.TestCase): - """V1MutatingWebhookConfigurationList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1MutatingWebhookConfigurationList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_mutating_webhook_configuration_list.V1MutatingWebhookConfigurationList() # noqa: E501 - if include_optional : - return V1MutatingWebhookConfigurationList( - api_version = '0', - items = [ - kubernetes.client.models.v1/mutating_webhook_configuration.v1.MutatingWebhookConfiguration( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - webhooks = [ - kubernetes.client.models.v1/mutating_webhook.v1.MutatingWebhook( - admission_review_versions = [ - '0' - ], - kubernetes.client_config = kubernetes.client.models.admissionregistration/v1/webhook_client_config.admissionregistration.v1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.admissionregistration/v1/service_reference.admissionregistration.v1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - failure_policy = '0', - match_policy = '0', - name = '0', - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - reinvocation_policy = '0', - rules = [ - kubernetes.client.models.v1/rule_with_operations.v1.RuleWithOperations( - api_groups = [ - '0' - ], - api_versions = [ - '0' - ], - operations = [ - '0' - ], - resources = [ - '0' - ], - scope = '0', ) - ], - side_effects = '0', - timeout_seconds = 56, ) - ], ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1MutatingWebhookConfigurationList( - items = [ - kubernetes.client.models.v1/mutating_webhook_configuration.v1.MutatingWebhookConfiguration( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - webhooks = [ - kubernetes.client.models.v1/mutating_webhook.v1.MutatingWebhook( - admission_review_versions = [ - '0' - ], - kubernetes.client_config = kubernetes.client.models.admissionregistration/v1/webhook_client_config.admissionregistration.v1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.admissionregistration/v1/service_reference.admissionregistration.v1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - failure_policy = '0', - match_policy = '0', - name = '0', - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - reinvocation_policy = '0', - rules = [ - kubernetes.client.models.v1/rule_with_operations.v1.RuleWithOperations( - api_groups = [ - '0' - ], - api_versions = [ - '0' - ], - operations = [ - '0' - ], - resources = [ - '0' - ], - scope = '0', ) - ], - side_effects = '0', - timeout_seconds = 56, ) - ], ) - ], - ) - - def testV1MutatingWebhookConfigurationList(self): - """Test V1MutatingWebhookConfigurationList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_namespace.py b/kubernetes/test/test_v1_namespace.py deleted file mode 100644 index fe86549166..0000000000 --- a/kubernetes/test/test_v1_namespace.py +++ /dev/null @@ -1,106 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_namespace import V1Namespace # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Namespace(unittest.TestCase): - """V1Namespace unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Namespace - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_namespace.V1Namespace() # noqa: E501 - if include_optional : - return V1Namespace( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/namespace_spec.v1.NamespaceSpec( - finalizers = [ - '0' - ], ), - status = kubernetes.client.models.v1/namespace_status.v1.NamespaceStatus( - conditions = [ - kubernetes.client.models.v1/namespace_condition.v1.NamespaceCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - phase = '0', ) - ) - else : - return V1Namespace( - ) - - def testV1Namespace(self): - """Test V1Namespace""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_namespace_condition.py b/kubernetes/test/test_v1_namespace_condition.py deleted file mode 100644 index 388c390abb..0000000000 --- a/kubernetes/test/test_v1_namespace_condition.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_namespace_condition import V1NamespaceCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NamespaceCondition(unittest.TestCase): - """V1NamespaceCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NamespaceCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_namespace_condition.V1NamespaceCondition() # noqa: E501 - if include_optional : - return V1NamespaceCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V1NamespaceCondition( - status = '0', - type = '0', - ) - - def testV1NamespaceCondition(self): - """Test V1NamespaceCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_namespace_list.py b/kubernetes/test/test_v1_namespace_list.py deleted file mode 100644 index a2883a0b65..0000000000 --- a/kubernetes/test/test_v1_namespace_list.py +++ /dev/null @@ -1,168 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_namespace_list import V1NamespaceList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NamespaceList(unittest.TestCase): - """V1NamespaceList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NamespaceList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_namespace_list.V1NamespaceList() # noqa: E501 - if include_optional : - return V1NamespaceList( - api_version = '0', - items = [ - kubernetes.client.models.v1/namespace.v1.Namespace( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/namespace_spec.v1.NamespaceSpec(), - status = kubernetes.client.models.v1/namespace_status.v1.NamespaceStatus( - conditions = [ - kubernetes.client.models.v1/namespace_condition.v1.NamespaceCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - phase = '0', ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1NamespaceList( - items = [ - kubernetes.client.models.v1/namespace.v1.Namespace( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/namespace_spec.v1.NamespaceSpec(), - status = kubernetes.client.models.v1/namespace_status.v1.NamespaceStatus( - conditions = [ - kubernetes.client.models.v1/namespace_condition.v1.NamespaceCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - phase = '0', ), ) - ], - ) - - def testV1NamespaceList(self): - """Test V1NamespaceList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_namespace_spec.py b/kubernetes/test/test_v1_namespace_spec.py deleted file mode 100644 index 6083153d90..0000000000 --- a/kubernetes/test/test_v1_namespace_spec.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_namespace_spec import V1NamespaceSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NamespaceSpec(unittest.TestCase): - """V1NamespaceSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NamespaceSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_namespace_spec.V1NamespaceSpec() # noqa: E501 - if include_optional : - return V1NamespaceSpec( - finalizers = [ - '0' - ] - ) - else : - return V1NamespaceSpec( - ) - - def testV1NamespaceSpec(self): - """Test V1NamespaceSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_namespace_status.py b/kubernetes/test/test_v1_namespace_status.py deleted file mode 100644 index 3c4f393cf9..0000000000 --- a/kubernetes/test/test_v1_namespace_status.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_namespace_status import V1NamespaceStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NamespaceStatus(unittest.TestCase): - """V1NamespaceStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NamespaceStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_namespace_status.V1NamespaceStatus() # noqa: E501 - if include_optional : - return V1NamespaceStatus( - conditions = [ - kubernetes.client.models.v1/namespace_condition.v1.NamespaceCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - phase = '0' - ) - else : - return V1NamespaceStatus( - ) - - def testV1NamespaceStatus(self): - """Test V1NamespaceStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_network_policy.py b/kubernetes/test/test_v1_network_policy.py deleted file mode 100644 index 03627acd1b..0000000000 --- a/kubernetes/test/test_v1_network_policy.py +++ /dev/null @@ -1,132 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_network_policy import V1NetworkPolicy # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NetworkPolicy(unittest.TestCase): - """V1NetworkPolicy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NetworkPolicy - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_network_policy.V1NetworkPolicy() # noqa: E501 - if include_optional : - return V1NetworkPolicy( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/network_policy_spec.v1.NetworkPolicySpec( - egress = [ - kubernetes.client.models.v1/network_policy_egress_rule.v1.NetworkPolicyEgressRule( - ports = [ - kubernetes.client.models.v1/network_policy_port.v1.NetworkPolicyPort( - port = kubernetes.client.models.port.port(), - protocol = '0', ) - ], - to = [ - kubernetes.client.models.v1/network_policy_peer.v1.NetworkPolicyPeer( - ip_block = kubernetes.client.models.v1/ip_block.v1.IPBlock( - cidr = '0', - except = [ - '0' - ], ), - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), ) - ], ) - ], - ingress = [ - kubernetes.client.models.v1/network_policy_ingress_rule.v1.NetworkPolicyIngressRule( - from = [ - kubernetes.client.models.v1/network_policy_peer.v1.NetworkPolicyPeer() - ], ) - ], - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - policy_types = [ - '0' - ], ) - ) - else : - return V1NetworkPolicy( - ) - - def testV1NetworkPolicy(self): - """Test V1NetworkPolicy""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_network_policy_egress_rule.py b/kubernetes/test/test_v1_network_policy_egress_rule.py deleted file mode 100644 index f651ccb292..0000000000 --- a/kubernetes/test/test_v1_network_policy_egress_rule.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_network_policy_egress_rule import V1NetworkPolicyEgressRule # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NetworkPolicyEgressRule(unittest.TestCase): - """V1NetworkPolicyEgressRule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NetworkPolicyEgressRule - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_network_policy_egress_rule.V1NetworkPolicyEgressRule() # noqa: E501 - if include_optional : - return V1NetworkPolicyEgressRule( - ports = [ - kubernetes.client.models.v1/network_policy_port.v1.NetworkPolicyPort( - port = kubernetes.client.models.port.port(), - protocol = '0', ) - ], - to = [ - kubernetes.client.models.v1/network_policy_peer.v1.NetworkPolicyPeer( - ip_block = kubernetes.client.models.v1/ip_block.v1.IPBlock( - cidr = '0', - except = [ - '0' - ], ), - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), ) - ] - ) - else : - return V1NetworkPolicyEgressRule( - ) - - def testV1NetworkPolicyEgressRule(self): - """Test V1NetworkPolicyEgressRule""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_network_policy_ingress_rule.py b/kubernetes/test/test_v1_network_policy_ingress_rule.py deleted file mode 100644 index de11efe091..0000000000 --- a/kubernetes/test/test_v1_network_policy_ingress_rule.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_network_policy_ingress_rule import V1NetworkPolicyIngressRule # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NetworkPolicyIngressRule(unittest.TestCase): - """V1NetworkPolicyIngressRule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NetworkPolicyIngressRule - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_network_policy_ingress_rule.V1NetworkPolicyIngressRule() # noqa: E501 - if include_optional : - return V1NetworkPolicyIngressRule( - _from = [ - kubernetes.client.models.v1/network_policy_peer.v1.NetworkPolicyPeer( - ip_block = kubernetes.client.models.v1/ip_block.v1.IPBlock( - cidr = '0', - except = [ - '0' - ], ), - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), ) - ], - ports = [ - kubernetes.client.models.v1/network_policy_port.v1.NetworkPolicyPort( - port = kubernetes.client.models.port.port(), - protocol = '0', ) - ] - ) - else : - return V1NetworkPolicyIngressRule( - ) - - def testV1NetworkPolicyIngressRule(self): - """Test V1NetworkPolicyIngressRule""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_network_policy_list.py b/kubernetes/test/test_v1_network_policy_list.py deleted file mode 100644 index feae5a05dd..0000000000 --- a/kubernetes/test/test_v1_network_policy_list.py +++ /dev/null @@ -1,226 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_network_policy_list import V1NetworkPolicyList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NetworkPolicyList(unittest.TestCase): - """V1NetworkPolicyList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NetworkPolicyList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_network_policy_list.V1NetworkPolicyList() # noqa: E501 - if include_optional : - return V1NetworkPolicyList( - api_version = '0', - items = [ - kubernetes.client.models.v1/network_policy.v1.NetworkPolicy( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/network_policy_spec.v1.NetworkPolicySpec( - egress = [ - kubernetes.client.models.v1/network_policy_egress_rule.v1.NetworkPolicyEgressRule( - ports = [ - kubernetes.client.models.v1/network_policy_port.v1.NetworkPolicyPort( - port = kubernetes.client.models.port.port(), - protocol = '0', ) - ], - to = [ - kubernetes.client.models.v1/network_policy_peer.v1.NetworkPolicyPeer( - ip_block = kubernetes.client.models.v1/ip_block.v1.IPBlock( - cidr = '0', - except = [ - '0' - ], ), - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), ) - ], ) - ], - ingress = [ - kubernetes.client.models.v1/network_policy_ingress_rule.v1.NetworkPolicyIngressRule( - from = [ - kubernetes.client.models.v1/network_policy_peer.v1.NetworkPolicyPeer() - ], ) - ], - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - policy_types = [ - '0' - ], ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1NetworkPolicyList( - items = [ - kubernetes.client.models.v1/network_policy.v1.NetworkPolicy( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/network_policy_spec.v1.NetworkPolicySpec( - egress = [ - kubernetes.client.models.v1/network_policy_egress_rule.v1.NetworkPolicyEgressRule( - ports = [ - kubernetes.client.models.v1/network_policy_port.v1.NetworkPolicyPort( - port = kubernetes.client.models.port.port(), - protocol = '0', ) - ], - to = [ - kubernetes.client.models.v1/network_policy_peer.v1.NetworkPolicyPeer( - ip_block = kubernetes.client.models.v1/ip_block.v1.IPBlock( - cidr = '0', - except = [ - '0' - ], ), - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), ) - ], ) - ], - ingress = [ - kubernetes.client.models.v1/network_policy_ingress_rule.v1.NetworkPolicyIngressRule( - from = [ - kubernetes.client.models.v1/network_policy_peer.v1.NetworkPolicyPeer() - ], ) - ], - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - policy_types = [ - '0' - ], ), ) - ], - ) - - def testV1NetworkPolicyList(self): - """Test V1NetworkPolicyList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_network_policy_peer.py b/kubernetes/test/test_v1_network_policy_peer.py deleted file mode 100644 index 5f42374996..0000000000 --- a/kubernetes/test/test_v1_network_policy_peer.py +++ /dev/null @@ -1,80 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_network_policy_peer import V1NetworkPolicyPeer # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NetworkPolicyPeer(unittest.TestCase): - """V1NetworkPolicyPeer unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NetworkPolicyPeer - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_network_policy_peer.V1NetworkPolicyPeer() # noqa: E501 - if include_optional : - return V1NetworkPolicyPeer( - ip_block = kubernetes.client.models.v1/ip_block.v1.IPBlock( - cidr = '0', - except = [ - '0' - ], ), - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ) - ) - else : - return V1NetworkPolicyPeer( - ) - - def testV1NetworkPolicyPeer(self): - """Test V1NetworkPolicyPeer""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_network_policy_port.py b/kubernetes/test/test_v1_network_policy_port.py deleted file mode 100644 index 791caa4498..0000000000 --- a/kubernetes/test/test_v1_network_policy_port.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_network_policy_port import V1NetworkPolicyPort # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NetworkPolicyPort(unittest.TestCase): - """V1NetworkPolicyPort unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NetworkPolicyPort - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_network_policy_port.V1NetworkPolicyPort() # noqa: E501 - if include_optional : - return V1NetworkPolicyPort( - port = kubernetes.client.models.port.port(), - protocol = '0' - ) - else : - return V1NetworkPolicyPort( - ) - - def testV1NetworkPolicyPort(self): - """Test V1NetworkPolicyPort""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_network_policy_spec.py b/kubernetes/test/test_v1_network_policy_spec.py deleted file mode 100644 index 7ee59b4c60..0000000000 --- a/kubernetes/test/test_v1_network_policy_spec.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_network_policy_spec import V1NetworkPolicySpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NetworkPolicySpec(unittest.TestCase): - """V1NetworkPolicySpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NetworkPolicySpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_network_policy_spec.V1NetworkPolicySpec() # noqa: E501 - if include_optional : - return V1NetworkPolicySpec( - egress = [ - kubernetes.client.models.v1/network_policy_egress_rule.v1.NetworkPolicyEgressRule( - ports = [ - kubernetes.client.models.v1/network_policy_port.v1.NetworkPolicyPort( - port = kubernetes.client.models.port.port(), - protocol = '0', ) - ], - to = [ - kubernetes.client.models.v1/network_policy_peer.v1.NetworkPolicyPeer( - ip_block = kubernetes.client.models.v1/ip_block.v1.IPBlock( - cidr = '0', - except = [ - '0' - ], ), - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), ) - ], ) - ], - ingress = [ - kubernetes.client.models.v1/network_policy_ingress_rule.v1.NetworkPolicyIngressRule( - from = [ - kubernetes.client.models.v1/network_policy_peer.v1.NetworkPolicyPeer( - ip_block = kubernetes.client.models.v1/ip_block.v1.IPBlock( - cidr = '0', - except = [ - '0' - ], ), - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), ) - ], - ports = [ - kubernetes.client.models.v1/network_policy_port.v1.NetworkPolicyPort( - port = kubernetes.client.models.port.port(), - protocol = '0', ) - ], ) - ], - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - policy_types = [ - '0' - ] - ) - else : - return V1NetworkPolicySpec( - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - ) - - def testV1NetworkPolicySpec(self): - """Test V1NetworkPolicySpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_nfs_volume_source.py b/kubernetes/test/test_v1_nfs_volume_source.py deleted file mode 100644 index a1180c9e27..0000000000 --- a/kubernetes/test/test_v1_nfs_volume_source.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_nfs_volume_source import V1NFSVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NFSVolumeSource(unittest.TestCase): - """V1NFSVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NFSVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_nfs_volume_source.V1NFSVolumeSource() # noqa: E501 - if include_optional : - return V1NFSVolumeSource( - path = '0', - read_only = True, - server = '0' - ) - else : - return V1NFSVolumeSource( - path = '0', - server = '0', - ) - - def testV1NFSVolumeSource(self): - """Test V1NFSVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_node.py b/kubernetes/test/test_v1_node.py deleted file mode 100644 index 1a8cbfea1e..0000000000 --- a/kubernetes/test/test_v1_node.py +++ /dev/null @@ -1,176 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_node import V1Node # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Node(unittest.TestCase): - """V1Node unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Node - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_node.V1Node() # noqa: E501 - if include_optional : - return V1Node( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/node_spec.v1.NodeSpec( - config_source = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource( - config_map = kubernetes.client.models.v1/config_map_node_config_source.v1.ConfigMapNodeConfigSource( - kubelet_config_key = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), ), - external_id = '0', - pod_cidr = '0', - pod_cid_rs = [ - '0' - ], - provider_id = '0', - taints = [ - kubernetes.client.models.v1/taint.v1.Taint( - effect = '0', - key = '0', - time_added = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - value = '0', ) - ], - unschedulable = True, ), - status = kubernetes.client.models.v1/node_status.v1.NodeStatus( - addresses = [ - kubernetes.client.models.v1/node_address.v1.NodeAddress( - address = '0', - type = '0', ) - ], - allocatable = { - 'key' : '0' - }, - capacity = { - 'key' : '0' - }, - conditions = [ - kubernetes.client.models.v1/node_condition.v1.NodeCondition( - last_heartbeat_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - config = kubernetes.client.models.v1/node_config_status.v1.NodeConfigStatus( - active = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource( - config_map = kubernetes.client.models.v1/config_map_node_config_source.v1.ConfigMapNodeConfigSource( - kubelet_config_key = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), ), - assigned = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource(), - error = '0', - last_known_good = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource(), ), - daemon_endpoints = kubernetes.client.models.v1/node_daemon_endpoints.v1.NodeDaemonEndpoints( - kubelet_endpoint = kubernetes.client.models.v1/daemon_endpoint.v1.DaemonEndpoint( - port = 56, ), ), - images = [ - kubernetes.client.models.v1/container_image.v1.ContainerImage( - names = [ - '0' - ], - size_bytes = 56, ) - ], - node_info = kubernetes.client.models.v1/node_system_info.v1.NodeSystemInfo( - architecture = '0', - boot_id = '0', - container_runtime_version = '0', - kernel_version = '0', - kube_proxy_version = '0', - kubelet_version = '0', - machine_id = '0', - operating_system = '0', - os_image = '0', - system_uuid = '0', ), - phase = '0', - volumes_attached = [ - kubernetes.client.models.v1/attached_volume.v1.AttachedVolume( - device_path = '0', - name = '0', ) - ], - volumes_in_use = [ - '0' - ], ) - ) - else : - return V1Node( - ) - - def testV1Node(self): - """Test V1Node""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_node_address.py b/kubernetes/test/test_v1_node_address.py deleted file mode 100644 index 7ac22cb433..0000000000 --- a/kubernetes/test/test_v1_node_address.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_node_address import V1NodeAddress # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NodeAddress(unittest.TestCase): - """V1NodeAddress unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NodeAddress - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_node_address.V1NodeAddress() # noqa: E501 - if include_optional : - return V1NodeAddress( - address = '0', - type = '0' - ) - else : - return V1NodeAddress( - address = '0', - type = '0', - ) - - def testV1NodeAddress(self): - """Test V1NodeAddress""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_node_affinity.py b/kubernetes/test/test_v1_node_affinity.py deleted file mode 100644 index fb477918e7..0000000000 --- a/kubernetes/test/test_v1_node_affinity.py +++ /dev/null @@ -1,86 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_node_affinity import V1NodeAffinity # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NodeAffinity(unittest.TestCase): - """V1NodeAffinity unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NodeAffinity - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_node_affinity.V1NodeAffinity() # noqa: E501 - if include_optional : - return V1NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ) - ) - else : - return V1NodeAffinity( - ) - - def testV1NodeAffinity(self): - """Test V1NodeAffinity""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_node_condition.py b/kubernetes/test/test_v1_node_condition.py deleted file mode 100644 index 1fb2d82245..0000000000 --- a/kubernetes/test/test_v1_node_condition.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_node_condition import V1NodeCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NodeCondition(unittest.TestCase): - """V1NodeCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NodeCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_node_condition.V1NodeCondition() # noqa: E501 - if include_optional : - return V1NodeCondition( - last_heartbeat_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V1NodeCondition( - status = '0', - type = '0', - ) - - def testV1NodeCondition(self): - """Test V1NodeCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_node_config_source.py b/kubernetes/test/test_v1_node_config_source.py deleted file mode 100644 index 67bdd1a946..0000000000 --- a/kubernetes/test/test_v1_node_config_source.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_node_config_source import V1NodeConfigSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NodeConfigSource(unittest.TestCase): - """V1NodeConfigSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NodeConfigSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_node_config_source.V1NodeConfigSource() # noqa: E501 - if include_optional : - return V1NodeConfigSource( - config_map = kubernetes.client.models.v1/config_map_node_config_source.v1.ConfigMapNodeConfigSource( - kubelet_config_key = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ) - ) - else : - return V1NodeConfigSource( - ) - - def testV1NodeConfigSource(self): - """Test V1NodeConfigSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_node_config_status.py b/kubernetes/test/test_v1_node_config_status.py deleted file mode 100644 index 6c57f1bcbd..0000000000 --- a/kubernetes/test/test_v1_node_config_status.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_node_config_status import V1NodeConfigStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NodeConfigStatus(unittest.TestCase): - """V1NodeConfigStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NodeConfigStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_node_config_status.V1NodeConfigStatus() # noqa: E501 - if include_optional : - return V1NodeConfigStatus( - active = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource( - config_map = kubernetes.client.models.v1/config_map_node_config_source.v1.ConfigMapNodeConfigSource( - kubelet_config_key = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), ), - assigned = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource( - config_map = kubernetes.client.models.v1/config_map_node_config_source.v1.ConfigMapNodeConfigSource( - kubelet_config_key = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), ), - error = '0', - last_known_good = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource( - config_map = kubernetes.client.models.v1/config_map_node_config_source.v1.ConfigMapNodeConfigSource( - kubelet_config_key = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), ) - ) - else : - return V1NodeConfigStatus( - ) - - def testV1NodeConfigStatus(self): - """Test V1NodeConfigStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_node_daemon_endpoints.py b/kubernetes/test/test_v1_node_daemon_endpoints.py deleted file mode 100644 index 161c2a2330..0000000000 --- a/kubernetes/test/test_v1_node_daemon_endpoints.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_node_daemon_endpoints import V1NodeDaemonEndpoints # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NodeDaemonEndpoints(unittest.TestCase): - """V1NodeDaemonEndpoints unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NodeDaemonEndpoints - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_node_daemon_endpoints.V1NodeDaemonEndpoints() # noqa: E501 - if include_optional : - return V1NodeDaemonEndpoints( - kubelet_endpoint = kubernetes.client.models.v1/daemon_endpoint.v1.DaemonEndpoint( - port = 56, ) - ) - else : - return V1NodeDaemonEndpoints( - ) - - def testV1NodeDaemonEndpoints(self): - """Test V1NodeDaemonEndpoints""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_node_list.py b/kubernetes/test/test_v1_node_list.py deleted file mode 100644 index 3d3e401624..0000000000 --- a/kubernetes/test/test_v1_node_list.py +++ /dev/null @@ -1,302 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_node_list import V1NodeList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NodeList(unittest.TestCase): - """V1NodeList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NodeList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_node_list.V1NodeList() # noqa: E501 - if include_optional : - return V1NodeList( - api_version = '0', - items = [ - kubernetes.client.models.v1/node.v1.Node( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/node_spec.v1.NodeSpec( - config_source = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource( - config_map = kubernetes.client.models.v1/config_map_node_config_source.v1.ConfigMapNodeConfigSource( - kubelet_config_key = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), ), - external_id = '0', - pod_cidr = '0', - pod_cid_rs = [ - '0' - ], - provider_id = '0', - taints = [ - kubernetes.client.models.v1/taint.v1.Taint( - effect = '0', - key = '0', - time_added = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - value = '0', ) - ], - unschedulable = True, ), - status = kubernetes.client.models.v1/node_status.v1.NodeStatus( - addresses = [ - kubernetes.client.models.v1/node_address.v1.NodeAddress( - address = '0', - type = '0', ) - ], - allocatable = { - 'key' : '0' - }, - capacity = { - 'key' : '0' - }, - conditions = [ - kubernetes.client.models.v1/node_condition.v1.NodeCondition( - last_heartbeat_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - config = kubernetes.client.models.v1/node_config_status.v1.NodeConfigStatus( - active = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource(), - assigned = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource(), - error = '0', - last_known_good = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource(), ), - daemon_endpoints = kubernetes.client.models.v1/node_daemon_endpoints.v1.NodeDaemonEndpoints( - kubelet_endpoint = kubernetes.client.models.v1/daemon_endpoint.v1.DaemonEndpoint( - port = 56, ), ), - images = [ - kubernetes.client.models.v1/container_image.v1.ContainerImage( - names = [ - '0' - ], - size_bytes = 56, ) - ], - node_info = kubernetes.client.models.v1/node_system_info.v1.NodeSystemInfo( - architecture = '0', - boot_id = '0', - container_runtime_version = '0', - kernel_version = '0', - kube_proxy_version = '0', - kubelet_version = '0', - machine_id = '0', - operating_system = '0', - os_image = '0', - system_uuid = '0', ), - phase = '0', - volumes_attached = [ - kubernetes.client.models.v1/attached_volume.v1.AttachedVolume( - device_path = '0', - name = '0', ) - ], - volumes_in_use = [ - '0' - ], ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1NodeList( - items = [ - kubernetes.client.models.v1/node.v1.Node( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/node_spec.v1.NodeSpec( - config_source = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource( - config_map = kubernetes.client.models.v1/config_map_node_config_source.v1.ConfigMapNodeConfigSource( - kubelet_config_key = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), ), - external_id = '0', - pod_cidr = '0', - pod_cid_rs = [ - '0' - ], - provider_id = '0', - taints = [ - kubernetes.client.models.v1/taint.v1.Taint( - effect = '0', - key = '0', - time_added = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - value = '0', ) - ], - unschedulable = True, ), - status = kubernetes.client.models.v1/node_status.v1.NodeStatus( - addresses = [ - kubernetes.client.models.v1/node_address.v1.NodeAddress( - address = '0', - type = '0', ) - ], - allocatable = { - 'key' : '0' - }, - capacity = { - 'key' : '0' - }, - conditions = [ - kubernetes.client.models.v1/node_condition.v1.NodeCondition( - last_heartbeat_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - config = kubernetes.client.models.v1/node_config_status.v1.NodeConfigStatus( - active = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource(), - assigned = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource(), - error = '0', - last_known_good = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource(), ), - daemon_endpoints = kubernetes.client.models.v1/node_daemon_endpoints.v1.NodeDaemonEndpoints( - kubelet_endpoint = kubernetes.client.models.v1/daemon_endpoint.v1.DaemonEndpoint( - port = 56, ), ), - images = [ - kubernetes.client.models.v1/container_image.v1.ContainerImage( - names = [ - '0' - ], - size_bytes = 56, ) - ], - node_info = kubernetes.client.models.v1/node_system_info.v1.NodeSystemInfo( - architecture = '0', - boot_id = '0', - container_runtime_version = '0', - kernel_version = '0', - kube_proxy_version = '0', - kubelet_version = '0', - machine_id = '0', - operating_system = '0', - os_image = '0', - system_uuid = '0', ), - phase = '0', - volumes_attached = [ - kubernetes.client.models.v1/attached_volume.v1.AttachedVolume( - device_path = '0', - name = '0', ) - ], - volumes_in_use = [ - '0' - ], ), ) - ], - ) - - def testV1NodeList(self): - """Test V1NodeList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_node_selector.py b/kubernetes/test/test_v1_node_selector.py deleted file mode 100644 index 3a6f10a952..0000000000 --- a/kubernetes/test/test_v1_node_selector.py +++ /dev/null @@ -1,83 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_node_selector import V1NodeSelector # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NodeSelector(unittest.TestCase): - """V1NodeSelector unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NodeSelector - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_node_selector.V1NodeSelector() # noqa: E501 - if include_optional : - return V1NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ] - ) - else : - return V1NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], - ) - - def testV1NodeSelector(self): - """Test V1NodeSelector""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_node_selector_requirement.py b/kubernetes/test/test_v1_node_selector_requirement.py deleted file mode 100644 index 8015b4ee4a..0000000000 --- a/kubernetes/test/test_v1_node_selector_requirement.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_node_selector_requirement import V1NodeSelectorRequirement # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NodeSelectorRequirement(unittest.TestCase): - """V1NodeSelectorRequirement unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NodeSelectorRequirement - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_node_selector_requirement.V1NodeSelectorRequirement() # noqa: E501 - if include_optional : - return V1NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ] - ) - else : - return V1NodeSelectorRequirement( - key = '0', - operator = '0', - ) - - def testV1NodeSelectorRequirement(self): - """Test V1NodeSelectorRequirement""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_node_selector_term.py b/kubernetes/test/test_v1_node_selector_term.py deleted file mode 100644 index 101caa554c..0000000000 --- a/kubernetes/test/test_v1_node_selector_term.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_node_selector_term import V1NodeSelectorTerm # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NodeSelectorTerm(unittest.TestCase): - """V1NodeSelectorTerm unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NodeSelectorTerm - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_node_selector_term.V1NodeSelectorTerm() # noqa: E501 - if include_optional : - return V1NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ] - ) - else : - return V1NodeSelectorTerm( - ) - - def testV1NodeSelectorTerm(self): - """Test V1NodeSelectorTerm""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_node_spec.py b/kubernetes/test/test_v1_node_spec.py deleted file mode 100644 index f6a7018c43..0000000000 --- a/kubernetes/test/test_v1_node_spec.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_node_spec import V1NodeSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NodeSpec(unittest.TestCase): - """V1NodeSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NodeSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_node_spec.V1NodeSpec() # noqa: E501 - if include_optional : - return V1NodeSpec( - config_source = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource( - config_map = kubernetes.client.models.v1/config_map_node_config_source.v1.ConfigMapNodeConfigSource( - kubelet_config_key = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), ), - external_id = '0', - pod_cidr = '0', - pod_cid_rs = [ - '0' - ], - provider_id = '0', - taints = [ - kubernetes.client.models.v1/taint.v1.Taint( - effect = '0', - key = '0', - time_added = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - value = '0', ) - ], - unschedulable = True - ) - else : - return V1NodeSpec( - ) - - def testV1NodeSpec(self): - """Test V1NodeSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_node_status.py b/kubernetes/test/test_v1_node_status.py deleted file mode 100644 index ee2103b25a..0000000000 --- a/kubernetes/test/test_v1_node_status.py +++ /dev/null @@ -1,112 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_node_status import V1NodeStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NodeStatus(unittest.TestCase): - """V1NodeStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NodeStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_node_status.V1NodeStatus() # noqa: E501 - if include_optional : - return V1NodeStatus( - addresses = [ - kubernetes.client.models.v1/node_address.v1.NodeAddress( - address = '0', - type = '0', ) - ], - allocatable = { - 'key' : '0' - }, - capacity = { - 'key' : '0' - }, - conditions = [ - kubernetes.client.models.v1/node_condition.v1.NodeCondition( - last_heartbeat_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - config = kubernetes.client.models.v1/node_config_status.v1.NodeConfigStatus( - active = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource( - config_map = kubernetes.client.models.v1/config_map_node_config_source.v1.ConfigMapNodeConfigSource( - kubelet_config_key = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), ), - assigned = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource(), - error = '0', - last_known_good = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource(), ), - daemon_endpoints = kubernetes.client.models.v1/node_daemon_endpoints.v1.NodeDaemonEndpoints( - kubelet_endpoint = kubernetes.client.models.v1/daemon_endpoint.v1.DaemonEndpoint( - port = 56, ), ), - images = [ - kubernetes.client.models.v1/container_image.v1.ContainerImage( - names = [ - '0' - ], - size_bytes = 56, ) - ], - node_info = kubernetes.client.models.v1/node_system_info.v1.NodeSystemInfo( - architecture = '0', - boot_id = '0', - container_runtime_version = '0', - kernel_version = '0', - kube_proxy_version = '0', - kubelet_version = '0', - machine_id = '0', - operating_system = '0', - os_image = '0', - system_uuid = '0', ), - phase = '0', - volumes_attached = [ - kubernetes.client.models.v1/attached_volume.v1.AttachedVolume( - device_path = '0', - name = '0', ) - ], - volumes_in_use = [ - '0' - ] - ) - else : - return V1NodeStatus( - ) - - def testV1NodeStatus(self): - """Test V1NodeStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_node_system_info.py b/kubernetes/test/test_v1_node_system_info.py deleted file mode 100644 index cbe59a8e14..0000000000 --- a/kubernetes/test/test_v1_node_system_info.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_node_system_info import V1NodeSystemInfo # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NodeSystemInfo(unittest.TestCase): - """V1NodeSystemInfo unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NodeSystemInfo - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_node_system_info.V1NodeSystemInfo() # noqa: E501 - if include_optional : - return V1NodeSystemInfo( - architecture = '0', - boot_id = '0', - container_runtime_version = '0', - kernel_version = '0', - kube_proxy_version = '0', - kubelet_version = '0', - machine_id = '0', - operating_system = '0', - os_image = '0', - system_uuid = '0' - ) - else : - return V1NodeSystemInfo( - architecture = '0', - boot_id = '0', - container_runtime_version = '0', - kernel_version = '0', - kube_proxy_version = '0', - kubelet_version = '0', - machine_id = '0', - operating_system = '0', - os_image = '0', - system_uuid = '0', - ) - - def testV1NodeSystemInfo(self): - """Test V1NodeSystemInfo""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_non_resource_attributes.py b/kubernetes/test/test_v1_non_resource_attributes.py deleted file mode 100644 index 80cea8adaa..0000000000 --- a/kubernetes/test/test_v1_non_resource_attributes.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_non_resource_attributes import V1NonResourceAttributes # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NonResourceAttributes(unittest.TestCase): - """V1NonResourceAttributes unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NonResourceAttributes - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_non_resource_attributes.V1NonResourceAttributes() # noqa: E501 - if include_optional : - return V1NonResourceAttributes( - path = '0', - verb = '0' - ) - else : - return V1NonResourceAttributes( - ) - - def testV1NonResourceAttributes(self): - """Test V1NonResourceAttributes""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_non_resource_rule.py b/kubernetes/test/test_v1_non_resource_rule.py deleted file mode 100644 index 5543af152a..0000000000 --- a/kubernetes/test/test_v1_non_resource_rule.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_non_resource_rule import V1NonResourceRule # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NonResourceRule(unittest.TestCase): - """V1NonResourceRule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NonResourceRule - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_non_resource_rule.V1NonResourceRule() # noqa: E501 - if include_optional : - return V1NonResourceRule( - non_resource_ur_ls = [ - '0' - ], - verbs = [ - '0' - ] - ) - else : - return V1NonResourceRule( - verbs = [ - '0' - ], - ) - - def testV1NonResourceRule(self): - """Test V1NonResourceRule""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_object_field_selector.py b/kubernetes/test/test_v1_object_field_selector.py deleted file mode 100644 index ced12f9354..0000000000 --- a/kubernetes/test/test_v1_object_field_selector.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_object_field_selector import V1ObjectFieldSelector # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ObjectFieldSelector(unittest.TestCase): - """V1ObjectFieldSelector unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ObjectFieldSelector - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_object_field_selector.V1ObjectFieldSelector() # noqa: E501 - if include_optional : - return V1ObjectFieldSelector( - api_version = '0', - field_path = '0' - ) - else : - return V1ObjectFieldSelector( - field_path = '0', - ) - - def testV1ObjectFieldSelector(self): - """Test V1ObjectFieldSelector""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_object_meta.py b/kubernetes/test/test_v1_object_meta.py deleted file mode 100644 index c60de91c12..0000000000 --- a/kubernetes/test/test_v1_object_meta.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_object_meta import V1ObjectMeta # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ObjectMeta(unittest.TestCase): - """V1ObjectMeta unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ObjectMeta - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_object_meta.V1ObjectMeta() # noqa: E501 - if include_optional : - return V1ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0' - ) - else : - return V1ObjectMeta( - ) - - def testV1ObjectMeta(self): - """Test V1ObjectMeta""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_object_reference.py b/kubernetes/test/test_v1_object_reference.py deleted file mode 100644 index 536e923437..0000000000 --- a/kubernetes/test/test_v1_object_reference.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_object_reference import V1ObjectReference # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ObjectReference(unittest.TestCase): - """V1ObjectReference unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ObjectReference - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_object_reference.V1ObjectReference() # noqa: E501 - if include_optional : - return V1ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0' - ) - else : - return V1ObjectReference( - ) - - def testV1ObjectReference(self): - """Test V1ObjectReference""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_owner_reference.py b/kubernetes/test/test_v1_owner_reference.py deleted file mode 100644 index 7655b70449..0000000000 --- a/kubernetes/test/test_v1_owner_reference.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_owner_reference import V1OwnerReference # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1OwnerReference(unittest.TestCase): - """V1OwnerReference unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1OwnerReference - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_owner_reference.V1OwnerReference() # noqa: E501 - if include_optional : - return V1OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0' - ) - else : - return V1OwnerReference( - api_version = '0', - kind = '0', - name = '0', - uid = '0', - ) - - def testV1OwnerReference(self): - """Test V1OwnerReference""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_persistent_volume.py b/kubernetes/test/test_v1_persistent_volume.py deleted file mode 100644 index dbd823791f..0000000000 --- a/kubernetes/test/test_v1_persistent_volume.py +++ /dev/null @@ -1,287 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_persistent_volume import V1PersistentVolume # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PersistentVolume(unittest.TestCase): - """V1PersistentVolume unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PersistentVolume - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_persistent_volume.V1PersistentVolume() # noqa: E501 - if include_optional : - return V1PersistentVolume( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - status = kubernetes.client.models.v1/persistent_volume_status.v1.PersistentVolumeStatus( - message = '0', - phase = '0', - reason = '0', ) - ) - else : - return V1PersistentVolume( - ) - - def testV1PersistentVolume(self): - """Test V1PersistentVolume""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_persistent_volume_claim.py b/kubernetes/test/test_v1_persistent_volume_claim.py deleted file mode 100644 index 8066034264..0000000000 --- a/kubernetes/test/test_v1_persistent_volume_claim.py +++ /dev/null @@ -1,139 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_persistent_volume_claim import V1PersistentVolumeClaim # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PersistentVolumeClaim(unittest.TestCase): - """V1PersistentVolumeClaim unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PersistentVolumeClaim - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_persistent_volume_claim.V1PersistentVolumeClaim() # noqa: E501 - if include_optional : - return V1PersistentVolumeClaim( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/persistent_volume_claim_spec.v1.PersistentVolumeClaimSpec( - access_modes = [ - '0' - ], - data_source = kubernetes.client.models.v1/typed_local_object_reference.v1.TypedLocalObjectReference( - api_group = '0', - kind = '0', - name = '0', ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - storage_class_name = '0', - volume_mode = '0', - volume_name = '0', ), - status = kubernetes.client.models.v1/persistent_volume_claim_status.v1.PersistentVolumeClaimStatus( - access_modes = [ - '0' - ], - capacity = { - 'key' : '0' - }, - conditions = [ - kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - phase = '0', ) - ) - else : - return V1PersistentVolumeClaim( - ) - - def testV1PersistentVolumeClaim(self): - """Test V1PersistentVolumeClaim""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_persistent_volume_claim_condition.py b/kubernetes/test/test_v1_persistent_volume_claim_condition.py deleted file mode 100644 index 30433957e6..0000000000 --- a/kubernetes/test/test_v1_persistent_volume_claim_condition.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_persistent_volume_claim_condition import V1PersistentVolumeClaimCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PersistentVolumeClaimCondition(unittest.TestCase): - """V1PersistentVolumeClaimCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PersistentVolumeClaimCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_persistent_volume_claim_condition.V1PersistentVolumeClaimCondition() # noqa: E501 - if include_optional : - return V1PersistentVolumeClaimCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V1PersistentVolumeClaimCondition( - status = '0', - type = '0', - ) - - def testV1PersistentVolumeClaimCondition(self): - """Test V1PersistentVolumeClaimCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_persistent_volume_claim_list.py b/kubernetes/test/test_v1_persistent_volume_claim_list.py deleted file mode 100644 index 3423737e8a..0000000000 --- a/kubernetes/test/test_v1_persistent_volume_claim_list.py +++ /dev/null @@ -1,234 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_persistent_volume_claim_list import V1PersistentVolumeClaimList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PersistentVolumeClaimList(unittest.TestCase): - """V1PersistentVolumeClaimList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PersistentVolumeClaimList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_persistent_volume_claim_list.V1PersistentVolumeClaimList() # noqa: E501 - if include_optional : - return V1PersistentVolumeClaimList( - api_version = '0', - items = [ - kubernetes.client.models.v1/persistent_volume_claim.v1.PersistentVolumeClaim( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/persistent_volume_claim_spec.v1.PersistentVolumeClaimSpec( - access_modes = [ - '0' - ], - data_source = kubernetes.client.models.v1/typed_local_object_reference.v1.TypedLocalObjectReference( - api_group = '0', - kind = '0', - name = '0', ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - storage_class_name = '0', - volume_mode = '0', - volume_name = '0', ), - status = kubernetes.client.models.v1/persistent_volume_claim_status.v1.PersistentVolumeClaimStatus( - capacity = { - 'key' : '0' - }, - conditions = [ - kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - phase = '0', ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1PersistentVolumeClaimList( - items = [ - kubernetes.client.models.v1/persistent_volume_claim.v1.PersistentVolumeClaim( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/persistent_volume_claim_spec.v1.PersistentVolumeClaimSpec( - access_modes = [ - '0' - ], - data_source = kubernetes.client.models.v1/typed_local_object_reference.v1.TypedLocalObjectReference( - api_group = '0', - kind = '0', - name = '0', ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - storage_class_name = '0', - volume_mode = '0', - volume_name = '0', ), - status = kubernetes.client.models.v1/persistent_volume_claim_status.v1.PersistentVolumeClaimStatus( - capacity = { - 'key' : '0' - }, - conditions = [ - kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - phase = '0', ), ) - ], - ) - - def testV1PersistentVolumeClaimList(self): - """Test V1PersistentVolumeClaimList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_persistent_volume_claim_spec.py b/kubernetes/test/test_v1_persistent_volume_claim_spec.py deleted file mode 100644 index 3b837d29c6..0000000000 --- a/kubernetes/test/test_v1_persistent_volume_claim_spec.py +++ /dev/null @@ -1,80 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_persistent_volume_claim_spec import V1PersistentVolumeClaimSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PersistentVolumeClaimSpec(unittest.TestCase): - """V1PersistentVolumeClaimSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PersistentVolumeClaimSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_persistent_volume_claim_spec.V1PersistentVolumeClaimSpec() # noqa: E501 - if include_optional : - return V1PersistentVolumeClaimSpec( - access_modes = [ - '0' - ], - data_source = kubernetes.client.models.v1/typed_local_object_reference.v1.TypedLocalObjectReference( - api_group = '0', - kind = '0', - name = '0', ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - storage_class_name = '0', - volume_mode = '0', - volume_name = '0' - ) - else : - return V1PersistentVolumeClaimSpec( - ) - - def testV1PersistentVolumeClaimSpec(self): - """Test V1PersistentVolumeClaimSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_persistent_volume_claim_status.py b/kubernetes/test/test_v1_persistent_volume_claim_status.py deleted file mode 100644 index be238ed87e..0000000000 --- a/kubernetes/test/test_v1_persistent_volume_claim_status.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_persistent_volume_claim_status import V1PersistentVolumeClaimStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PersistentVolumeClaimStatus(unittest.TestCase): - """V1PersistentVolumeClaimStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PersistentVolumeClaimStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_persistent_volume_claim_status.V1PersistentVolumeClaimStatus() # noqa: E501 - if include_optional : - return V1PersistentVolumeClaimStatus( - access_modes = [ - '0' - ], - capacity = { - 'key' : '0' - }, - conditions = [ - kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - phase = '0' - ) - else : - return V1PersistentVolumeClaimStatus( - ) - - def testV1PersistentVolumeClaimStatus(self): - """Test V1PersistentVolumeClaimStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_persistent_volume_claim_volume_source.py b/kubernetes/test/test_v1_persistent_volume_claim_volume_source.py deleted file mode 100644 index ededaa9f03..0000000000 --- a/kubernetes/test/test_v1_persistent_volume_claim_volume_source.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_persistent_volume_claim_volume_source import V1PersistentVolumeClaimVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PersistentVolumeClaimVolumeSource(unittest.TestCase): - """V1PersistentVolumeClaimVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PersistentVolumeClaimVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_persistent_volume_claim_volume_source.V1PersistentVolumeClaimVolumeSource() # noqa: E501 - if include_optional : - return V1PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True - ) - else : - return V1PersistentVolumeClaimVolumeSource( - claim_name = '0', - ) - - def testV1PersistentVolumeClaimVolumeSource(self): - """Test V1PersistentVolumeClaimVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_persistent_volume_list.py b/kubernetes/test/test_v1_persistent_volume_list.py deleted file mode 100644 index 416fd85c70..0000000000 --- a/kubernetes/test/test_v1_persistent_volume_list.py +++ /dev/null @@ -1,536 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_persistent_volume_list import V1PersistentVolumeList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PersistentVolumeList(unittest.TestCase): - """V1PersistentVolumeList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PersistentVolumeList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_persistent_volume_list.V1PersistentVolumeList() # noqa: E501 - if include_optional : - return V1PersistentVolumeList( - api_version = '0', - items = [ - kubernetes.client.models.v1/persistent_volume.v1.PersistentVolume( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - status = kubernetes.client.models.v1/persistent_volume_status.v1.PersistentVolumeStatus( - message = '0', - phase = '0', - reason = '0', ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1PersistentVolumeList( - items = [ - kubernetes.client.models.v1/persistent_volume.v1.PersistentVolume( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - status = kubernetes.client.models.v1/persistent_volume_status.v1.PersistentVolumeStatus( - message = '0', - phase = '0', - reason = '0', ), ) - ], - ) - - def testV1PersistentVolumeList(self): - """Test V1PersistentVolumeList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_persistent_volume_spec.py b/kubernetes/test/test_v1_persistent_volume_spec.py deleted file mode 100644 index cf7ae669b6..0000000000 --- a/kubernetes/test/test_v1_persistent_volume_spec.py +++ /dev/null @@ -1,261 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_persistent_volume_spec import V1PersistentVolumeSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PersistentVolumeSpec(unittest.TestCase): - """V1PersistentVolumeSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PersistentVolumeSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_persistent_volume_spec.V1PersistentVolumeSpec() # noqa: E501 - if include_optional : - return V1PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ) - ) - else : - return V1PersistentVolumeSpec( - ) - - def testV1PersistentVolumeSpec(self): - """Test V1PersistentVolumeSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_persistent_volume_status.py b/kubernetes/test/test_v1_persistent_volume_status.py deleted file mode 100644 index 619eab3920..0000000000 --- a/kubernetes/test/test_v1_persistent_volume_status.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_persistent_volume_status import V1PersistentVolumeStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PersistentVolumeStatus(unittest.TestCase): - """V1PersistentVolumeStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PersistentVolumeStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_persistent_volume_status.V1PersistentVolumeStatus() # noqa: E501 - if include_optional : - return V1PersistentVolumeStatus( - message = '0', - phase = '0', - reason = '0' - ) - else : - return V1PersistentVolumeStatus( - ) - - def testV1PersistentVolumeStatus(self): - """Test V1PersistentVolumeStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_photon_persistent_disk_volume_source.py b/kubernetes/test/test_v1_photon_persistent_disk_volume_source.py deleted file mode 100644 index 3c7cc64b56..0000000000 --- a/kubernetes/test/test_v1_photon_persistent_disk_volume_source.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_photon_persistent_disk_volume_source import V1PhotonPersistentDiskVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PhotonPersistentDiskVolumeSource(unittest.TestCase): - """V1PhotonPersistentDiskVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PhotonPersistentDiskVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_photon_persistent_disk_volume_source.V1PhotonPersistentDiskVolumeSource() # noqa: E501 - if include_optional : - return V1PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0' - ) - else : - return V1PhotonPersistentDiskVolumeSource( - pd_id = '0', - ) - - def testV1PhotonPersistentDiskVolumeSource(self): - """Test V1PhotonPersistentDiskVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_pod.py b/kubernetes/test/test_v1_pod.py deleted file mode 100644 index e883933524..0000000000 --- a/kubernetes/test/test_v1_pod.py +++ /dev/null @@ -1,603 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_pod import V1Pod # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Pod(unittest.TestCase): - """V1Pod unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Pod - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_pod.V1Pod() # noqa: E501 - if include_optional : - return V1Pod( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), - status = kubernetes.client.models.v1/pod_status.v1.PodStatus( - conditions = [ - kubernetes.client.models.v1/pod_condition.v1.PodCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - container_statuses = [ - kubernetes.client.models.v1/container_status.v1.ContainerStatus( - container_id = '0', - image = '0', - image_id = '0', - last_state = kubernetes.client.models.v1/container_state.v1.ContainerState( - running = kubernetes.client.models.v1/container_state_running.v1.ContainerStateRunning( - started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - terminated = kubernetes.client.models.v1/container_state_terminated.v1.ContainerStateTerminated( - container_id = '0', - exit_code = 56, - finished_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - signal = 56, - started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - waiting = kubernetes.client.models.v1/container_state_waiting.v1.ContainerStateWaiting( - message = '0', - reason = '0', ), ), - name = '0', - ready = True, - restart_count = 56, - started = True, - state = kubernetes.client.models.v1/container_state.v1.ContainerState(), ) - ], - ephemeral_container_statuses = [ - kubernetes.client.models.v1/container_status.v1.ContainerStatus( - container_id = '0', - image = '0', - image_id = '0', - name = '0', - ready = True, - restart_count = 56, - started = True, ) - ], - host_ip = '0', - init_container_statuses = [ - kubernetes.client.models.v1/container_status.v1.ContainerStatus( - container_id = '0', - image = '0', - image_id = '0', - name = '0', - ready = True, - restart_count = 56, - started = True, ) - ], - message = '0', - nominated_node_name = '0', - phase = '0', - pod_ip = '0', - pod_i_ps = [ - kubernetes.client.models.v1/pod_ip.v1.PodIP( - ip = '0', ) - ], - qos_class = '0', - reason = '0', - start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ) - else : - return V1Pod( - ) - - def testV1Pod(self): - """Test V1Pod""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_pod_affinity.py b/kubernetes/test/test_v1_pod_affinity.py deleted file mode 100644 index 49f265ec9b..0000000000 --- a/kubernetes/test/test_v1_pod_affinity.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_pod_affinity import V1PodAffinity # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PodAffinity(unittest.TestCase): - """V1PodAffinity unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PodAffinity - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_pod_affinity.V1PodAffinity() # noqa: E501 - if include_optional : - return V1PodAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/weighted_pod_affinity_term.v1.WeightedPodAffinityTerm( - pod_affinity_term = kubernetes.client.models.v1/pod_affinity_term.v1.PodAffinityTerm( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - namespaces = [ - '0' - ], - topology_key = '0', ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/pod_affinity_term.v1.PodAffinityTerm( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - namespaces = [ - '0' - ], - topology_key = '0', ) - ] - ) - else : - return V1PodAffinity( - ) - - def testV1PodAffinity(self): - """Test V1PodAffinity""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_pod_affinity_term.py b/kubernetes/test/test_v1_pod_affinity_term.py deleted file mode 100644 index ea6f3ca042..0000000000 --- a/kubernetes/test/test_v1_pod_affinity_term.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_pod_affinity_term import V1PodAffinityTerm # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PodAffinityTerm(unittest.TestCase): - """V1PodAffinityTerm unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PodAffinityTerm - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_pod_affinity_term.V1PodAffinityTerm() # noqa: E501 - if include_optional : - return V1PodAffinityTerm( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - namespaces = [ - '0' - ], - topology_key = '0' - ) - else : - return V1PodAffinityTerm( - topology_key = '0', - ) - - def testV1PodAffinityTerm(self): - """Test V1PodAffinityTerm""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_pod_anti_affinity.py b/kubernetes/test/test_v1_pod_anti_affinity.py deleted file mode 100644 index cf50f216f5..0000000000 --- a/kubernetes/test/test_v1_pod_anti_affinity.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_pod_anti_affinity import V1PodAntiAffinity # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PodAntiAffinity(unittest.TestCase): - """V1PodAntiAffinity unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PodAntiAffinity - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_pod_anti_affinity.V1PodAntiAffinity() # noqa: E501 - if include_optional : - return V1PodAntiAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/weighted_pod_affinity_term.v1.WeightedPodAffinityTerm( - pod_affinity_term = kubernetes.client.models.v1/pod_affinity_term.v1.PodAffinityTerm( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - namespaces = [ - '0' - ], - topology_key = '0', ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/pod_affinity_term.v1.PodAffinityTerm( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - namespaces = [ - '0' - ], - topology_key = '0', ) - ] - ) - else : - return V1PodAntiAffinity( - ) - - def testV1PodAntiAffinity(self): - """Test V1PodAntiAffinity""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_pod_condition.py b/kubernetes/test/test_v1_pod_condition.py deleted file mode 100644 index 15943824ec..0000000000 --- a/kubernetes/test/test_v1_pod_condition.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_pod_condition import V1PodCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PodCondition(unittest.TestCase): - """V1PodCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PodCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_pod_condition.V1PodCondition() # noqa: E501 - if include_optional : - return V1PodCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V1PodCondition( - status = '0', - type = '0', - ) - - def testV1PodCondition(self): - """Test V1PodCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_pod_dns_config.py b/kubernetes/test/test_v1_pod_dns_config.py deleted file mode 100644 index 2ba4a5d120..0000000000 --- a/kubernetes/test/test_v1_pod_dns_config.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_pod_dns_config import V1PodDNSConfig # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PodDNSConfig(unittest.TestCase): - """V1PodDNSConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PodDNSConfig - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_pod_dns_config.V1PodDNSConfig() # noqa: E501 - if include_optional : - return V1PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ] - ) - else : - return V1PodDNSConfig( - ) - - def testV1PodDNSConfig(self): - """Test V1PodDNSConfig""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_pod_dns_config_option.py b/kubernetes/test/test_v1_pod_dns_config_option.py deleted file mode 100644 index 45450c7954..0000000000 --- a/kubernetes/test/test_v1_pod_dns_config_option.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_pod_dns_config_option import V1PodDNSConfigOption # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PodDNSConfigOption(unittest.TestCase): - """V1PodDNSConfigOption unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PodDNSConfigOption - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_pod_dns_config_option.V1PodDNSConfigOption() # noqa: E501 - if include_optional : - return V1PodDNSConfigOption( - name = '0', - value = '0' - ) - else : - return V1PodDNSConfigOption( - ) - - def testV1PodDNSConfigOption(self): - """Test V1PodDNSConfigOption""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_pod_ip.py b/kubernetes/test/test_v1_pod_ip.py deleted file mode 100644 index 73b213b320..0000000000 --- a/kubernetes/test/test_v1_pod_ip.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_pod_ip import V1PodIP # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PodIP(unittest.TestCase): - """V1PodIP unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PodIP - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_pod_ip.V1PodIP() # noqa: E501 - if include_optional : - return V1PodIP( - ip = '0' - ) - else : - return V1PodIP( - ) - - def testV1PodIP(self): - """Test V1PodIP""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_pod_list.py b/kubernetes/test/test_v1_pod_list.py deleted file mode 100644 index 6d33494a40..0000000000 --- a/kubernetes/test/test_v1_pod_list.py +++ /dev/null @@ -1,1168 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_pod_list import V1PodList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PodList(unittest.TestCase): - """V1PodList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PodList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_pod_list.V1PodList() # noqa: E501 - if include_optional : - return V1PodList( - api_version = '0', - items = [ - kubernetes.client.models.v1/pod.v1.Pod( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), - status = kubernetes.client.models.v1/pod_status.v1.PodStatus( - conditions = [ - kubernetes.client.models.v1/pod_condition.v1.PodCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - container_statuses = [ - kubernetes.client.models.v1/container_status.v1.ContainerStatus( - container_id = '0', - image = '0', - image_id = '0', - last_state = kubernetes.client.models.v1/container_state.v1.ContainerState( - running = kubernetes.client.models.v1/container_state_running.v1.ContainerStateRunning( - started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - terminated = kubernetes.client.models.v1/container_state_terminated.v1.ContainerStateTerminated( - container_id = '0', - exit_code = 56, - finished_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - signal = 56, - started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - waiting = kubernetes.client.models.v1/container_state_waiting.v1.ContainerStateWaiting( - message = '0', - reason = '0', ), ), - name = '0', - ready = True, - restart_count = 56, - started = True, - state = kubernetes.client.models.v1/container_state.v1.ContainerState(), ) - ], - ephemeral_container_statuses = [ - kubernetes.client.models.v1/container_status.v1.ContainerStatus( - container_id = '0', - image = '0', - image_id = '0', - name = '0', - ready = True, - restart_count = 56, - started = True, ) - ], - host_ip = '0', - init_container_statuses = [ - kubernetes.client.models.v1/container_status.v1.ContainerStatus( - container_id = '0', - image = '0', - image_id = '0', - name = '0', - ready = True, - restart_count = 56, - started = True, ) - ], - message = '0', - nominated_node_name = '0', - phase = '0', - pod_ip = '0', - pod_i_ps = [ - kubernetes.client.models.v1/pod_ip.v1.PodIP( - ip = '0', ) - ], - qos_class = '0', - reason = '0', - start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1PodList( - items = [ - kubernetes.client.models.v1/pod.v1.Pod( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), - status = kubernetes.client.models.v1/pod_status.v1.PodStatus( - conditions = [ - kubernetes.client.models.v1/pod_condition.v1.PodCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - container_statuses = [ - kubernetes.client.models.v1/container_status.v1.ContainerStatus( - container_id = '0', - image = '0', - image_id = '0', - last_state = kubernetes.client.models.v1/container_state.v1.ContainerState( - running = kubernetes.client.models.v1/container_state_running.v1.ContainerStateRunning( - started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - terminated = kubernetes.client.models.v1/container_state_terminated.v1.ContainerStateTerminated( - container_id = '0', - exit_code = 56, - finished_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - signal = 56, - started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - waiting = kubernetes.client.models.v1/container_state_waiting.v1.ContainerStateWaiting( - message = '0', - reason = '0', ), ), - name = '0', - ready = True, - restart_count = 56, - started = True, - state = kubernetes.client.models.v1/container_state.v1.ContainerState(), ) - ], - ephemeral_container_statuses = [ - kubernetes.client.models.v1/container_status.v1.ContainerStatus( - container_id = '0', - image = '0', - image_id = '0', - name = '0', - ready = True, - restart_count = 56, - started = True, ) - ], - host_ip = '0', - init_container_statuses = [ - kubernetes.client.models.v1/container_status.v1.ContainerStatus( - container_id = '0', - image = '0', - image_id = '0', - name = '0', - ready = True, - restart_count = 56, - started = True, ) - ], - message = '0', - nominated_node_name = '0', - phase = '0', - pod_ip = '0', - pod_i_ps = [ - kubernetes.client.models.v1/pod_ip.v1.PodIP( - ip = '0', ) - ], - qos_class = '0', - reason = '0', - start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ) - ], - ) - - def testV1PodList(self): - """Test V1PodList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_pod_readiness_gate.py b/kubernetes/test/test_v1_pod_readiness_gate.py deleted file mode 100644 index e2fb98e4ba..0000000000 --- a/kubernetes/test/test_v1_pod_readiness_gate.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_pod_readiness_gate import V1PodReadinessGate # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PodReadinessGate(unittest.TestCase): - """V1PodReadinessGate unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PodReadinessGate - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_pod_readiness_gate.V1PodReadinessGate() # noqa: E501 - if include_optional : - return V1PodReadinessGate( - condition_type = '0' - ) - else : - return V1PodReadinessGate( - condition_type = '0', - ) - - def testV1PodReadinessGate(self): - """Test V1PodReadinessGate""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_pod_security_context.py b/kubernetes/test/test_v1_pod_security_context.py deleted file mode 100644 index 36170abac5..0000000000 --- a/kubernetes/test/test_v1_pod_security_context.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_pod_security_context import V1PodSecurityContext # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PodSecurityContext(unittest.TestCase): - """V1PodSecurityContext unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PodSecurityContext - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_pod_security_context.V1PodSecurityContext() # noqa: E501 - if include_optional : - return V1PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ) - ) - else : - return V1PodSecurityContext( - ) - - def testV1PodSecurityContext(self): - """Test V1PodSecurityContext""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_pod_spec.py b/kubernetes/test/test_v1_pod_spec.py deleted file mode 100644 index b345176ca0..0000000000 --- a/kubernetes/test/test_v1_pod_spec.py +++ /dev/null @@ -1,903 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_pod_spec import V1PodSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PodSpec(unittest.TestCase): - """V1PodSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PodSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_pod_spec.V1PodSpec() # noqa: E501 - if include_optional : - return V1PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ] - ) - else : - return V1PodSpec( - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - ) - - def testV1PodSpec(self): - """Test V1PodSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_pod_status.py b/kubernetes/test/test_v1_pod_status.py deleted file mode 100644 index 22aca9fa87..0000000000 --- a/kubernetes/test/test_v1_pod_status.py +++ /dev/null @@ -1,147 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_pod_status import V1PodStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PodStatus(unittest.TestCase): - """V1PodStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PodStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_pod_status.V1PodStatus() # noqa: E501 - if include_optional : - return V1PodStatus( - conditions = [ - kubernetes.client.models.v1/pod_condition.v1.PodCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - container_statuses = [ - kubernetes.client.models.v1/container_status.v1.ContainerStatus( - container_id = '0', - image = '0', - image_id = '0', - last_state = kubernetes.client.models.v1/container_state.v1.ContainerState( - running = kubernetes.client.models.v1/container_state_running.v1.ContainerStateRunning( - started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - terminated = kubernetes.client.models.v1/container_state_terminated.v1.ContainerStateTerminated( - container_id = '0', - exit_code = 56, - finished_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - signal = 56, - started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - waiting = kubernetes.client.models.v1/container_state_waiting.v1.ContainerStateWaiting( - message = '0', - reason = '0', ), ), - name = '0', - ready = True, - restart_count = 56, - started = True, - state = kubernetes.client.models.v1/container_state.v1.ContainerState(), ) - ], - ephemeral_container_statuses = [ - kubernetes.client.models.v1/container_status.v1.ContainerStatus( - container_id = '0', - image = '0', - image_id = '0', - last_state = kubernetes.client.models.v1/container_state.v1.ContainerState( - running = kubernetes.client.models.v1/container_state_running.v1.ContainerStateRunning( - started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - terminated = kubernetes.client.models.v1/container_state_terminated.v1.ContainerStateTerminated( - container_id = '0', - exit_code = 56, - finished_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - signal = 56, - started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - waiting = kubernetes.client.models.v1/container_state_waiting.v1.ContainerStateWaiting( - message = '0', - reason = '0', ), ), - name = '0', - ready = True, - restart_count = 56, - started = True, - state = kubernetes.client.models.v1/container_state.v1.ContainerState(), ) - ], - host_ip = '0', - init_container_statuses = [ - kubernetes.client.models.v1/container_status.v1.ContainerStatus( - container_id = '0', - image = '0', - image_id = '0', - last_state = kubernetes.client.models.v1/container_state.v1.ContainerState( - running = kubernetes.client.models.v1/container_state_running.v1.ContainerStateRunning( - started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - terminated = kubernetes.client.models.v1/container_state_terminated.v1.ContainerStateTerminated( - container_id = '0', - exit_code = 56, - finished_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - signal = 56, - started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - waiting = kubernetes.client.models.v1/container_state_waiting.v1.ContainerStateWaiting( - message = '0', - reason = '0', ), ), - name = '0', - ready = True, - restart_count = 56, - started = True, - state = kubernetes.client.models.v1/container_state.v1.ContainerState(), ) - ], - message = '0', - nominated_node_name = '0', - phase = '0', - pod_ip = '0', - pod_i_ps = [ - kubernetes.client.models.v1/pod_ip.v1.PodIP( - ip = '0', ) - ], - qos_class = '0', - reason = '0', - start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else : - return V1PodStatus( - ) - - def testV1PodStatus(self): - """Test V1PodStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_pod_template.py b/kubernetes/test/test_v1_pod_template.py deleted file mode 100644 index 2ea0d58ab7..0000000000 --- a/kubernetes/test/test_v1_pod_template.py +++ /dev/null @@ -1,576 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_pod_template import V1PodTemplate # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PodTemplate(unittest.TestCase): - """V1PodTemplate unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PodTemplate - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_pod_template.V1PodTemplate() # noqa: E501 - if include_optional : - return V1PodTemplate( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ) - ) - else : - return V1PodTemplate( - ) - - def testV1PodTemplate(self): - """Test V1PodTemplate""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_pod_template_list.py b/kubernetes/test/test_v1_pod_template_list.py deleted file mode 100644 index c40d213e4a..0000000000 --- a/kubernetes/test/test_v1_pod_template_list.py +++ /dev/null @@ -1,1036 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_pod_template_list import V1PodTemplateList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PodTemplateList(unittest.TestCase): - """V1PodTemplateList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PodTemplateList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_pod_template_list.V1PodTemplateList() # noqa: E501 - if include_optional : - return V1PodTemplateList( - api_version = '0', - items = [ - kubernetes.client.models.v1/pod_template.v1.PodTemplate( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1PodTemplateList( - items = [ - kubernetes.client.models.v1/pod_template.v1.PodTemplate( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), ) - ], - ) - - def testV1PodTemplateList(self): - """Test V1PodTemplateList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_pod_template_spec.py b/kubernetes/test/test_v1_pod_template_spec.py deleted file mode 100644 index 43c1b76b23..0000000000 --- a/kubernetes/test/test_v1_pod_template_spec.py +++ /dev/null @@ -1,534 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_pod_template_spec import V1PodTemplateSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PodTemplateSpec(unittest.TestCase): - """V1PodTemplateSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PodTemplateSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_pod_template_spec.V1PodTemplateSpec() # noqa: E501 - if include_optional : - return V1PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ) - ) - else : - return V1PodTemplateSpec( - ) - - def testV1PodTemplateSpec(self): - """Test V1PodTemplateSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_policy_rule.py b/kubernetes/test/test_v1_policy_rule.py deleted file mode 100644 index df6826785b..0000000000 --- a/kubernetes/test/test_v1_policy_rule.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_policy_rule import V1PolicyRule # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PolicyRule(unittest.TestCase): - """V1PolicyRule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PolicyRule - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_policy_rule.V1PolicyRule() # noqa: E501 - if include_optional : - return V1PolicyRule( - api_groups = [ - '0' - ], - non_resource_ur_ls = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ] - ) - else : - return V1PolicyRule( - verbs = [ - '0' - ], - ) - - def testV1PolicyRule(self): - """Test V1PolicyRule""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_portworx_volume_source.py b/kubernetes/test/test_v1_portworx_volume_source.py deleted file mode 100644 index eef518d4ca..0000000000 --- a/kubernetes/test/test_v1_portworx_volume_source.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_portworx_volume_source import V1PortworxVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PortworxVolumeSource(unittest.TestCase): - """V1PortworxVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PortworxVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_portworx_volume_source.V1PortworxVolumeSource() # noqa: E501 - if include_optional : - return V1PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0' - ) - else : - return V1PortworxVolumeSource( - volume_id = '0', - ) - - def testV1PortworxVolumeSource(self): - """Test V1PortworxVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_preconditions.py b/kubernetes/test/test_v1_preconditions.py deleted file mode 100644 index 461d64f6cb..0000000000 --- a/kubernetes/test/test_v1_preconditions.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_preconditions import V1Preconditions # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Preconditions(unittest.TestCase): - """V1Preconditions unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Preconditions - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_preconditions.V1Preconditions() # noqa: E501 - if include_optional : - return V1Preconditions( - resource_version = '0', - uid = '0' - ) - else : - return V1Preconditions( - ) - - def testV1Preconditions(self): - """Test V1Preconditions""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_preferred_scheduling_term.py b/kubernetes/test/test_v1_preferred_scheduling_term.py deleted file mode 100644 index 622b24795e..0000000000 --- a/kubernetes/test/test_v1_preferred_scheduling_term.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_preferred_scheduling_term import V1PreferredSchedulingTerm # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PreferredSchedulingTerm(unittest.TestCase): - """V1PreferredSchedulingTerm unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PreferredSchedulingTerm - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_preferred_scheduling_term.V1PreferredSchedulingTerm() # noqa: E501 - if include_optional : - return V1PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56 - ) - else : - return V1PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, - ) - - def testV1PreferredSchedulingTerm(self): - """Test V1PreferredSchedulingTerm""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_priority_class.py b/kubernetes/test/test_v1_priority_class.py deleted file mode 100644 index c39f2ad79b..0000000000 --- a/kubernetes/test/test_v1_priority_class.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_priority_class import V1PriorityClass # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PriorityClass(unittest.TestCase): - """V1PriorityClass unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PriorityClass - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_priority_class.V1PriorityClass() # noqa: E501 - if include_optional : - return V1PriorityClass( - api_version = '0', - description = '0', - global_default = True, - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - preemption_policy = '0', - value = 56 - ) - else : - return V1PriorityClass( - value = 56, - ) - - def testV1PriorityClass(self): - """Test V1PriorityClass""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_priority_class_list.py b/kubernetes/test/test_v1_priority_class_list.py deleted file mode 100644 index d5805098dc..0000000000 --- a/kubernetes/test/test_v1_priority_class_list.py +++ /dev/null @@ -1,154 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_priority_class_list import V1PriorityClassList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PriorityClassList(unittest.TestCase): - """V1PriorityClassList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PriorityClassList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_priority_class_list.V1PriorityClassList() # noqa: E501 - if include_optional : - return V1PriorityClassList( - api_version = '0', - items = [ - kubernetes.client.models.v1/priority_class.v1.PriorityClass( - api_version = '0', - description = '0', - global_default = True, - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - preemption_policy = '0', - value = 56, ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1PriorityClassList( - items = [ - kubernetes.client.models.v1/priority_class.v1.PriorityClass( - api_version = '0', - description = '0', - global_default = True, - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - preemption_policy = '0', - value = 56, ) - ], - ) - - def testV1PriorityClassList(self): - """Test V1PriorityClassList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_probe.py b/kubernetes/test/test_v1_probe.py deleted file mode 100644 index 8b91acea3d..0000000000 --- a/kubernetes/test/test_v1_probe.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_probe import V1Probe # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Probe(unittest.TestCase): - """V1Probe unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Probe - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_probe.V1Probe() # noqa: E501 - if include_optional : - return V1Probe( - _exec = kubernetes.client.models.v1/exec_action.v1.ExecAction( - command = [ - '0' - ], ), - failure_threshold = 56, - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), - timeout_seconds = 56 - ) - else : - return V1Probe( - ) - - def testV1Probe(self): - """Test V1Probe""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_projected_volume_source.py b/kubernetes/test/test_v1_projected_volume_source.py deleted file mode 100644 index f7dacfb8db..0000000000 --- a/kubernetes/test/test_v1_projected_volume_source.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_projected_volume_source import V1ProjectedVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ProjectedVolumeSource(unittest.TestCase): - """V1ProjectedVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ProjectedVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_projected_volume_source.V1ProjectedVolumeSource() # noqa: E501 - if include_optional : - return V1ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - config_map = kubernetes.client.models.v1/config_map_projection.v1.ConfigMapProjection( - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - downward_api = kubernetes.client.models.v1/downward_api_projection.v1.DownwardAPIProjection(), - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ] - ) - else : - return V1ProjectedVolumeSource( - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - config_map = kubernetes.client.models.v1/config_map_projection.v1.ConfigMapProjection( - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - downward_api = kubernetes.client.models.v1/downward_api_projection.v1.DownwardAPIProjection(), - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], - ) - - def testV1ProjectedVolumeSource(self): - """Test V1ProjectedVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_quobyte_volume_source.py b/kubernetes/test/test_v1_quobyte_volume_source.py deleted file mode 100644 index 7be454896f..0000000000 --- a/kubernetes/test/test_v1_quobyte_volume_source.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_quobyte_volume_source import V1QuobyteVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1QuobyteVolumeSource(unittest.TestCase): - """V1QuobyteVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1QuobyteVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_quobyte_volume_source.V1QuobyteVolumeSource() # noqa: E501 - if include_optional : - return V1QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0' - ) - else : - return V1QuobyteVolumeSource( - registry = '0', - volume = '0', - ) - - def testV1QuobyteVolumeSource(self): - """Test V1QuobyteVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_rbd_persistent_volume_source.py b/kubernetes/test/test_v1_rbd_persistent_volume_source.py deleted file mode 100644 index e628774da7..0000000000 --- a/kubernetes/test/test_v1_rbd_persistent_volume_source.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_rbd_persistent_volume_source import V1RBDPersistentVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1RBDPersistentVolumeSource(unittest.TestCase): - """V1RBDPersistentVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1RBDPersistentVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_rbd_persistent_volume_source.V1RBDPersistentVolumeSource() # noqa: E501 - if include_optional : - return V1RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0' - ) - else : - return V1RBDPersistentVolumeSource( - image = '0', - monitors = [ - '0' - ], - ) - - def testV1RBDPersistentVolumeSource(self): - """Test V1RBDPersistentVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_rbd_volume_source.py b/kubernetes/test/test_v1_rbd_volume_source.py deleted file mode 100644 index 25d43399e3..0000000000 --- a/kubernetes/test/test_v1_rbd_volume_source.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_rbd_volume_source import V1RBDVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1RBDVolumeSource(unittest.TestCase): - """V1RBDVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1RBDVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_rbd_volume_source.V1RBDVolumeSource() # noqa: E501 - if include_optional : - return V1RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - user = '0' - ) - else : - return V1RBDVolumeSource( - image = '0', - monitors = [ - '0' - ], - ) - - def testV1RBDVolumeSource(self): - """Test V1RBDVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_replica_set.py b/kubernetes/test/test_v1_replica_set.py deleted file mode 100644 index 8e00dd90ac..0000000000 --- a/kubernetes/test/test_v1_replica_set.py +++ /dev/null @@ -1,161 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_replica_set import V1ReplicaSet # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ReplicaSet(unittest.TestCase): - """V1ReplicaSet unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ReplicaSet - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_replica_set.V1ReplicaSet() # noqa: E501 - if include_optional : - return V1ReplicaSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/replica_set_spec.v1.ReplicaSetSpec( - min_ready_seconds = 56, - replicas = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), ), ), - status = kubernetes.client.models.v1/replica_set_status.v1.ReplicaSetStatus( - available_replicas = 56, - conditions = [ - kubernetes.client.models.v1/replica_set_condition.v1.ReplicaSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - fully_labeled_replicas = 56, - observed_generation = 56, - ready_replicas = 56, - replicas = 56, ) - ) - else : - return V1ReplicaSet( - ) - - def testV1ReplicaSet(self): - """Test V1ReplicaSet""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_replica_set_condition.py b/kubernetes/test/test_v1_replica_set_condition.py deleted file mode 100644 index 48c52d2b05..0000000000 --- a/kubernetes/test/test_v1_replica_set_condition.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_replica_set_condition import V1ReplicaSetCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ReplicaSetCondition(unittest.TestCase): - """V1ReplicaSetCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ReplicaSetCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_replica_set_condition.V1ReplicaSetCondition() # noqa: E501 - if include_optional : - return V1ReplicaSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V1ReplicaSetCondition( - status = '0', - type = '0', - ) - - def testV1ReplicaSetCondition(self): - """Test V1ReplicaSetCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_replica_set_list.py b/kubernetes/test/test_v1_replica_set_list.py deleted file mode 100644 index 07d98d159f..0000000000 --- a/kubernetes/test/test_v1_replica_set_list.py +++ /dev/null @@ -1,206 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_replica_set_list import V1ReplicaSetList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ReplicaSetList(unittest.TestCase): - """V1ReplicaSetList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ReplicaSetList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_replica_set_list.V1ReplicaSetList() # noqa: E501 - if include_optional : - return V1ReplicaSetList( - api_version = '0', - items = [ - kubernetes.client.models.v1/replica_set.v1.ReplicaSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/replica_set_spec.v1.ReplicaSetSpec( - min_ready_seconds = 56, - replicas = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), - status = kubernetes.client.models.v1/replica_set_status.v1.ReplicaSetStatus( - available_replicas = 56, - conditions = [ - kubernetes.client.models.v1/replica_set_condition.v1.ReplicaSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - fully_labeled_replicas = 56, - observed_generation = 56, - ready_replicas = 56, - replicas = 56, ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1ReplicaSetList( - items = [ - kubernetes.client.models.v1/replica_set.v1.ReplicaSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/replica_set_spec.v1.ReplicaSetSpec( - min_ready_seconds = 56, - replicas = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), - status = kubernetes.client.models.v1/replica_set_status.v1.ReplicaSetStatus( - available_replicas = 56, - conditions = [ - kubernetes.client.models.v1/replica_set_condition.v1.ReplicaSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - fully_labeled_replicas = 56, - observed_generation = 56, - ready_replicas = 56, - replicas = 56, ), ) - ], - ) - - def testV1ReplicaSetList(self): - """Test V1ReplicaSetList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_replica_set_spec.py b/kubernetes/test/test_v1_replica_set_spec.py deleted file mode 100644 index f99786ce8f..0000000000 --- a/kubernetes/test/test_v1_replica_set_spec.py +++ /dev/null @@ -1,561 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_replica_set_spec import V1ReplicaSetSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ReplicaSetSpec(unittest.TestCase): - """V1ReplicaSetSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ReplicaSetSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_replica_set_spec.V1ReplicaSetSpec() # noqa: E501 - if include_optional : - return V1ReplicaSetSpec( - min_ready_seconds = 56, - replicas = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ) - ) - else : - return V1ReplicaSetSpec( - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - ) - - def testV1ReplicaSetSpec(self): - """Test V1ReplicaSetSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_replica_set_status.py b/kubernetes/test/test_v1_replica_set_status.py deleted file mode 100644 index ec0678aaa3..0000000000 --- a/kubernetes/test/test_v1_replica_set_status.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_replica_set_status import V1ReplicaSetStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ReplicaSetStatus(unittest.TestCase): - """V1ReplicaSetStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ReplicaSetStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_replica_set_status.V1ReplicaSetStatus() # noqa: E501 - if include_optional : - return V1ReplicaSetStatus( - available_replicas = 56, - conditions = [ - kubernetes.client.models.v1/replica_set_condition.v1.ReplicaSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - fully_labeled_replicas = 56, - observed_generation = 56, - ready_replicas = 56, - replicas = 56 - ) - else : - return V1ReplicaSetStatus( - replicas = 56, - ) - - def testV1ReplicaSetStatus(self): - """Test V1ReplicaSetStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_replication_controller.py b/kubernetes/test/test_v1_replication_controller.py deleted file mode 100644 index a1bb782eed..0000000000 --- a/kubernetes/test/test_v1_replication_controller.py +++ /dev/null @@ -1,152 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_replication_controller import V1ReplicationController # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ReplicationController(unittest.TestCase): - """V1ReplicationController unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ReplicationController - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_replication_controller.V1ReplicationController() # noqa: E501 - if include_optional : - return V1ReplicationController( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/replication_controller_spec.v1.ReplicationControllerSpec( - min_ready_seconds = 56, - replicas = 56, - selector = { - 'key' : '0' - }, - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), ), ), - status = kubernetes.client.models.v1/replication_controller_status.v1.ReplicationControllerStatus( - available_replicas = 56, - conditions = [ - kubernetes.client.models.v1/replication_controller_condition.v1.ReplicationControllerCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - fully_labeled_replicas = 56, - observed_generation = 56, - ready_replicas = 56, - replicas = 56, ) - ) - else : - return V1ReplicationController( - ) - - def testV1ReplicationController(self): - """Test V1ReplicationController""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_replication_controller_condition.py b/kubernetes/test/test_v1_replication_controller_condition.py deleted file mode 100644 index 113e7396d9..0000000000 --- a/kubernetes/test/test_v1_replication_controller_condition.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_replication_controller_condition import V1ReplicationControllerCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ReplicationControllerCondition(unittest.TestCase): - """V1ReplicationControllerCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ReplicationControllerCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_replication_controller_condition.V1ReplicationControllerCondition() # noqa: E501 - if include_optional : - return V1ReplicationControllerCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V1ReplicationControllerCondition( - status = '0', - type = '0', - ) - - def testV1ReplicationControllerCondition(self): - """Test V1ReplicationControllerCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_replication_controller_list.py b/kubernetes/test/test_v1_replication_controller_list.py deleted file mode 100644 index 6839bd1558..0000000000 --- a/kubernetes/test/test_v1_replication_controller_list.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_replication_controller_list import V1ReplicationControllerList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ReplicationControllerList(unittest.TestCase): - """V1ReplicationControllerList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ReplicationControllerList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_replication_controller_list.V1ReplicationControllerList() # noqa: E501 - if include_optional : - return V1ReplicationControllerList( - api_version = '0', - items = [ - kubernetes.client.models.v1/replication_controller.v1.ReplicationController( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/replication_controller_spec.v1.ReplicationControllerSpec( - min_ready_seconds = 56, - replicas = 56, - selector = { - 'key' : '0' - }, - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), - status = kubernetes.client.models.v1/replication_controller_status.v1.ReplicationControllerStatus( - available_replicas = 56, - conditions = [ - kubernetes.client.models.v1/replication_controller_condition.v1.ReplicationControllerCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - fully_labeled_replicas = 56, - observed_generation = 56, - ready_replicas = 56, - replicas = 56, ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1ReplicationControllerList( - items = [ - kubernetes.client.models.v1/replication_controller.v1.ReplicationController( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/replication_controller_spec.v1.ReplicationControllerSpec( - min_ready_seconds = 56, - replicas = 56, - selector = { - 'key' : '0' - }, - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), - status = kubernetes.client.models.v1/replication_controller_status.v1.ReplicationControllerStatus( - available_replicas = 56, - conditions = [ - kubernetes.client.models.v1/replication_controller_condition.v1.ReplicationControllerCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - fully_labeled_replicas = 56, - observed_generation = 56, - ready_replicas = 56, - replicas = 56, ), ) - ], - ) - - def testV1ReplicationControllerList(self): - """Test V1ReplicationControllerList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_replication_controller_spec.py b/kubernetes/test/test_v1_replication_controller_spec.py deleted file mode 100644 index ed0028f12a..0000000000 --- a/kubernetes/test/test_v1_replication_controller_spec.py +++ /dev/null @@ -1,540 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_replication_controller_spec import V1ReplicationControllerSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ReplicationControllerSpec(unittest.TestCase): - """V1ReplicationControllerSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ReplicationControllerSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_replication_controller_spec.V1ReplicationControllerSpec() # noqa: E501 - if include_optional : - return V1ReplicationControllerSpec( - min_ready_seconds = 56, - replicas = 56, - selector = { - 'key' : '0' - }, - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ) - ) - else : - return V1ReplicationControllerSpec( - ) - - def testV1ReplicationControllerSpec(self): - """Test V1ReplicationControllerSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_replication_controller_status.py b/kubernetes/test/test_v1_replication_controller_status.py deleted file mode 100644 index 2705b4a4ad..0000000000 --- a/kubernetes/test/test_v1_replication_controller_status.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_replication_controller_status import V1ReplicationControllerStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ReplicationControllerStatus(unittest.TestCase): - """V1ReplicationControllerStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ReplicationControllerStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_replication_controller_status.V1ReplicationControllerStatus() # noqa: E501 - if include_optional : - return V1ReplicationControllerStatus( - available_replicas = 56, - conditions = [ - kubernetes.client.models.v1/replication_controller_condition.v1.ReplicationControllerCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - fully_labeled_replicas = 56, - observed_generation = 56, - ready_replicas = 56, - replicas = 56 - ) - else : - return V1ReplicationControllerStatus( - replicas = 56, - ) - - def testV1ReplicationControllerStatus(self): - """Test V1ReplicationControllerStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_resource_attributes.py b/kubernetes/test/test_v1_resource_attributes.py deleted file mode 100644 index e33b9fac34..0000000000 --- a/kubernetes/test/test_v1_resource_attributes.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_resource_attributes import V1ResourceAttributes # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ResourceAttributes(unittest.TestCase): - """V1ResourceAttributes unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ResourceAttributes - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_resource_attributes.V1ResourceAttributes() # noqa: E501 - if include_optional : - return V1ResourceAttributes( - group = '0', - name = '0', - namespace = '0', - resource = '0', - subresource = '0', - verb = '0', - version = '0' - ) - else : - return V1ResourceAttributes( - ) - - def testV1ResourceAttributes(self): - """Test V1ResourceAttributes""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_resource_field_selector.py b/kubernetes/test/test_v1_resource_field_selector.py deleted file mode 100644 index c5aa6138e5..0000000000 --- a/kubernetes/test/test_v1_resource_field_selector.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_resource_field_selector import V1ResourceFieldSelector # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ResourceFieldSelector(unittest.TestCase): - """V1ResourceFieldSelector unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ResourceFieldSelector - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_resource_field_selector.V1ResourceFieldSelector() # noqa: E501 - if include_optional : - return V1ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0' - ) - else : - return V1ResourceFieldSelector( - resource = '0', - ) - - def testV1ResourceFieldSelector(self): - """Test V1ResourceFieldSelector""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_resource_quota.py b/kubernetes/test/test_v1_resource_quota.py deleted file mode 100644 index b1df95344e..0000000000 --- a/kubernetes/test/test_v1_resource_quota.py +++ /dev/null @@ -1,115 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_resource_quota import V1ResourceQuota # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ResourceQuota(unittest.TestCase): - """V1ResourceQuota unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ResourceQuota - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_resource_quota.V1ResourceQuota() # noqa: E501 - if include_optional : - return V1ResourceQuota( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/resource_quota_spec.v1.ResourceQuotaSpec( - hard = { - 'key' : '0' - }, - scope_selector = kubernetes.client.models.v1/scope_selector.v1.ScopeSelector( - match_expressions = [ - kubernetes.client.models.v1/scoped_resource_selector_requirement.v1.ScopedResourceSelectorRequirement( - operator = '0', - scope_name = '0', - values = [ - '0' - ], ) - ], ), - scopes = [ - '0' - ], ), - status = kubernetes.client.models.v1/resource_quota_status.v1.ResourceQuotaStatus( - hard = { - 'key' : '0' - }, - used = { - 'key' : '0' - }, ) - ) - else : - return V1ResourceQuota( - ) - - def testV1ResourceQuota(self): - """Test V1ResourceQuota""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_resource_quota_list.py b/kubernetes/test/test_v1_resource_quota_list.py deleted file mode 100644 index 5a3f6024e8..0000000000 --- a/kubernetes/test/test_v1_resource_quota_list.py +++ /dev/null @@ -1,186 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_resource_quota_list import V1ResourceQuotaList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ResourceQuotaList(unittest.TestCase): - """V1ResourceQuotaList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ResourceQuotaList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_resource_quota_list.V1ResourceQuotaList() # noqa: E501 - if include_optional : - return V1ResourceQuotaList( - api_version = '0', - items = [ - kubernetes.client.models.v1/resource_quota.v1.ResourceQuota( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/resource_quota_spec.v1.ResourceQuotaSpec( - hard = { - 'key' : '0' - }, - scope_selector = kubernetes.client.models.v1/scope_selector.v1.ScopeSelector( - match_expressions = [ - kubernetes.client.models.v1/scoped_resource_selector_requirement.v1.ScopedResourceSelectorRequirement( - operator = '0', - scope_name = '0', - values = [ - '0' - ], ) - ], ), - scopes = [ - '0' - ], ), - status = kubernetes.client.models.v1/resource_quota_status.v1.ResourceQuotaStatus( - used = { - 'key' : '0' - }, ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1ResourceQuotaList( - items = [ - kubernetes.client.models.v1/resource_quota.v1.ResourceQuota( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/resource_quota_spec.v1.ResourceQuotaSpec( - hard = { - 'key' : '0' - }, - scope_selector = kubernetes.client.models.v1/scope_selector.v1.ScopeSelector( - match_expressions = [ - kubernetes.client.models.v1/scoped_resource_selector_requirement.v1.ScopedResourceSelectorRequirement( - operator = '0', - scope_name = '0', - values = [ - '0' - ], ) - ], ), - scopes = [ - '0' - ], ), - status = kubernetes.client.models.v1/resource_quota_status.v1.ResourceQuotaStatus( - used = { - 'key' : '0' - }, ), ) - ], - ) - - def testV1ResourceQuotaList(self): - """Test V1ResourceQuotaList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_resource_quota_spec.py b/kubernetes/test/test_v1_resource_quota_spec.py deleted file mode 100644 index 0ae6bbacd6..0000000000 --- a/kubernetes/test/test_v1_resource_quota_spec.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_resource_quota_spec import V1ResourceQuotaSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ResourceQuotaSpec(unittest.TestCase): - """V1ResourceQuotaSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ResourceQuotaSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_resource_quota_spec.V1ResourceQuotaSpec() # noqa: E501 - if include_optional : - return V1ResourceQuotaSpec( - hard = { - 'key' : '0' - }, - scope_selector = kubernetes.client.models.v1/scope_selector.v1.ScopeSelector( - match_expressions = [ - kubernetes.client.models.v1/scoped_resource_selector_requirement.v1.ScopedResourceSelectorRequirement( - operator = '0', - scope_name = '0', - values = [ - '0' - ], ) - ], ), - scopes = [ - '0' - ] - ) - else : - return V1ResourceQuotaSpec( - ) - - def testV1ResourceQuotaSpec(self): - """Test V1ResourceQuotaSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_resource_quota_status.py b/kubernetes/test/test_v1_resource_quota_status.py deleted file mode 100644 index c58c9bad22..0000000000 --- a/kubernetes/test/test_v1_resource_quota_status.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_resource_quota_status import V1ResourceQuotaStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ResourceQuotaStatus(unittest.TestCase): - """V1ResourceQuotaStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ResourceQuotaStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_resource_quota_status.V1ResourceQuotaStatus() # noqa: E501 - if include_optional : - return V1ResourceQuotaStatus( - hard = { - 'key' : '0' - }, - used = { - 'key' : '0' - } - ) - else : - return V1ResourceQuotaStatus( - ) - - def testV1ResourceQuotaStatus(self): - """Test V1ResourceQuotaStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_resource_requirements.py b/kubernetes/test/test_v1_resource_requirements.py deleted file mode 100644 index aef1fdceb5..0000000000 --- a/kubernetes/test/test_v1_resource_requirements.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_resource_requirements import V1ResourceRequirements # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ResourceRequirements(unittest.TestCase): - """V1ResourceRequirements unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ResourceRequirements - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_resource_requirements.V1ResourceRequirements() # noqa: E501 - if include_optional : - return V1ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - } - ) - else : - return V1ResourceRequirements( - ) - - def testV1ResourceRequirements(self): - """Test V1ResourceRequirements""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_resource_rule.py b/kubernetes/test/test_v1_resource_rule.py deleted file mode 100644 index 120448c6e2..0000000000 --- a/kubernetes/test/test_v1_resource_rule.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_resource_rule import V1ResourceRule # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ResourceRule(unittest.TestCase): - """V1ResourceRule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ResourceRule - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_resource_rule.V1ResourceRule() # noqa: E501 - if include_optional : - return V1ResourceRule( - api_groups = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ] - ) - else : - return V1ResourceRule( - verbs = [ - '0' - ], - ) - - def testV1ResourceRule(self): - """Test V1ResourceRule""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_role.py b/kubernetes/test/test_v1_role.py deleted file mode 100644 index 2942aa0081..0000000000 --- a/kubernetes/test/test_v1_role.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_role import V1Role # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Role(unittest.TestCase): - """V1Role unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Role - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_role.V1Role() # noqa: E501 - if include_optional : - return V1Role( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - rules = [ - kubernetes.client.models.v1/policy_rule.v1.PolicyRule( - api_groups = [ - '0' - ], - non_resource_ur_ls = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ] - ) - else : - return V1Role( - ) - - def testV1Role(self): - """Test V1Role""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_role_binding.py b/kubernetes/test/test_v1_role_binding.py deleted file mode 100644 index 8cc2708584..0000000000 --- a/kubernetes/test/test_v1_role_binding.py +++ /dev/null @@ -1,107 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_role_binding import V1RoleBinding # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1RoleBinding(unittest.TestCase): - """V1RoleBinding unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1RoleBinding - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_role_binding.V1RoleBinding() # noqa: E501 - if include_optional : - return V1RoleBinding( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - role_ref = kubernetes.client.models.v1/role_ref.v1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - subjects = [ - kubernetes.client.models.v1/subject.v1.Subject( - api_group = '0', - kind = '0', - name = '0', - namespace = '0', ) - ] - ) - else : - return V1RoleBinding( - role_ref = kubernetes.client.models.v1/role_ref.v1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - ) - - def testV1RoleBinding(self): - """Test V1RoleBinding""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_role_binding_list.py b/kubernetes/test/test_v1_role_binding_list.py deleted file mode 100644 index 387c89f651..0000000000 --- a/kubernetes/test/test_v1_role_binding_list.py +++ /dev/null @@ -1,168 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_role_binding_list import V1RoleBindingList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1RoleBindingList(unittest.TestCase): - """V1RoleBindingList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1RoleBindingList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_role_binding_list.V1RoleBindingList() # noqa: E501 - if include_optional : - return V1RoleBindingList( - api_version = '0', - items = [ - kubernetes.client.models.v1/role_binding.v1.RoleBinding( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - role_ref = kubernetes.client.models.v1/role_ref.v1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - subjects = [ - kubernetes.client.models.v1/subject.v1.Subject( - api_group = '0', - kind = '0', - name = '0', - namespace = '0', ) - ], ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1RoleBindingList( - items = [ - kubernetes.client.models.v1/role_binding.v1.RoleBinding( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - role_ref = kubernetes.client.models.v1/role_ref.v1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - subjects = [ - kubernetes.client.models.v1/subject.v1.Subject( - api_group = '0', - kind = '0', - name = '0', - namespace = '0', ) - ], ) - ], - ) - - def testV1RoleBindingList(self): - """Test V1RoleBindingList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_role_list.py b/kubernetes/test/test_v1_role_list.py deleted file mode 100644 index 5162c728e3..0000000000 --- a/kubernetes/test/test_v1_role_list.py +++ /dev/null @@ -1,182 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_role_list import V1RoleList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1RoleList(unittest.TestCase): - """V1RoleList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1RoleList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_role_list.V1RoleList() # noqa: E501 - if include_optional : - return V1RoleList( - api_version = '0', - items = [ - kubernetes.client.models.v1/role.v1.Role( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - rules = [ - kubernetes.client.models.v1/policy_rule.v1.PolicyRule( - api_groups = [ - '0' - ], - non_resource_ur_ls = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ], ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1RoleList( - items = [ - kubernetes.client.models.v1/role.v1.Role( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - rules = [ - kubernetes.client.models.v1/policy_rule.v1.PolicyRule( - api_groups = [ - '0' - ], - non_resource_ur_ls = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ], ) - ], - ) - - def testV1RoleList(self): - """Test V1RoleList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_role_ref.py b/kubernetes/test/test_v1_role_ref.py deleted file mode 100644 index cf9569f206..0000000000 --- a/kubernetes/test/test_v1_role_ref.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_role_ref import V1RoleRef # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1RoleRef(unittest.TestCase): - """V1RoleRef unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1RoleRef - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_role_ref.V1RoleRef() # noqa: E501 - if include_optional : - return V1RoleRef( - api_group = '0', - kind = '0', - name = '0' - ) - else : - return V1RoleRef( - api_group = '0', - kind = '0', - name = '0', - ) - - def testV1RoleRef(self): - """Test V1RoleRef""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_rolling_update_daemon_set.py b/kubernetes/test/test_v1_rolling_update_daemon_set.py deleted file mode 100644 index bed71b521c..0000000000 --- a/kubernetes/test/test_v1_rolling_update_daemon_set.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_rolling_update_daemon_set import V1RollingUpdateDaemonSet # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1RollingUpdateDaemonSet(unittest.TestCase): - """V1RollingUpdateDaemonSet unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1RollingUpdateDaemonSet - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_rolling_update_daemon_set.V1RollingUpdateDaemonSet() # noqa: E501 - if include_optional : - return V1RollingUpdateDaemonSet( - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable() - ) - else : - return V1RollingUpdateDaemonSet( - ) - - def testV1RollingUpdateDaemonSet(self): - """Test V1RollingUpdateDaemonSet""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_rolling_update_deployment.py b/kubernetes/test/test_v1_rolling_update_deployment.py deleted file mode 100644 index a4a38553a4..0000000000 --- a/kubernetes/test/test_v1_rolling_update_deployment.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_rolling_update_deployment import V1RollingUpdateDeployment # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1RollingUpdateDeployment(unittest.TestCase): - """V1RollingUpdateDeployment unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1RollingUpdateDeployment - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_rolling_update_deployment.V1RollingUpdateDeployment() # noqa: E501 - if include_optional : - return V1RollingUpdateDeployment( - max_surge = kubernetes.client.models.max_surge.maxSurge(), - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable() - ) - else : - return V1RollingUpdateDeployment( - ) - - def testV1RollingUpdateDeployment(self): - """Test V1RollingUpdateDeployment""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_rolling_update_stateful_set_strategy.py b/kubernetes/test/test_v1_rolling_update_stateful_set_strategy.py deleted file mode 100644 index de045a3253..0000000000 --- a/kubernetes/test/test_v1_rolling_update_stateful_set_strategy.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_rolling_update_stateful_set_strategy import V1RollingUpdateStatefulSetStrategy # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1RollingUpdateStatefulSetStrategy(unittest.TestCase): - """V1RollingUpdateStatefulSetStrategy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1RollingUpdateStatefulSetStrategy - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_rolling_update_stateful_set_strategy.V1RollingUpdateStatefulSetStrategy() # noqa: E501 - if include_optional : - return V1RollingUpdateStatefulSetStrategy( - partition = 56 - ) - else : - return V1RollingUpdateStatefulSetStrategy( - ) - - def testV1RollingUpdateStatefulSetStrategy(self): - """Test V1RollingUpdateStatefulSetStrategy""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_rule_with_operations.py b/kubernetes/test/test_v1_rule_with_operations.py deleted file mode 100644 index 7af5d4b43f..0000000000 --- a/kubernetes/test/test_v1_rule_with_operations.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_rule_with_operations import V1RuleWithOperations # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1RuleWithOperations(unittest.TestCase): - """V1RuleWithOperations unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1RuleWithOperations - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_rule_with_operations.V1RuleWithOperations() # noqa: E501 - if include_optional : - return V1RuleWithOperations( - api_groups = [ - '0' - ], - api_versions = [ - '0' - ], - operations = [ - '0' - ], - resources = [ - '0' - ], - scope = '0' - ) - else : - return V1RuleWithOperations( - ) - - def testV1RuleWithOperations(self): - """Test V1RuleWithOperations""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_scale.py b/kubernetes/test/test_v1_scale.py deleted file mode 100644 index 462e8483ba..0000000000 --- a/kubernetes/test/test_v1_scale.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_scale import V1Scale # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Scale(unittest.TestCase): - """V1Scale unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Scale - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_scale.V1Scale() # noqa: E501 - if include_optional : - return V1Scale( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/scale_spec.v1.ScaleSpec( - replicas = 56, ), - status = kubernetes.client.models.v1/scale_status.v1.ScaleStatus( - replicas = 56, - selector = '0', ) - ) - else : - return V1Scale( - ) - - def testV1Scale(self): - """Test V1Scale""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_scale_io_persistent_volume_source.py b/kubernetes/test/test_v1_scale_io_persistent_volume_source.py deleted file mode 100644 index f99c7d9a2f..0000000000 --- a/kubernetes/test/test_v1_scale_io_persistent_volume_source.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_scale_io_persistent_volume_source import V1ScaleIOPersistentVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ScaleIOPersistentVolumeSource(unittest.TestCase): - """V1ScaleIOPersistentVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ScaleIOPersistentVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_scale_io_persistent_volume_source.V1ScaleIOPersistentVolumeSource() # noqa: E501 - if include_optional : - return V1ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0' - ) - else : - return V1ScaleIOPersistentVolumeSource( - gateway = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - system = '0', - ) - - def testV1ScaleIOPersistentVolumeSource(self): - """Test V1ScaleIOPersistentVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_scale_io_volume_source.py b/kubernetes/test/test_v1_scale_io_volume_source.py deleted file mode 100644 index 69c77889f5..0000000000 --- a/kubernetes/test/test_v1_scale_io_volume_source.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_scale_io_volume_source import V1ScaleIOVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ScaleIOVolumeSource(unittest.TestCase): - """V1ScaleIOVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ScaleIOVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_scale_io_volume_source.V1ScaleIOVolumeSource() # noqa: E501 - if include_optional : - return V1ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0' - ) - else : - return V1ScaleIOVolumeSource( - gateway = '0', - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - system = '0', - ) - - def testV1ScaleIOVolumeSource(self): - """Test V1ScaleIOVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_scale_spec.py b/kubernetes/test/test_v1_scale_spec.py deleted file mode 100644 index f3deed9547..0000000000 --- a/kubernetes/test/test_v1_scale_spec.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_scale_spec import V1ScaleSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ScaleSpec(unittest.TestCase): - """V1ScaleSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ScaleSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_scale_spec.V1ScaleSpec() # noqa: E501 - if include_optional : - return V1ScaleSpec( - replicas = 56 - ) - else : - return V1ScaleSpec( - ) - - def testV1ScaleSpec(self): - """Test V1ScaleSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_scale_status.py b/kubernetes/test/test_v1_scale_status.py deleted file mode 100644 index e5079f4715..0000000000 --- a/kubernetes/test/test_v1_scale_status.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_scale_status import V1ScaleStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ScaleStatus(unittest.TestCase): - """V1ScaleStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ScaleStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_scale_status.V1ScaleStatus() # noqa: E501 - if include_optional : - return V1ScaleStatus( - replicas = 56, - selector = '0' - ) - else : - return V1ScaleStatus( - replicas = 56, - ) - - def testV1ScaleStatus(self): - """Test V1ScaleStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_scope_selector.py b/kubernetes/test/test_v1_scope_selector.py deleted file mode 100644 index b409ea7f65..0000000000 --- a/kubernetes/test/test_v1_scope_selector.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_scope_selector import V1ScopeSelector # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ScopeSelector(unittest.TestCase): - """V1ScopeSelector unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ScopeSelector - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_scope_selector.V1ScopeSelector() # noqa: E501 - if include_optional : - return V1ScopeSelector( - match_expressions = [ - kubernetes.client.models.v1/scoped_resource_selector_requirement.v1.ScopedResourceSelectorRequirement( - operator = '0', - scope_name = '0', - values = [ - '0' - ], ) - ] - ) - else : - return V1ScopeSelector( - ) - - def testV1ScopeSelector(self): - """Test V1ScopeSelector""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_scoped_resource_selector_requirement.py b/kubernetes/test/test_v1_scoped_resource_selector_requirement.py deleted file mode 100644 index 1ec237af5e..0000000000 --- a/kubernetes/test/test_v1_scoped_resource_selector_requirement.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_scoped_resource_selector_requirement import V1ScopedResourceSelectorRequirement # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ScopedResourceSelectorRequirement(unittest.TestCase): - """V1ScopedResourceSelectorRequirement unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ScopedResourceSelectorRequirement - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_scoped_resource_selector_requirement.V1ScopedResourceSelectorRequirement() # noqa: E501 - if include_optional : - return V1ScopedResourceSelectorRequirement( - operator = '0', - scope_name = '0', - values = [ - '0' - ] - ) - else : - return V1ScopedResourceSelectorRequirement( - operator = '0', - scope_name = '0', - ) - - def testV1ScopedResourceSelectorRequirement(self): - """Test V1ScopedResourceSelectorRequirement""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_se_linux_options.py b/kubernetes/test/test_v1_se_linux_options.py deleted file mode 100644 index d8dfcb2fef..0000000000 --- a/kubernetes/test/test_v1_se_linux_options.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_se_linux_options import V1SELinuxOptions # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1SELinuxOptions(unittest.TestCase): - """V1SELinuxOptions unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1SELinuxOptions - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_se_linux_options.V1SELinuxOptions() # noqa: E501 - if include_optional : - return V1SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0' - ) - else : - return V1SELinuxOptions( - ) - - def testV1SELinuxOptions(self): - """Test V1SELinuxOptions""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_secret.py b/kubernetes/test/test_v1_secret.py deleted file mode 100644 index 934743f874..0000000000 --- a/kubernetes/test/test_v1_secret.py +++ /dev/null @@ -1,99 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_secret import V1Secret # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Secret(unittest.TestCase): - """V1Secret unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Secret - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_secret.V1Secret() # noqa: E501 - if include_optional : - return V1Secret( - api_version = '0', - data = { - 'key' : 'YQ==' - }, - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - string_data = { - 'key' : '0' - }, - type = '0' - ) - else : - return V1Secret( - ) - - def testV1Secret(self): - """Test V1Secret""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_secret_env_source.py b/kubernetes/test/test_v1_secret_env_source.py deleted file mode 100644 index c1cfaf7bd5..0000000000 --- a/kubernetes/test/test_v1_secret_env_source.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_secret_env_source import V1SecretEnvSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1SecretEnvSource(unittest.TestCase): - """V1SecretEnvSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1SecretEnvSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_secret_env_source.V1SecretEnvSource() # noqa: E501 - if include_optional : - return V1SecretEnvSource( - name = '0', - optional = True - ) - else : - return V1SecretEnvSource( - ) - - def testV1SecretEnvSource(self): - """Test V1SecretEnvSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_secret_key_selector.py b/kubernetes/test/test_v1_secret_key_selector.py deleted file mode 100644 index bdc3c63a1f..0000000000 --- a/kubernetes/test/test_v1_secret_key_selector.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_secret_key_selector import V1SecretKeySelector # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1SecretKeySelector(unittest.TestCase): - """V1SecretKeySelector unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1SecretKeySelector - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_secret_key_selector.V1SecretKeySelector() # noqa: E501 - if include_optional : - return V1SecretKeySelector( - key = '0', - name = '0', - optional = True - ) - else : - return V1SecretKeySelector( - key = '0', - ) - - def testV1SecretKeySelector(self): - """Test V1SecretKeySelector""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_secret_list.py b/kubernetes/test/test_v1_secret_list.py deleted file mode 100644 index f92d5d8b91..0000000000 --- a/kubernetes/test/test_v1_secret_list.py +++ /dev/null @@ -1,160 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_secret_list import V1SecretList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1SecretList(unittest.TestCase): - """V1SecretList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1SecretList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_secret_list.V1SecretList() # noqa: E501 - if include_optional : - return V1SecretList( - api_version = '0', - items = [ - kubernetes.client.models.v1/secret.v1.Secret( - api_version = '0', - data = { - 'key' : 'YQ==' - }, - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - string_data = { - 'key' : '0' - }, - type = '0', ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1SecretList( - items = [ - kubernetes.client.models.v1/secret.v1.Secret( - api_version = '0', - data = { - 'key' : 'YQ==' - }, - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - string_data = { - 'key' : '0' - }, - type = '0', ) - ], - ) - - def testV1SecretList(self): - """Test V1SecretList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_secret_projection.py b/kubernetes/test/test_v1_secret_projection.py deleted file mode 100644 index 0068940391..0000000000 --- a/kubernetes/test/test_v1_secret_projection.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_secret_projection import V1SecretProjection # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1SecretProjection(unittest.TestCase): - """V1SecretProjection unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1SecretProjection - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_secret_projection.V1SecretProjection() # noqa: E501 - if include_optional : - return V1SecretProjection( - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True - ) - else : - return V1SecretProjection( - ) - - def testV1SecretProjection(self): - """Test V1SecretProjection""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_secret_reference.py b/kubernetes/test/test_v1_secret_reference.py deleted file mode 100644 index 40a85de5e4..0000000000 --- a/kubernetes/test/test_v1_secret_reference.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_secret_reference import V1SecretReference # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1SecretReference(unittest.TestCase): - """V1SecretReference unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1SecretReference - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_secret_reference.V1SecretReference() # noqa: E501 - if include_optional : - return V1SecretReference( - name = '0', - namespace = '0' - ) - else : - return V1SecretReference( - ) - - def testV1SecretReference(self): - """Test V1SecretReference""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_secret_volume_source.py b/kubernetes/test/test_v1_secret_volume_source.py deleted file mode 100644 index 82e6154c6f..0000000000 --- a/kubernetes/test/test_v1_secret_volume_source.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_secret_volume_source import V1SecretVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1SecretVolumeSource(unittest.TestCase): - """V1SecretVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1SecretVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_secret_volume_source.V1SecretVolumeSource() # noqa: E501 - if include_optional : - return V1SecretVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - optional = True, - secret_name = '0' - ) - else : - return V1SecretVolumeSource( - ) - - def testV1SecretVolumeSource(self): - """Test V1SecretVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_security_context.py b/kubernetes/test/test_v1_security_context.py deleted file mode 100644 index 603f6844db..0000000000 --- a/kubernetes/test/test_v1_security_context.py +++ /dev/null @@ -1,74 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_security_context import V1SecurityContext # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1SecurityContext(unittest.TestCase): - """V1SecurityContext unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1SecurityContext - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_security_context.V1SecurityContext() # noqa: E501 - if include_optional : - return V1SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ) - ) - else : - return V1SecurityContext( - ) - - def testV1SecurityContext(self): - """Test V1SecurityContext""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_self_subject_access_review.py b/kubernetes/test/test_v1_self_subject_access_review.py deleted file mode 100644 index 9deb6a0910..0000000000 --- a/kubernetes/test/test_v1_self_subject_access_review.py +++ /dev/null @@ -1,121 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_self_subject_access_review import V1SelfSubjectAccessReview # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1SelfSubjectAccessReview(unittest.TestCase): - """V1SelfSubjectAccessReview unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1SelfSubjectAccessReview - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_self_subject_access_review.V1SelfSubjectAccessReview() # noqa: E501 - if include_optional : - return V1SelfSubjectAccessReview( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/self_subject_access_review_spec.v1.SelfSubjectAccessReviewSpec( - non_resource_attributes = kubernetes.client.models.v1/non_resource_attributes.v1.NonResourceAttributes( - path = '0', - verb = '0', ), - resource_attributes = kubernetes.client.models.v1/resource_attributes.v1.ResourceAttributes( - group = '0', - name = '0', - namespace = '0', - resource = '0', - subresource = '0', - verb = '0', - version = '0', ), ), - status = kubernetes.client.models.v1/subject_access_review_status.v1.SubjectAccessReviewStatus( - allowed = True, - denied = True, - evaluation_error = '0', - reason = '0', ) - ) - else : - return V1SelfSubjectAccessReview( - spec = kubernetes.client.models.v1/self_subject_access_review_spec.v1.SelfSubjectAccessReviewSpec( - non_resource_attributes = kubernetes.client.models.v1/non_resource_attributes.v1.NonResourceAttributes( - path = '0', - verb = '0', ), - resource_attributes = kubernetes.client.models.v1/resource_attributes.v1.ResourceAttributes( - group = '0', - name = '0', - namespace = '0', - resource = '0', - subresource = '0', - verb = '0', - version = '0', ), ), - ) - - def testV1SelfSubjectAccessReview(self): - """Test V1SelfSubjectAccessReview""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_self_subject_access_review_spec.py b/kubernetes/test/test_v1_self_subject_access_review_spec.py deleted file mode 100644 index 8970c14684..0000000000 --- a/kubernetes/test/test_v1_self_subject_access_review_spec.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_self_subject_access_review_spec import V1SelfSubjectAccessReviewSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1SelfSubjectAccessReviewSpec(unittest.TestCase): - """V1SelfSubjectAccessReviewSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1SelfSubjectAccessReviewSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_self_subject_access_review_spec.V1SelfSubjectAccessReviewSpec() # noqa: E501 - if include_optional : - return V1SelfSubjectAccessReviewSpec( - non_resource_attributes = kubernetes.client.models.v1/non_resource_attributes.v1.NonResourceAttributes( - path = '0', - verb = '0', ), - resource_attributes = kubernetes.client.models.v1/resource_attributes.v1.ResourceAttributes( - group = '0', - name = '0', - namespace = '0', - resource = '0', - subresource = '0', - verb = '0', - version = '0', ) - ) - else : - return V1SelfSubjectAccessReviewSpec( - ) - - def testV1SelfSubjectAccessReviewSpec(self): - """Test V1SelfSubjectAccessReviewSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_self_subject_rules_review.py b/kubernetes/test/test_v1_self_subject_rules_review.py deleted file mode 100644 index 73bad0b10b..0000000000 --- a/kubernetes/test/test_v1_self_subject_rules_review.py +++ /dev/null @@ -1,123 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_self_subject_rules_review import V1SelfSubjectRulesReview # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1SelfSubjectRulesReview(unittest.TestCase): - """V1SelfSubjectRulesReview unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1SelfSubjectRulesReview - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_self_subject_rules_review.V1SelfSubjectRulesReview() # noqa: E501 - if include_optional : - return V1SelfSubjectRulesReview( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/self_subject_rules_review_spec.v1.SelfSubjectRulesReviewSpec( - namespace = '0', ), - status = kubernetes.client.models.v1/subject_rules_review_status.v1.SubjectRulesReviewStatus( - evaluation_error = '0', - incomplete = True, - non_resource_rules = [ - kubernetes.client.models.v1/non_resource_rule.v1.NonResourceRule( - non_resource_ur_ls = [ - '0' - ], - verbs = [ - '0' - ], ) - ], - resource_rules = [ - kubernetes.client.models.v1/resource_rule.v1.ResourceRule( - api_groups = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ], ) - ) - else : - return V1SelfSubjectRulesReview( - spec = kubernetes.client.models.v1/self_subject_rules_review_spec.v1.SelfSubjectRulesReviewSpec( - namespace = '0', ), - ) - - def testV1SelfSubjectRulesReview(self): - """Test V1SelfSubjectRulesReview""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_self_subject_rules_review_spec.py b/kubernetes/test/test_v1_self_subject_rules_review_spec.py deleted file mode 100644 index e6f93412b6..0000000000 --- a/kubernetes/test/test_v1_self_subject_rules_review_spec.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_self_subject_rules_review_spec import V1SelfSubjectRulesReviewSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1SelfSubjectRulesReviewSpec(unittest.TestCase): - """V1SelfSubjectRulesReviewSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1SelfSubjectRulesReviewSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_self_subject_rules_review_spec.V1SelfSubjectRulesReviewSpec() # noqa: E501 - if include_optional : - return V1SelfSubjectRulesReviewSpec( - namespace = '0' - ) - else : - return V1SelfSubjectRulesReviewSpec( - ) - - def testV1SelfSubjectRulesReviewSpec(self): - """Test V1SelfSubjectRulesReviewSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_server_address_by_client_cidr.py b/kubernetes/test/test_v1_server_address_by_client_cidr.py deleted file mode 100644 index c1e5fb275f..0000000000 --- a/kubernetes/test/test_v1_server_address_by_client_cidr.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_server_address_by_client_cidr import V1ServerAddressByClientCIDR # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ServerAddressByClientCIDR(unittest.TestCase): - """V1ServerAddressByClientCIDR unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ServerAddressByClientCIDR - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_server_address_by_client_cidr.V1ServerAddressByClientCIDR() # noqa: E501 - if include_optional : - return V1ServerAddressByClientCIDR( - kubernetes.client_cidr = '0', - server_address = '0' - ) - else : - return V1ServerAddressByClientCIDR( - kubernetes.client_cidr = '0', - server_address = '0', - ) - - def testV1ServerAddressByClientCIDR(self): - """Test V1ServerAddressByClientCIDR""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_service.py b/kubernetes/test/test_v1_service.py deleted file mode 100644 index c6333e9537..0000000000 --- a/kubernetes/test/test_v1_service.py +++ /dev/null @@ -1,129 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_service import V1Service # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Service(unittest.TestCase): - """V1Service unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Service - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_service.V1Service() # noqa: E501 - if include_optional : - return V1Service( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/service_spec.v1.ServiceSpec( - cluster_ip = '0', - external_i_ps = [ - '0' - ], - external_name = '0', - external_traffic_policy = '0', - health_check_node_port = 56, - ip_family = '0', - load_balancer_ip = '0', - load_balancer_source_ranges = [ - '0' - ], - ports = [ - kubernetes.client.models.v1/service_port.v1.ServicePort( - name = '0', - node_port = 56, - port = 56, - protocol = '0', - target_port = kubernetes.client.models.target_port.targetPort(), ) - ], - publish_not_ready_addresses = True, - selector = { - 'key' : '0' - }, - session_affinity = '0', - session_affinity_config = kubernetes.client.models.v1/session_affinity_config.v1.SessionAffinityConfig( - kubernetes.client_ip = kubernetes.client.models.v1/kubernetes.client_ip_config.v1.ClientIPConfig( - timeout_seconds = 56, ), ), - type = '0', ), - status = kubernetes.client.models.v1/service_status.v1.ServiceStatus( - load_balancer = kubernetes.client.models.v1/load_balancer_status.v1.LoadBalancerStatus( - ingress = [ - kubernetes.client.models.v1/load_balancer_ingress.v1.LoadBalancerIngress( - hostname = '0', - ip = '0', ) - ], ), ) - ) - else : - return V1Service( - ) - - def testV1Service(self): - """Test V1Service""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_service_account.py b/kubernetes/test/test_v1_service_account.py deleted file mode 100644 index 2276abd7c5..0000000000 --- a/kubernetes/test/test_v1_service_account.py +++ /dev/null @@ -1,107 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_service_account import V1ServiceAccount # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ServiceAccount(unittest.TestCase): - """V1ServiceAccount unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ServiceAccount - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_service_account.V1ServiceAccount() # noqa: E501 - if include_optional : - return V1ServiceAccount( - api_version = '0', - automount_service_account_token = True, - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - secrets = [ - kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ) - ] - ) - else : - return V1ServiceAccount( - ) - - def testV1ServiceAccount(self): - """Test V1ServiceAccount""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_service_account_list.py b/kubernetes/test/test_v1_service_account_list.py deleted file mode 100644 index a4bc2abf17..0000000000 --- a/kubernetes/test/test_v1_service_account_list.py +++ /dev/null @@ -1,176 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_service_account_list import V1ServiceAccountList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ServiceAccountList(unittest.TestCase): - """V1ServiceAccountList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ServiceAccountList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_service_account_list.V1ServiceAccountList() # noqa: E501 - if include_optional : - return V1ServiceAccountList( - api_version = '0', - items = [ - kubernetes.client.models.v1/service_account.v1.ServiceAccount( - api_version = '0', - automount_service_account_token = True, - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - secrets = [ - kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ) - ], ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1ServiceAccountList( - items = [ - kubernetes.client.models.v1/service_account.v1.ServiceAccount( - api_version = '0', - automount_service_account_token = True, - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - secrets = [ - kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ) - ], ) - ], - ) - - def testV1ServiceAccountList(self): - """Test V1ServiceAccountList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_service_account_token_projection.py b/kubernetes/test/test_v1_service_account_token_projection.py deleted file mode 100644 index aee2c1c145..0000000000 --- a/kubernetes/test/test_v1_service_account_token_projection.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_service_account_token_projection import V1ServiceAccountTokenProjection # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ServiceAccountTokenProjection(unittest.TestCase): - """V1ServiceAccountTokenProjection unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ServiceAccountTokenProjection - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_service_account_token_projection.V1ServiceAccountTokenProjection() # noqa: E501 - if include_optional : - return V1ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0' - ) - else : - return V1ServiceAccountTokenProjection( - path = '0', - ) - - def testV1ServiceAccountTokenProjection(self): - """Test V1ServiceAccountTokenProjection""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_service_list.py b/kubernetes/test/test_v1_service_list.py deleted file mode 100644 index 3ccec34a2a..0000000000 --- a/kubernetes/test/test_v1_service_list.py +++ /dev/null @@ -1,220 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_service_list import V1ServiceList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ServiceList(unittest.TestCase): - """V1ServiceList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ServiceList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_service_list.V1ServiceList() # noqa: E501 - if include_optional : - return V1ServiceList( - api_version = '0', - items = [ - kubernetes.client.models.v1/service.v1.Service( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/service_spec.v1.ServiceSpec( - cluster_ip = '0', - external_i_ps = [ - '0' - ], - external_name = '0', - external_traffic_policy = '0', - health_check_node_port = 56, - ip_family = '0', - load_balancer_ip = '0', - load_balancer_source_ranges = [ - '0' - ], - ports = [ - kubernetes.client.models.v1/service_port.v1.ServicePort( - name = '0', - node_port = 56, - port = 56, - protocol = '0', - target_port = kubernetes.client.models.target_port.targetPort(), ) - ], - publish_not_ready_addresses = True, - selector = { - 'key' : '0' - }, - session_affinity = '0', - session_affinity_config = kubernetes.client.models.v1/session_affinity_config.v1.SessionAffinityConfig( - kubernetes.client_ip = kubernetes.client.models.v1/kubernetes.client_ip_config.v1.ClientIPConfig( - timeout_seconds = 56, ), ), - type = '0', ), - status = kubernetes.client.models.v1/service_status.v1.ServiceStatus( - load_balancer = kubernetes.client.models.v1/load_balancer_status.v1.LoadBalancerStatus( - ingress = [ - kubernetes.client.models.v1/load_balancer_ingress.v1.LoadBalancerIngress( - hostname = '0', - ip = '0', ) - ], ), ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1ServiceList( - items = [ - kubernetes.client.models.v1/service.v1.Service( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/service_spec.v1.ServiceSpec( - cluster_ip = '0', - external_i_ps = [ - '0' - ], - external_name = '0', - external_traffic_policy = '0', - health_check_node_port = 56, - ip_family = '0', - load_balancer_ip = '0', - load_balancer_source_ranges = [ - '0' - ], - ports = [ - kubernetes.client.models.v1/service_port.v1.ServicePort( - name = '0', - node_port = 56, - port = 56, - protocol = '0', - target_port = kubernetes.client.models.target_port.targetPort(), ) - ], - publish_not_ready_addresses = True, - selector = { - 'key' : '0' - }, - session_affinity = '0', - session_affinity_config = kubernetes.client.models.v1/session_affinity_config.v1.SessionAffinityConfig( - kubernetes.client_ip = kubernetes.client.models.v1/kubernetes.client_ip_config.v1.ClientIPConfig( - timeout_seconds = 56, ), ), - type = '0', ), - status = kubernetes.client.models.v1/service_status.v1.ServiceStatus( - load_balancer = kubernetes.client.models.v1/load_balancer_status.v1.LoadBalancerStatus( - ingress = [ - kubernetes.client.models.v1/load_balancer_ingress.v1.LoadBalancerIngress( - hostname = '0', - ip = '0', ) - ], ), ), ) - ], - ) - - def testV1ServiceList(self): - """Test V1ServiceList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_service_port.py b/kubernetes/test/test_v1_service_port.py deleted file mode 100644 index a396b86a10..0000000000 --- a/kubernetes/test/test_v1_service_port.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_service_port import V1ServicePort # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ServicePort(unittest.TestCase): - """V1ServicePort unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ServicePort - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_service_port.V1ServicePort() # noqa: E501 - if include_optional : - return V1ServicePort( - name = '0', - node_port = 56, - port = 56, - protocol = '0', - target_port = None - ) - else : - return V1ServicePort( - port = 56, - ) - - def testV1ServicePort(self): - """Test V1ServicePort""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_service_spec.py b/kubernetes/test/test_v1_service_spec.py deleted file mode 100644 index 121605cbcc..0000000000 --- a/kubernetes/test/test_v1_service_spec.py +++ /dev/null @@ -1,80 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_service_spec import V1ServiceSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ServiceSpec(unittest.TestCase): - """V1ServiceSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ServiceSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_service_spec.V1ServiceSpec() # noqa: E501 - if include_optional : - return V1ServiceSpec( - cluster_ip = '0', - external_i_ps = [ - '0' - ], - external_name = '0', - external_traffic_policy = '0', - health_check_node_port = 56, - ip_family = '0', - load_balancer_ip = '0', - load_balancer_source_ranges = [ - '0' - ], - ports = [ - kubernetes.client.models.v1/service_port.v1.ServicePort( - name = '0', - node_port = 56, - port = 56, - protocol = '0', - target_port = kubernetes.client.models.target_port.targetPort(), ) - ], - publish_not_ready_addresses = True, - selector = { - 'key' : '0' - }, - session_affinity = '0', - session_affinity_config = kubernetes.client.models.v1/session_affinity_config.v1.SessionAffinityConfig( - kubernetes.client_ip = kubernetes.client.models.v1/kubernetes.client_ip_config.v1.ClientIPConfig( - timeout_seconds = 56, ), ), - type = '0' - ) - else : - return V1ServiceSpec( - ) - - def testV1ServiceSpec(self): - """Test V1ServiceSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_service_status.py b/kubernetes/test/test_v1_service_status.py deleted file mode 100644 index 03797a8111..0000000000 --- a/kubernetes/test/test_v1_service_status.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_service_status import V1ServiceStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ServiceStatus(unittest.TestCase): - """V1ServiceStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ServiceStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_service_status.V1ServiceStatus() # noqa: E501 - if include_optional : - return V1ServiceStatus( - load_balancer = kubernetes.client.models.v1/load_balancer_status.v1.LoadBalancerStatus( - ingress = [ - kubernetes.client.models.v1/load_balancer_ingress.v1.LoadBalancerIngress( - hostname = '0', - ip = '0', ) - ], ) - ) - else : - return V1ServiceStatus( - ) - - def testV1ServiceStatus(self): - """Test V1ServiceStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_session_affinity_config.py b/kubernetes/test/test_v1_session_affinity_config.py deleted file mode 100644 index 284456304d..0000000000 --- a/kubernetes/test/test_v1_session_affinity_config.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_session_affinity_config import V1SessionAffinityConfig # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1SessionAffinityConfig(unittest.TestCase): - """V1SessionAffinityConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1SessionAffinityConfig - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_session_affinity_config.V1SessionAffinityConfig() # noqa: E501 - if include_optional : - return V1SessionAffinityConfig( - kubernetes.client_ip = kubernetes.client.models.v1/kubernetes.client_ip_config.v1.ClientIPConfig( - timeout_seconds = 56, ) - ) - else : - return V1SessionAffinityConfig( - ) - - def testV1SessionAffinityConfig(self): - """Test V1SessionAffinityConfig""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_stateful_set.py b/kubernetes/test/test_v1_stateful_set.py deleted file mode 100644 index e9e37ef512..0000000000 --- a/kubernetes/test/test_v1_stateful_set.py +++ /dev/null @@ -1,625 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_stateful_set import V1StatefulSet # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1StatefulSet(unittest.TestCase): - """V1StatefulSet unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1StatefulSet - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_stateful_set.V1StatefulSet() # noqa: E501 - if include_optional : - return V1StatefulSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/stateful_set_spec.v1.StatefulSetSpec( - pod_management_policy = '0', - replicas = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - service_name = '0', - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - update_strategy = kubernetes.client.models.v1/stateful_set_update_strategy.v1.StatefulSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1/rolling_update_stateful_set_strategy.v1.RollingUpdateStatefulSetStrategy( - partition = 56, ), - type = '0', ), - volume_claim_templates = [ - kubernetes.client.models.v1/persistent_volume_claim.v1.PersistentVolumeClaim( - api_version = '0', - kind = '0', - status = kubernetes.client.models.v1/persistent_volume_claim_status.v1.PersistentVolumeClaimStatus( - access_modes = [ - '0' - ], - capacity = { - 'key' : '0' - }, - conditions = [ - kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - phase = '0', ), ) - ], ), - status = kubernetes.client.models.v1/stateful_set_status.v1.StatefulSetStatus( - collision_count = 56, - conditions = [ - kubernetes.client.models.v1/stateful_set_condition.v1.StatefulSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_replicas = 56, - current_revision = '0', - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - update_revision = '0', - updated_replicas = 56, ) - ) - else : - return V1StatefulSet( - ) - - def testV1StatefulSet(self): - """Test V1StatefulSet""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_stateful_set_condition.py b/kubernetes/test/test_v1_stateful_set_condition.py deleted file mode 100644 index 8ce857bf6f..0000000000 --- a/kubernetes/test/test_v1_stateful_set_condition.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_stateful_set_condition import V1StatefulSetCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1StatefulSetCondition(unittest.TestCase): - """V1StatefulSetCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1StatefulSetCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_stateful_set_condition.V1StatefulSetCondition() # noqa: E501 - if include_optional : - return V1StatefulSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V1StatefulSetCondition( - status = '0', - type = '0', - ) - - def testV1StatefulSetCondition(self): - """Test V1StatefulSetCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_stateful_set_list.py b/kubernetes/test/test_v1_stateful_set_list.py deleted file mode 100644 index a6199a5030..0000000000 --- a/kubernetes/test/test_v1_stateful_set_list.py +++ /dev/null @@ -1,252 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_stateful_set_list import V1StatefulSetList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1StatefulSetList(unittest.TestCase): - """V1StatefulSetList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1StatefulSetList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_stateful_set_list.V1StatefulSetList() # noqa: E501 - if include_optional : - return V1StatefulSetList( - api_version = '0', - items = [ - kubernetes.client.models.v1/stateful_set.v1.StatefulSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/stateful_set_spec.v1.StatefulSetSpec( - pod_management_policy = '0', - replicas = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - service_name = '0', - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), - update_strategy = kubernetes.client.models.v1/stateful_set_update_strategy.v1.StatefulSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1/rolling_update_stateful_set_strategy.v1.RollingUpdateStatefulSetStrategy( - partition = 56, ), - type = '0', ), - volume_claim_templates = [ - kubernetes.client.models.v1/persistent_volume_claim.v1.PersistentVolumeClaim( - api_version = '0', - kind = '0', - status = kubernetes.client.models.v1/persistent_volume_claim_status.v1.PersistentVolumeClaimStatus( - access_modes = [ - '0' - ], - capacity = { - 'key' : '0' - }, - conditions = [ - kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - phase = '0', ), ) - ], ), - status = kubernetes.client.models.v1/stateful_set_status.v1.StatefulSetStatus( - collision_count = 56, - current_replicas = 56, - current_revision = '0', - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - update_revision = '0', - updated_replicas = 56, ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1StatefulSetList( - items = [ - kubernetes.client.models.v1/stateful_set.v1.StatefulSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/stateful_set_spec.v1.StatefulSetSpec( - pod_management_policy = '0', - replicas = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - service_name = '0', - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), - update_strategy = kubernetes.client.models.v1/stateful_set_update_strategy.v1.StatefulSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1/rolling_update_stateful_set_strategy.v1.RollingUpdateStatefulSetStrategy( - partition = 56, ), - type = '0', ), - volume_claim_templates = [ - kubernetes.client.models.v1/persistent_volume_claim.v1.PersistentVolumeClaim( - api_version = '0', - kind = '0', - status = kubernetes.client.models.v1/persistent_volume_claim_status.v1.PersistentVolumeClaimStatus( - access_modes = [ - '0' - ], - capacity = { - 'key' : '0' - }, - conditions = [ - kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - phase = '0', ), ) - ], ), - status = kubernetes.client.models.v1/stateful_set_status.v1.StatefulSetStatus( - collision_count = 56, - current_replicas = 56, - current_revision = '0', - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - update_revision = '0', - updated_replicas = 56, ), ) - ], - ) - - def testV1StatefulSetList(self): - """Test V1StatefulSetList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_stateful_set_spec.py b/kubernetes/test/test_v1_stateful_set_spec.py deleted file mode 100644 index 050414d80e..0000000000 --- a/kubernetes/test/test_v1_stateful_set_spec.py +++ /dev/null @@ -1,1140 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_stateful_set_spec import V1StatefulSetSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1StatefulSetSpec(unittest.TestCase): - """V1StatefulSetSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1StatefulSetSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_stateful_set_spec.V1StatefulSetSpec() # noqa: E501 - if include_optional : - return V1StatefulSetSpec( - pod_management_policy = '0', - replicas = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - service_name = '0', - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - update_strategy = kubernetes.client.models.v1/stateful_set_update_strategy.v1.StatefulSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1/rolling_update_stateful_set_strategy.v1.RollingUpdateStatefulSetStrategy( - partition = 56, ), - type = '0', ), - volume_claim_templates = [ - kubernetes.client.models.v1/persistent_volume_claim.v1.PersistentVolumeClaim( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/persistent_volume_claim_spec.v1.PersistentVolumeClaimSpec( - access_modes = [ - '0' - ], - data_source = kubernetes.client.models.v1/typed_local_object_reference.v1.TypedLocalObjectReference( - api_group = '0', - kind = '0', - name = '0', ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - storage_class_name = '0', - volume_mode = '0', - volume_name = '0', ), - status = kubernetes.client.models.v1/persistent_volume_claim_status.v1.PersistentVolumeClaimStatus( - capacity = { - 'key' : '0' - }, - conditions = [ - kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - phase = '0', ), ) - ] - ) - else : - return V1StatefulSetSpec( - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - service_name = '0', - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - ) - - def testV1StatefulSetSpec(self): - """Test V1StatefulSetSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_stateful_set_status.py b/kubernetes/test/test_v1_stateful_set_status.py deleted file mode 100644 index 910cff3ff1..0000000000 --- a/kubernetes/test/test_v1_stateful_set_status.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_stateful_set_status import V1StatefulSetStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1StatefulSetStatus(unittest.TestCase): - """V1StatefulSetStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1StatefulSetStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_stateful_set_status.V1StatefulSetStatus() # noqa: E501 - if include_optional : - return V1StatefulSetStatus( - collision_count = 56, - conditions = [ - kubernetes.client.models.v1/stateful_set_condition.v1.StatefulSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_replicas = 56, - current_revision = '0', - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - update_revision = '0', - updated_replicas = 56 - ) - else : - return V1StatefulSetStatus( - replicas = 56, - ) - - def testV1StatefulSetStatus(self): - """Test V1StatefulSetStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_stateful_set_update_strategy.py b/kubernetes/test/test_v1_stateful_set_update_strategy.py deleted file mode 100644 index 7a28944e37..0000000000 --- a/kubernetes/test/test_v1_stateful_set_update_strategy.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_stateful_set_update_strategy import V1StatefulSetUpdateStrategy # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1StatefulSetUpdateStrategy(unittest.TestCase): - """V1StatefulSetUpdateStrategy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1StatefulSetUpdateStrategy - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_stateful_set_update_strategy.V1StatefulSetUpdateStrategy() # noqa: E501 - if include_optional : - return V1StatefulSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1/rolling_update_stateful_set_strategy.v1.RollingUpdateStatefulSetStrategy( - partition = 56, ), - type = '0' - ) - else : - return V1StatefulSetUpdateStrategy( - ) - - def testV1StatefulSetUpdateStrategy(self): - """Test V1StatefulSetUpdateStrategy""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_status.py b/kubernetes/test/test_v1_status.py deleted file mode 100644 index 9c6ee41987..0000000000 --- a/kubernetes/test/test_v1_status.py +++ /dev/null @@ -1,74 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_status import V1Status # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Status(unittest.TestCase): - """V1Status unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Status - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_status.V1Status() # noqa: E501 - if include_optional : - return V1Status( - api_version = '0', - code = 56, - details = kubernetes.client.models.v1/status_details.v1.StatusDetails( - causes = [ - kubernetes.client.models.v1/status_cause.v1.StatusCause( - field = '0', - message = '0', - reason = '0', ) - ], - group = '0', - kind = '0', - name = '0', - retry_after_seconds = 56, - uid = '0', ), - kind = '0', - message = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ), - reason = '0', - status = '0' - ) - else : - return V1Status( - ) - - def testV1Status(self): - """Test V1Status""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_status_cause.py b/kubernetes/test/test_v1_status_cause.py deleted file mode 100644 index fc9597a050..0000000000 --- a/kubernetes/test/test_v1_status_cause.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_status_cause import V1StatusCause # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1StatusCause(unittest.TestCase): - """V1StatusCause unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1StatusCause - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_status_cause.V1StatusCause() # noqa: E501 - if include_optional : - return V1StatusCause( - field = '0', - message = '0', - reason = '0' - ) - else : - return V1StatusCause( - ) - - def testV1StatusCause(self): - """Test V1StatusCause""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_status_details.py b/kubernetes/test/test_v1_status_details.py deleted file mode 100644 index fb0a47f78f..0000000000 --- a/kubernetes/test/test_v1_status_details.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_status_details import V1StatusDetails # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1StatusDetails(unittest.TestCase): - """V1StatusDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1StatusDetails - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_status_details.V1StatusDetails() # noqa: E501 - if include_optional : - return V1StatusDetails( - causes = [ - kubernetes.client.models.v1/status_cause.v1.StatusCause( - field = '0', - message = '0', - reason = '0', ) - ], - group = '0', - kind = '0', - name = '0', - retry_after_seconds = 56, - uid = '0' - ) - else : - return V1StatusDetails( - ) - - def testV1StatusDetails(self): - """Test V1StatusDetails""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_storage_class.py b/kubernetes/test/test_v1_storage_class.py deleted file mode 100644 index c8aa924e7a..0000000000 --- a/kubernetes/test/test_v1_storage_class.py +++ /dev/null @@ -1,113 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_storage_class import V1StorageClass # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1StorageClass(unittest.TestCase): - """V1StorageClass unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1StorageClass - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_storage_class.V1StorageClass() # noqa: E501 - if include_optional : - return V1StorageClass( - allow_volume_expansion = True, - allowed_topologies = [ - kubernetes.client.models.v1/topology_selector_term.v1.TopologySelectorTerm( - match_label_expressions = [ - kubernetes.client.models.v1/topology_selector_label_requirement.v1.TopologySelectorLabelRequirement( - key = '0', - values = [ - '0' - ], ) - ], ) - ], - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - mount_options = [ - '0' - ], - parameters = { - 'key' : '0' - }, - provisioner = '0', - reclaim_policy = '0', - volume_binding_mode = '0' - ) - else : - return V1StorageClass( - provisioner = '0', - ) - - def testV1StorageClass(self): - """Test V1StorageClass""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_storage_class_list.py b/kubernetes/test/test_v1_storage_class_list.py deleted file mode 100644 index 6807aedcb3..0000000000 --- a/kubernetes/test/test_v1_storage_class_list.py +++ /dev/null @@ -1,186 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_storage_class_list import V1StorageClassList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1StorageClassList(unittest.TestCase): - """V1StorageClassList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1StorageClassList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_storage_class_list.V1StorageClassList() # noqa: E501 - if include_optional : - return V1StorageClassList( - api_version = '0', - items = [ - kubernetes.client.models.v1/storage_class.v1.StorageClass( - allow_volume_expansion = True, - allowed_topologies = [ - kubernetes.client.models.v1/topology_selector_term.v1.TopologySelectorTerm( - match_label_expressions = [ - kubernetes.client.models.v1/topology_selector_label_requirement.v1.TopologySelectorLabelRequirement( - key = '0', - values = [ - '0' - ], ) - ], ) - ], - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - mount_options = [ - '0' - ], - parameters = { - 'key' : '0' - }, - provisioner = '0', - reclaim_policy = '0', - volume_binding_mode = '0', ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1StorageClassList( - items = [ - kubernetes.client.models.v1/storage_class.v1.StorageClass( - allow_volume_expansion = True, - allowed_topologies = [ - kubernetes.client.models.v1/topology_selector_term.v1.TopologySelectorTerm( - match_label_expressions = [ - kubernetes.client.models.v1/topology_selector_label_requirement.v1.TopologySelectorLabelRequirement( - key = '0', - values = [ - '0' - ], ) - ], ) - ], - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - mount_options = [ - '0' - ], - parameters = { - 'key' : '0' - }, - provisioner = '0', - reclaim_policy = '0', - volume_binding_mode = '0', ) - ], - ) - - def testV1StorageClassList(self): - """Test V1StorageClassList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_storage_os_persistent_volume_source.py b/kubernetes/test/test_v1_storage_os_persistent_volume_source.py deleted file mode 100644 index 8facf50784..0000000000 --- a/kubernetes/test/test_v1_storage_os_persistent_volume_source.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_storage_os_persistent_volume_source import V1StorageOSPersistentVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1StorageOSPersistentVolumeSource(unittest.TestCase): - """V1StorageOSPersistentVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1StorageOSPersistentVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_storage_os_persistent_volume_source.V1StorageOSPersistentVolumeSource() # noqa: E501 - if include_optional : - return V1StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - volume_name = '0', - volume_namespace = '0' - ) - else : - return V1StorageOSPersistentVolumeSource( - ) - - def testV1StorageOSPersistentVolumeSource(self): - """Test V1StorageOSPersistentVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_storage_os_volume_source.py b/kubernetes/test/test_v1_storage_os_volume_source.py deleted file mode 100644 index 0fcd8486b1..0000000000 --- a/kubernetes/test/test_v1_storage_os_volume_source.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_storage_os_volume_source import V1StorageOSVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1StorageOSVolumeSource(unittest.TestCase): - """V1StorageOSVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1StorageOSVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_storage_os_volume_source.V1StorageOSVolumeSource() # noqa: E501 - if include_optional : - return V1StorageOSVolumeSource( - fs_type = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - volume_name = '0', - volume_namespace = '0' - ) - else : - return V1StorageOSVolumeSource( - ) - - def testV1StorageOSVolumeSource(self): - """Test V1StorageOSVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_subject.py b/kubernetes/test/test_v1_subject.py deleted file mode 100644 index 526b99332e..0000000000 --- a/kubernetes/test/test_v1_subject.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_subject import V1Subject # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Subject(unittest.TestCase): - """V1Subject unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Subject - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_subject.V1Subject() # noqa: E501 - if include_optional : - return V1Subject( - api_group = '0', - kind = '0', - name = '0', - namespace = '0' - ) - else : - return V1Subject( - kind = '0', - name = '0', - ) - - def testV1Subject(self): - """Test V1Subject""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_subject_access_review.py b/kubernetes/test/test_v1_subject_access_review.py deleted file mode 100644 index fcd99026d3..0000000000 --- a/kubernetes/test/test_v1_subject_access_review.py +++ /dev/null @@ -1,141 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_subject_access_review import V1SubjectAccessReview # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1SubjectAccessReview(unittest.TestCase): - """V1SubjectAccessReview unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1SubjectAccessReview - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_subject_access_review.V1SubjectAccessReview() # noqa: E501 - if include_optional : - return V1SubjectAccessReview( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/subject_access_review_spec.v1.SubjectAccessReviewSpec( - extra = { - 'key' : [ - '0' - ] - }, - groups = [ - '0' - ], - non_resource_attributes = kubernetes.client.models.v1/non_resource_attributes.v1.NonResourceAttributes( - path = '0', - verb = '0', ), - resource_attributes = kubernetes.client.models.v1/resource_attributes.v1.ResourceAttributes( - group = '0', - name = '0', - namespace = '0', - resource = '0', - subresource = '0', - verb = '0', - version = '0', ), - uid = '0', - user = '0', ), - status = kubernetes.client.models.v1/subject_access_review_status.v1.SubjectAccessReviewStatus( - allowed = True, - denied = True, - evaluation_error = '0', - reason = '0', ) - ) - else : - return V1SubjectAccessReview( - spec = kubernetes.client.models.v1/subject_access_review_spec.v1.SubjectAccessReviewSpec( - extra = { - 'key' : [ - '0' - ] - }, - groups = [ - '0' - ], - non_resource_attributes = kubernetes.client.models.v1/non_resource_attributes.v1.NonResourceAttributes( - path = '0', - verb = '0', ), - resource_attributes = kubernetes.client.models.v1/resource_attributes.v1.ResourceAttributes( - group = '0', - name = '0', - namespace = '0', - resource = '0', - subresource = '0', - verb = '0', - version = '0', ), - uid = '0', - user = '0', ), - ) - - def testV1SubjectAccessReview(self): - """Test V1SubjectAccessReview""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_subject_access_review_spec.py b/kubernetes/test/test_v1_subject_access_review_spec.py deleted file mode 100644 index 207239f5ea..0000000000 --- a/kubernetes/test/test_v1_subject_access_review_spec.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_subject_access_review_spec import V1SubjectAccessReviewSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1SubjectAccessReviewSpec(unittest.TestCase): - """V1SubjectAccessReviewSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1SubjectAccessReviewSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_subject_access_review_spec.V1SubjectAccessReviewSpec() # noqa: E501 - if include_optional : - return V1SubjectAccessReviewSpec( - extra = { - 'key' : [ - '0' - ] - }, - groups = [ - '0' - ], - non_resource_attributes = kubernetes.client.models.v1/non_resource_attributes.v1.NonResourceAttributes( - path = '0', - verb = '0', ), - resource_attributes = kubernetes.client.models.v1/resource_attributes.v1.ResourceAttributes( - group = '0', - name = '0', - namespace = '0', - resource = '0', - subresource = '0', - verb = '0', - version = '0', ), - uid = '0', - user = '0' - ) - else : - return V1SubjectAccessReviewSpec( - ) - - def testV1SubjectAccessReviewSpec(self): - """Test V1SubjectAccessReviewSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_subject_access_review_status.py b/kubernetes/test/test_v1_subject_access_review_status.py deleted file mode 100644 index 8c5e4fa542..0000000000 --- a/kubernetes/test/test_v1_subject_access_review_status.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_subject_access_review_status import V1SubjectAccessReviewStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1SubjectAccessReviewStatus(unittest.TestCase): - """V1SubjectAccessReviewStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1SubjectAccessReviewStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_subject_access_review_status.V1SubjectAccessReviewStatus() # noqa: E501 - if include_optional : - return V1SubjectAccessReviewStatus( - allowed = True, - denied = True, - evaluation_error = '0', - reason = '0' - ) - else : - return V1SubjectAccessReviewStatus( - allowed = True, - ) - - def testV1SubjectAccessReviewStatus(self): - """Test V1SubjectAccessReviewStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_subject_rules_review_status.py b/kubernetes/test/test_v1_subject_rules_review_status.py deleted file mode 100644 index e24ffeae75..0000000000 --- a/kubernetes/test/test_v1_subject_rules_review_status.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_subject_rules_review_status import V1SubjectRulesReviewStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1SubjectRulesReviewStatus(unittest.TestCase): - """V1SubjectRulesReviewStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1SubjectRulesReviewStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_subject_rules_review_status.V1SubjectRulesReviewStatus() # noqa: E501 - if include_optional : - return V1SubjectRulesReviewStatus( - evaluation_error = '0', - incomplete = True, - non_resource_rules = [ - kubernetes.client.models.v1/non_resource_rule.v1.NonResourceRule( - non_resource_ur_ls = [ - '0' - ], - verbs = [ - '0' - ], ) - ], - resource_rules = [ - kubernetes.client.models.v1/resource_rule.v1.ResourceRule( - api_groups = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ] - ) - else : - return V1SubjectRulesReviewStatus( - incomplete = True, - non_resource_rules = [ - kubernetes.client.models.v1/non_resource_rule.v1.NonResourceRule( - non_resource_ur_ls = [ - '0' - ], - verbs = [ - '0' - ], ) - ], - resource_rules = [ - kubernetes.client.models.v1/resource_rule.v1.ResourceRule( - api_groups = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ], - ) - - def testV1SubjectRulesReviewStatus(self): - """Test V1SubjectRulesReviewStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_sysctl.py b/kubernetes/test/test_v1_sysctl.py deleted file mode 100644 index e1f36362c6..0000000000 --- a/kubernetes/test/test_v1_sysctl.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_sysctl import V1Sysctl # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Sysctl(unittest.TestCase): - """V1Sysctl unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Sysctl - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_sysctl.V1Sysctl() # noqa: E501 - if include_optional : - return V1Sysctl( - name = '0', - value = '0' - ) - else : - return V1Sysctl( - name = '0', - value = '0', - ) - - def testV1Sysctl(self): - """Test V1Sysctl""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_taint.py b/kubernetes/test/test_v1_taint.py deleted file mode 100644 index 524f79d378..0000000000 --- a/kubernetes/test/test_v1_taint.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_taint import V1Taint # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Taint(unittest.TestCase): - """V1Taint unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Taint - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_taint.V1Taint() # noqa: E501 - if include_optional : - return V1Taint( - effect = '0', - key = '0', - time_added = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - value = '0' - ) - else : - return V1Taint( - effect = '0', - key = '0', - ) - - def testV1Taint(self): - """Test V1Taint""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_tcp_socket_action.py b/kubernetes/test/test_v1_tcp_socket_action.py deleted file mode 100644 index 4ffb22f7d1..0000000000 --- a/kubernetes/test/test_v1_tcp_socket_action.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_tcp_socket_action import V1TCPSocketAction # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1TCPSocketAction(unittest.TestCase): - """V1TCPSocketAction unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1TCPSocketAction - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_tcp_socket_action.V1TCPSocketAction() # noqa: E501 - if include_optional : - return V1TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port() - ) - else : - return V1TCPSocketAction( - port = kubernetes.client.models.port.port(), - ) - - def testV1TCPSocketAction(self): - """Test V1TCPSocketAction""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_token_request.py b/kubernetes/test/test_v1_token_request.py deleted file mode 100644 index 191b186ef4..0000000000 --- a/kubernetes/test/test_v1_token_request.py +++ /dev/null @@ -1,115 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_token_request import V1TokenRequest # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1TokenRequest(unittest.TestCase): - """V1TokenRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1TokenRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_token_request.V1TokenRequest() # noqa: E501 - if include_optional : - return V1TokenRequest( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/token_request_spec.v1.TokenRequestSpec( - audiences = [ - '0' - ], - bound_object_ref = kubernetes.client.models.v1/bound_object_reference.v1.BoundObjectReference( - api_version = '0', - kind = '0', - name = '0', - uid = '0', ), - expiration_seconds = 56, ), - status = kubernetes.client.models.v1/token_request_status.v1.TokenRequestStatus( - expiration_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - token = '0', ) - ) - else : - return V1TokenRequest( - spec = kubernetes.client.models.v1/token_request_spec.v1.TokenRequestSpec( - audiences = [ - '0' - ], - bound_object_ref = kubernetes.client.models.v1/bound_object_reference.v1.BoundObjectReference( - api_version = '0', - kind = '0', - name = '0', - uid = '0', ), - expiration_seconds = 56, ), - ) - - def testV1TokenRequest(self): - """Test V1TokenRequest""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_token_request_spec.py b/kubernetes/test/test_v1_token_request_spec.py deleted file mode 100644 index c4773aa0b4..0000000000 --- a/kubernetes/test/test_v1_token_request_spec.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_token_request_spec import V1TokenRequestSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1TokenRequestSpec(unittest.TestCase): - """V1TokenRequestSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1TokenRequestSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_token_request_spec.V1TokenRequestSpec() # noqa: E501 - if include_optional : - return V1TokenRequestSpec( - audiences = [ - '0' - ], - bound_object_ref = kubernetes.client.models.v1/bound_object_reference.v1.BoundObjectReference( - api_version = '0', - kind = '0', - name = '0', - uid = '0', ), - expiration_seconds = 56 - ) - else : - return V1TokenRequestSpec( - audiences = [ - '0' - ], - ) - - def testV1TokenRequestSpec(self): - """Test V1TokenRequestSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_token_request_status.py b/kubernetes/test/test_v1_token_request_status.py deleted file mode 100644 index a29a4d6ffb..0000000000 --- a/kubernetes/test/test_v1_token_request_status.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_token_request_status import V1TokenRequestStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1TokenRequestStatus(unittest.TestCase): - """V1TokenRequestStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1TokenRequestStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_token_request_status.V1TokenRequestStatus() # noqa: E501 - if include_optional : - return V1TokenRequestStatus( - expiration_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - token = '0' - ) - else : - return V1TokenRequestStatus( - expiration_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - token = '0', - ) - - def testV1TokenRequestStatus(self): - """Test V1TokenRequestStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_token_review.py b/kubernetes/test/test_v1_token_review.py deleted file mode 100644 index 814c35ef17..0000000000 --- a/kubernetes/test/test_v1_token_review.py +++ /dev/null @@ -1,119 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_token_review import V1TokenReview # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1TokenReview(unittest.TestCase): - """V1TokenReview unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1TokenReview - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_token_review.V1TokenReview() # noqa: E501 - if include_optional : - return V1TokenReview( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/token_review_spec.v1.TokenReviewSpec( - audiences = [ - '0' - ], - token = '0', ), - status = kubernetes.client.models.v1/token_review_status.v1.TokenReviewStatus( - audiences = [ - '0' - ], - authenticated = True, - error = '0', - user = kubernetes.client.models.v1/user_info.v1.UserInfo( - extra = { - 'key' : [ - '0' - ] - }, - groups = [ - '0' - ], - uid = '0', - username = '0', ), ) - ) - else : - return V1TokenReview( - spec = kubernetes.client.models.v1/token_review_spec.v1.TokenReviewSpec( - audiences = [ - '0' - ], - token = '0', ), - ) - - def testV1TokenReview(self): - """Test V1TokenReview""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_token_review_spec.py b/kubernetes/test/test_v1_token_review_spec.py deleted file mode 100644 index 6ed7672e26..0000000000 --- a/kubernetes/test/test_v1_token_review_spec.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_token_review_spec import V1TokenReviewSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1TokenReviewSpec(unittest.TestCase): - """V1TokenReviewSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1TokenReviewSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_token_review_spec.V1TokenReviewSpec() # noqa: E501 - if include_optional : - return V1TokenReviewSpec( - audiences = [ - '0' - ], - token = '0' - ) - else : - return V1TokenReviewSpec( - ) - - def testV1TokenReviewSpec(self): - """Test V1TokenReviewSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_token_review_status.py b/kubernetes/test/test_v1_token_review_status.py deleted file mode 100644 index d839915c27..0000000000 --- a/kubernetes/test/test_v1_token_review_status.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_token_review_status import V1TokenReviewStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1TokenReviewStatus(unittest.TestCase): - """V1TokenReviewStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1TokenReviewStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_token_review_status.V1TokenReviewStatus() # noqa: E501 - if include_optional : - return V1TokenReviewStatus( - audiences = [ - '0' - ], - authenticated = True, - error = '0', - user = kubernetes.client.models.v1/user_info.v1.UserInfo( - extra = { - 'key' : [ - '0' - ] - }, - groups = [ - '0' - ], - uid = '0', - username = '0', ) - ) - else : - return V1TokenReviewStatus( - ) - - def testV1TokenReviewStatus(self): - """Test V1TokenReviewStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_toleration.py b/kubernetes/test/test_v1_toleration.py deleted file mode 100644 index f1638cd708..0000000000 --- a/kubernetes/test/test_v1_toleration.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_toleration import V1Toleration # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Toleration(unittest.TestCase): - """V1Toleration unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Toleration - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_toleration.V1Toleration() # noqa: E501 - if include_optional : - return V1Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0' - ) - else : - return V1Toleration( - ) - - def testV1Toleration(self): - """Test V1Toleration""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_topology_selector_label_requirement.py b/kubernetes/test/test_v1_topology_selector_label_requirement.py deleted file mode 100644 index feb4f8a321..0000000000 --- a/kubernetes/test/test_v1_topology_selector_label_requirement.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_topology_selector_label_requirement import V1TopologySelectorLabelRequirement # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1TopologySelectorLabelRequirement(unittest.TestCase): - """V1TopologySelectorLabelRequirement unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1TopologySelectorLabelRequirement - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_topology_selector_label_requirement.V1TopologySelectorLabelRequirement() # noqa: E501 - if include_optional : - return V1TopologySelectorLabelRequirement( - key = '0', - values = [ - '0' - ] - ) - else : - return V1TopologySelectorLabelRequirement( - key = '0', - values = [ - '0' - ], - ) - - def testV1TopologySelectorLabelRequirement(self): - """Test V1TopologySelectorLabelRequirement""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_topology_selector_term.py b/kubernetes/test/test_v1_topology_selector_term.py deleted file mode 100644 index 366ea4328d..0000000000 --- a/kubernetes/test/test_v1_topology_selector_term.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_topology_selector_term import V1TopologySelectorTerm # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1TopologySelectorTerm(unittest.TestCase): - """V1TopologySelectorTerm unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1TopologySelectorTerm - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_topology_selector_term.V1TopologySelectorTerm() # noqa: E501 - if include_optional : - return V1TopologySelectorTerm( - match_label_expressions = [ - kubernetes.client.models.v1/topology_selector_label_requirement.v1.TopologySelectorLabelRequirement( - key = '0', - values = [ - '0' - ], ) - ] - ) - else : - return V1TopologySelectorTerm( - ) - - def testV1TopologySelectorTerm(self): - """Test V1TopologySelectorTerm""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_topology_spread_constraint.py b/kubernetes/test/test_v1_topology_spread_constraint.py deleted file mode 100644 index ce3164b3a8..0000000000 --- a/kubernetes/test/test_v1_topology_spread_constraint.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_topology_spread_constraint import V1TopologySpreadConstraint # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1TopologySpreadConstraint(unittest.TestCase): - """V1TopologySpreadConstraint unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1TopologySpreadConstraint - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_topology_spread_constraint.V1TopologySpreadConstraint() # noqa: E501 - if include_optional : - return V1TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0' - ) - else : - return V1TopologySpreadConstraint( - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', - ) - - def testV1TopologySpreadConstraint(self): - """Test V1TopologySpreadConstraint""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_typed_local_object_reference.py b/kubernetes/test/test_v1_typed_local_object_reference.py deleted file mode 100644 index d3eb11e6cb..0000000000 --- a/kubernetes/test/test_v1_typed_local_object_reference.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_typed_local_object_reference import V1TypedLocalObjectReference # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1TypedLocalObjectReference(unittest.TestCase): - """V1TypedLocalObjectReference unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1TypedLocalObjectReference - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_typed_local_object_reference.V1TypedLocalObjectReference() # noqa: E501 - if include_optional : - return V1TypedLocalObjectReference( - api_group = '0', - kind = '0', - name = '0' - ) - else : - return V1TypedLocalObjectReference( - kind = '0', - name = '0', - ) - - def testV1TypedLocalObjectReference(self): - """Test V1TypedLocalObjectReference""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_user_info.py b/kubernetes/test/test_v1_user_info.py deleted file mode 100644 index d1a0da1f7c..0000000000 --- a/kubernetes/test/test_v1_user_info.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_user_info import V1UserInfo # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1UserInfo(unittest.TestCase): - """V1UserInfo unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1UserInfo - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_user_info.V1UserInfo() # noqa: E501 - if include_optional : - return V1UserInfo( - extra = { - 'key' : [ - '0' - ] - }, - groups = [ - '0' - ], - uid = '0', - username = '0' - ) - else : - return V1UserInfo( - ) - - def testV1UserInfo(self): - """Test V1UserInfo""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_validating_webhook.py b/kubernetes/test/test_v1_validating_webhook.py deleted file mode 100644 index f419a2d993..0000000000 --- a/kubernetes/test/test_v1_validating_webhook.py +++ /dev/null @@ -1,120 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_validating_webhook import V1ValidatingWebhook # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ValidatingWebhook(unittest.TestCase): - """V1ValidatingWebhook unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ValidatingWebhook - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_validating_webhook.V1ValidatingWebhook() # noqa: E501 - if include_optional : - return V1ValidatingWebhook( - admission_review_versions = [ - '0' - ], - kubernetes.client_config = kubernetes.client.models.admissionregistration/v1/webhook_client_config.admissionregistration.v1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.admissionregistration/v1/service_reference.admissionregistration.v1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - failure_policy = '0', - match_policy = '0', - name = '0', - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - rules = [ - kubernetes.client.models.v1/rule_with_operations.v1.RuleWithOperations( - api_groups = [ - '0' - ], - api_versions = [ - '0' - ], - operations = [ - '0' - ], - resources = [ - '0' - ], - scope = '0', ) - ], - side_effects = '0', - timeout_seconds = 56 - ) - else : - return V1ValidatingWebhook( - admission_review_versions = [ - '0' - ], - kubernetes.client_config = kubernetes.client.models.admissionregistration/v1/webhook_client_config.admissionregistration.v1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.admissionregistration/v1/service_reference.admissionregistration.v1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - name = '0', - side_effects = '0', - ) - - def testV1ValidatingWebhook(self): - """Test V1ValidatingWebhook""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_validating_webhook_configuration.py b/kubernetes/test/test_v1_validating_webhook_configuration.py deleted file mode 100644 index 8abff77828..0000000000 --- a/kubernetes/test/test_v1_validating_webhook_configuration.py +++ /dev/null @@ -1,140 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_validating_webhook_configuration import V1ValidatingWebhookConfiguration # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ValidatingWebhookConfiguration(unittest.TestCase): - """V1ValidatingWebhookConfiguration unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ValidatingWebhookConfiguration - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_validating_webhook_configuration.V1ValidatingWebhookConfiguration() # noqa: E501 - if include_optional : - return V1ValidatingWebhookConfiguration( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - webhooks = [ - kubernetes.client.models.v1/validating_webhook.v1.ValidatingWebhook( - admission_review_versions = [ - '0' - ], - kubernetes.client_config = kubernetes.client.models.admissionregistration/v1/webhook_client_config.admissionregistration.v1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.admissionregistration/v1/service_reference.admissionregistration.v1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - failure_policy = '0', - match_policy = '0', - name = '0', - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - rules = [ - kubernetes.client.models.v1/rule_with_operations.v1.RuleWithOperations( - api_groups = [ - '0' - ], - api_versions = [ - '0' - ], - operations = [ - '0' - ], - resources = [ - '0' - ], - scope = '0', ) - ], - side_effects = '0', - timeout_seconds = 56, ) - ] - ) - else : - return V1ValidatingWebhookConfiguration( - ) - - def testV1ValidatingWebhookConfiguration(self): - """Test V1ValidatingWebhookConfiguration""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_validating_webhook_configuration_list.py b/kubernetes/test/test_v1_validating_webhook_configuration_list.py deleted file mode 100644 index caf4dfebd5..0000000000 --- a/kubernetes/test/test_v1_validating_webhook_configuration_list.py +++ /dev/null @@ -1,242 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_validating_webhook_configuration_list import V1ValidatingWebhookConfigurationList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ValidatingWebhookConfigurationList(unittest.TestCase): - """V1ValidatingWebhookConfigurationList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ValidatingWebhookConfigurationList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_validating_webhook_configuration_list.V1ValidatingWebhookConfigurationList() # noqa: E501 - if include_optional : - return V1ValidatingWebhookConfigurationList( - api_version = '0', - items = [ - kubernetes.client.models.v1/validating_webhook_configuration.v1.ValidatingWebhookConfiguration( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - webhooks = [ - kubernetes.client.models.v1/validating_webhook.v1.ValidatingWebhook( - admission_review_versions = [ - '0' - ], - kubernetes.client_config = kubernetes.client.models.admissionregistration/v1/webhook_client_config.admissionregistration.v1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.admissionregistration/v1/service_reference.admissionregistration.v1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - failure_policy = '0', - match_policy = '0', - name = '0', - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - rules = [ - kubernetes.client.models.v1/rule_with_operations.v1.RuleWithOperations( - api_groups = [ - '0' - ], - api_versions = [ - '0' - ], - operations = [ - '0' - ], - resources = [ - '0' - ], - scope = '0', ) - ], - side_effects = '0', - timeout_seconds = 56, ) - ], ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1ValidatingWebhookConfigurationList( - items = [ - kubernetes.client.models.v1/validating_webhook_configuration.v1.ValidatingWebhookConfiguration( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - webhooks = [ - kubernetes.client.models.v1/validating_webhook.v1.ValidatingWebhook( - admission_review_versions = [ - '0' - ], - kubernetes.client_config = kubernetes.client.models.admissionregistration/v1/webhook_client_config.admissionregistration.v1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.admissionregistration/v1/service_reference.admissionregistration.v1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - failure_policy = '0', - match_policy = '0', - name = '0', - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - rules = [ - kubernetes.client.models.v1/rule_with_operations.v1.RuleWithOperations( - api_groups = [ - '0' - ], - api_versions = [ - '0' - ], - operations = [ - '0' - ], - resources = [ - '0' - ], - scope = '0', ) - ], - side_effects = '0', - timeout_seconds = 56, ) - ], ) - ], - ) - - def testV1ValidatingWebhookConfigurationList(self): - """Test V1ValidatingWebhookConfigurationList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_volume.py b/kubernetes/test/test_v1_volume.py deleted file mode 100644 index 147e5940a0..0000000000 --- a/kubernetes/test/test_v1_volume.py +++ /dev/null @@ -1,263 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_volume import V1Volume # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Volume(unittest.TestCase): - """V1Volume unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Volume - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_volume.V1Volume() # noqa: E501 - if include_optional : - return V1Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/downward_api_volume_file.v1.DownwardAPIVolumeFile( - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - mode = 56, - path = '0', - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), ) - ], ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - config_map = kubernetes.client.models.v1/config_map_projection.v1.ConfigMapProjection( - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - downward_api = kubernetes.client.models.v1/downward_api_projection.v1.DownwardAPIProjection(), - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ) - ) - else : - return V1Volume( - name = '0', - ) - - def testV1Volume(self): - """Test V1Volume""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_volume_attachment.py b/kubernetes/test/test_v1_volume_attachment.py deleted file mode 100644 index a347caa33d..0000000000 --- a/kubernetes/test/test_v1_volume_attachment.py +++ /dev/null @@ -1,495 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_volume_attachment import V1VolumeAttachment # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1VolumeAttachment(unittest.TestCase): - """V1VolumeAttachment unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1VolumeAttachment - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_volume_attachment.V1VolumeAttachment() # noqa: E501 - if include_optional : - return V1VolumeAttachment( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/volume_attachment_spec.v1.VolumeAttachmentSpec( - attacher = '0', - node_name = '0', - source = kubernetes.client.models.v1/volume_attachment_source.v1.VolumeAttachmentSource( - inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - persistent_volume_name = '0', ), ), - status = kubernetes.client.models.v1/volume_attachment_status.v1.VolumeAttachmentStatus( - attach_error = kubernetes.client.models.v1/volume_error.v1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - attached = True, - attachment_metadata = { - 'key' : '0' - }, - detach_error = kubernetes.client.models.v1/volume_error.v1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ) - ) - else : - return V1VolumeAttachment( - spec = kubernetes.client.models.v1/volume_attachment_spec.v1.VolumeAttachmentSpec( - attacher = '0', - node_name = '0', - source = kubernetes.client.models.v1/volume_attachment_source.v1.VolumeAttachmentSource( - inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - persistent_volume_name = '0', ), ), - ) - - def testV1VolumeAttachment(self): - """Test V1VolumeAttachment""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_volume_attachment_list.py b/kubernetes/test/test_v1_volume_attachment_list.py deleted file mode 100644 index 663719d014..0000000000 --- a/kubernetes/test/test_v1_volume_attachment_list.py +++ /dev/null @@ -1,560 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_volume_attachment_list import V1VolumeAttachmentList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1VolumeAttachmentList(unittest.TestCase): - """V1VolumeAttachmentList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1VolumeAttachmentList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_volume_attachment_list.V1VolumeAttachmentList() # noqa: E501 - if include_optional : - return V1VolumeAttachmentList( - api_version = '0', - items = [ - kubernetes.client.models.v1/volume_attachment.v1.VolumeAttachment( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/volume_attachment_spec.v1.VolumeAttachmentSpec( - attacher = '0', - node_name = '0', - source = kubernetes.client.models.v1/volume_attachment_source.v1.VolumeAttachmentSource( - inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - persistent_volume_name = '0', ), ), - status = kubernetes.client.models.v1/volume_attachment_status.v1.VolumeAttachmentStatus( - attach_error = kubernetes.client.models.v1/volume_error.v1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - attached = True, - attachment_metadata = { - 'key' : '0' - }, - detach_error = kubernetes.client.models.v1/volume_error.v1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1VolumeAttachmentList( - items = [ - kubernetes.client.models.v1/volume_attachment.v1.VolumeAttachment( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/volume_attachment_spec.v1.VolumeAttachmentSpec( - attacher = '0', - node_name = '0', - source = kubernetes.client.models.v1/volume_attachment_source.v1.VolumeAttachmentSource( - inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - persistent_volume_name = '0', ), ), - status = kubernetes.client.models.v1/volume_attachment_status.v1.VolumeAttachmentStatus( - attach_error = kubernetes.client.models.v1/volume_error.v1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - attached = True, - attachment_metadata = { - 'key' : '0' - }, - detach_error = kubernetes.client.models.v1/volume_error.v1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ), ) - ], - ) - - def testV1VolumeAttachmentList(self): - """Test V1VolumeAttachmentList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -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 deleted file mode 100644 index 31eb9a3079..0000000000 --- a/kubernetes/test/test_v1_volume_attachment_source.py +++ /dev/null @@ -1,243 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_volume_attachment_source import V1VolumeAttachmentSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1VolumeAttachmentSource(unittest.TestCase): - """V1VolumeAttachmentSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1VolumeAttachmentSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_volume_attachment_source.V1VolumeAttachmentSource() # noqa: E501 - if include_optional : - return V1VolumeAttachmentSource( - inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - persistent_volume_name = '0' - ) - else : - return V1VolumeAttachmentSource( - ) - - def testV1VolumeAttachmentSource(self): - """Test V1VolumeAttachmentSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -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 deleted file mode 100644 index f63f71a855..0000000000 --- a/kubernetes/test/test_v1_volume_attachment_spec.py +++ /dev/null @@ -1,441 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_volume_attachment_spec import V1VolumeAttachmentSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1VolumeAttachmentSpec(unittest.TestCase): - """V1VolumeAttachmentSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1VolumeAttachmentSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_volume_attachment_spec.V1VolumeAttachmentSpec() # noqa: E501 - if include_optional : - return V1VolumeAttachmentSpec( - attacher = '0', - node_name = '0', - source = kubernetes.client.models.v1/volume_attachment_source.v1.VolumeAttachmentSource( - inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - persistent_volume_name = '0', ) - ) - else : - return V1VolumeAttachmentSpec( - attacher = '0', - node_name = '0', - source = kubernetes.client.models.v1/volume_attachment_source.v1.VolumeAttachmentSource( - inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - persistent_volume_name = '0', ), - ) - - def testV1VolumeAttachmentSpec(self): - """Test V1VolumeAttachmentSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -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 deleted file mode 100644 index f4366831d6..0000000000 --- a/kubernetes/test/test_v1_volume_attachment_status.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_volume_attachment_status import V1VolumeAttachmentStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1VolumeAttachmentStatus(unittest.TestCase): - """V1VolumeAttachmentStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1VolumeAttachmentStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_volume_attachment_status.V1VolumeAttachmentStatus() # noqa: E501 - if include_optional : - return V1VolumeAttachmentStatus( - attach_error = kubernetes.client.models.v1/volume_error.v1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - attached = True, - attachment_metadata = { - 'key' : '0' - }, - detach_error = kubernetes.client.models.v1/volume_error.v1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ) - else : - return V1VolumeAttachmentStatus( - attached = True, - ) - - def testV1VolumeAttachmentStatus(self): - """Test V1VolumeAttachmentStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_volume_device.py b/kubernetes/test/test_v1_volume_device.py deleted file mode 100644 index d02a2a8270..0000000000 --- a/kubernetes/test/test_v1_volume_device.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_volume_device import V1VolumeDevice # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1VolumeDevice(unittest.TestCase): - """V1VolumeDevice unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1VolumeDevice - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_volume_device.V1VolumeDevice() # noqa: E501 - if include_optional : - return V1VolumeDevice( - device_path = '0', - name = '0' - ) - else : - return V1VolumeDevice( - device_path = '0', - name = '0', - ) - - def testV1VolumeDevice(self): - """Test V1VolumeDevice""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_volume_error.py b/kubernetes/test/test_v1_volume_error.py deleted file mode 100644 index 3a8208b3f4..0000000000 --- a/kubernetes/test/test_v1_volume_error.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_volume_error import V1VolumeError # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1VolumeError(unittest.TestCase): - """V1VolumeError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1VolumeError - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_volume_error.V1VolumeError() # noqa: E501 - if include_optional : - return V1VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else : - return V1VolumeError( - ) - - def testV1VolumeError(self): - """Test V1VolumeError""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_volume_mount.py b/kubernetes/test/test_v1_volume_mount.py deleted file mode 100644 index 79f6251c6f..0000000000 --- a/kubernetes/test/test_v1_volume_mount.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_volume_mount import V1VolumeMount # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1VolumeMount(unittest.TestCase): - """V1VolumeMount unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1VolumeMount - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_volume_mount.V1VolumeMount() # noqa: E501 - if include_optional : - return V1VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0' - ) - else : - return V1VolumeMount( - mount_path = '0', - name = '0', - ) - - def testV1VolumeMount(self): - """Test V1VolumeMount""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_volume_node_affinity.py b/kubernetes/test/test_v1_volume_node_affinity.py deleted file mode 100644 index f6abcb046a..0000000000 --- a/kubernetes/test/test_v1_volume_node_affinity.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_volume_node_affinity import V1VolumeNodeAffinity # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1VolumeNodeAffinity(unittest.TestCase): - """V1VolumeNodeAffinity unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1VolumeNodeAffinity - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_volume_node_affinity.V1VolumeNodeAffinity() # noqa: E501 - if include_optional : - return V1VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ) - ) - else : - return V1VolumeNodeAffinity( - ) - - def testV1VolumeNodeAffinity(self): - """Test V1VolumeNodeAffinity""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_volume_projection.py b/kubernetes/test/test_v1_volume_projection.py deleted file mode 100644 index 6829994b85..0000000000 --- a/kubernetes/test/test_v1_volume_projection.py +++ /dev/null @@ -1,86 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_volume_projection import V1VolumeProjection # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1VolumeProjection(unittest.TestCase): - """V1VolumeProjection unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1VolumeProjection - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_volume_projection.V1VolumeProjection() # noqa: E501 - if include_optional : - return V1VolumeProjection( - config_map = kubernetes.client.models.v1/config_map_projection.v1.ConfigMapProjection( - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - downward_api = kubernetes.client.models.v1/downward_api_projection.v1.DownwardAPIProjection( - items = [ - kubernetes.client.models.v1/downward_api_volume_file.v1.DownwardAPIVolumeFile( - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - mode = 56, - path = '0', - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), ) - ], ), - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ) - ) - else : - return V1VolumeProjection( - ) - - def testV1VolumeProjection(self): - """Test V1VolumeProjection""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_vsphere_virtual_disk_volume_source.py b/kubernetes/test/test_v1_vsphere_virtual_disk_volume_source.py deleted file mode 100644 index 44abc7f5bd..0000000000 --- a/kubernetes/test/test_v1_vsphere_virtual_disk_volume_source.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_vsphere_virtual_disk_volume_source import V1VsphereVirtualDiskVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1VsphereVirtualDiskVolumeSource(unittest.TestCase): - """V1VsphereVirtualDiskVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1VsphereVirtualDiskVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_vsphere_virtual_disk_volume_source.V1VsphereVirtualDiskVolumeSource() # noqa: E501 - if include_optional : - return V1VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0' - ) - else : - return V1VsphereVirtualDiskVolumeSource( - volume_path = '0', - ) - - def testV1VsphereVirtualDiskVolumeSource(self): - """Test V1VsphereVirtualDiskVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_watch_event.py b/kubernetes/test/test_v1_watch_event.py deleted file mode 100644 index d765cfb737..0000000000 --- a/kubernetes/test/test_v1_watch_event.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_watch_event import V1WatchEvent # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1WatchEvent(unittest.TestCase): - """V1WatchEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1WatchEvent - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_watch_event.V1WatchEvent() # noqa: E501 - if include_optional : - return V1WatchEvent( - object = None, - type = '0' - ) - else : - return V1WatchEvent( - object = None, - type = '0', - ) - - def testV1WatchEvent(self): - """Test V1WatchEvent""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_webhook_conversion.py b/kubernetes/test/test_v1_webhook_conversion.py deleted file mode 100644 index ee6146f278..0000000000 --- a/kubernetes/test/test_v1_webhook_conversion.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_webhook_conversion import V1WebhookConversion # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1WebhookConversion(unittest.TestCase): - """V1WebhookConversion unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1WebhookConversion - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_webhook_conversion.V1WebhookConversion() # noqa: E501 - if include_optional : - return V1WebhookConversion( - kubernetes.client_config = kubernetes.client.models.apiextensions/v1/webhook_client_config.apiextensions.v1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.apiextensions/v1/service_reference.apiextensions.v1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - conversion_review_versions = [ - '0' - ] - ) - else : - return V1WebhookConversion( - conversion_review_versions = [ - '0' - ], - ) - - def testV1WebhookConversion(self): - """Test V1WebhookConversion""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_weighted_pod_affinity_term.py b/kubernetes/test/test_v1_weighted_pod_affinity_term.py deleted file mode 100644 index 5f088b3d3f..0000000000 --- a/kubernetes/test/test_v1_weighted_pod_affinity_term.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_weighted_pod_affinity_term import V1WeightedPodAffinityTerm # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1WeightedPodAffinityTerm(unittest.TestCase): - """V1WeightedPodAffinityTerm unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1WeightedPodAffinityTerm - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_weighted_pod_affinity_term.V1WeightedPodAffinityTerm() # noqa: E501 - if include_optional : - return V1WeightedPodAffinityTerm( - pod_affinity_term = kubernetes.client.models.v1/pod_affinity_term.v1.PodAffinityTerm( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - namespaces = [ - '0' - ], - topology_key = '0', ), - weight = 56 - ) - else : - return V1WeightedPodAffinityTerm( - pod_affinity_term = kubernetes.client.models.v1/pod_affinity_term.v1.PodAffinityTerm( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - namespaces = [ - '0' - ], - topology_key = '0', ), - weight = 56, - ) - - def testV1WeightedPodAffinityTerm(self): - """Test V1WeightedPodAffinityTerm""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_windows_security_context_options.py b/kubernetes/test/test_v1_windows_security_context_options.py deleted file mode 100644 index 2b4ca3276b..0000000000 --- a/kubernetes/test/test_v1_windows_security_context_options.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_windows_security_context_options import V1WindowsSecurityContextOptions # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1WindowsSecurityContextOptions(unittest.TestCase): - """V1WindowsSecurityContextOptions unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1WindowsSecurityContextOptions - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_windows_security_context_options.V1WindowsSecurityContextOptions() # noqa: E501 - if include_optional : - return V1WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0' - ) - else : - return V1WindowsSecurityContextOptions( - ) - - def testV1WindowsSecurityContextOptions(self): - """Test V1WindowsSecurityContextOptions""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_aggregation_rule.py b/kubernetes/test/test_v1alpha1_aggregation_rule.py deleted file mode 100644 index d77d66d355..0000000000 --- a/kubernetes/test/test_v1alpha1_aggregation_rule.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_aggregation_rule import V1alpha1AggregationRule # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1AggregationRule(unittest.TestCase): - """V1alpha1AggregationRule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1AggregationRule - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_aggregation_rule.V1alpha1AggregationRule() # noqa: E501 - if include_optional : - return V1alpha1AggregationRule( - cluster_role_selectors = [ - kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ) - ] - ) - else : - return V1alpha1AggregationRule( - ) - - def testV1alpha1AggregationRule(self): - """Test V1alpha1AggregationRule""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_audit_sink.py b/kubernetes/test/test_v1alpha1_audit_sink.py deleted file mode 100644 index b5b4bccfe7..0000000000 --- a/kubernetes/test/test_v1alpha1_audit_sink.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_audit_sink import V1alpha1AuditSink # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1AuditSink(unittest.TestCase): - """V1alpha1AuditSink unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1AuditSink - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_audit_sink.V1alpha1AuditSink() # noqa: E501 - if include_optional : - return V1alpha1AuditSink( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1alpha1/audit_sink_spec.v1alpha1.AuditSinkSpec( - policy = kubernetes.client.models.v1alpha1/policy.v1alpha1.Policy( - level = '0', - stages = [ - '0' - ], ), - webhook = kubernetes.client.models.v1alpha1/webhook.v1alpha1.Webhook( - kubernetes.client_config = kubernetes.client.models.v1alpha1/webhook_client_config.v1alpha1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.v1alpha1/service_reference.v1alpha1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - throttle = kubernetes.client.models.v1alpha1/webhook_throttle_config.v1alpha1.WebhookThrottleConfig( - burst = 56, - qps = 56, ), ), ) - ) - else : - return V1alpha1AuditSink( - ) - - def testV1alpha1AuditSink(self): - """Test V1alpha1AuditSink""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -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 deleted file mode 100644 index f507babc6b..0000000000 --- a/kubernetes/test/test_v1alpha1_audit_sink_list.py +++ /dev/null @@ -1,182 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_audit_sink_list import V1alpha1AuditSinkList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1AuditSinkList(unittest.TestCase): - """V1alpha1AuditSinkList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1AuditSinkList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_audit_sink_list.V1alpha1AuditSinkList() # noqa: E501 - if include_optional : - return V1alpha1AuditSinkList( - api_version = '0', - items = [ - kubernetes.client.models.v1alpha1/audit_sink.v1alpha1.AuditSink( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1alpha1/audit_sink_spec.v1alpha1.AuditSinkSpec( - policy = kubernetes.client.models.v1alpha1/policy.v1alpha1.Policy( - level = '0', - stages = [ - '0' - ], ), - webhook = kubernetes.client.models.v1alpha1/webhook.v1alpha1.Webhook( - kubernetes.client_config = kubernetes.client.models.v1alpha1/webhook_client_config.v1alpha1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.v1alpha1/service_reference.v1alpha1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - throttle = kubernetes.client.models.v1alpha1/webhook_throttle_config.v1alpha1.WebhookThrottleConfig( - burst = 56, - qps = 56, ), ), ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1alpha1AuditSinkList( - items = [ - kubernetes.client.models.v1alpha1/audit_sink.v1alpha1.AuditSink( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1alpha1/audit_sink_spec.v1alpha1.AuditSinkSpec( - policy = kubernetes.client.models.v1alpha1/policy.v1alpha1.Policy( - level = '0', - stages = [ - '0' - ], ), - webhook = kubernetes.client.models.v1alpha1/webhook.v1alpha1.Webhook( - kubernetes.client_config = kubernetes.client.models.v1alpha1/webhook_client_config.v1alpha1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.v1alpha1/service_reference.v1alpha1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - throttle = kubernetes.client.models.v1alpha1/webhook_throttle_config.v1alpha1.WebhookThrottleConfig( - burst = 56, - qps = 56, ), ), ), ) - ], - ) - - def testV1alpha1AuditSinkList(self): - """Test V1alpha1AuditSinkList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -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 deleted file mode 100644 index 90d1033a3d..0000000000 --- a/kubernetes/test/test_v1alpha1_audit_sink_spec.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_audit_sink_spec import V1alpha1AuditSinkSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1AuditSinkSpec(unittest.TestCase): - """V1alpha1AuditSinkSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1AuditSinkSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_audit_sink_spec.V1alpha1AuditSinkSpec() # noqa: E501 - if include_optional : - return V1alpha1AuditSinkSpec( - policy = kubernetes.client.models.v1alpha1/policy.v1alpha1.Policy( - level = '0', - stages = [ - '0' - ], ), - webhook = kubernetes.client.models.v1alpha1/webhook.v1alpha1.Webhook( - kubernetes.client_config = kubernetes.client.models.v1alpha1/webhook_client_config.v1alpha1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.v1alpha1/service_reference.v1alpha1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - throttle = kubernetes.client.models.v1alpha1/webhook_throttle_config.v1alpha1.WebhookThrottleConfig( - burst = 56, - qps = 56, ), ) - ) - else : - return V1alpha1AuditSinkSpec( - policy = kubernetes.client.models.v1alpha1/policy.v1alpha1.Policy( - level = '0', - stages = [ - '0' - ], ), - webhook = kubernetes.client.models.v1alpha1/webhook.v1alpha1.Webhook( - kubernetes.client_config = kubernetes.client.models.v1alpha1/webhook_client_config.v1alpha1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.v1alpha1/service_reference.v1alpha1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - throttle = kubernetes.client.models.v1alpha1/webhook_throttle_config.v1alpha1.WebhookThrottleConfig( - burst = 56, - qps = 56, ), ), - ) - - def testV1alpha1AuditSinkSpec(self): - """Test V1alpha1AuditSinkSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_cluster_role.py b/kubernetes/test/test_v1alpha1_cluster_role.py deleted file mode 100644 index 332eff4f8e..0000000000 --- a/kubernetes/test/test_v1alpha1_cluster_role.py +++ /dev/null @@ -1,125 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_cluster_role import V1alpha1ClusterRole # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1ClusterRole(unittest.TestCase): - """V1alpha1ClusterRole unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1ClusterRole - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_cluster_role.V1alpha1ClusterRole() # noqa: E501 - if include_optional : - return V1alpha1ClusterRole( - aggregation_rule = kubernetes.client.models.v1alpha1/aggregation_rule.v1alpha1.AggregationRule( - cluster_role_selectors = [ - kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ) - ], ), - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - rules = [ - kubernetes.client.models.v1alpha1/policy_rule.v1alpha1.PolicyRule( - api_groups = [ - '0' - ], - non_resource_ur_ls = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ] - ) - else : - return V1alpha1ClusterRole( - ) - - def testV1alpha1ClusterRole(self): - """Test V1alpha1ClusterRole""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_cluster_role_binding.py b/kubernetes/test/test_v1alpha1_cluster_role_binding.py deleted file mode 100644 index 42ea27ca6f..0000000000 --- a/kubernetes/test/test_v1alpha1_cluster_role_binding.py +++ /dev/null @@ -1,107 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_cluster_role_binding import V1alpha1ClusterRoleBinding # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1ClusterRoleBinding(unittest.TestCase): - """V1alpha1ClusterRoleBinding unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1ClusterRoleBinding - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_cluster_role_binding.V1alpha1ClusterRoleBinding() # noqa: E501 - if include_optional : - return V1alpha1ClusterRoleBinding( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - role_ref = kubernetes.client.models.v1alpha1/role_ref.v1alpha1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - subjects = [ - kubernetes.client.models.v1alpha1/subject.v1alpha1.Subject( - api_version = '0', - kind = '0', - name = '0', - namespace = '0', ) - ] - ) - else : - return V1alpha1ClusterRoleBinding( - role_ref = kubernetes.client.models.v1alpha1/role_ref.v1alpha1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - ) - - def testV1alpha1ClusterRoleBinding(self): - """Test V1alpha1ClusterRoleBinding""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_cluster_role_binding_list.py b/kubernetes/test/test_v1alpha1_cluster_role_binding_list.py deleted file mode 100644 index 4f16507536..0000000000 --- a/kubernetes/test/test_v1alpha1_cluster_role_binding_list.py +++ /dev/null @@ -1,168 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_cluster_role_binding_list import V1alpha1ClusterRoleBindingList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1ClusterRoleBindingList(unittest.TestCase): - """V1alpha1ClusterRoleBindingList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1ClusterRoleBindingList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_cluster_role_binding_list.V1alpha1ClusterRoleBindingList() # noqa: E501 - if include_optional : - return V1alpha1ClusterRoleBindingList( - api_version = '0', - items = [ - kubernetes.client.models.v1alpha1/cluster_role_binding.v1alpha1.ClusterRoleBinding( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - role_ref = kubernetes.client.models.v1alpha1/role_ref.v1alpha1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - subjects = [ - kubernetes.client.models.v1alpha1/subject.v1alpha1.Subject( - api_version = '0', - kind = '0', - name = '0', - namespace = '0', ) - ], ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1alpha1ClusterRoleBindingList( - items = [ - kubernetes.client.models.v1alpha1/cluster_role_binding.v1alpha1.ClusterRoleBinding( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - role_ref = kubernetes.client.models.v1alpha1/role_ref.v1alpha1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - subjects = [ - kubernetes.client.models.v1alpha1/subject.v1alpha1.Subject( - api_version = '0', - kind = '0', - name = '0', - namespace = '0', ) - ], ) - ], - ) - - def testV1alpha1ClusterRoleBindingList(self): - """Test V1alpha1ClusterRoleBindingList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_cluster_role_list.py b/kubernetes/test/test_v1alpha1_cluster_role_list.py deleted file mode 100644 index 277095d2b4..0000000000 --- a/kubernetes/test/test_v1alpha1_cluster_role_list.py +++ /dev/null @@ -1,212 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_cluster_role_list import V1alpha1ClusterRoleList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1ClusterRoleList(unittest.TestCase): - """V1alpha1ClusterRoleList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1ClusterRoleList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_cluster_role_list.V1alpha1ClusterRoleList() # noqa: E501 - if include_optional : - return V1alpha1ClusterRoleList( - api_version = '0', - items = [ - kubernetes.client.models.v1alpha1/cluster_role.v1alpha1.ClusterRole( - aggregation_rule = kubernetes.client.models.v1alpha1/aggregation_rule.v1alpha1.AggregationRule( - cluster_role_selectors = [ - kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ) - ], ), - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - rules = [ - kubernetes.client.models.v1alpha1/policy_rule.v1alpha1.PolicyRule( - api_groups = [ - '0' - ], - non_resource_ur_ls = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ], ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1alpha1ClusterRoleList( - items = [ - kubernetes.client.models.v1alpha1/cluster_role.v1alpha1.ClusterRole( - aggregation_rule = kubernetes.client.models.v1alpha1/aggregation_rule.v1alpha1.AggregationRule( - cluster_role_selectors = [ - kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ) - ], ), - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - rules = [ - kubernetes.client.models.v1alpha1/policy_rule.v1alpha1.PolicyRule( - api_groups = [ - '0' - ], - non_resource_ur_ls = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ], ) - ], - ) - - def testV1alpha1ClusterRoleList(self): - """Test V1alpha1ClusterRoleList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_endpoint.py b/kubernetes/test/test_v1alpha1_endpoint.py deleted file mode 100644 index 8f6363d303..0000000000 --- a/kubernetes/test/test_v1alpha1_endpoint.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_endpoint import V1alpha1Endpoint # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1Endpoint(unittest.TestCase): - """V1alpha1Endpoint unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1Endpoint - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_endpoint.V1alpha1Endpoint() # noqa: E501 - if include_optional : - return V1alpha1Endpoint( - addresses = [ - '0' - ], - conditions = kubernetes.client.models.v1alpha1/endpoint_conditions.v1alpha1.EndpointConditions( - ready = True, ), - hostname = '0', - target_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - topology = { - 'key' : '0' - } - ) - else : - return V1alpha1Endpoint( - addresses = [ - '0' - ], - ) - - def testV1alpha1Endpoint(self): - """Test V1alpha1Endpoint""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_endpoint_conditions.py b/kubernetes/test/test_v1alpha1_endpoint_conditions.py deleted file mode 100644 index 7f7fd64ec1..0000000000 --- a/kubernetes/test/test_v1alpha1_endpoint_conditions.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_endpoint_conditions import V1alpha1EndpointConditions # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1EndpointConditions(unittest.TestCase): - """V1alpha1EndpointConditions unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1EndpointConditions - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_endpoint_conditions.V1alpha1EndpointConditions() # noqa: E501 - if include_optional : - return V1alpha1EndpointConditions( - ready = True - ) - else : - return V1alpha1EndpointConditions( - ) - - def testV1alpha1EndpointConditions(self): - """Test V1alpha1EndpointConditions""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_endpoint_port.py b/kubernetes/test/test_v1alpha1_endpoint_port.py deleted file mode 100644 index 8a5f74b8bc..0000000000 --- a/kubernetes/test/test_v1alpha1_endpoint_port.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_endpoint_port import V1alpha1EndpointPort # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1EndpointPort(unittest.TestCase): - """V1alpha1EndpointPort unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1EndpointPort - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_endpoint_port.V1alpha1EndpointPort() # noqa: E501 - if include_optional : - return V1alpha1EndpointPort( - name = '0', - port = 56, - protocol = '0' - ) - else : - return V1alpha1EndpointPort( - ) - - def testV1alpha1EndpointPort(self): - """Test V1alpha1EndpointPort""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_endpoint_slice.py b/kubernetes/test/test_v1alpha1_endpoint_slice.py deleted file mode 100644 index 54944ec5d2..0000000000 --- a/kubernetes/test/test_v1alpha1_endpoint_slice.py +++ /dev/null @@ -1,139 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_endpoint_slice import V1alpha1EndpointSlice # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1EndpointSlice(unittest.TestCase): - """V1alpha1EndpointSlice unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1EndpointSlice - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_endpoint_slice.V1alpha1EndpointSlice() # noqa: E501 - if include_optional : - return V1alpha1EndpointSlice( - address_type = '0', - api_version = '0', - endpoints = [ - kubernetes.client.models.v1alpha1/endpoint.v1alpha1.Endpoint( - addresses = [ - '0' - ], - conditions = kubernetes.client.models.v1alpha1/endpoint_conditions.v1alpha1.EndpointConditions( - ready = True, ), - hostname = '0', - target_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - topology = { - 'key' : '0' - }, ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - ports = [ - kubernetes.client.models.v1alpha1/endpoint_port.v1alpha1.EndpointPort( - name = '0', - port = 56, - protocol = '0', ) - ] - ) - else : - return V1alpha1EndpointSlice( - endpoints = [ - kubernetes.client.models.v1alpha1/endpoint.v1alpha1.Endpoint( - addresses = [ - '0' - ], - conditions = kubernetes.client.models.v1alpha1/endpoint_conditions.v1alpha1.EndpointConditions( - ready = True, ), - hostname = '0', - target_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - topology = { - 'key' : '0' - }, ) - ], - ) - - def testV1alpha1EndpointSlice(self): - """Test V1alpha1EndpointSlice""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_endpoint_slice_list.py b/kubernetes/test/test_v1alpha1_endpoint_slice_list.py deleted file mode 100644 index a59a291311..0000000000 --- a/kubernetes/test/test_v1alpha1_endpoint_slice_list.py +++ /dev/null @@ -1,200 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_endpoint_slice_list import V1alpha1EndpointSliceList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1EndpointSliceList(unittest.TestCase): - """V1alpha1EndpointSliceList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1EndpointSliceList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_endpoint_slice_list.V1alpha1EndpointSliceList() # noqa: E501 - if include_optional : - return V1alpha1EndpointSliceList( - api_version = '0', - items = [ - kubernetes.client.models.v1alpha1/endpoint_slice.v1alpha1.EndpointSlice( - address_type = '0', - api_version = '0', - endpoints = [ - kubernetes.client.models.v1alpha1/endpoint.v1alpha1.Endpoint( - addresses = [ - '0' - ], - conditions = kubernetes.client.models.v1alpha1/endpoint_conditions.v1alpha1.EndpointConditions( - ready = True, ), - hostname = '0', - target_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - topology = { - 'key' : '0' - }, ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - ports = [ - kubernetes.client.models.v1alpha1/endpoint_port.v1alpha1.EndpointPort( - name = '0', - port = 56, - protocol = '0', ) - ], ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1alpha1EndpointSliceList( - items = [ - kubernetes.client.models.v1alpha1/endpoint_slice.v1alpha1.EndpointSlice( - address_type = '0', - api_version = '0', - endpoints = [ - kubernetes.client.models.v1alpha1/endpoint.v1alpha1.Endpoint( - addresses = [ - '0' - ], - conditions = kubernetes.client.models.v1alpha1/endpoint_conditions.v1alpha1.EndpointConditions( - ready = True, ), - hostname = '0', - target_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - topology = { - 'key' : '0' - }, ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - ports = [ - kubernetes.client.models.v1alpha1/endpoint_port.v1alpha1.EndpointPort( - name = '0', - port = 56, - protocol = '0', ) - ], ) - ], - ) - - def testV1alpha1EndpointSliceList(self): - """Test V1alpha1EndpointSliceList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_overhead.py b/kubernetes/test/test_v1alpha1_overhead.py deleted file mode 100644 index 7ff420c3a4..0000000000 --- a/kubernetes/test/test_v1alpha1_overhead.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_overhead import V1alpha1Overhead # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1Overhead(unittest.TestCase): - """V1alpha1Overhead unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1Overhead - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_overhead.V1alpha1Overhead() # noqa: E501 - if include_optional : - return V1alpha1Overhead( - pod_fixed = { - 'key' : '0' - } - ) - else : - return V1alpha1Overhead( - ) - - def testV1alpha1Overhead(self): - """Test V1alpha1Overhead""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_pod_preset.py b/kubernetes/test/test_v1alpha1_pod_preset.py deleted file mode 100644 index 3a8f39da92..0000000000 --- a/kubernetes/test/test_v1alpha1_pod_preset.py +++ /dev/null @@ -1,319 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_pod_preset import V1alpha1PodPreset # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1PodPreset(unittest.TestCase): - """V1alpha1PodPreset unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1PodPreset - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_pod_preset.V1alpha1PodPreset() # noqa: E501 - if include_optional : - return V1alpha1PodPreset( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1alpha1/pod_preset_spec.v1alpha1.PodPresetSpec( - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ) - ) - else : - return V1alpha1PodPreset( - ) - - def testV1alpha1PodPreset(self): - """Test V1alpha1PodPreset""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_pod_preset_list.py b/kubernetes/test/test_v1alpha1_pod_preset_list.py deleted file mode 100644 index 96f98b1cf4..0000000000 --- a/kubernetes/test/test_v1alpha1_pod_preset_list.py +++ /dev/null @@ -1,600 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_pod_preset_list import V1alpha1PodPresetList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1PodPresetList(unittest.TestCase): - """V1alpha1PodPresetList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1PodPresetList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_pod_preset_list.V1alpha1PodPresetList() # noqa: E501 - if include_optional : - return V1alpha1PodPresetList( - api_version = '0', - items = [ - kubernetes.client.models.v1alpha1/pod_preset.v1alpha1.PodPreset( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1alpha1/pod_preset_spec.v1alpha1.PodPresetSpec( - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1alpha1PodPresetList( - items = [ - kubernetes.client.models.v1alpha1/pod_preset.v1alpha1.PodPreset( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1alpha1/pod_preset_spec.v1alpha1.PodPresetSpec( - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ) - ], - ) - - def testV1alpha1PodPresetList(self): - """Test V1alpha1PodPresetList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_pod_preset_spec.py b/kubernetes/test/test_v1alpha1_pod_preset_spec.py deleted file mode 100644 index 5c4cee9d91..0000000000 --- a/kubernetes/test/test_v1alpha1_pod_preset_spec.py +++ /dev/null @@ -1,279 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_pod_preset_spec import V1alpha1PodPresetSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1PodPresetSpec(unittest.TestCase): - """V1alpha1PodPresetSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1PodPresetSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_pod_preset_spec.V1alpha1PodPresetSpec() # noqa: E501 - if include_optional : - return V1alpha1PodPresetSpec( - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ] - ) - else : - return V1alpha1PodPresetSpec( - ) - - def testV1alpha1PodPresetSpec(self): - """Test V1alpha1PodPresetSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_policy.py b/kubernetes/test/test_v1alpha1_policy.py deleted file mode 100644 index 773413c5e5..0000000000 --- a/kubernetes/test/test_v1alpha1_policy.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_policy import V1alpha1Policy # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1Policy(unittest.TestCase): - """V1alpha1Policy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1Policy - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_policy.V1alpha1Policy() # noqa: E501 - if include_optional : - return V1alpha1Policy( - level = '0', - stages = [ - '0' - ] - ) - else : - return V1alpha1Policy( - level = '0', - ) - - def testV1alpha1Policy(self): - """Test V1alpha1Policy""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_policy_rule.py b/kubernetes/test/test_v1alpha1_policy_rule.py deleted file mode 100644 index e4d9fbfff9..0000000000 --- a/kubernetes/test/test_v1alpha1_policy_rule.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_policy_rule import V1alpha1PolicyRule # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1PolicyRule(unittest.TestCase): - """V1alpha1PolicyRule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1PolicyRule - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_policy_rule.V1alpha1PolicyRule() # noqa: E501 - if include_optional : - return V1alpha1PolicyRule( - api_groups = [ - '0' - ], - non_resource_ur_ls = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ] - ) - else : - return V1alpha1PolicyRule( - verbs = [ - '0' - ], - ) - - def testV1alpha1PolicyRule(self): - """Test V1alpha1PolicyRule""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_priority_class.py b/kubernetes/test/test_v1alpha1_priority_class.py deleted file mode 100644 index 5474cf6ece..0000000000 --- a/kubernetes/test/test_v1alpha1_priority_class.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_priority_class import V1alpha1PriorityClass # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1PriorityClass(unittest.TestCase): - """V1alpha1PriorityClass unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1PriorityClass - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_priority_class.V1alpha1PriorityClass() # noqa: E501 - if include_optional : - return V1alpha1PriorityClass( - api_version = '0', - description = '0', - global_default = True, - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - preemption_policy = '0', - value = 56 - ) - else : - return V1alpha1PriorityClass( - value = 56, - ) - - def testV1alpha1PriorityClass(self): - """Test V1alpha1PriorityClass""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_priority_class_list.py b/kubernetes/test/test_v1alpha1_priority_class_list.py deleted file mode 100644 index aab0b76458..0000000000 --- a/kubernetes/test/test_v1alpha1_priority_class_list.py +++ /dev/null @@ -1,154 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_priority_class_list import V1alpha1PriorityClassList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1PriorityClassList(unittest.TestCase): - """V1alpha1PriorityClassList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1PriorityClassList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_priority_class_list.V1alpha1PriorityClassList() # noqa: E501 - if include_optional : - return V1alpha1PriorityClassList( - api_version = '0', - items = [ - kubernetes.client.models.v1alpha1/priority_class.v1alpha1.PriorityClass( - api_version = '0', - description = '0', - global_default = True, - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - preemption_policy = '0', - value = 56, ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1alpha1PriorityClassList( - items = [ - kubernetes.client.models.v1alpha1/priority_class.v1alpha1.PriorityClass( - api_version = '0', - description = '0', - global_default = True, - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - preemption_policy = '0', - value = 56, ) - ], - ) - - def testV1alpha1PriorityClassList(self): - """Test V1alpha1PriorityClassList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_role.py b/kubernetes/test/test_v1alpha1_role.py deleted file mode 100644 index 0aee89007b..0000000000 --- a/kubernetes/test/test_v1alpha1_role.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_role import V1alpha1Role # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1Role(unittest.TestCase): - """V1alpha1Role unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1Role - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_role.V1alpha1Role() # noqa: E501 - if include_optional : - return V1alpha1Role( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - rules = [ - kubernetes.client.models.v1alpha1/policy_rule.v1alpha1.PolicyRule( - api_groups = [ - '0' - ], - non_resource_ur_ls = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ] - ) - else : - return V1alpha1Role( - ) - - def testV1alpha1Role(self): - """Test V1alpha1Role""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_role_binding.py b/kubernetes/test/test_v1alpha1_role_binding.py deleted file mode 100644 index 7ca3c2bdc7..0000000000 --- a/kubernetes/test/test_v1alpha1_role_binding.py +++ /dev/null @@ -1,107 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_role_binding import V1alpha1RoleBinding # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1RoleBinding(unittest.TestCase): - """V1alpha1RoleBinding unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1RoleBinding - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_role_binding.V1alpha1RoleBinding() # noqa: E501 - if include_optional : - return V1alpha1RoleBinding( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - role_ref = kubernetes.client.models.v1alpha1/role_ref.v1alpha1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - subjects = [ - kubernetes.client.models.v1alpha1/subject.v1alpha1.Subject( - api_version = '0', - kind = '0', - name = '0', - namespace = '0', ) - ] - ) - else : - return V1alpha1RoleBinding( - role_ref = kubernetes.client.models.v1alpha1/role_ref.v1alpha1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - ) - - def testV1alpha1RoleBinding(self): - """Test V1alpha1RoleBinding""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_role_binding_list.py b/kubernetes/test/test_v1alpha1_role_binding_list.py deleted file mode 100644 index 793cc56da3..0000000000 --- a/kubernetes/test/test_v1alpha1_role_binding_list.py +++ /dev/null @@ -1,168 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_role_binding_list import V1alpha1RoleBindingList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1RoleBindingList(unittest.TestCase): - """V1alpha1RoleBindingList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1RoleBindingList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_role_binding_list.V1alpha1RoleBindingList() # noqa: E501 - if include_optional : - return V1alpha1RoleBindingList( - api_version = '0', - items = [ - kubernetes.client.models.v1alpha1/role_binding.v1alpha1.RoleBinding( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - role_ref = kubernetes.client.models.v1alpha1/role_ref.v1alpha1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - subjects = [ - kubernetes.client.models.v1alpha1/subject.v1alpha1.Subject( - api_version = '0', - kind = '0', - name = '0', - namespace = '0', ) - ], ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1alpha1RoleBindingList( - items = [ - kubernetes.client.models.v1alpha1/role_binding.v1alpha1.RoleBinding( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - role_ref = kubernetes.client.models.v1alpha1/role_ref.v1alpha1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - subjects = [ - kubernetes.client.models.v1alpha1/subject.v1alpha1.Subject( - api_version = '0', - kind = '0', - name = '0', - namespace = '0', ) - ], ) - ], - ) - - def testV1alpha1RoleBindingList(self): - """Test V1alpha1RoleBindingList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_role_list.py b/kubernetes/test/test_v1alpha1_role_list.py deleted file mode 100644 index 1839b1de3a..0000000000 --- a/kubernetes/test/test_v1alpha1_role_list.py +++ /dev/null @@ -1,182 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_role_list import V1alpha1RoleList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1RoleList(unittest.TestCase): - """V1alpha1RoleList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1RoleList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_role_list.V1alpha1RoleList() # noqa: E501 - if include_optional : - return V1alpha1RoleList( - api_version = '0', - items = [ - kubernetes.client.models.v1alpha1/role.v1alpha1.Role( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - rules = [ - kubernetes.client.models.v1alpha1/policy_rule.v1alpha1.PolicyRule( - api_groups = [ - '0' - ], - non_resource_ur_ls = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ], ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1alpha1RoleList( - items = [ - kubernetes.client.models.v1alpha1/role.v1alpha1.Role( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - rules = [ - kubernetes.client.models.v1alpha1/policy_rule.v1alpha1.PolicyRule( - api_groups = [ - '0' - ], - non_resource_ur_ls = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ], ) - ], - ) - - def testV1alpha1RoleList(self): - """Test V1alpha1RoleList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_role_ref.py b/kubernetes/test/test_v1alpha1_role_ref.py deleted file mode 100644 index e2926aba56..0000000000 --- a/kubernetes/test/test_v1alpha1_role_ref.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_role_ref import V1alpha1RoleRef # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1RoleRef(unittest.TestCase): - """V1alpha1RoleRef unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1RoleRef - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_role_ref.V1alpha1RoleRef() # noqa: E501 - if include_optional : - return V1alpha1RoleRef( - api_group = '0', - kind = '0', - name = '0' - ) - else : - return V1alpha1RoleRef( - api_group = '0', - kind = '0', - name = '0', - ) - - def testV1alpha1RoleRef(self): - """Test V1alpha1RoleRef""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_runtime_class.py b/kubernetes/test/test_v1alpha1_runtime_class.py deleted file mode 100644 index 5163559dee..0000000000 --- a/kubernetes/test/test_v1alpha1_runtime_class.py +++ /dev/null @@ -1,128 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_runtime_class import V1alpha1RuntimeClass # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1RuntimeClass(unittest.TestCase): - """V1alpha1RuntimeClass unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1RuntimeClass - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_runtime_class.V1alpha1RuntimeClass() # noqa: E501 - if include_optional : - return V1alpha1RuntimeClass( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1alpha1/runtime_class_spec.v1alpha1.RuntimeClassSpec( - overhead = kubernetes.client.models.v1alpha1/overhead.v1alpha1.Overhead( - pod_fixed = { - 'key' : '0' - }, ), - runtime_handler = '0', - scheduling = kubernetes.client.models.v1alpha1/scheduling.v1alpha1.Scheduling( - node_selector = { - 'key' : '0' - }, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], ), ) - ) - else : - return V1alpha1RuntimeClass( - spec = kubernetes.client.models.v1alpha1/runtime_class_spec.v1alpha1.RuntimeClassSpec( - overhead = kubernetes.client.models.v1alpha1/overhead.v1alpha1.Overhead( - pod_fixed = { - 'key' : '0' - }, ), - runtime_handler = '0', - scheduling = kubernetes.client.models.v1alpha1/scheduling.v1alpha1.Scheduling( - node_selector = { - 'key' : '0' - }, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], ), ), - ) - - def testV1alpha1RuntimeClass(self): - """Test V1alpha1RuntimeClass""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_runtime_class_list.py b/kubernetes/test/test_v1alpha1_runtime_class_list.py deleted file mode 100644 index cef440a088..0000000000 --- a/kubernetes/test/test_v1alpha1_runtime_class_list.py +++ /dev/null @@ -1,182 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_runtime_class_list import V1alpha1RuntimeClassList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1RuntimeClassList(unittest.TestCase): - """V1alpha1RuntimeClassList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1RuntimeClassList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_runtime_class_list.V1alpha1RuntimeClassList() # noqa: E501 - if include_optional : - return V1alpha1RuntimeClassList( - api_version = '0', - items = [ - kubernetes.client.models.v1alpha1/runtime_class.v1alpha1.RuntimeClass( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1alpha1/runtime_class_spec.v1alpha1.RuntimeClassSpec( - overhead = kubernetes.client.models.v1alpha1/overhead.v1alpha1.Overhead( - pod_fixed = { - 'key' : '0' - }, ), - runtime_handler = '0', - scheduling = kubernetes.client.models.v1alpha1/scheduling.v1alpha1.Scheduling( - node_selector = { - 'key' : '0' - }, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], ), ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1alpha1RuntimeClassList( - items = [ - kubernetes.client.models.v1alpha1/runtime_class.v1alpha1.RuntimeClass( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1alpha1/runtime_class_spec.v1alpha1.RuntimeClassSpec( - overhead = kubernetes.client.models.v1alpha1/overhead.v1alpha1.Overhead( - pod_fixed = { - 'key' : '0' - }, ), - runtime_handler = '0', - scheduling = kubernetes.client.models.v1alpha1/scheduling.v1alpha1.Scheduling( - node_selector = { - 'key' : '0' - }, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], ), ), ) - ], - ) - - def testV1alpha1RuntimeClassList(self): - """Test V1alpha1RuntimeClassList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_runtime_class_spec.py b/kubernetes/test/test_v1alpha1_runtime_class_spec.py deleted file mode 100644 index 46a3d01b00..0000000000 --- a/kubernetes/test/test_v1alpha1_runtime_class_spec.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_runtime_class_spec import V1alpha1RuntimeClassSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1RuntimeClassSpec(unittest.TestCase): - """V1alpha1RuntimeClassSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1RuntimeClassSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_runtime_class_spec.V1alpha1RuntimeClassSpec() # noqa: E501 - if include_optional : - return V1alpha1RuntimeClassSpec( - overhead = kubernetes.client.models.v1alpha1/overhead.v1alpha1.Overhead( - pod_fixed = { - 'key' : '0' - }, ), - runtime_handler = '0', - scheduling = kubernetes.client.models.v1alpha1/scheduling.v1alpha1.Scheduling( - node_selector = { - 'key' : '0' - }, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], ) - ) - else : - return V1alpha1RuntimeClassSpec( - runtime_handler = '0', - ) - - def testV1alpha1RuntimeClassSpec(self): - """Test V1alpha1RuntimeClassSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_scheduling.py b/kubernetes/test/test_v1alpha1_scheduling.py deleted file mode 100644 index 0ba07c7530..0000000000 --- a/kubernetes/test/test_v1alpha1_scheduling.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_scheduling import V1alpha1Scheduling # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1Scheduling(unittest.TestCase): - """V1alpha1Scheduling unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1Scheduling - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_scheduling.V1alpha1Scheduling() # noqa: E501 - if include_optional : - return V1alpha1Scheduling( - node_selector = { - 'key' : '0' - }, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ] - ) - else : - return V1alpha1Scheduling( - ) - - def testV1alpha1Scheduling(self): - """Test V1alpha1Scheduling""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_service_reference.py b/kubernetes/test/test_v1alpha1_service_reference.py deleted file mode 100644 index b4562dc200..0000000000 --- a/kubernetes/test/test_v1alpha1_service_reference.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_service_reference import V1alpha1ServiceReference # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1ServiceReference(unittest.TestCase): - """V1alpha1ServiceReference unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1ServiceReference - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_service_reference.V1alpha1ServiceReference() # noqa: E501 - if include_optional : - return V1alpha1ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56 - ) - else : - return V1alpha1ServiceReference( - name = '0', - namespace = '0', - ) - - def testV1alpha1ServiceReference(self): - """Test V1alpha1ServiceReference""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_subject.py b/kubernetes/test/test_v1alpha1_subject.py deleted file mode 100644 index cecf53e4c9..0000000000 --- a/kubernetes/test/test_v1alpha1_subject.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_subject import V1alpha1Subject # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1Subject(unittest.TestCase): - """V1alpha1Subject unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1Subject - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_subject.V1alpha1Subject() # noqa: E501 - if include_optional : - return V1alpha1Subject( - api_version = '0', - kind = '0', - name = '0', - namespace = '0' - ) - else : - return V1alpha1Subject( - kind = '0', - name = '0', - ) - - def testV1alpha1Subject(self): - """Test V1alpha1Subject""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_volume_attachment.py b/kubernetes/test/test_v1alpha1_volume_attachment.py deleted file mode 100644 index db609214a0..0000000000 --- a/kubernetes/test/test_v1alpha1_volume_attachment.py +++ /dev/null @@ -1,495 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_volume_attachment import V1alpha1VolumeAttachment # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1VolumeAttachment(unittest.TestCase): - """V1alpha1VolumeAttachment unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1VolumeAttachment - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_volume_attachment.V1alpha1VolumeAttachment() # noqa: E501 - if include_optional : - return V1alpha1VolumeAttachment( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1alpha1/volume_attachment_spec.v1alpha1.VolumeAttachmentSpec( - attacher = '0', - node_name = '0', - source = kubernetes.client.models.v1alpha1/volume_attachment_source.v1alpha1.VolumeAttachmentSource( - inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - persistent_volume_name = '0', ), ), - status = kubernetes.client.models.v1alpha1/volume_attachment_status.v1alpha1.VolumeAttachmentStatus( - attach_error = kubernetes.client.models.v1alpha1/volume_error.v1alpha1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - attached = True, - attachment_metadata = { - 'key' : '0' - }, - detach_error = kubernetes.client.models.v1alpha1/volume_error.v1alpha1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ) - ) - else : - return V1alpha1VolumeAttachment( - spec = kubernetes.client.models.v1alpha1/volume_attachment_spec.v1alpha1.VolumeAttachmentSpec( - attacher = '0', - node_name = '0', - source = kubernetes.client.models.v1alpha1/volume_attachment_source.v1alpha1.VolumeAttachmentSource( - inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - persistent_volume_name = '0', ), ), - ) - - def testV1alpha1VolumeAttachment(self): - """Test V1alpha1VolumeAttachment""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_volume_attachment_list.py b/kubernetes/test/test_v1alpha1_volume_attachment_list.py deleted file mode 100644 index 95ae89d2c7..0000000000 --- a/kubernetes/test/test_v1alpha1_volume_attachment_list.py +++ /dev/null @@ -1,560 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_volume_attachment_list import V1alpha1VolumeAttachmentList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1VolumeAttachmentList(unittest.TestCase): - """V1alpha1VolumeAttachmentList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1VolumeAttachmentList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_volume_attachment_list.V1alpha1VolumeAttachmentList() # noqa: E501 - if include_optional : - return V1alpha1VolumeAttachmentList( - api_version = '0', - items = [ - kubernetes.client.models.v1alpha1/volume_attachment.v1alpha1.VolumeAttachment( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1alpha1/volume_attachment_spec.v1alpha1.VolumeAttachmentSpec( - attacher = '0', - node_name = '0', - source = kubernetes.client.models.v1alpha1/volume_attachment_source.v1alpha1.VolumeAttachmentSource( - inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - persistent_volume_name = '0', ), ), - status = kubernetes.client.models.v1alpha1/volume_attachment_status.v1alpha1.VolumeAttachmentStatus( - attach_error = kubernetes.client.models.v1alpha1/volume_error.v1alpha1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - attached = True, - attachment_metadata = { - 'key' : '0' - }, - detach_error = kubernetes.client.models.v1alpha1/volume_error.v1alpha1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1alpha1VolumeAttachmentList( - items = [ - kubernetes.client.models.v1alpha1/volume_attachment.v1alpha1.VolumeAttachment( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1alpha1/volume_attachment_spec.v1alpha1.VolumeAttachmentSpec( - attacher = '0', - node_name = '0', - source = kubernetes.client.models.v1alpha1/volume_attachment_source.v1alpha1.VolumeAttachmentSource( - inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - persistent_volume_name = '0', ), ), - status = kubernetes.client.models.v1alpha1/volume_attachment_status.v1alpha1.VolumeAttachmentStatus( - attach_error = kubernetes.client.models.v1alpha1/volume_error.v1alpha1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - attached = True, - attachment_metadata = { - 'key' : '0' - }, - detach_error = kubernetes.client.models.v1alpha1/volume_error.v1alpha1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ), ) - ], - ) - - def testV1alpha1VolumeAttachmentList(self): - """Test V1alpha1VolumeAttachmentList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_volume_attachment_source.py b/kubernetes/test/test_v1alpha1_volume_attachment_source.py deleted file mode 100644 index 1ee9da55f2..0000000000 --- a/kubernetes/test/test_v1alpha1_volume_attachment_source.py +++ /dev/null @@ -1,243 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_volume_attachment_source import V1alpha1VolumeAttachmentSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1VolumeAttachmentSource(unittest.TestCase): - """V1alpha1VolumeAttachmentSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1VolumeAttachmentSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_volume_attachment_source.V1alpha1VolumeAttachmentSource() # noqa: E501 - if include_optional : - return V1alpha1VolumeAttachmentSource( - inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - persistent_volume_name = '0' - ) - else : - return V1alpha1VolumeAttachmentSource( - ) - - def testV1alpha1VolumeAttachmentSource(self): - """Test V1alpha1VolumeAttachmentSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_volume_attachment_spec.py b/kubernetes/test/test_v1alpha1_volume_attachment_spec.py deleted file mode 100644 index e992ba354a..0000000000 --- a/kubernetes/test/test_v1alpha1_volume_attachment_spec.py +++ /dev/null @@ -1,441 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_volume_attachment_spec import V1alpha1VolumeAttachmentSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1VolumeAttachmentSpec(unittest.TestCase): - """V1alpha1VolumeAttachmentSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1VolumeAttachmentSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_volume_attachment_spec.V1alpha1VolumeAttachmentSpec() # noqa: E501 - if include_optional : - return V1alpha1VolumeAttachmentSpec( - attacher = '0', - node_name = '0', - source = kubernetes.client.models.v1alpha1/volume_attachment_source.v1alpha1.VolumeAttachmentSource( - inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - persistent_volume_name = '0', ) - ) - else : - return V1alpha1VolumeAttachmentSpec( - attacher = '0', - node_name = '0', - source = kubernetes.client.models.v1alpha1/volume_attachment_source.v1alpha1.VolumeAttachmentSource( - inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - persistent_volume_name = '0', ), - ) - - def testV1alpha1VolumeAttachmentSpec(self): - """Test V1alpha1VolumeAttachmentSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_volume_attachment_status.py b/kubernetes/test/test_v1alpha1_volume_attachment_status.py deleted file mode 100644 index 3a3a8f3982..0000000000 --- a/kubernetes/test/test_v1alpha1_volume_attachment_status.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_volume_attachment_status import V1alpha1VolumeAttachmentStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1VolumeAttachmentStatus(unittest.TestCase): - """V1alpha1VolumeAttachmentStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1VolumeAttachmentStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_volume_attachment_status.V1alpha1VolumeAttachmentStatus() # noqa: E501 - if include_optional : - return V1alpha1VolumeAttachmentStatus( - attach_error = kubernetes.client.models.v1alpha1/volume_error.v1alpha1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - attached = True, - attachment_metadata = { - 'key' : '0' - }, - detach_error = kubernetes.client.models.v1alpha1/volume_error.v1alpha1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ) - else : - return V1alpha1VolumeAttachmentStatus( - attached = True, - ) - - def testV1alpha1VolumeAttachmentStatus(self): - """Test V1alpha1VolumeAttachmentStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_volume_error.py b/kubernetes/test/test_v1alpha1_volume_error.py deleted file mode 100644 index b7c816b2b2..0000000000 --- a/kubernetes/test/test_v1alpha1_volume_error.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_volume_error import V1alpha1VolumeError # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1VolumeError(unittest.TestCase): - """V1alpha1VolumeError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1VolumeError - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_volume_error.V1alpha1VolumeError() # noqa: E501 - if include_optional : - return V1alpha1VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else : - return V1alpha1VolumeError( - ) - - def testV1alpha1VolumeError(self): - """Test V1alpha1VolumeError""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_webhook.py b/kubernetes/test/test_v1alpha1_webhook.py deleted file mode 100644 index 455a77fcc8..0000000000 --- a/kubernetes/test/test_v1alpha1_webhook.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_webhook import V1alpha1Webhook # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1Webhook(unittest.TestCase): - """V1alpha1Webhook unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1Webhook - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_webhook.V1alpha1Webhook() # noqa: E501 - if include_optional : - return V1alpha1Webhook( - kubernetes.client_config = kubernetes.client.models.v1alpha1/webhook_client_config.v1alpha1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.v1alpha1/service_reference.v1alpha1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - throttle = kubernetes.client.models.v1alpha1/webhook_throttle_config.v1alpha1.WebhookThrottleConfig( - burst = 56, - qps = 56, ) - ) - else : - return V1alpha1Webhook( - kubernetes.client_config = kubernetes.client.models.v1alpha1/webhook_client_config.v1alpha1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.v1alpha1/service_reference.v1alpha1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - ) - - def testV1alpha1Webhook(self): - """Test V1alpha1Webhook""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -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 deleted file mode 100644 index f8f8a94b2a..0000000000 --- a/kubernetes/test/test_v1alpha1_webhook_client_config.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_webhook_client_config import V1alpha1WebhookClientConfig # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1WebhookClientConfig(unittest.TestCase): - """V1alpha1WebhookClientConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1WebhookClientConfig - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_webhook_client_config.V1alpha1WebhookClientConfig() # noqa: E501 - if include_optional : - return V1alpha1WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.v1alpha1/service_reference.v1alpha1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0' - ) - else : - return V1alpha1WebhookClientConfig( - ) - - def testV1alpha1WebhookClientConfig(self): - """Test V1alpha1WebhookClientConfig""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -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 deleted file mode 100644 index c8f041b898..0000000000 --- a/kubernetes/test/test_v1alpha1_webhook_throttle_config.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_webhook_throttle_config import V1alpha1WebhookThrottleConfig # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1WebhookThrottleConfig(unittest.TestCase): - """V1alpha1WebhookThrottleConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1WebhookThrottleConfig - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_webhook_throttle_config.V1alpha1WebhookThrottleConfig() # noqa: E501 - if include_optional : - return V1alpha1WebhookThrottleConfig( - burst = 56, - qps = 56 - ) - else : - return V1alpha1WebhookThrottleConfig( - ) - - def testV1alpha1WebhookThrottleConfig(self): - """Test V1alpha1WebhookThrottleConfig""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_aggregation_rule.py b/kubernetes/test/test_v1beta1_aggregation_rule.py deleted file mode 100644 index 9d0b6ccf35..0000000000 --- a/kubernetes/test/test_v1beta1_aggregation_rule.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_aggregation_rule import V1beta1AggregationRule # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1AggregationRule(unittest.TestCase): - """V1beta1AggregationRule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1AggregationRule - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_aggregation_rule.V1beta1AggregationRule() # noqa: E501 - if include_optional : - return V1beta1AggregationRule( - cluster_role_selectors = [ - kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ) - ] - ) - else : - return V1beta1AggregationRule( - ) - - def testV1beta1AggregationRule(self): - """Test V1beta1AggregationRule""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_api_service.py b/kubernetes/test/test_v1beta1_api_service.py deleted file mode 100644 index f8a82c54bf..0000000000 --- a/kubernetes/test/test_v1beta1_api_service.py +++ /dev/null @@ -1,112 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_api_service import V1beta1APIService # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1APIService(unittest.TestCase): - """V1beta1APIService unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1APIService - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_api_service.V1beta1APIService() # noqa: E501 - if include_optional : - return V1beta1APIService( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/api_service_spec.v1beta1.APIServiceSpec( - ca_bundle = 'YQ==', - group = '0', - group_priority_minimum = 56, - insecure_skip_tls_verify = True, - service = kubernetes.client.models.apiregistration/v1beta1/service_reference.apiregistration.v1beta1.ServiceReference( - name = '0', - namespace = '0', - port = 56, ), - version = '0', - version_priority = 56, ), - status = kubernetes.client.models.v1beta1/api_service_status.v1beta1.APIServiceStatus( - conditions = [ - kubernetes.client.models.v1beta1/api_service_condition.v1beta1.APIServiceCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], ) - ) - else : - return V1beta1APIService( - ) - - def testV1beta1APIService(self): - """Test V1beta1APIService""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_api_service_condition.py b/kubernetes/test/test_v1beta1_api_service_condition.py deleted file mode 100644 index 3f1817efd2..0000000000 --- a/kubernetes/test/test_v1beta1_api_service_condition.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_api_service_condition import V1beta1APIServiceCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1APIServiceCondition(unittest.TestCase): - """V1beta1APIServiceCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1APIServiceCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_api_service_condition.V1beta1APIServiceCondition() # noqa: E501 - if include_optional : - return V1beta1APIServiceCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V1beta1APIServiceCondition( - status = '0', - type = '0', - ) - - def testV1beta1APIServiceCondition(self): - """Test V1beta1APIServiceCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_api_service_list.py b/kubernetes/test/test_v1beta1_api_service_list.py deleted file mode 100644 index 414ac06c6a..0000000000 --- a/kubernetes/test/test_v1beta1_api_service_list.py +++ /dev/null @@ -1,186 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_api_service_list import V1beta1APIServiceList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1APIServiceList(unittest.TestCase): - """V1beta1APIServiceList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1APIServiceList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_api_service_list.V1beta1APIServiceList() # noqa: E501 - if include_optional : - return V1beta1APIServiceList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/api_service.v1beta1.APIService( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/api_service_spec.v1beta1.APIServiceSpec( - ca_bundle = 'YQ==', - group = '0', - group_priority_minimum = 56, - insecure_skip_tls_verify = True, - service = kubernetes.client.models.apiregistration/v1beta1/service_reference.apiregistration.v1beta1.ServiceReference( - name = '0', - namespace = '0', - port = 56, ), - version = '0', - version_priority = 56, ), - status = kubernetes.client.models.v1beta1/api_service_status.v1beta1.APIServiceStatus( - conditions = [ - kubernetes.client.models.v1beta1/api_service_condition.v1beta1.APIServiceCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1APIServiceList( - items = [ - kubernetes.client.models.v1beta1/api_service.v1beta1.APIService( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/api_service_spec.v1beta1.APIServiceSpec( - ca_bundle = 'YQ==', - group = '0', - group_priority_minimum = 56, - insecure_skip_tls_verify = True, - service = kubernetes.client.models.apiregistration/v1beta1/service_reference.apiregistration.v1beta1.ServiceReference( - name = '0', - namespace = '0', - port = 56, ), - version = '0', - version_priority = 56, ), - status = kubernetes.client.models.v1beta1/api_service_status.v1beta1.APIServiceStatus( - conditions = [ - kubernetes.client.models.v1beta1/api_service_condition.v1beta1.APIServiceCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], ), ) - ], - ) - - def testV1beta1APIServiceList(self): - """Test V1beta1APIServiceList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_api_service_spec.py b/kubernetes/test/test_v1beta1_api_service_spec.py deleted file mode 100644 index 76efcb79ff..0000000000 --- a/kubernetes/test/test_v1beta1_api_service_spec.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_api_service_spec import V1beta1APIServiceSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1APIServiceSpec(unittest.TestCase): - """V1beta1APIServiceSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1APIServiceSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_api_service_spec.V1beta1APIServiceSpec() # noqa: E501 - if include_optional : - return V1beta1APIServiceSpec( - ca_bundle = 'YQ==', - group = '0', - group_priority_minimum = 56, - insecure_skip_tls_verify = True, - service = kubernetes.client.models.apiregistration/v1beta1/service_reference.apiregistration.v1beta1.ServiceReference( - name = '0', - namespace = '0', - port = 56, ), - version = '0', - version_priority = 56 - ) - else : - return V1beta1APIServiceSpec( - group_priority_minimum = 56, - service = kubernetes.client.models.apiregistration/v1beta1/service_reference.apiregistration.v1beta1.ServiceReference( - name = '0', - namespace = '0', - port = 56, ), - version_priority = 56, - ) - - def testV1beta1APIServiceSpec(self): - """Test V1beta1APIServiceSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_api_service_status.py b/kubernetes/test/test_v1beta1_api_service_status.py deleted file mode 100644 index 97e0ed61d6..0000000000 --- a/kubernetes/test/test_v1beta1_api_service_status.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_api_service_status import V1beta1APIServiceStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1APIServiceStatus(unittest.TestCase): - """V1beta1APIServiceStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1APIServiceStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_api_service_status.V1beta1APIServiceStatus() # noqa: E501 - if include_optional : - return V1beta1APIServiceStatus( - conditions = [ - kubernetes.client.models.v1beta1/api_service_condition.v1beta1.APIServiceCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ] - ) - else : - return V1beta1APIServiceStatus( - ) - - def testV1beta1APIServiceStatus(self): - """Test V1beta1APIServiceStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_certificate_signing_request.py b/kubernetes/test/test_v1beta1_certificate_signing_request.py deleted file mode 100644 index 336aa97083..0000000000 --- a/kubernetes/test/test_v1beta1_certificate_signing_request.py +++ /dev/null @@ -1,116 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_certificate_signing_request import V1beta1CertificateSigningRequest # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CertificateSigningRequest(unittest.TestCase): - """V1beta1CertificateSigningRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CertificateSigningRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_certificate_signing_request.V1beta1CertificateSigningRequest() # noqa: E501 - if include_optional : - return V1beta1CertificateSigningRequest( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/certificate_signing_request_spec.v1beta1.CertificateSigningRequestSpec( - extra = { - 'key' : [ - '0' - ] - }, - groups = [ - '0' - ], - request = 'YQ==', - uid = '0', - usages = [ - '0' - ], - username = '0', ), - status = kubernetes.client.models.v1beta1/certificate_signing_request_status.v1beta1.CertificateSigningRequestStatus( - certificate = 'YQ==', - conditions = [ - kubernetes.client.models.v1beta1/certificate_signing_request_condition.v1beta1.CertificateSigningRequestCondition( - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - type = '0', ) - ], ) - ) - else : - return V1beta1CertificateSigningRequest( - ) - - def testV1beta1CertificateSigningRequest(self): - """Test V1beta1CertificateSigningRequest""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_certificate_signing_request_condition.py b/kubernetes/test/test_v1beta1_certificate_signing_request_condition.py deleted file mode 100644 index bbc0010f05..0000000000 --- a/kubernetes/test/test_v1beta1_certificate_signing_request_condition.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_certificate_signing_request_condition import V1beta1CertificateSigningRequestCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CertificateSigningRequestCondition(unittest.TestCase): - """V1beta1CertificateSigningRequestCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CertificateSigningRequestCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_certificate_signing_request_condition.V1beta1CertificateSigningRequestCondition() # noqa: E501 - if include_optional : - return V1beta1CertificateSigningRequestCondition( - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - type = '0' - ) - else : - return V1beta1CertificateSigningRequestCondition( - type = '0', - ) - - def testV1beta1CertificateSigningRequestCondition(self): - """Test V1beta1CertificateSigningRequestCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_certificate_signing_request_list.py b/kubernetes/test/test_v1beta1_certificate_signing_request_list.py deleted file mode 100644 index 33525dd09e..0000000000 --- a/kubernetes/test/test_v1beta1_certificate_signing_request_list.py +++ /dev/null @@ -1,194 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_certificate_signing_request_list import V1beta1CertificateSigningRequestList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CertificateSigningRequestList(unittest.TestCase): - """V1beta1CertificateSigningRequestList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CertificateSigningRequestList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_certificate_signing_request_list.V1beta1CertificateSigningRequestList() # noqa: E501 - if include_optional : - return V1beta1CertificateSigningRequestList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/certificate_signing_request.v1beta1.CertificateSigningRequest( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/certificate_signing_request_spec.v1beta1.CertificateSigningRequestSpec( - extra = { - 'key' : [ - '0' - ] - }, - groups = [ - '0' - ], - request = 'YQ==', - uid = '0', - usages = [ - '0' - ], - username = '0', ), - status = kubernetes.client.models.v1beta1/certificate_signing_request_status.v1beta1.CertificateSigningRequestStatus( - certificate = 'YQ==', - conditions = [ - kubernetes.client.models.v1beta1/certificate_signing_request_condition.v1beta1.CertificateSigningRequestCondition( - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - type = '0', ) - ], ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1CertificateSigningRequestList( - items = [ - kubernetes.client.models.v1beta1/certificate_signing_request.v1beta1.CertificateSigningRequest( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/certificate_signing_request_spec.v1beta1.CertificateSigningRequestSpec( - extra = { - 'key' : [ - '0' - ] - }, - groups = [ - '0' - ], - request = 'YQ==', - uid = '0', - usages = [ - '0' - ], - username = '0', ), - status = kubernetes.client.models.v1beta1/certificate_signing_request_status.v1beta1.CertificateSigningRequestStatus( - certificate = 'YQ==', - conditions = [ - kubernetes.client.models.v1beta1/certificate_signing_request_condition.v1beta1.CertificateSigningRequestCondition( - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - type = '0', ) - ], ), ) - ], - ) - - def testV1beta1CertificateSigningRequestList(self): - """Test V1beta1CertificateSigningRequestList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_certificate_signing_request_spec.py b/kubernetes/test/test_v1beta1_certificate_signing_request_spec.py deleted file mode 100644 index 8f5fc89e13..0000000000 --- a/kubernetes/test/test_v1beta1_certificate_signing_request_spec.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_certificate_signing_request_spec import V1beta1CertificateSigningRequestSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CertificateSigningRequestSpec(unittest.TestCase): - """V1beta1CertificateSigningRequestSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CertificateSigningRequestSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_certificate_signing_request_spec.V1beta1CertificateSigningRequestSpec() # noqa: E501 - if include_optional : - return V1beta1CertificateSigningRequestSpec( - extra = { - 'key' : [ - '0' - ] - }, - groups = [ - '0' - ], - request = 'YQ==', - uid = '0', - usages = [ - '0' - ], - username = '0' - ) - else : - return V1beta1CertificateSigningRequestSpec( - request = 'YQ==', - ) - - def testV1beta1CertificateSigningRequestSpec(self): - """Test V1beta1CertificateSigningRequestSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_certificate_signing_request_status.py b/kubernetes/test/test_v1beta1_certificate_signing_request_status.py deleted file mode 100644 index b359dbb6b2..0000000000 --- a/kubernetes/test/test_v1beta1_certificate_signing_request_status.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_certificate_signing_request_status import V1beta1CertificateSigningRequestStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CertificateSigningRequestStatus(unittest.TestCase): - """V1beta1CertificateSigningRequestStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CertificateSigningRequestStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_certificate_signing_request_status.V1beta1CertificateSigningRequestStatus() # noqa: E501 - if include_optional : - return V1beta1CertificateSigningRequestStatus( - certificate = 'YQ==', - conditions = [ - kubernetes.client.models.v1beta1/certificate_signing_request_condition.v1beta1.CertificateSigningRequestCondition( - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - type = '0', ) - ] - ) - else : - return V1beta1CertificateSigningRequestStatus( - ) - - def testV1beta1CertificateSigningRequestStatus(self): - """Test V1beta1CertificateSigningRequestStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_cluster_role.py b/kubernetes/test/test_v1beta1_cluster_role.py deleted file mode 100644 index bb865fd889..0000000000 --- a/kubernetes/test/test_v1beta1_cluster_role.py +++ /dev/null @@ -1,125 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_cluster_role import V1beta1ClusterRole # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1ClusterRole(unittest.TestCase): - """V1beta1ClusterRole unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1ClusterRole - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_cluster_role.V1beta1ClusterRole() # noqa: E501 - if include_optional : - return V1beta1ClusterRole( - aggregation_rule = kubernetes.client.models.v1beta1/aggregation_rule.v1beta1.AggregationRule( - cluster_role_selectors = [ - kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ) - ], ), - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - rules = [ - kubernetes.client.models.v1beta1/policy_rule.v1beta1.PolicyRule( - api_groups = [ - '0' - ], - non_resource_ur_ls = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ] - ) - else : - return V1beta1ClusterRole( - ) - - def testV1beta1ClusterRole(self): - """Test V1beta1ClusterRole""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_cluster_role_binding.py b/kubernetes/test/test_v1beta1_cluster_role_binding.py deleted file mode 100644 index 3de5ff5a02..0000000000 --- a/kubernetes/test/test_v1beta1_cluster_role_binding.py +++ /dev/null @@ -1,107 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_cluster_role_binding import V1beta1ClusterRoleBinding # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1ClusterRoleBinding(unittest.TestCase): - """V1beta1ClusterRoleBinding unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1ClusterRoleBinding - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_cluster_role_binding.V1beta1ClusterRoleBinding() # noqa: E501 - if include_optional : - return V1beta1ClusterRoleBinding( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - role_ref = kubernetes.client.models.v1beta1/role_ref.v1beta1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - subjects = [ - kubernetes.client.models.v1beta1/subject.v1beta1.Subject( - api_group = '0', - kind = '0', - name = '0', - namespace = '0', ) - ] - ) - else : - return V1beta1ClusterRoleBinding( - role_ref = kubernetes.client.models.v1beta1/role_ref.v1beta1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - ) - - def testV1beta1ClusterRoleBinding(self): - """Test V1beta1ClusterRoleBinding""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_cluster_role_binding_list.py b/kubernetes/test/test_v1beta1_cluster_role_binding_list.py deleted file mode 100644 index fea01f203d..0000000000 --- a/kubernetes/test/test_v1beta1_cluster_role_binding_list.py +++ /dev/null @@ -1,168 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_cluster_role_binding_list import V1beta1ClusterRoleBindingList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1ClusterRoleBindingList(unittest.TestCase): - """V1beta1ClusterRoleBindingList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1ClusterRoleBindingList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_cluster_role_binding_list.V1beta1ClusterRoleBindingList() # noqa: E501 - if include_optional : - return V1beta1ClusterRoleBindingList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/cluster_role_binding.v1beta1.ClusterRoleBinding( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - role_ref = kubernetes.client.models.v1beta1/role_ref.v1beta1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - subjects = [ - kubernetes.client.models.v1beta1/subject.v1beta1.Subject( - api_group = '0', - kind = '0', - name = '0', - namespace = '0', ) - ], ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1ClusterRoleBindingList( - items = [ - kubernetes.client.models.v1beta1/cluster_role_binding.v1beta1.ClusterRoleBinding( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - role_ref = kubernetes.client.models.v1beta1/role_ref.v1beta1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - subjects = [ - kubernetes.client.models.v1beta1/subject.v1beta1.Subject( - api_group = '0', - kind = '0', - name = '0', - namespace = '0', ) - ], ) - ], - ) - - def testV1beta1ClusterRoleBindingList(self): - """Test V1beta1ClusterRoleBindingList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_cluster_role_list.py b/kubernetes/test/test_v1beta1_cluster_role_list.py deleted file mode 100644 index bdba9fb625..0000000000 --- a/kubernetes/test/test_v1beta1_cluster_role_list.py +++ /dev/null @@ -1,212 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_cluster_role_list import V1beta1ClusterRoleList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1ClusterRoleList(unittest.TestCase): - """V1beta1ClusterRoleList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1ClusterRoleList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_cluster_role_list.V1beta1ClusterRoleList() # noqa: E501 - if include_optional : - return V1beta1ClusterRoleList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/cluster_role.v1beta1.ClusterRole( - aggregation_rule = kubernetes.client.models.v1beta1/aggregation_rule.v1beta1.AggregationRule( - cluster_role_selectors = [ - kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ) - ], ), - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - rules = [ - kubernetes.client.models.v1beta1/policy_rule.v1beta1.PolicyRule( - api_groups = [ - '0' - ], - non_resource_ur_ls = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ], ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1ClusterRoleList( - items = [ - kubernetes.client.models.v1beta1/cluster_role.v1beta1.ClusterRole( - aggregation_rule = kubernetes.client.models.v1beta1/aggregation_rule.v1beta1.AggregationRule( - cluster_role_selectors = [ - kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ) - ], ), - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - rules = [ - kubernetes.client.models.v1beta1/policy_rule.v1beta1.PolicyRule( - api_groups = [ - '0' - ], - non_resource_ur_ls = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ], ) - ], - ) - - def testV1beta1ClusterRoleList(self): - """Test V1beta1ClusterRoleList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_controller_revision.py b/kubernetes/test/test_v1beta1_controller_revision.py deleted file mode 100644 index e93b71be83..0000000000 --- a/kubernetes/test/test_v1beta1_controller_revision.py +++ /dev/null @@ -1,95 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_controller_revision import V1beta1ControllerRevision # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1ControllerRevision(unittest.TestCase): - """V1beta1ControllerRevision unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1ControllerRevision - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_controller_revision.V1beta1ControllerRevision() # noqa: E501 - if include_optional : - return V1beta1ControllerRevision( - api_version = '0', - data = None, - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - revision = 56 - ) - else : - return V1beta1ControllerRevision( - revision = 56, - ) - - def testV1beta1ControllerRevision(self): - """Test V1beta1ControllerRevision""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_controller_revision_list.py b/kubernetes/test/test_v1beta1_controller_revision_list.py deleted file mode 100644 index b5d8a25af0..0000000000 --- a/kubernetes/test/test_v1beta1_controller_revision_list.py +++ /dev/null @@ -1,150 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_controller_revision_list import V1beta1ControllerRevisionList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1ControllerRevisionList(unittest.TestCase): - """V1beta1ControllerRevisionList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1ControllerRevisionList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_controller_revision_list.V1beta1ControllerRevisionList() # noqa: E501 - if include_optional : - return V1beta1ControllerRevisionList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/controller_revision.v1beta1.ControllerRevision( - api_version = '0', - data = kubernetes.client.models.data.data(), - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - revision = 56, ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1ControllerRevisionList( - items = [ - kubernetes.client.models.v1beta1/controller_revision.v1beta1.ControllerRevision( - api_version = '0', - data = kubernetes.client.models.data.data(), - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - revision = 56, ) - ], - ) - - def testV1beta1ControllerRevisionList(self): - """Test V1beta1ControllerRevisionList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_cron_job.py b/kubernetes/test/test_v1beta1_cron_job.py deleted file mode 100644 index 205c469f09..0000000000 --- a/kubernetes/test/test_v1beta1_cron_job.py +++ /dev/null @@ -1,171 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_cron_job import V1beta1CronJob # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CronJob(unittest.TestCase): - """V1beta1CronJob unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CronJob - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_cron_job.V1beta1CronJob() # noqa: E501 - if include_optional : - return V1beta1CronJob( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/cron_job_spec.v1beta1.CronJobSpec( - concurrency_policy = '0', - failed_jobs_history_limit = 56, - job_template = kubernetes.client.models.v1beta1/job_template_spec.v1beta1.JobTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/job_spec.v1.JobSpec( - active_deadline_seconds = 56, - backoff_limit = 56, - completions = 56, - manual_selector = True, - parallelism = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), - ttl_seconds_after_finished = 56, ), ), - schedule = '0', - starting_deadline_seconds = 56, - successful_jobs_history_limit = 56, - suspend = True, ), - status = kubernetes.client.models.v1beta1/cron_job_status.v1beta1.CronJobStatus( - active = [ - kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ) - ], - last_schedule_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ) - else : - return V1beta1CronJob( - ) - - def testV1beta1CronJob(self): - """Test V1beta1CronJob""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_cron_job_list.py b/kubernetes/test/test_v1beta1_cron_job_list.py deleted file mode 100644 index f7cf69bb80..0000000000 --- a/kubernetes/test/test_v1beta1_cron_job_list.py +++ /dev/null @@ -1,186 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_cron_job_list import V1beta1CronJobList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CronJobList(unittest.TestCase): - """V1beta1CronJobList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CronJobList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_cron_job_list.V1beta1CronJobList() # noqa: E501 - if include_optional : - return V1beta1CronJobList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/cron_job.v1beta1.CronJob( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/cron_job_spec.v1beta1.CronJobSpec( - concurrency_policy = '0', - failed_jobs_history_limit = 56, - job_template = kubernetes.client.models.v1beta1/job_template_spec.v1beta1.JobTemplateSpec(), - schedule = '0', - starting_deadline_seconds = 56, - successful_jobs_history_limit = 56, - suspend = True, ), - status = kubernetes.client.models.v1beta1/cron_job_status.v1beta1.CronJobStatus( - active = [ - kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ) - ], - last_schedule_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1CronJobList( - items = [ - kubernetes.client.models.v1beta1/cron_job.v1beta1.CronJob( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/cron_job_spec.v1beta1.CronJobSpec( - concurrency_policy = '0', - failed_jobs_history_limit = 56, - job_template = kubernetes.client.models.v1beta1/job_template_spec.v1beta1.JobTemplateSpec(), - schedule = '0', - starting_deadline_seconds = 56, - successful_jobs_history_limit = 56, - suspend = True, ), - status = kubernetes.client.models.v1beta1/cron_job_status.v1beta1.CronJobStatus( - active = [ - kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ) - ], - last_schedule_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ) - ], - ) - - def testV1beta1CronJobList(self): - """Test V1beta1CronJobList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_cron_job_spec.py b/kubernetes/test/test_v1beta1_cron_job_spec.py deleted file mode 100644 index 727daf000b..0000000000 --- a/kubernetes/test/test_v1beta1_cron_job_spec.py +++ /dev/null @@ -1,178 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_cron_job_spec import V1beta1CronJobSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CronJobSpec(unittest.TestCase): - """V1beta1CronJobSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CronJobSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_cron_job_spec.V1beta1CronJobSpec() # noqa: E501 - if include_optional : - return V1beta1CronJobSpec( - concurrency_policy = '0', - failed_jobs_history_limit = 56, - job_template = kubernetes.client.models.v1beta1/job_template_spec.v1beta1.JobTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/job_spec.v1.JobSpec( - active_deadline_seconds = 56, - backoff_limit = 56, - completions = 56, - manual_selector = True, - parallelism = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), - ttl_seconds_after_finished = 56, ), ), - schedule = '0', - starting_deadline_seconds = 56, - successful_jobs_history_limit = 56, - suspend = True - ) - else : - return V1beta1CronJobSpec( - job_template = kubernetes.client.models.v1beta1/job_template_spec.v1beta1.JobTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/job_spec.v1.JobSpec( - active_deadline_seconds = 56, - backoff_limit = 56, - completions = 56, - manual_selector = True, - parallelism = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), - ttl_seconds_after_finished = 56, ), ), - schedule = '0', - ) - - def testV1beta1CronJobSpec(self): - """Test V1beta1CronJobSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_cron_job_status.py b/kubernetes/test/test_v1beta1_cron_job_status.py deleted file mode 100644 index 363ae32021..0000000000 --- a/kubernetes/test/test_v1beta1_cron_job_status.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_cron_job_status import V1beta1CronJobStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CronJobStatus(unittest.TestCase): - """V1beta1CronJobStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CronJobStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_cron_job_status.V1beta1CronJobStatus() # noqa: E501 - if include_optional : - return V1beta1CronJobStatus( - active = [ - kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ) - ], - last_schedule_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else : - return V1beta1CronJobStatus( - ) - - def testV1beta1CronJobStatus(self): - """Test V1beta1CronJobStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_csi_driver.py b/kubernetes/test/test_v1beta1_csi_driver.py deleted file mode 100644 index fc96f48755..0000000000 --- a/kubernetes/test/test_v1beta1_csi_driver.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_csi_driver import V1beta1CSIDriver # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CSIDriver(unittest.TestCase): - """V1beta1CSIDriver unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CSIDriver - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_csi_driver.V1beta1CSIDriver() # noqa: E501 - if include_optional : - return V1beta1CSIDriver( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/csi_driver_spec.v1beta1.CSIDriverSpec( - attach_required = True, - pod_info_on_mount = True, - volume_lifecycle_modes = [ - '0' - ], ) - ) - else : - return V1beta1CSIDriver( - spec = kubernetes.client.models.v1beta1/csi_driver_spec.v1beta1.CSIDriverSpec( - attach_required = True, - pod_info_on_mount = True, - volume_lifecycle_modes = [ - '0' - ], ), - ) - - def testV1beta1CSIDriver(self): - """Test V1beta1CSIDriver""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_csi_driver_list.py b/kubernetes/test/test_v1beta1_csi_driver_list.py deleted file mode 100644 index d0a63b388d..0000000000 --- a/kubernetes/test/test_v1beta1_csi_driver_list.py +++ /dev/null @@ -1,158 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_csi_driver_list import V1beta1CSIDriverList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CSIDriverList(unittest.TestCase): - """V1beta1CSIDriverList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CSIDriverList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_csi_driver_list.V1beta1CSIDriverList() # noqa: E501 - if include_optional : - return V1beta1CSIDriverList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/csi_driver.v1beta1.CSIDriver( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/csi_driver_spec.v1beta1.CSIDriverSpec( - attach_required = True, - pod_info_on_mount = True, - volume_lifecycle_modes = [ - '0' - ], ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1CSIDriverList( - items = [ - kubernetes.client.models.v1beta1/csi_driver.v1beta1.CSIDriver( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/csi_driver_spec.v1beta1.CSIDriverSpec( - attach_required = True, - pod_info_on_mount = True, - volume_lifecycle_modes = [ - '0' - ], ), ) - ], - ) - - def testV1beta1CSIDriverList(self): - """Test V1beta1CSIDriverList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_csi_driver_spec.py b/kubernetes/test/test_v1beta1_csi_driver_spec.py deleted file mode 100644 index 490ace71d2..0000000000 --- a/kubernetes/test/test_v1beta1_csi_driver_spec.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_csi_driver_spec import V1beta1CSIDriverSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CSIDriverSpec(unittest.TestCase): - """V1beta1CSIDriverSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CSIDriverSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_csi_driver_spec.V1beta1CSIDriverSpec() # noqa: E501 - if include_optional : - return V1beta1CSIDriverSpec( - attach_required = True, - pod_info_on_mount = True, - volume_lifecycle_modes = [ - '0' - ] - ) - else : - return V1beta1CSIDriverSpec( - ) - - def testV1beta1CSIDriverSpec(self): - """Test V1beta1CSIDriverSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_csi_node.py b/kubernetes/test/test_v1beta1_csi_node.py deleted file mode 100644 index 6808c26975..0000000000 --- a/kubernetes/test/test_v1beta1_csi_node.py +++ /dev/null @@ -1,114 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_csi_node import V1beta1CSINode # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CSINode(unittest.TestCase): - """V1beta1CSINode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CSINode - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_csi_node.V1beta1CSINode() # noqa: E501 - if include_optional : - return V1beta1CSINode( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/csi_node_spec.v1beta1.CSINodeSpec( - drivers = [ - kubernetes.client.models.v1beta1/csi_node_driver.v1beta1.CSINodeDriver( - allocatable = kubernetes.client.models.v1beta1/volume_node_resources.v1beta1.VolumeNodeResources( - count = 56, ), - name = '0', - node_id = '0', - topology_keys = [ - '0' - ], ) - ], ) - ) - else : - return V1beta1CSINode( - spec = kubernetes.client.models.v1beta1/csi_node_spec.v1beta1.CSINodeSpec( - drivers = [ - kubernetes.client.models.v1beta1/csi_node_driver.v1beta1.CSINodeDriver( - allocatable = kubernetes.client.models.v1beta1/volume_node_resources.v1beta1.VolumeNodeResources( - count = 56, ), - name = '0', - node_id = '0', - topology_keys = [ - '0' - ], ) - ], ), - ) - - def testV1beta1CSINode(self): - """Test V1beta1CSINode""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_csi_node_driver.py b/kubernetes/test/test_v1beta1_csi_node_driver.py deleted file mode 100644 index 993f7daeb5..0000000000 --- a/kubernetes/test/test_v1beta1_csi_node_driver.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_csi_node_driver import V1beta1CSINodeDriver # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CSINodeDriver(unittest.TestCase): - """V1beta1CSINodeDriver unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CSINodeDriver - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_csi_node_driver.V1beta1CSINodeDriver() # noqa: E501 - if include_optional : - return V1beta1CSINodeDriver( - allocatable = kubernetes.client.models.v1beta1/volume_node_resources.v1beta1.VolumeNodeResources( - count = 56, ), - name = '0', - node_id = '0', - topology_keys = [ - '0' - ] - ) - else : - return V1beta1CSINodeDriver( - name = '0', - node_id = '0', - ) - - def testV1beta1CSINodeDriver(self): - """Test V1beta1CSINodeDriver""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_csi_node_list.py b/kubernetes/test/test_v1beta1_csi_node_list.py deleted file mode 100644 index 328ce463e9..0000000000 --- a/kubernetes/test/test_v1beta1_csi_node_list.py +++ /dev/null @@ -1,168 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_csi_node_list import V1beta1CSINodeList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CSINodeList(unittest.TestCase): - """V1beta1CSINodeList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CSINodeList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_csi_node_list.V1beta1CSINodeList() # noqa: E501 - if include_optional : - return V1beta1CSINodeList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/csi_node.v1beta1.CSINode( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/csi_node_spec.v1beta1.CSINodeSpec( - drivers = [ - kubernetes.client.models.v1beta1/csi_node_driver.v1beta1.CSINodeDriver( - allocatable = kubernetes.client.models.v1beta1/volume_node_resources.v1beta1.VolumeNodeResources( - count = 56, ), - name = '0', - node_id = '0', - topology_keys = [ - '0' - ], ) - ], ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1CSINodeList( - items = [ - kubernetes.client.models.v1beta1/csi_node.v1beta1.CSINode( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/csi_node_spec.v1beta1.CSINodeSpec( - drivers = [ - kubernetes.client.models.v1beta1/csi_node_driver.v1beta1.CSINodeDriver( - allocatable = kubernetes.client.models.v1beta1/volume_node_resources.v1beta1.VolumeNodeResources( - count = 56, ), - name = '0', - node_id = '0', - topology_keys = [ - '0' - ], ) - ], ), ) - ], - ) - - def testV1beta1CSINodeList(self): - """Test V1beta1CSINodeList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_csi_node_spec.py b/kubernetes/test/test_v1beta1_csi_node_spec.py deleted file mode 100644 index 917045c7cb..0000000000 --- a/kubernetes/test/test_v1beta1_csi_node_spec.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_csi_node_spec import V1beta1CSINodeSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CSINodeSpec(unittest.TestCase): - """V1beta1CSINodeSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CSINodeSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_csi_node_spec.V1beta1CSINodeSpec() # noqa: E501 - if include_optional : - return V1beta1CSINodeSpec( - drivers = [ - kubernetes.client.models.v1beta1/csi_node_driver.v1beta1.CSINodeDriver( - allocatable = kubernetes.client.models.v1beta1/volume_node_resources.v1beta1.VolumeNodeResources( - count = 56, ), - name = '0', - node_id = '0', - topology_keys = [ - '0' - ], ) - ] - ) - else : - return V1beta1CSINodeSpec( - drivers = [ - kubernetes.client.models.v1beta1/csi_node_driver.v1beta1.CSINodeDriver( - allocatable = kubernetes.client.models.v1beta1/volume_node_resources.v1beta1.VolumeNodeResources( - count = 56, ), - name = '0', - node_id = '0', - topology_keys = [ - '0' - ], ) - ], - ) - - def testV1beta1CSINodeSpec(self): - """Test V1beta1CSINodeSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_custom_resource_column_definition.py b/kubernetes/test/test_v1beta1_custom_resource_column_definition.py deleted file mode 100644 index f722bb782b..0000000000 --- a/kubernetes/test/test_v1beta1_custom_resource_column_definition.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_custom_resource_column_definition import V1beta1CustomResourceColumnDefinition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CustomResourceColumnDefinition(unittest.TestCase): - """V1beta1CustomResourceColumnDefinition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CustomResourceColumnDefinition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_custom_resource_column_definition.V1beta1CustomResourceColumnDefinition() # noqa: E501 - if include_optional : - return V1beta1CustomResourceColumnDefinition( - json_path = '0', - description = '0', - format = '0', - name = '0', - priority = 56, - type = '0' - ) - else : - return V1beta1CustomResourceColumnDefinition( - json_path = '0', - name = '0', - type = '0', - ) - - def testV1beta1CustomResourceColumnDefinition(self): - """Test V1beta1CustomResourceColumnDefinition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_custom_resource_conversion.py b/kubernetes/test/test_v1beta1_custom_resource_conversion.py deleted file mode 100644 index 95c24bb1f0..0000000000 --- a/kubernetes/test/test_v1beta1_custom_resource_conversion.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_custom_resource_conversion import V1beta1CustomResourceConversion # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CustomResourceConversion(unittest.TestCase): - """V1beta1CustomResourceConversion unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CustomResourceConversion - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_custom_resource_conversion.V1beta1CustomResourceConversion() # noqa: E501 - if include_optional : - return V1beta1CustomResourceConversion( - conversion_review_versions = [ - '0' - ], - strategy = '0', - webhook_client_config = kubernetes.client.models.apiextensions/v1beta1/webhook_client_config.apiextensions.v1beta1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.apiextensions/v1beta1/service_reference.apiextensions.v1beta1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ) - ) - else : - return V1beta1CustomResourceConversion( - strategy = '0', - ) - - def testV1beta1CustomResourceConversion(self): - """Test V1beta1CustomResourceConversion""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -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 deleted file mode 100644 index dec298cac1..0000000000 --- a/kubernetes/test/test_v1beta1_custom_resource_definition.py +++ /dev/null @@ -1,2281 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_custom_resource_definition import V1beta1CustomResourceDefinition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CustomResourceDefinition(unittest.TestCase): - """V1beta1CustomResourceDefinition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CustomResourceDefinition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_custom_resource_definition.V1beta1CustomResourceDefinition() # noqa: E501 - if include_optional : - return V1beta1CustomResourceDefinition( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/custom_resource_definition_spec.v1beta1.CustomResourceDefinitionSpec( - additional_printer_columns = [ - kubernetes.client.models.v1beta1/custom_resource_column_definition.v1beta1.CustomResourceColumnDefinition( - json_path = '0', - description = '0', - format = '0', - name = '0', - priority = 56, - type = '0', ) - ], - conversion = kubernetes.client.models.v1beta1/custom_resource_conversion.v1beta1.CustomResourceConversion( - conversion_review_versions = [ - '0' - ], - strategy = '0', - webhook_client_config = kubernetes.client.models.apiextensions/v1beta1/webhook_client_config.apiextensions.v1beta1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.apiextensions/v1beta1/service_reference.apiextensions.v1beta1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), ), - group = '0', - names = kubernetes.client.models.v1beta1/custom_resource_definition_names.v1beta1.CustomResourceDefinitionNames( - categories = [ - '0' - ], - kind = '0', - list_kind = '0', - plural = '0', - short_names = [ - '0' - ], - singular = '0', ), - preserve_unknown_fields = True, - scope = '0', - subresources = kubernetes.client.models.v1beta1/custom_resource_subresources.v1beta1.CustomResourceSubresources( - scale = kubernetes.client.models.v1beta1/custom_resource_subresource_scale.v1beta1.CustomResourceSubresourceScale( - label_selector_path = '0', - spec_replicas_path = '0', - status_replicas_path = '0', ), - status = kubernetes.client.models.status.status(), ), - validation = kubernetes.client.models.v1beta1/custom_resource_validation.v1beta1.CustomResourceValidation( - open_apiv3_schema = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), ), - version = '0', - versions = [ - kubernetes.client.models.v1beta1/custom_resource_definition_version.v1beta1.CustomResourceDefinitionVersion( - name = '0', - schema = kubernetes.client.models.v1beta1/custom_resource_validation.v1beta1.CustomResourceValidation(), - served = True, - storage = True, ) - ], ), - status = kubernetes.client.models.v1beta1/custom_resource_definition_status.v1beta1.CustomResourceDefinitionStatus( - accepted_names = kubernetes.client.models.v1beta1/custom_resource_definition_names.v1beta1.CustomResourceDefinitionNames( - categories = [ - '0' - ], - kind = '0', - list_kind = '0', - plural = '0', - short_names = [ - '0' - ], - singular = '0', ), - conditions = [ - kubernetes.client.models.v1beta1/custom_resource_definition_condition.v1beta1.CustomResourceDefinitionCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - stored_versions = [ - '0' - ], ) - ) - else : - return V1beta1CustomResourceDefinition( - spec = kubernetes.client.models.v1beta1/custom_resource_definition_spec.v1beta1.CustomResourceDefinitionSpec( - additional_printer_columns = [ - kubernetes.client.models.v1beta1/custom_resource_column_definition.v1beta1.CustomResourceColumnDefinition( - json_path = '0', - description = '0', - format = '0', - name = '0', - priority = 56, - type = '0', ) - ], - conversion = kubernetes.client.models.v1beta1/custom_resource_conversion.v1beta1.CustomResourceConversion( - conversion_review_versions = [ - '0' - ], - strategy = '0', - webhook_client_config = kubernetes.client.models.apiextensions/v1beta1/webhook_client_config.apiextensions.v1beta1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.apiextensions/v1beta1/service_reference.apiextensions.v1beta1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), ), - group = '0', - names = kubernetes.client.models.v1beta1/custom_resource_definition_names.v1beta1.CustomResourceDefinitionNames( - categories = [ - '0' - ], - kind = '0', - list_kind = '0', - plural = '0', - short_names = [ - '0' - ], - singular = '0', ), - preserve_unknown_fields = True, - scope = '0', - subresources = kubernetes.client.models.v1beta1/custom_resource_subresources.v1beta1.CustomResourceSubresources( - scale = kubernetes.client.models.v1beta1/custom_resource_subresource_scale.v1beta1.CustomResourceSubresourceScale( - label_selector_path = '0', - spec_replicas_path = '0', - status_replicas_path = '0', ), - status = kubernetes.client.models.status.status(), ), - validation = kubernetes.client.models.v1beta1/custom_resource_validation.v1beta1.CustomResourceValidation( - open_apiv3_schema = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), ), - version = '0', - versions = [ - kubernetes.client.models.v1beta1/custom_resource_definition_version.v1beta1.CustomResourceDefinitionVersion( - name = '0', - schema = kubernetes.client.models.v1beta1/custom_resource_validation.v1beta1.CustomResourceValidation(), - served = True, - storage = True, ) - ], ), - ) - - def testV1beta1CustomResourceDefinition(self): - """Test V1beta1CustomResourceDefinition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_custom_resource_definition_condition.py b/kubernetes/test/test_v1beta1_custom_resource_definition_condition.py deleted file mode 100644 index 37b2133cf7..0000000000 --- a/kubernetes/test/test_v1beta1_custom_resource_definition_condition.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_custom_resource_definition_condition import V1beta1CustomResourceDefinitionCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CustomResourceDefinitionCondition(unittest.TestCase): - """V1beta1CustomResourceDefinitionCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CustomResourceDefinitionCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_custom_resource_definition_condition.V1beta1CustomResourceDefinitionCondition() # noqa: E501 - if include_optional : - return V1beta1CustomResourceDefinitionCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V1beta1CustomResourceDefinitionCondition( - status = '0', - type = '0', - ) - - def testV1beta1CustomResourceDefinitionCondition(self): - """Test V1beta1CustomResourceDefinitionCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_custom_resource_definition_list.py b/kubernetes/test/test_v1beta1_custom_resource_definition_list.py deleted file mode 100644 index 2d1d6458b4..0000000000 --- a/kubernetes/test/test_v1beta1_custom_resource_definition_list.py +++ /dev/null @@ -1,2346 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_custom_resource_definition_list import V1beta1CustomResourceDefinitionList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CustomResourceDefinitionList(unittest.TestCase): - """V1beta1CustomResourceDefinitionList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CustomResourceDefinitionList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_custom_resource_definition_list.V1beta1CustomResourceDefinitionList() # noqa: E501 - if include_optional : - return V1beta1CustomResourceDefinitionList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/custom_resource_definition.v1beta1.CustomResourceDefinition( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/custom_resource_definition_spec.v1beta1.CustomResourceDefinitionSpec( - additional_printer_columns = [ - kubernetes.client.models.v1beta1/custom_resource_column_definition.v1beta1.CustomResourceColumnDefinition( - json_path = '0', - description = '0', - format = '0', - name = '0', - priority = 56, - type = '0', ) - ], - conversion = kubernetes.client.models.v1beta1/custom_resource_conversion.v1beta1.CustomResourceConversion( - conversion_review_versions = [ - '0' - ], - strategy = '0', - webhook_client_config = kubernetes.client.models.apiextensions/v1beta1/webhook_client_config.apiextensions.v1beta1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.apiextensions/v1beta1/service_reference.apiextensions.v1beta1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), ), - group = '0', - names = kubernetes.client.models.v1beta1/custom_resource_definition_names.v1beta1.CustomResourceDefinitionNames( - categories = [ - '0' - ], - kind = '0', - list_kind = '0', - plural = '0', - short_names = [ - '0' - ], - singular = '0', ), - preserve_unknown_fields = True, - scope = '0', - subresources = kubernetes.client.models.v1beta1/custom_resource_subresources.v1beta1.CustomResourceSubresources( - scale = kubernetes.client.models.v1beta1/custom_resource_subresource_scale.v1beta1.CustomResourceSubresourceScale( - label_selector_path = '0', - spec_replicas_path = '0', - status_replicas_path = '0', ), - status = kubernetes.client.models.status.status(), ), - validation = kubernetes.client.models.v1beta1/custom_resource_validation.v1beta1.CustomResourceValidation( - open_apiv3_schema = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), ), - version = '0', - versions = [ - kubernetes.client.models.v1beta1/custom_resource_definition_version.v1beta1.CustomResourceDefinitionVersion( - name = '0', - schema = kubernetes.client.models.v1beta1/custom_resource_validation.v1beta1.CustomResourceValidation(), - served = True, - storage = True, ) - ], ), - status = kubernetes.client.models.v1beta1/custom_resource_definition_status.v1beta1.CustomResourceDefinitionStatus( - accepted_names = kubernetes.client.models.v1beta1/custom_resource_definition_names.v1beta1.CustomResourceDefinitionNames( - kind = '0', - list_kind = '0', - plural = '0', - singular = '0', ), - conditions = [ - kubernetes.client.models.v1beta1/custom_resource_definition_condition.v1beta1.CustomResourceDefinitionCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - stored_versions = [ - '0' - ], ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1CustomResourceDefinitionList( - items = [ - kubernetes.client.models.v1beta1/custom_resource_definition.v1beta1.CustomResourceDefinition( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/custom_resource_definition_spec.v1beta1.CustomResourceDefinitionSpec( - additional_printer_columns = [ - kubernetes.client.models.v1beta1/custom_resource_column_definition.v1beta1.CustomResourceColumnDefinition( - json_path = '0', - description = '0', - format = '0', - name = '0', - priority = 56, - type = '0', ) - ], - conversion = kubernetes.client.models.v1beta1/custom_resource_conversion.v1beta1.CustomResourceConversion( - conversion_review_versions = [ - '0' - ], - strategy = '0', - webhook_client_config = kubernetes.client.models.apiextensions/v1beta1/webhook_client_config.apiextensions.v1beta1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.apiextensions/v1beta1/service_reference.apiextensions.v1beta1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), ), - group = '0', - names = kubernetes.client.models.v1beta1/custom_resource_definition_names.v1beta1.CustomResourceDefinitionNames( - categories = [ - '0' - ], - kind = '0', - list_kind = '0', - plural = '0', - short_names = [ - '0' - ], - singular = '0', ), - preserve_unknown_fields = True, - scope = '0', - subresources = kubernetes.client.models.v1beta1/custom_resource_subresources.v1beta1.CustomResourceSubresources( - scale = kubernetes.client.models.v1beta1/custom_resource_subresource_scale.v1beta1.CustomResourceSubresourceScale( - label_selector_path = '0', - spec_replicas_path = '0', - status_replicas_path = '0', ), - status = kubernetes.client.models.status.status(), ), - validation = kubernetes.client.models.v1beta1/custom_resource_validation.v1beta1.CustomResourceValidation( - open_apiv3_schema = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), ), - version = '0', - versions = [ - kubernetes.client.models.v1beta1/custom_resource_definition_version.v1beta1.CustomResourceDefinitionVersion( - name = '0', - schema = kubernetes.client.models.v1beta1/custom_resource_validation.v1beta1.CustomResourceValidation(), - served = True, - storage = True, ) - ], ), - status = kubernetes.client.models.v1beta1/custom_resource_definition_status.v1beta1.CustomResourceDefinitionStatus( - accepted_names = kubernetes.client.models.v1beta1/custom_resource_definition_names.v1beta1.CustomResourceDefinitionNames( - kind = '0', - list_kind = '0', - plural = '0', - singular = '0', ), - conditions = [ - kubernetes.client.models.v1beta1/custom_resource_definition_condition.v1beta1.CustomResourceDefinitionCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - stored_versions = [ - '0' - ], ), ) - ], - ) - - def testV1beta1CustomResourceDefinitionList(self): - """Test V1beta1CustomResourceDefinitionList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_custom_resource_definition_names.py b/kubernetes/test/test_v1beta1_custom_resource_definition_names.py deleted file mode 100644 index f82d3e2848..0000000000 --- a/kubernetes/test/test_v1beta1_custom_resource_definition_names.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_custom_resource_definition_names import V1beta1CustomResourceDefinitionNames # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CustomResourceDefinitionNames(unittest.TestCase): - """V1beta1CustomResourceDefinitionNames unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CustomResourceDefinitionNames - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_custom_resource_definition_names.V1beta1CustomResourceDefinitionNames() # noqa: E501 - if include_optional : - return V1beta1CustomResourceDefinitionNames( - categories = [ - '0' - ], - kind = '0', - list_kind = '0', - plural = '0', - short_names = [ - '0' - ], - singular = '0' - ) - else : - return V1beta1CustomResourceDefinitionNames( - kind = '0', - plural = '0', - ) - - def testV1beta1CustomResourceDefinitionNames(self): - """Test V1beta1CustomResourceDefinitionNames""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_custom_resource_definition_spec.py b/kubernetes/test/test_v1beta1_custom_resource_definition_spec.py deleted file mode 100644 index d9802b0024..0000000000 --- a/kubernetes/test/test_v1beta1_custom_resource_definition_spec.py +++ /dev/null @@ -1,2192 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_custom_resource_definition_spec import V1beta1CustomResourceDefinitionSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CustomResourceDefinitionSpec(unittest.TestCase): - """V1beta1CustomResourceDefinitionSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CustomResourceDefinitionSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_custom_resource_definition_spec.V1beta1CustomResourceDefinitionSpec() # noqa: E501 - if include_optional : - return V1beta1CustomResourceDefinitionSpec( - additional_printer_columns = [ - kubernetes.client.models.v1beta1/custom_resource_column_definition.v1beta1.CustomResourceColumnDefinition( - json_path = '0', - description = '0', - format = '0', - name = '0', - priority = 56, - type = '0', ) - ], - conversion = kubernetes.client.models.v1beta1/custom_resource_conversion.v1beta1.CustomResourceConversion( - conversion_review_versions = [ - '0' - ], - strategy = '0', - webhook_client_config = kubernetes.client.models.apiextensions/v1beta1/webhook_client_config.apiextensions.v1beta1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.apiextensions/v1beta1/service_reference.apiextensions.v1beta1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), ), - group = '0', - names = kubernetes.client.models.v1beta1/custom_resource_definition_names.v1beta1.CustomResourceDefinitionNames( - categories = [ - '0' - ], - kind = '0', - list_kind = '0', - plural = '0', - short_names = [ - '0' - ], - singular = '0', ), - preserve_unknown_fields = True, - scope = '0', - subresources = kubernetes.client.models.v1beta1/custom_resource_subresources.v1beta1.CustomResourceSubresources( - scale = kubernetes.client.models.v1beta1/custom_resource_subresource_scale.v1beta1.CustomResourceSubresourceScale( - label_selector_path = '0', - spec_replicas_path = '0', - status_replicas_path = '0', ), - status = kubernetes.client.models.status.status(), ), - validation = kubernetes.client.models.v1beta1/custom_resource_validation.v1beta1.CustomResourceValidation( - open_apiv3_schema = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), ), - version = '0', - versions = [ - kubernetes.client.models.v1beta1/custom_resource_definition_version.v1beta1.CustomResourceDefinitionVersion( - additional_printer_columns = [ - kubernetes.client.models.v1beta1/custom_resource_column_definition.v1beta1.CustomResourceColumnDefinition( - json_path = '0', - description = '0', - format = '0', - name = '0', - priority = 56, - type = '0', ) - ], - name = '0', - schema = kubernetes.client.models.v1beta1/custom_resource_validation.v1beta1.CustomResourceValidation( - open_apiv3_schema = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), ), - served = True, - storage = True, - subresources = kubernetes.client.models.v1beta1/custom_resource_subresources.v1beta1.CustomResourceSubresources( - scale = kubernetes.client.models.v1beta1/custom_resource_subresource_scale.v1beta1.CustomResourceSubresourceScale( - label_selector_path = '0', - spec_replicas_path = '0', - status_replicas_path = '0', ), - status = kubernetes.client.models.status.status(), ), ) - ] - ) - else : - return V1beta1CustomResourceDefinitionSpec( - group = '0', - names = kubernetes.client.models.v1beta1/custom_resource_definition_names.v1beta1.CustomResourceDefinitionNames( - categories = [ - '0' - ], - kind = '0', - list_kind = '0', - plural = '0', - short_names = [ - '0' - ], - singular = '0', ), - scope = '0', - ) - - def testV1beta1CustomResourceDefinitionSpec(self): - """Test V1beta1CustomResourceDefinitionSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_custom_resource_definition_status.py b/kubernetes/test/test_v1beta1_custom_resource_definition_status.py deleted file mode 100644 index b187e81700..0000000000 --- a/kubernetes/test/test_v1beta1_custom_resource_definition_status.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_custom_resource_definition_status import V1beta1CustomResourceDefinitionStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CustomResourceDefinitionStatus(unittest.TestCase): - """V1beta1CustomResourceDefinitionStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CustomResourceDefinitionStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_custom_resource_definition_status.V1beta1CustomResourceDefinitionStatus() # noqa: E501 - if include_optional : - return V1beta1CustomResourceDefinitionStatus( - accepted_names = kubernetes.client.models.v1beta1/custom_resource_definition_names.v1beta1.CustomResourceDefinitionNames( - categories = [ - '0' - ], - kind = '0', - list_kind = '0', - plural = '0', - short_names = [ - '0' - ], - singular = '0', ), - conditions = [ - kubernetes.client.models.v1beta1/custom_resource_definition_condition.v1beta1.CustomResourceDefinitionCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - stored_versions = [ - '0' - ] - ) - else : - return V1beta1CustomResourceDefinitionStatus( - accepted_names = kubernetes.client.models.v1beta1/custom_resource_definition_names.v1beta1.CustomResourceDefinitionNames( - categories = [ - '0' - ], - kind = '0', - list_kind = '0', - plural = '0', - short_names = [ - '0' - ], - singular = '0', ), - stored_versions = [ - '0' - ], - ) - - def testV1beta1CustomResourceDefinitionStatus(self): - """Test V1beta1CustomResourceDefinitionStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_custom_resource_definition_version.py b/kubernetes/test/test_v1beta1_custom_resource_definition_version.py deleted file mode 100644 index 87af513115..0000000000 --- a/kubernetes/test/test_v1beta1_custom_resource_definition_version.py +++ /dev/null @@ -1,1104 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_custom_resource_definition_version import V1beta1CustomResourceDefinitionVersion # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CustomResourceDefinitionVersion(unittest.TestCase): - """V1beta1CustomResourceDefinitionVersion unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CustomResourceDefinitionVersion - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_custom_resource_definition_version.V1beta1CustomResourceDefinitionVersion() # noqa: E501 - if include_optional : - return V1beta1CustomResourceDefinitionVersion( - additional_printer_columns = [ - kubernetes.client.models.v1beta1/custom_resource_column_definition.v1beta1.CustomResourceColumnDefinition( - json_path = '0', - description = '0', - format = '0', - name = '0', - priority = 56, - type = '0', ) - ], - name = '0', - schema = kubernetes.client.models.v1beta1/custom_resource_validation.v1beta1.CustomResourceValidation( - open_apiv3_schema = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), ), - served = True, - storage = True, - subresources = kubernetes.client.models.v1beta1/custom_resource_subresources.v1beta1.CustomResourceSubresources( - scale = kubernetes.client.models.v1beta1/custom_resource_subresource_scale.v1beta1.CustomResourceSubresourceScale( - label_selector_path = '0', - spec_replicas_path = '0', - status_replicas_path = '0', ), - status = kubernetes.client.models.status.status(), ) - ) - else : - return V1beta1CustomResourceDefinitionVersion( - name = '0', - served = True, - storage = True, - ) - - def testV1beta1CustomResourceDefinitionVersion(self): - """Test V1beta1CustomResourceDefinitionVersion""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_custom_resource_subresource_scale.py b/kubernetes/test/test_v1beta1_custom_resource_subresource_scale.py deleted file mode 100644 index eaefc0d6c0..0000000000 --- a/kubernetes/test/test_v1beta1_custom_resource_subresource_scale.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_custom_resource_subresource_scale import V1beta1CustomResourceSubresourceScale # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CustomResourceSubresourceScale(unittest.TestCase): - """V1beta1CustomResourceSubresourceScale unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CustomResourceSubresourceScale - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_custom_resource_subresource_scale.V1beta1CustomResourceSubresourceScale() # noqa: E501 - if include_optional : - return V1beta1CustomResourceSubresourceScale( - label_selector_path = '0', - spec_replicas_path = '0', - status_replicas_path = '0' - ) - else : - return V1beta1CustomResourceSubresourceScale( - spec_replicas_path = '0', - status_replicas_path = '0', - ) - - def testV1beta1CustomResourceSubresourceScale(self): - """Test V1beta1CustomResourceSubresourceScale""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_custom_resource_subresources.py b/kubernetes/test/test_v1beta1_custom_resource_subresources.py deleted file mode 100644 index c4db658f2d..0000000000 --- a/kubernetes/test/test_v1beta1_custom_resource_subresources.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_custom_resource_subresources import V1beta1CustomResourceSubresources # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CustomResourceSubresources(unittest.TestCase): - """V1beta1CustomResourceSubresources unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CustomResourceSubresources - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_custom_resource_subresources.V1beta1CustomResourceSubresources() # noqa: E501 - if include_optional : - return V1beta1CustomResourceSubresources( - scale = kubernetes.client.models.v1beta1/custom_resource_subresource_scale.v1beta1.CustomResourceSubresourceScale( - label_selector_path = '0', - spec_replicas_path = '0', - status_replicas_path = '0', ), - status = kubernetes.client.models.status.status() - ) - else : - return V1beta1CustomResourceSubresources( - ) - - def testV1beta1CustomResourceSubresources(self): - """Test V1beta1CustomResourceSubresources""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_custom_resource_validation.py b/kubernetes/test/test_v1beta1_custom_resource_validation.py deleted file mode 100644 index 8b232f0d7e..0000000000 --- a/kubernetes/test/test_v1beta1_custom_resource_validation.py +++ /dev/null @@ -1,1082 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_custom_resource_validation import V1beta1CustomResourceValidation # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CustomResourceValidation(unittest.TestCase): - """V1beta1CustomResourceValidation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CustomResourceValidation - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_custom_resource_validation.V1beta1CustomResourceValidation() # noqa: E501 - if include_optional : - return V1beta1CustomResourceValidation( - open_apiv3_schema = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ) - else : - return V1beta1CustomResourceValidation( - ) - - def testV1beta1CustomResourceValidation(self): - """Test V1beta1CustomResourceValidation""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_daemon_set.py b/kubernetes/test/test_v1beta1_daemon_set.py deleted file mode 100644 index 701a136515..0000000000 --- a/kubernetes/test/test_v1beta1_daemon_set.py +++ /dev/null @@ -1,603 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_daemon_set import V1beta1DaemonSet # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1DaemonSet(unittest.TestCase): - """V1beta1DaemonSet unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1DaemonSet - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_daemon_set.V1beta1DaemonSet() # noqa: E501 - if include_optional : - return V1beta1DaemonSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/daemon_set_spec.v1beta1.DaemonSetSpec( - min_ready_seconds = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - template_generation = 56, - update_strategy = kubernetes.client.models.v1beta1/daemon_set_update_strategy.v1beta1.DaemonSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1beta1/rolling_update_daemon_set.v1beta1.RollingUpdateDaemonSet( - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), ), - status = kubernetes.client.models.v1beta1/daemon_set_status.v1beta1.DaemonSetStatus( - collision_count = 56, - conditions = [ - kubernetes.client.models.v1beta1/daemon_set_condition.v1beta1.DaemonSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_number_scheduled = 56, - desired_number_scheduled = 56, - number_available = 56, - number_misscheduled = 56, - number_ready = 56, - number_unavailable = 56, - observed_generation = 56, - updated_number_scheduled = 56, ) - ) - else : - return V1beta1DaemonSet( - ) - - def testV1beta1DaemonSet(self): - """Test V1beta1DaemonSet""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_daemon_set_condition.py b/kubernetes/test/test_v1beta1_daemon_set_condition.py deleted file mode 100644 index e5f9332580..0000000000 --- a/kubernetes/test/test_v1beta1_daemon_set_condition.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_daemon_set_condition import V1beta1DaemonSetCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1DaemonSetCondition(unittest.TestCase): - """V1beta1DaemonSetCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1DaemonSetCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_daemon_set_condition.V1beta1DaemonSetCondition() # noqa: E501 - if include_optional : - return V1beta1DaemonSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V1beta1DaemonSetCondition( - status = '0', - type = '0', - ) - - def testV1beta1DaemonSetCondition(self): - """Test V1beta1DaemonSetCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_daemon_set_list.py b/kubernetes/test/test_v1beta1_daemon_set_list.py deleted file mode 100644 index 569a7ffe1a..0000000000 --- a/kubernetes/test/test_v1beta1_daemon_set_list.py +++ /dev/null @@ -1,224 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_daemon_set_list import V1beta1DaemonSetList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1DaemonSetList(unittest.TestCase): - """V1beta1DaemonSetList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1DaemonSetList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_daemon_set_list.V1beta1DaemonSetList() # noqa: E501 - if include_optional : - return V1beta1DaemonSetList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/daemon_set.v1beta1.DaemonSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/daemon_set_spec.v1beta1.DaemonSetSpec( - min_ready_seconds = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), - template_generation = 56, - update_strategy = kubernetes.client.models.v1beta1/daemon_set_update_strategy.v1beta1.DaemonSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1beta1/rolling_update_daemon_set.v1beta1.RollingUpdateDaemonSet( - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), ), - status = kubernetes.client.models.v1beta1/daemon_set_status.v1beta1.DaemonSetStatus( - collision_count = 56, - conditions = [ - kubernetes.client.models.v1beta1/daemon_set_condition.v1beta1.DaemonSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_number_scheduled = 56, - desired_number_scheduled = 56, - number_available = 56, - number_misscheduled = 56, - number_ready = 56, - number_unavailable = 56, - observed_generation = 56, - updated_number_scheduled = 56, ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1DaemonSetList( - items = [ - kubernetes.client.models.v1beta1/daemon_set.v1beta1.DaemonSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/daemon_set_spec.v1beta1.DaemonSetSpec( - min_ready_seconds = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), - template_generation = 56, - update_strategy = kubernetes.client.models.v1beta1/daemon_set_update_strategy.v1beta1.DaemonSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1beta1/rolling_update_daemon_set.v1beta1.RollingUpdateDaemonSet( - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), ), - status = kubernetes.client.models.v1beta1/daemon_set_status.v1beta1.DaemonSetStatus( - collision_count = 56, - conditions = [ - kubernetes.client.models.v1beta1/daemon_set_condition.v1beta1.DaemonSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_number_scheduled = 56, - desired_number_scheduled = 56, - number_available = 56, - number_misscheduled = 56, - number_ready = 56, - number_unavailable = 56, - observed_generation = 56, - updated_number_scheduled = 56, ), ) - ], - ) - - def testV1beta1DaemonSetList(self): - """Test V1beta1DaemonSetList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_daemon_set_spec.py b/kubernetes/test/test_v1beta1_daemon_set_spec.py deleted file mode 100644 index 102a418e36..0000000000 --- a/kubernetes/test/test_v1beta1_daemon_set_spec.py +++ /dev/null @@ -1,1038 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_daemon_set_spec import V1beta1DaemonSetSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1DaemonSetSpec(unittest.TestCase): - """V1beta1DaemonSetSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1DaemonSetSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_daemon_set_spec.V1beta1DaemonSetSpec() # noqa: E501 - if include_optional : - return V1beta1DaemonSetSpec( - min_ready_seconds = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - template_generation = 56, - update_strategy = kubernetes.client.models.v1beta1/daemon_set_update_strategy.v1beta1.DaemonSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1beta1/rolling_update_daemon_set.v1beta1.RollingUpdateDaemonSet( - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ) - ) - else : - return V1beta1DaemonSetSpec( - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - ) - - def testV1beta1DaemonSetSpec(self): - """Test V1beta1DaemonSetSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_daemon_set_status.py b/kubernetes/test/test_v1beta1_daemon_set_status.py deleted file mode 100644 index 3ea12857a6..0000000000 --- a/kubernetes/test/test_v1beta1_daemon_set_status.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_daemon_set_status import V1beta1DaemonSetStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1DaemonSetStatus(unittest.TestCase): - """V1beta1DaemonSetStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1DaemonSetStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_daemon_set_status.V1beta1DaemonSetStatus() # noqa: E501 - if include_optional : - return V1beta1DaemonSetStatus( - collision_count = 56, - conditions = [ - kubernetes.client.models.v1beta1/daemon_set_condition.v1beta1.DaemonSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_number_scheduled = 56, - desired_number_scheduled = 56, - number_available = 56, - number_misscheduled = 56, - number_ready = 56, - number_unavailable = 56, - observed_generation = 56, - updated_number_scheduled = 56 - ) - else : - return V1beta1DaemonSetStatus( - current_number_scheduled = 56, - desired_number_scheduled = 56, - number_misscheduled = 56, - number_ready = 56, - ) - - def testV1beta1DaemonSetStatus(self): - """Test V1beta1DaemonSetStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_daemon_set_update_strategy.py b/kubernetes/test/test_v1beta1_daemon_set_update_strategy.py deleted file mode 100644 index f0a10daff7..0000000000 --- a/kubernetes/test/test_v1beta1_daemon_set_update_strategy.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_daemon_set_update_strategy import V1beta1DaemonSetUpdateStrategy # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1DaemonSetUpdateStrategy(unittest.TestCase): - """V1beta1DaemonSetUpdateStrategy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1DaemonSetUpdateStrategy - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_daemon_set_update_strategy.V1beta1DaemonSetUpdateStrategy() # noqa: E501 - if include_optional : - return V1beta1DaemonSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1beta1/rolling_update_daemon_set.v1beta1.RollingUpdateDaemonSet( - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0' - ) - else : - return V1beta1DaemonSetUpdateStrategy( - ) - - def testV1beta1DaemonSetUpdateStrategy(self): - """Test V1beta1DaemonSetUpdateStrategy""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_event.py b/kubernetes/test/test_v1beta1_event.py deleted file mode 100644 index 0dbdd5b8c8..0000000000 --- a/kubernetes/test/test_v1beta1_event.py +++ /dev/null @@ -1,126 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_event import V1beta1Event # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1Event(unittest.TestCase): - """V1beta1Event unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1Event - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_event.V1beta1Event() # noqa: E501 - if include_optional : - return V1beta1Event( - action = '0', - api_version = '0', - deprecated_count = 56, - deprecated_first_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deprecated_last_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deprecated_source = kubernetes.client.models.v1/event_source.v1.EventSource( - component = '0', - host = '0', ), - event_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - note = '0', - reason = '0', - regarding = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - related = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - reporting_controller = '0', - reporting_instance = '0', - series = kubernetes.client.models.v1beta1/event_series.v1beta1.EventSeries( - count = 56, - last_observed_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - state = '0', ), - type = '0' - ) - else : - return V1beta1Event( - event_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - - def testV1beta1Event(self): - """Test V1beta1Event""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_event_list.py b/kubernetes/test/test_v1beta1_event_list.py deleted file mode 100644 index 474695fa47..0000000000 --- a/kubernetes/test/test_v1beta1_event_list.py +++ /dev/null @@ -1,212 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_event_list import V1beta1EventList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1EventList(unittest.TestCase): - """V1beta1EventList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1EventList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_event_list.V1beta1EventList() # noqa: E501 - if include_optional : - return V1beta1EventList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/event.v1beta1.Event( - action = '0', - api_version = '0', - deprecated_count = 56, - deprecated_first_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deprecated_last_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deprecated_source = kubernetes.client.models.v1/event_source.v1.EventSource( - component = '0', - host = '0', ), - event_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - note = '0', - reason = '0', - regarding = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - related = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - reporting_controller = '0', - reporting_instance = '0', - series = kubernetes.client.models.v1beta1/event_series.v1beta1.EventSeries( - count = 56, - last_observed_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - state = '0', ), - type = '0', ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1EventList( - items = [ - kubernetes.client.models.v1beta1/event.v1beta1.Event( - action = '0', - api_version = '0', - deprecated_count = 56, - deprecated_first_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deprecated_last_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deprecated_source = kubernetes.client.models.v1/event_source.v1.EventSource( - component = '0', - host = '0', ), - event_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - note = '0', - reason = '0', - regarding = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - related = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - reporting_controller = '0', - reporting_instance = '0', - series = kubernetes.client.models.v1beta1/event_series.v1beta1.EventSeries( - count = 56, - last_observed_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - state = '0', ), - type = '0', ) - ], - ) - - def testV1beta1EventList(self): - """Test V1beta1EventList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_event_series.py b/kubernetes/test/test_v1beta1_event_series.py deleted file mode 100644 index 237d66bf50..0000000000 --- a/kubernetes/test/test_v1beta1_event_series.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_event_series import V1beta1EventSeries # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1EventSeries(unittest.TestCase): - """V1beta1EventSeries unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1EventSeries - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_event_series.V1beta1EventSeries() # noqa: E501 - if include_optional : - return V1beta1EventSeries( - count = 56, - last_observed_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - state = '0' - ) - else : - return V1beta1EventSeries( - count = 56, - last_observed_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - state = '0', - ) - - def testV1beta1EventSeries(self): - """Test V1beta1EventSeries""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_eviction.py b/kubernetes/test/test_v1beta1_eviction.py deleted file mode 100644 index 8dcb9955d4..0000000000 --- a/kubernetes/test/test_v1beta1_eviction.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_eviction import V1beta1Eviction # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1Eviction(unittest.TestCase): - """V1beta1Eviction unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1Eviction - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_eviction.V1beta1Eviction() # noqa: E501 - if include_optional : - return V1beta1Eviction( - api_version = '0', - delete_options = kubernetes.client.models.v1/delete_options.v1.DeleteOptions( - api_version = '0', - dry_run = [ - '0' - ], - grace_period_seconds = 56, - kind = '0', - orphan_dependents = True, - preconditions = kubernetes.client.models.v1/preconditions.v1.Preconditions( - resource_version = '0', - uid = '0', ), - propagation_policy = '0', ), - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ) - ) - else : - return V1beta1Eviction( - ) - - def testV1beta1Eviction(self): - """Test V1beta1Eviction""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_external_documentation.py b/kubernetes/test/test_v1beta1_external_documentation.py deleted file mode 100644 index 6a37ca581d..0000000000 --- a/kubernetes/test/test_v1beta1_external_documentation.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_external_documentation import V1beta1ExternalDocumentation # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1ExternalDocumentation(unittest.TestCase): - """V1beta1ExternalDocumentation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1ExternalDocumentation - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_external_documentation.V1beta1ExternalDocumentation() # noqa: E501 - if include_optional : - return V1beta1ExternalDocumentation( - description = '0', - url = '0' - ) - else : - return V1beta1ExternalDocumentation( - ) - - def testV1beta1ExternalDocumentation(self): - """Test V1beta1ExternalDocumentation""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_ip_block.py b/kubernetes/test/test_v1beta1_ip_block.py deleted file mode 100644 index ab6ade56f2..0000000000 --- a/kubernetes/test/test_v1beta1_ip_block.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_ip_block import V1beta1IPBlock # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1IPBlock(unittest.TestCase): - """V1beta1IPBlock unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1IPBlock - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_ip_block.V1beta1IPBlock() # noqa: E501 - if include_optional : - return V1beta1IPBlock( - cidr = '0', - _except = [ - '0' - ] - ) - else : - return V1beta1IPBlock( - cidr = '0', - ) - - def testV1beta1IPBlock(self): - """Test V1beta1IPBlock""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_job_template_spec.py b/kubernetes/test/test_v1beta1_job_template_spec.py deleted file mode 100644 index 61298a1615..0000000000 --- a/kubernetes/test/test_v1beta1_job_template_spec.py +++ /dev/null @@ -1,149 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_job_template_spec import V1beta1JobTemplateSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1JobTemplateSpec(unittest.TestCase): - """V1beta1JobTemplateSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1JobTemplateSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_job_template_spec.V1beta1JobTemplateSpec() # noqa: E501 - if include_optional : - return V1beta1JobTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/job_spec.v1.JobSpec( - active_deadline_seconds = 56, - backoff_limit = 56, - completions = 56, - manual_selector = True, - parallelism = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), ), - ttl_seconds_after_finished = 56, ) - ) - else : - return V1beta1JobTemplateSpec( - ) - - def testV1beta1JobTemplateSpec(self): - """Test V1beta1JobTemplateSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_json_schema_props.py b/kubernetes/test/test_v1beta1_json_schema_props.py deleted file mode 100644 index 27de5e93f1..0000000000 --- a/kubernetes/test/test_v1beta1_json_schema_props.py +++ /dev/null @@ -1,5653 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_json_schema_props import V1beta1JSONSchemaProps # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1JSONSchemaProps(unittest.TestCase): - """V1beta1JSONSchemaProps unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1JSONSchemaProps - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_json_schema_props.V1beta1JSONSchemaProps() # noqa: E501 - if include_optional : - return V1beta1JSONSchemaProps( - ref = '0', - schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - _not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_preserve_unknown_fields = True - ) - else : - return V1beta1JSONSchemaProps( - ) - - def testV1beta1JSONSchemaProps(self): - """Test V1beta1JSONSchemaProps""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_lease.py b/kubernetes/test/test_v1beta1_lease.py deleted file mode 100644 index 519a5df7b6..0000000000 --- a/kubernetes/test/test_v1beta1_lease.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_lease import V1beta1Lease # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1Lease(unittest.TestCase): - """V1beta1Lease unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1Lease - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_lease.V1beta1Lease() # noqa: E501 - if include_optional : - return V1beta1Lease( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/lease_spec.v1beta1.LeaseSpec( - acquire_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - holder_identity = '0', - lease_duration_seconds = 56, - lease_transitions = 56, - renew_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ) - else : - return V1beta1Lease( - ) - - def testV1beta1Lease(self): - """Test V1beta1Lease""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_lease_list.py b/kubernetes/test/test_v1beta1_lease_list.py deleted file mode 100644 index 26eddfbc7d..0000000000 --- a/kubernetes/test/test_v1beta1_lease_list.py +++ /dev/null @@ -1,158 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_lease_list import V1beta1LeaseList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1LeaseList(unittest.TestCase): - """V1beta1LeaseList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1LeaseList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_lease_list.V1beta1LeaseList() # noqa: E501 - if include_optional : - return V1beta1LeaseList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/lease.v1beta1.Lease( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/lease_spec.v1beta1.LeaseSpec( - acquire_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - holder_identity = '0', - lease_duration_seconds = 56, - lease_transitions = 56, - renew_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1LeaseList( - items = [ - kubernetes.client.models.v1beta1/lease.v1beta1.Lease( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/lease_spec.v1beta1.LeaseSpec( - acquire_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - holder_identity = '0', - lease_duration_seconds = 56, - lease_transitions = 56, - renew_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ) - ], - ) - - def testV1beta1LeaseList(self): - """Test V1beta1LeaseList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_lease_spec.py b/kubernetes/test/test_v1beta1_lease_spec.py deleted file mode 100644 index 8f051b1653..0000000000 --- a/kubernetes/test/test_v1beta1_lease_spec.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_lease_spec import V1beta1LeaseSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1LeaseSpec(unittest.TestCase): - """V1beta1LeaseSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1LeaseSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_lease_spec.V1beta1LeaseSpec() # noqa: E501 - if include_optional : - return V1beta1LeaseSpec( - acquire_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - holder_identity = '0', - lease_duration_seconds = 56, - lease_transitions = 56, - renew_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else : - return V1beta1LeaseSpec( - ) - - def testV1beta1LeaseSpec(self): - """Test V1beta1LeaseSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_local_subject_access_review.py b/kubernetes/test/test_v1beta1_local_subject_access_review.py deleted file mode 100644 index a20abcb53b..0000000000 --- a/kubernetes/test/test_v1beta1_local_subject_access_review.py +++ /dev/null @@ -1,139 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_local_subject_access_review import V1beta1LocalSubjectAccessReview # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1LocalSubjectAccessReview(unittest.TestCase): - """V1beta1LocalSubjectAccessReview unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1LocalSubjectAccessReview - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_local_subject_access_review.V1beta1LocalSubjectAccessReview() # noqa: E501 - if include_optional : - return V1beta1LocalSubjectAccessReview( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/subject_access_review_spec.v1beta1.SubjectAccessReviewSpec( - extra = { - 'key' : [ - '0' - ] - }, - group = [ - '0' - ], - non_resource_attributes = kubernetes.client.models.v1beta1/non_resource_attributes.v1beta1.NonResourceAttributes( - path = '0', - verb = '0', ), - resource_attributes = kubernetes.client.models.v1beta1/resource_attributes.v1beta1.ResourceAttributes( - name = '0', - namespace = '0', - resource = '0', - subresource = '0', - verb = '0', - version = '0', ), - uid = '0', - user = '0', ), - status = kubernetes.client.models.v1beta1/subject_access_review_status.v1beta1.SubjectAccessReviewStatus( - allowed = True, - denied = True, - evaluation_error = '0', - reason = '0', ) - ) - else : - return V1beta1LocalSubjectAccessReview( - spec = kubernetes.client.models.v1beta1/subject_access_review_spec.v1beta1.SubjectAccessReviewSpec( - extra = { - 'key' : [ - '0' - ] - }, - group = [ - '0' - ], - non_resource_attributes = kubernetes.client.models.v1beta1/non_resource_attributes.v1beta1.NonResourceAttributes( - path = '0', - verb = '0', ), - resource_attributes = kubernetes.client.models.v1beta1/resource_attributes.v1beta1.ResourceAttributes( - name = '0', - namespace = '0', - resource = '0', - subresource = '0', - verb = '0', - version = '0', ), - uid = '0', - user = '0', ), - ) - - def testV1beta1LocalSubjectAccessReview(self): - """Test V1beta1LocalSubjectAccessReview""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_mutating_webhook.py b/kubernetes/test/test_v1beta1_mutating_webhook.py deleted file mode 100644 index 3be5e7f445..0000000000 --- a/kubernetes/test/test_v1beta1_mutating_webhook.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_mutating_webhook import V1beta1MutatingWebhook # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1MutatingWebhook(unittest.TestCase): - """V1beta1MutatingWebhook unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1MutatingWebhook - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_mutating_webhook.V1beta1MutatingWebhook() # noqa: E501 - if include_optional : - return V1beta1MutatingWebhook( - admission_review_versions = [ - '0' - ], - kubernetes.client_config = kubernetes.client.models.admissionregistration/v1beta1/webhook_client_config.admissionregistration.v1beta1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.admissionregistration/v1beta1/service_reference.admissionregistration.v1beta1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - failure_policy = '0', - match_policy = '0', - name = '0', - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - reinvocation_policy = '0', - rules = [ - kubernetes.client.models.v1beta1/rule_with_operations.v1beta1.RuleWithOperations( - api_groups = [ - '0' - ], - api_versions = [ - '0' - ], - operations = [ - '0' - ], - resources = [ - '0' - ], - scope = '0', ) - ], - side_effects = '0', - timeout_seconds = 56 - ) - else : - return V1beta1MutatingWebhook( - kubernetes.client_config = kubernetes.client.models.admissionregistration/v1beta1/webhook_client_config.admissionregistration.v1beta1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.admissionregistration/v1beta1/service_reference.admissionregistration.v1beta1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - name = '0', - ) - - def testV1beta1MutatingWebhook(self): - """Test V1beta1MutatingWebhook""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_mutating_webhook_configuration.py b/kubernetes/test/test_v1beta1_mutating_webhook_configuration.py deleted file mode 100644 index 415405864b..0000000000 --- a/kubernetes/test/test_v1beta1_mutating_webhook_configuration.py +++ /dev/null @@ -1,141 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_mutating_webhook_configuration import V1beta1MutatingWebhookConfiguration # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1MutatingWebhookConfiguration(unittest.TestCase): - """V1beta1MutatingWebhookConfiguration unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1MutatingWebhookConfiguration - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_mutating_webhook_configuration.V1beta1MutatingWebhookConfiguration() # noqa: E501 - if include_optional : - return V1beta1MutatingWebhookConfiguration( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - webhooks = [ - kubernetes.client.models.v1beta1/mutating_webhook.v1beta1.MutatingWebhook( - admission_review_versions = [ - '0' - ], - kubernetes.client_config = kubernetes.client.models.admissionregistration/v1beta1/webhook_client_config.admissionregistration.v1beta1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.admissionregistration/v1beta1/service_reference.admissionregistration.v1beta1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - failure_policy = '0', - match_policy = '0', - name = '0', - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - reinvocation_policy = '0', - rules = [ - kubernetes.client.models.v1beta1/rule_with_operations.v1beta1.RuleWithOperations( - api_groups = [ - '0' - ], - api_versions = [ - '0' - ], - operations = [ - '0' - ], - resources = [ - '0' - ], - scope = '0', ) - ], - side_effects = '0', - timeout_seconds = 56, ) - ] - ) - else : - return V1beta1MutatingWebhookConfiguration( - ) - - def testV1beta1MutatingWebhookConfiguration(self): - """Test V1beta1MutatingWebhookConfiguration""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_mutating_webhook_configuration_list.py b/kubernetes/test/test_v1beta1_mutating_webhook_configuration_list.py deleted file mode 100644 index 42bd2cb7f8..0000000000 --- a/kubernetes/test/test_v1beta1_mutating_webhook_configuration_list.py +++ /dev/null @@ -1,244 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_mutating_webhook_configuration_list import V1beta1MutatingWebhookConfigurationList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1MutatingWebhookConfigurationList(unittest.TestCase): - """V1beta1MutatingWebhookConfigurationList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1MutatingWebhookConfigurationList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_mutating_webhook_configuration_list.V1beta1MutatingWebhookConfigurationList() # noqa: E501 - if include_optional : - return V1beta1MutatingWebhookConfigurationList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/mutating_webhook_configuration.v1beta1.MutatingWebhookConfiguration( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - webhooks = [ - kubernetes.client.models.v1beta1/mutating_webhook.v1beta1.MutatingWebhook( - admission_review_versions = [ - '0' - ], - kubernetes.client_config = kubernetes.client.models.admissionregistration/v1beta1/webhook_client_config.admissionregistration.v1beta1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.admissionregistration/v1beta1/service_reference.admissionregistration.v1beta1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - failure_policy = '0', - match_policy = '0', - name = '0', - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - reinvocation_policy = '0', - rules = [ - kubernetes.client.models.v1beta1/rule_with_operations.v1beta1.RuleWithOperations( - api_groups = [ - '0' - ], - api_versions = [ - '0' - ], - operations = [ - '0' - ], - resources = [ - '0' - ], - scope = '0', ) - ], - side_effects = '0', - timeout_seconds = 56, ) - ], ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1MutatingWebhookConfigurationList( - items = [ - kubernetes.client.models.v1beta1/mutating_webhook_configuration.v1beta1.MutatingWebhookConfiguration( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - webhooks = [ - kubernetes.client.models.v1beta1/mutating_webhook.v1beta1.MutatingWebhook( - admission_review_versions = [ - '0' - ], - kubernetes.client_config = kubernetes.client.models.admissionregistration/v1beta1/webhook_client_config.admissionregistration.v1beta1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.admissionregistration/v1beta1/service_reference.admissionregistration.v1beta1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - failure_policy = '0', - match_policy = '0', - name = '0', - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - reinvocation_policy = '0', - rules = [ - kubernetes.client.models.v1beta1/rule_with_operations.v1beta1.RuleWithOperations( - api_groups = [ - '0' - ], - api_versions = [ - '0' - ], - operations = [ - '0' - ], - resources = [ - '0' - ], - scope = '0', ) - ], - side_effects = '0', - timeout_seconds = 56, ) - ], ) - ], - ) - - def testV1beta1MutatingWebhookConfigurationList(self): - """Test V1beta1MutatingWebhookConfigurationList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_network_policy.py b/kubernetes/test/test_v1beta1_network_policy.py deleted file mode 100644 index 445f157332..0000000000 --- a/kubernetes/test/test_v1beta1_network_policy.py +++ /dev/null @@ -1,132 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_network_policy import V1beta1NetworkPolicy # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1NetworkPolicy(unittest.TestCase): - """V1beta1NetworkPolicy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1NetworkPolicy - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_network_policy.V1beta1NetworkPolicy() # noqa: E501 - if include_optional : - return V1beta1NetworkPolicy( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/network_policy_spec.v1beta1.NetworkPolicySpec( - egress = [ - kubernetes.client.models.v1beta1/network_policy_egress_rule.v1beta1.NetworkPolicyEgressRule( - ports = [ - kubernetes.client.models.v1beta1/network_policy_port.v1beta1.NetworkPolicyPort( - port = kubernetes.client.models.port.port(), - protocol = '0', ) - ], - to = [ - kubernetes.client.models.v1beta1/network_policy_peer.v1beta1.NetworkPolicyPeer( - ip_block = kubernetes.client.models.v1beta1/ip_block.v1beta1.IPBlock( - cidr = '0', - except = [ - '0' - ], ), - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), ) - ], ) - ], - ingress = [ - kubernetes.client.models.v1beta1/network_policy_ingress_rule.v1beta1.NetworkPolicyIngressRule( - from = [ - kubernetes.client.models.v1beta1/network_policy_peer.v1beta1.NetworkPolicyPeer() - ], ) - ], - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - policy_types = [ - '0' - ], ) - ) - else : - return V1beta1NetworkPolicy( - ) - - def testV1beta1NetworkPolicy(self): - """Test V1beta1NetworkPolicy""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_network_policy_egress_rule.py b/kubernetes/test/test_v1beta1_network_policy_egress_rule.py deleted file mode 100644 index 459a4dfb8f..0000000000 --- a/kubernetes/test/test_v1beta1_network_policy_egress_rule.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_network_policy_egress_rule import V1beta1NetworkPolicyEgressRule # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1NetworkPolicyEgressRule(unittest.TestCase): - """V1beta1NetworkPolicyEgressRule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1NetworkPolicyEgressRule - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_network_policy_egress_rule.V1beta1NetworkPolicyEgressRule() # noqa: E501 - if include_optional : - return V1beta1NetworkPolicyEgressRule( - ports = [ - kubernetes.client.models.v1beta1/network_policy_port.v1beta1.NetworkPolicyPort( - port = kubernetes.client.models.port.port(), - protocol = '0', ) - ], - to = [ - kubernetes.client.models.v1beta1/network_policy_peer.v1beta1.NetworkPolicyPeer( - ip_block = kubernetes.client.models.v1beta1/ip_block.v1beta1.IPBlock( - cidr = '0', - except = [ - '0' - ], ), - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), ) - ] - ) - else : - return V1beta1NetworkPolicyEgressRule( - ) - - def testV1beta1NetworkPolicyEgressRule(self): - """Test V1beta1NetworkPolicyEgressRule""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_network_policy_ingress_rule.py b/kubernetes/test/test_v1beta1_network_policy_ingress_rule.py deleted file mode 100644 index 426628fc6a..0000000000 --- a/kubernetes/test/test_v1beta1_network_policy_ingress_rule.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_network_policy_ingress_rule import V1beta1NetworkPolicyIngressRule # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1NetworkPolicyIngressRule(unittest.TestCase): - """V1beta1NetworkPolicyIngressRule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1NetworkPolicyIngressRule - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_network_policy_ingress_rule.V1beta1NetworkPolicyIngressRule() # noqa: E501 - if include_optional : - return V1beta1NetworkPolicyIngressRule( - _from = [ - kubernetes.client.models.v1beta1/network_policy_peer.v1beta1.NetworkPolicyPeer( - ip_block = kubernetes.client.models.v1beta1/ip_block.v1beta1.IPBlock( - cidr = '0', - except = [ - '0' - ], ), - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), ) - ], - ports = [ - kubernetes.client.models.v1beta1/network_policy_port.v1beta1.NetworkPolicyPort( - port = kubernetes.client.models.port.port(), - protocol = '0', ) - ] - ) - else : - return V1beta1NetworkPolicyIngressRule( - ) - - def testV1beta1NetworkPolicyIngressRule(self): - """Test V1beta1NetworkPolicyIngressRule""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_network_policy_list.py b/kubernetes/test/test_v1beta1_network_policy_list.py deleted file mode 100644 index 7b30534dbc..0000000000 --- a/kubernetes/test/test_v1beta1_network_policy_list.py +++ /dev/null @@ -1,226 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_network_policy_list import V1beta1NetworkPolicyList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1NetworkPolicyList(unittest.TestCase): - """V1beta1NetworkPolicyList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1NetworkPolicyList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_network_policy_list.V1beta1NetworkPolicyList() # noqa: E501 - if include_optional : - return V1beta1NetworkPolicyList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/network_policy.v1beta1.NetworkPolicy( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/network_policy_spec.v1beta1.NetworkPolicySpec( - egress = [ - kubernetes.client.models.v1beta1/network_policy_egress_rule.v1beta1.NetworkPolicyEgressRule( - ports = [ - kubernetes.client.models.v1beta1/network_policy_port.v1beta1.NetworkPolicyPort( - port = kubernetes.client.models.port.port(), - protocol = '0', ) - ], - to = [ - kubernetes.client.models.v1beta1/network_policy_peer.v1beta1.NetworkPolicyPeer( - ip_block = kubernetes.client.models.v1beta1/ip_block.v1beta1.IPBlock( - cidr = '0', - except = [ - '0' - ], ), - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), ) - ], ) - ], - ingress = [ - kubernetes.client.models.v1beta1/network_policy_ingress_rule.v1beta1.NetworkPolicyIngressRule( - from = [ - kubernetes.client.models.v1beta1/network_policy_peer.v1beta1.NetworkPolicyPeer() - ], ) - ], - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - policy_types = [ - '0' - ], ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1NetworkPolicyList( - items = [ - kubernetes.client.models.v1beta1/network_policy.v1beta1.NetworkPolicy( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/network_policy_spec.v1beta1.NetworkPolicySpec( - egress = [ - kubernetes.client.models.v1beta1/network_policy_egress_rule.v1beta1.NetworkPolicyEgressRule( - ports = [ - kubernetes.client.models.v1beta1/network_policy_port.v1beta1.NetworkPolicyPort( - port = kubernetes.client.models.port.port(), - protocol = '0', ) - ], - to = [ - kubernetes.client.models.v1beta1/network_policy_peer.v1beta1.NetworkPolicyPeer( - ip_block = kubernetes.client.models.v1beta1/ip_block.v1beta1.IPBlock( - cidr = '0', - except = [ - '0' - ], ), - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), ) - ], ) - ], - ingress = [ - kubernetes.client.models.v1beta1/network_policy_ingress_rule.v1beta1.NetworkPolicyIngressRule( - from = [ - kubernetes.client.models.v1beta1/network_policy_peer.v1beta1.NetworkPolicyPeer() - ], ) - ], - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - policy_types = [ - '0' - ], ), ) - ], - ) - - def testV1beta1NetworkPolicyList(self): - """Test V1beta1NetworkPolicyList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_network_policy_peer.py b/kubernetes/test/test_v1beta1_network_policy_peer.py deleted file mode 100644 index 52666ca9d2..0000000000 --- a/kubernetes/test/test_v1beta1_network_policy_peer.py +++ /dev/null @@ -1,80 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_network_policy_peer import V1beta1NetworkPolicyPeer # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1NetworkPolicyPeer(unittest.TestCase): - """V1beta1NetworkPolicyPeer unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1NetworkPolicyPeer - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_network_policy_peer.V1beta1NetworkPolicyPeer() # noqa: E501 - if include_optional : - return V1beta1NetworkPolicyPeer( - ip_block = kubernetes.client.models.v1beta1/ip_block.v1beta1.IPBlock( - cidr = '0', - except = [ - '0' - ], ), - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ) - ) - else : - return V1beta1NetworkPolicyPeer( - ) - - def testV1beta1NetworkPolicyPeer(self): - """Test V1beta1NetworkPolicyPeer""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_network_policy_port.py b/kubernetes/test/test_v1beta1_network_policy_port.py deleted file mode 100644 index bebe4bca08..0000000000 --- a/kubernetes/test/test_v1beta1_network_policy_port.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_network_policy_port import V1beta1NetworkPolicyPort # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1NetworkPolicyPort(unittest.TestCase): - """V1beta1NetworkPolicyPort unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1NetworkPolicyPort - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_network_policy_port.V1beta1NetworkPolicyPort() # noqa: E501 - if include_optional : - return V1beta1NetworkPolicyPort( - port = kubernetes.client.models.port.port(), - protocol = '0' - ) - else : - return V1beta1NetworkPolicyPort( - ) - - def testV1beta1NetworkPolicyPort(self): - """Test V1beta1NetworkPolicyPort""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_network_policy_spec.py b/kubernetes/test/test_v1beta1_network_policy_spec.py deleted file mode 100644 index bb63ac36d1..0000000000 --- a/kubernetes/test/test_v1beta1_network_policy_spec.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_network_policy_spec import V1beta1NetworkPolicySpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1NetworkPolicySpec(unittest.TestCase): - """V1beta1NetworkPolicySpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1NetworkPolicySpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_network_policy_spec.V1beta1NetworkPolicySpec() # noqa: E501 - if include_optional : - return V1beta1NetworkPolicySpec( - egress = [ - kubernetes.client.models.v1beta1/network_policy_egress_rule.v1beta1.NetworkPolicyEgressRule( - ports = [ - kubernetes.client.models.v1beta1/network_policy_port.v1beta1.NetworkPolicyPort( - port = kubernetes.client.models.port.port(), - protocol = '0', ) - ], - to = [ - kubernetes.client.models.v1beta1/network_policy_peer.v1beta1.NetworkPolicyPeer( - ip_block = kubernetes.client.models.v1beta1/ip_block.v1beta1.IPBlock( - cidr = '0', - except = [ - '0' - ], ), - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), ) - ], ) - ], - ingress = [ - kubernetes.client.models.v1beta1/network_policy_ingress_rule.v1beta1.NetworkPolicyIngressRule( - from = [ - kubernetes.client.models.v1beta1/network_policy_peer.v1beta1.NetworkPolicyPeer( - ip_block = kubernetes.client.models.v1beta1/ip_block.v1beta1.IPBlock( - cidr = '0', - except = [ - '0' - ], ), - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), ) - ], - ports = [ - kubernetes.client.models.v1beta1/network_policy_port.v1beta1.NetworkPolicyPort( - port = kubernetes.client.models.port.port(), - protocol = '0', ) - ], ) - ], - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - policy_types = [ - '0' - ] - ) - else : - return V1beta1NetworkPolicySpec( - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - ) - - def testV1beta1NetworkPolicySpec(self): - """Test V1beta1NetworkPolicySpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_non_resource_attributes.py b/kubernetes/test/test_v1beta1_non_resource_attributes.py deleted file mode 100644 index f68c34b91e..0000000000 --- a/kubernetes/test/test_v1beta1_non_resource_attributes.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_non_resource_attributes import V1beta1NonResourceAttributes # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1NonResourceAttributes(unittest.TestCase): - """V1beta1NonResourceAttributes unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1NonResourceAttributes - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_non_resource_attributes.V1beta1NonResourceAttributes() # noqa: E501 - if include_optional : - return V1beta1NonResourceAttributes( - path = '0', - verb = '0' - ) - else : - return V1beta1NonResourceAttributes( - ) - - def testV1beta1NonResourceAttributes(self): - """Test V1beta1NonResourceAttributes""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_non_resource_rule.py b/kubernetes/test/test_v1beta1_non_resource_rule.py deleted file mode 100644 index 510d460083..0000000000 --- a/kubernetes/test/test_v1beta1_non_resource_rule.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_non_resource_rule import V1beta1NonResourceRule # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1NonResourceRule(unittest.TestCase): - """V1beta1NonResourceRule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1NonResourceRule - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_non_resource_rule.V1beta1NonResourceRule() # noqa: E501 - if include_optional : - return V1beta1NonResourceRule( - non_resource_ur_ls = [ - '0' - ], - verbs = [ - '0' - ] - ) - else : - return V1beta1NonResourceRule( - verbs = [ - '0' - ], - ) - - def testV1beta1NonResourceRule(self): - """Test V1beta1NonResourceRule""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_overhead.py b/kubernetes/test/test_v1beta1_overhead.py deleted file mode 100644 index 433898a66f..0000000000 --- a/kubernetes/test/test_v1beta1_overhead.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_overhead import V1beta1Overhead # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1Overhead(unittest.TestCase): - """V1beta1Overhead unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1Overhead - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_overhead.V1beta1Overhead() # noqa: E501 - if include_optional : - return V1beta1Overhead( - pod_fixed = { - 'key' : '0' - } - ) - else : - return V1beta1Overhead( - ) - - def testV1beta1Overhead(self): - """Test V1beta1Overhead""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_pod_disruption_budget.py b/kubernetes/test/test_v1beta1_pod_disruption_budget.py deleted file mode 100644 index 5a6f0e762b..0000000000 --- a/kubernetes/test/test_v1beta1_pod_disruption_budget.py +++ /dev/null @@ -1,116 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_pod_disruption_budget import V1beta1PodDisruptionBudget # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1PodDisruptionBudget(unittest.TestCase): - """V1beta1PodDisruptionBudget unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1PodDisruptionBudget - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_pod_disruption_budget.V1beta1PodDisruptionBudget() # noqa: E501 - if include_optional : - return V1beta1PodDisruptionBudget( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/pod_disruption_budget_spec.v1beta1.PodDisruptionBudgetSpec( - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), - min_available = kubernetes.client.models.min_available.minAvailable(), - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), - status = kubernetes.client.models.v1beta1/pod_disruption_budget_status.v1beta1.PodDisruptionBudgetStatus( - current_healthy = 56, - desired_healthy = 56, - disrupted_pods = { - 'key' : datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - }, - disruptions_allowed = 56, - expected_pods = 56, - observed_generation = 56, ) - ) - else : - return V1beta1PodDisruptionBudget( - ) - - def testV1beta1PodDisruptionBudget(self): - """Test V1beta1PodDisruptionBudget""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_pod_disruption_budget_list.py b/kubernetes/test/test_v1beta1_pod_disruption_budget_list.py deleted file mode 100644 index 9eb6de36a6..0000000000 --- a/kubernetes/test/test_v1beta1_pod_disruption_budget_list.py +++ /dev/null @@ -1,194 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_pod_disruption_budget_list import V1beta1PodDisruptionBudgetList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1PodDisruptionBudgetList(unittest.TestCase): - """V1beta1PodDisruptionBudgetList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1PodDisruptionBudgetList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_pod_disruption_budget_list.V1beta1PodDisruptionBudgetList() # noqa: E501 - if include_optional : - return V1beta1PodDisruptionBudgetList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/pod_disruption_budget.v1beta1.PodDisruptionBudget( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/pod_disruption_budget_spec.v1beta1.PodDisruptionBudgetSpec( - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), - min_available = kubernetes.client.models.min_available.minAvailable(), - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), - status = kubernetes.client.models.v1beta1/pod_disruption_budget_status.v1beta1.PodDisruptionBudgetStatus( - current_healthy = 56, - desired_healthy = 56, - disrupted_pods = { - 'key' : datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - }, - disruptions_allowed = 56, - expected_pods = 56, - observed_generation = 56, ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1PodDisruptionBudgetList( - items = [ - kubernetes.client.models.v1beta1/pod_disruption_budget.v1beta1.PodDisruptionBudget( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/pod_disruption_budget_spec.v1beta1.PodDisruptionBudgetSpec( - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), - min_available = kubernetes.client.models.min_available.minAvailable(), - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), - status = kubernetes.client.models.v1beta1/pod_disruption_budget_status.v1beta1.PodDisruptionBudgetStatus( - current_healthy = 56, - desired_healthy = 56, - disrupted_pods = { - 'key' : datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - }, - disruptions_allowed = 56, - expected_pods = 56, - observed_generation = 56, ), ) - ], - ) - - def testV1beta1PodDisruptionBudgetList(self): - """Test V1beta1PodDisruptionBudgetList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_pod_disruption_budget_spec.py b/kubernetes/test/test_v1beta1_pod_disruption_budget_spec.py deleted file mode 100644 index d075ec7ac5..0000000000 --- a/kubernetes/test/test_v1beta1_pod_disruption_budget_spec.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_pod_disruption_budget_spec import V1beta1PodDisruptionBudgetSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1PodDisruptionBudgetSpec(unittest.TestCase): - """V1beta1PodDisruptionBudgetSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1PodDisruptionBudgetSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_pod_disruption_budget_spec.V1beta1PodDisruptionBudgetSpec() # noqa: E501 - if include_optional : - return V1beta1PodDisruptionBudgetSpec( - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), - min_available = kubernetes.client.models.min_available.minAvailable(), - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ) - ) - else : - return V1beta1PodDisruptionBudgetSpec( - ) - - def testV1beta1PodDisruptionBudgetSpec(self): - """Test V1beta1PodDisruptionBudgetSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_pod_disruption_budget_status.py b/kubernetes/test/test_v1beta1_pod_disruption_budget_status.py deleted file mode 100644 index 031487c9e5..0000000000 --- a/kubernetes/test/test_v1beta1_pod_disruption_budget_status.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_pod_disruption_budget_status import V1beta1PodDisruptionBudgetStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1PodDisruptionBudgetStatus(unittest.TestCase): - """V1beta1PodDisruptionBudgetStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1PodDisruptionBudgetStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_pod_disruption_budget_status.V1beta1PodDisruptionBudgetStatus() # noqa: E501 - if include_optional : - return V1beta1PodDisruptionBudgetStatus( - current_healthy = 56, - desired_healthy = 56, - disrupted_pods = { - 'key' : datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - }, - disruptions_allowed = 56, - expected_pods = 56, - observed_generation = 56 - ) - else : - return V1beta1PodDisruptionBudgetStatus( - current_healthy = 56, - desired_healthy = 56, - disruptions_allowed = 56, - expected_pods = 56, - ) - - def testV1beta1PodDisruptionBudgetStatus(self): - """Test V1beta1PodDisruptionBudgetStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_policy_rule.py b/kubernetes/test/test_v1beta1_policy_rule.py deleted file mode 100644 index 9b4fd973d6..0000000000 --- a/kubernetes/test/test_v1beta1_policy_rule.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_policy_rule import V1beta1PolicyRule # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1PolicyRule(unittest.TestCase): - """V1beta1PolicyRule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1PolicyRule - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_policy_rule.V1beta1PolicyRule() # noqa: E501 - if include_optional : - return V1beta1PolicyRule( - api_groups = [ - '0' - ], - non_resource_ur_ls = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ] - ) - else : - return V1beta1PolicyRule( - verbs = [ - '0' - ], - ) - - def testV1beta1PolicyRule(self): - """Test V1beta1PolicyRule""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_priority_class.py b/kubernetes/test/test_v1beta1_priority_class.py deleted file mode 100644 index 938afa9488..0000000000 --- a/kubernetes/test/test_v1beta1_priority_class.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_priority_class import V1beta1PriorityClass # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1PriorityClass(unittest.TestCase): - """V1beta1PriorityClass unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1PriorityClass - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_priority_class.V1beta1PriorityClass() # noqa: E501 - if include_optional : - return V1beta1PriorityClass( - api_version = '0', - description = '0', - global_default = True, - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - preemption_policy = '0', - value = 56 - ) - else : - return V1beta1PriorityClass( - value = 56, - ) - - def testV1beta1PriorityClass(self): - """Test V1beta1PriorityClass""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_priority_class_list.py b/kubernetes/test/test_v1beta1_priority_class_list.py deleted file mode 100644 index db3f3eb330..0000000000 --- a/kubernetes/test/test_v1beta1_priority_class_list.py +++ /dev/null @@ -1,154 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_priority_class_list import V1beta1PriorityClassList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1PriorityClassList(unittest.TestCase): - """V1beta1PriorityClassList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1PriorityClassList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_priority_class_list.V1beta1PriorityClassList() # noqa: E501 - if include_optional : - return V1beta1PriorityClassList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/priority_class.v1beta1.PriorityClass( - api_version = '0', - description = '0', - global_default = True, - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - preemption_policy = '0', - value = 56, ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1PriorityClassList( - items = [ - kubernetes.client.models.v1beta1/priority_class.v1beta1.PriorityClass( - api_version = '0', - description = '0', - global_default = True, - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - preemption_policy = '0', - value = 56, ) - ], - ) - - def testV1beta1PriorityClassList(self): - """Test V1beta1PriorityClassList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_replica_set.py b/kubernetes/test/test_v1beta1_replica_set.py deleted file mode 100644 index 284ca8f84e..0000000000 --- a/kubernetes/test/test_v1beta1_replica_set.py +++ /dev/null @@ -1,594 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_replica_set import V1beta1ReplicaSet # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1ReplicaSet(unittest.TestCase): - """V1beta1ReplicaSet unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1ReplicaSet - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_replica_set.V1beta1ReplicaSet() # noqa: E501 - if include_optional : - return V1beta1ReplicaSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/replica_set_spec.v1beta1.ReplicaSetSpec( - min_ready_seconds = 56, - replicas = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), ), - status = kubernetes.client.models.v1beta1/replica_set_status.v1beta1.ReplicaSetStatus( - available_replicas = 56, - conditions = [ - kubernetes.client.models.v1beta1/replica_set_condition.v1beta1.ReplicaSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - fully_labeled_replicas = 56, - observed_generation = 56, - ready_replicas = 56, - replicas = 56, ) - ) - else : - return V1beta1ReplicaSet( - ) - - def testV1beta1ReplicaSet(self): - """Test V1beta1ReplicaSet""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_replica_set_condition.py b/kubernetes/test/test_v1beta1_replica_set_condition.py deleted file mode 100644 index 2b499cb2e5..0000000000 --- a/kubernetes/test/test_v1beta1_replica_set_condition.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_replica_set_condition import V1beta1ReplicaSetCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1ReplicaSetCondition(unittest.TestCase): - """V1beta1ReplicaSetCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1ReplicaSetCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_replica_set_condition.V1beta1ReplicaSetCondition() # noqa: E501 - if include_optional : - return V1beta1ReplicaSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V1beta1ReplicaSetCondition( - status = '0', - type = '0', - ) - - def testV1beta1ReplicaSetCondition(self): - """Test V1beta1ReplicaSetCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_replica_set_list.py b/kubernetes/test/test_v1beta1_replica_set_list.py deleted file mode 100644 index ee989fbb97..0000000000 --- a/kubernetes/test/test_v1beta1_replica_set_list.py +++ /dev/null @@ -1,206 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_replica_set_list import V1beta1ReplicaSetList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1ReplicaSetList(unittest.TestCase): - """V1beta1ReplicaSetList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1ReplicaSetList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_replica_set_list.V1beta1ReplicaSetList() # noqa: E501 - if include_optional : - return V1beta1ReplicaSetList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/replica_set.v1beta1.ReplicaSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/replica_set_spec.v1beta1.ReplicaSetSpec( - min_ready_seconds = 56, - replicas = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), - status = kubernetes.client.models.v1beta1/replica_set_status.v1beta1.ReplicaSetStatus( - available_replicas = 56, - conditions = [ - kubernetes.client.models.v1beta1/replica_set_condition.v1beta1.ReplicaSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - fully_labeled_replicas = 56, - observed_generation = 56, - ready_replicas = 56, - replicas = 56, ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1ReplicaSetList( - items = [ - kubernetes.client.models.v1beta1/replica_set.v1beta1.ReplicaSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/replica_set_spec.v1beta1.ReplicaSetSpec( - min_ready_seconds = 56, - replicas = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), - status = kubernetes.client.models.v1beta1/replica_set_status.v1beta1.ReplicaSetStatus( - available_replicas = 56, - conditions = [ - kubernetes.client.models.v1beta1/replica_set_condition.v1beta1.ReplicaSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - fully_labeled_replicas = 56, - observed_generation = 56, - ready_replicas = 56, - replicas = 56, ), ) - ], - ) - - def testV1beta1ReplicaSetList(self): - """Test V1beta1ReplicaSetList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_replica_set_spec.py b/kubernetes/test/test_v1beta1_replica_set_spec.py deleted file mode 100644 index 34f2d1624c..0000000000 --- a/kubernetes/test/test_v1beta1_replica_set_spec.py +++ /dev/null @@ -1,549 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_replica_set_spec import V1beta1ReplicaSetSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1ReplicaSetSpec(unittest.TestCase): - """V1beta1ReplicaSetSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1ReplicaSetSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_replica_set_spec.V1beta1ReplicaSetSpec() # noqa: E501 - if include_optional : - return V1beta1ReplicaSetSpec( - min_ready_seconds = 56, - replicas = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ) - ) - else : - return V1beta1ReplicaSetSpec( - ) - - def testV1beta1ReplicaSetSpec(self): - """Test V1beta1ReplicaSetSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_replica_set_status.py b/kubernetes/test/test_v1beta1_replica_set_status.py deleted file mode 100644 index 2a1336473f..0000000000 --- a/kubernetes/test/test_v1beta1_replica_set_status.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_replica_set_status import V1beta1ReplicaSetStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1ReplicaSetStatus(unittest.TestCase): - """V1beta1ReplicaSetStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1ReplicaSetStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_replica_set_status.V1beta1ReplicaSetStatus() # noqa: E501 - if include_optional : - return V1beta1ReplicaSetStatus( - available_replicas = 56, - conditions = [ - kubernetes.client.models.v1beta1/replica_set_condition.v1beta1.ReplicaSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - fully_labeled_replicas = 56, - observed_generation = 56, - ready_replicas = 56, - replicas = 56 - ) - else : - return V1beta1ReplicaSetStatus( - replicas = 56, - ) - - def testV1beta1ReplicaSetStatus(self): - """Test V1beta1ReplicaSetStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_resource_attributes.py b/kubernetes/test/test_v1beta1_resource_attributes.py deleted file mode 100644 index 7055838980..0000000000 --- a/kubernetes/test/test_v1beta1_resource_attributes.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_resource_attributes import V1beta1ResourceAttributes # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1ResourceAttributes(unittest.TestCase): - """V1beta1ResourceAttributes unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1ResourceAttributes - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_resource_attributes.V1beta1ResourceAttributes() # noqa: E501 - if include_optional : - return V1beta1ResourceAttributes( - group = '0', - name = '0', - namespace = '0', - resource = '0', - subresource = '0', - verb = '0', - version = '0' - ) - else : - return V1beta1ResourceAttributes( - ) - - def testV1beta1ResourceAttributes(self): - """Test V1beta1ResourceAttributes""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_resource_rule.py b/kubernetes/test/test_v1beta1_resource_rule.py deleted file mode 100644 index 3135bfa81b..0000000000 --- a/kubernetes/test/test_v1beta1_resource_rule.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_resource_rule import V1beta1ResourceRule # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1ResourceRule(unittest.TestCase): - """V1beta1ResourceRule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1ResourceRule - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_resource_rule.V1beta1ResourceRule() # noqa: E501 - if include_optional : - return V1beta1ResourceRule( - api_groups = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ] - ) - else : - return V1beta1ResourceRule( - verbs = [ - '0' - ], - ) - - def testV1beta1ResourceRule(self): - """Test V1beta1ResourceRule""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_role.py b/kubernetes/test/test_v1beta1_role.py deleted file mode 100644 index b40fcb5e66..0000000000 --- a/kubernetes/test/test_v1beta1_role.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_role import V1beta1Role # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1Role(unittest.TestCase): - """V1beta1Role unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1Role - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_role.V1beta1Role() # noqa: E501 - if include_optional : - return V1beta1Role( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - rules = [ - kubernetes.client.models.v1beta1/policy_rule.v1beta1.PolicyRule( - api_groups = [ - '0' - ], - non_resource_ur_ls = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ] - ) - else : - return V1beta1Role( - ) - - def testV1beta1Role(self): - """Test V1beta1Role""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_role_binding.py b/kubernetes/test/test_v1beta1_role_binding.py deleted file mode 100644 index 7c691e33b4..0000000000 --- a/kubernetes/test/test_v1beta1_role_binding.py +++ /dev/null @@ -1,107 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_role_binding import V1beta1RoleBinding # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1RoleBinding(unittest.TestCase): - """V1beta1RoleBinding unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1RoleBinding - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_role_binding.V1beta1RoleBinding() # noqa: E501 - if include_optional : - return V1beta1RoleBinding( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - role_ref = kubernetes.client.models.v1beta1/role_ref.v1beta1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - subjects = [ - kubernetes.client.models.v1beta1/subject.v1beta1.Subject( - api_group = '0', - kind = '0', - name = '0', - namespace = '0', ) - ] - ) - else : - return V1beta1RoleBinding( - role_ref = kubernetes.client.models.v1beta1/role_ref.v1beta1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - ) - - def testV1beta1RoleBinding(self): - """Test V1beta1RoleBinding""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_role_binding_list.py b/kubernetes/test/test_v1beta1_role_binding_list.py deleted file mode 100644 index 49cd2b4db2..0000000000 --- a/kubernetes/test/test_v1beta1_role_binding_list.py +++ /dev/null @@ -1,168 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_role_binding_list import V1beta1RoleBindingList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1RoleBindingList(unittest.TestCase): - """V1beta1RoleBindingList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1RoleBindingList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_role_binding_list.V1beta1RoleBindingList() # noqa: E501 - if include_optional : - return V1beta1RoleBindingList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/role_binding.v1beta1.RoleBinding( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - role_ref = kubernetes.client.models.v1beta1/role_ref.v1beta1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - subjects = [ - kubernetes.client.models.v1beta1/subject.v1beta1.Subject( - api_group = '0', - kind = '0', - name = '0', - namespace = '0', ) - ], ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1RoleBindingList( - items = [ - kubernetes.client.models.v1beta1/role_binding.v1beta1.RoleBinding( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - role_ref = kubernetes.client.models.v1beta1/role_ref.v1beta1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - subjects = [ - kubernetes.client.models.v1beta1/subject.v1beta1.Subject( - api_group = '0', - kind = '0', - name = '0', - namespace = '0', ) - ], ) - ], - ) - - def testV1beta1RoleBindingList(self): - """Test V1beta1RoleBindingList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_role_list.py b/kubernetes/test/test_v1beta1_role_list.py deleted file mode 100644 index f0d9b26c43..0000000000 --- a/kubernetes/test/test_v1beta1_role_list.py +++ /dev/null @@ -1,182 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_role_list import V1beta1RoleList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1RoleList(unittest.TestCase): - """V1beta1RoleList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1RoleList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_role_list.V1beta1RoleList() # noqa: E501 - if include_optional : - return V1beta1RoleList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/role.v1beta1.Role( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - rules = [ - kubernetes.client.models.v1beta1/policy_rule.v1beta1.PolicyRule( - api_groups = [ - '0' - ], - non_resource_ur_ls = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ], ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1RoleList( - items = [ - kubernetes.client.models.v1beta1/role.v1beta1.Role( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - rules = [ - kubernetes.client.models.v1beta1/policy_rule.v1beta1.PolicyRule( - api_groups = [ - '0' - ], - non_resource_ur_ls = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ], ) - ], - ) - - def testV1beta1RoleList(self): - """Test V1beta1RoleList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_role_ref.py b/kubernetes/test/test_v1beta1_role_ref.py deleted file mode 100644 index ab5286a94c..0000000000 --- a/kubernetes/test/test_v1beta1_role_ref.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_role_ref import V1beta1RoleRef # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1RoleRef(unittest.TestCase): - """V1beta1RoleRef unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1RoleRef - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_role_ref.V1beta1RoleRef() # noqa: E501 - if include_optional : - return V1beta1RoleRef( - api_group = '0', - kind = '0', - name = '0' - ) - else : - return V1beta1RoleRef( - api_group = '0', - kind = '0', - name = '0', - ) - - def testV1beta1RoleRef(self): - """Test V1beta1RoleRef""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_rolling_update_daemon_set.py b/kubernetes/test/test_v1beta1_rolling_update_daemon_set.py deleted file mode 100644 index f780753347..0000000000 --- a/kubernetes/test/test_v1beta1_rolling_update_daemon_set.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_rolling_update_daemon_set import V1beta1RollingUpdateDaemonSet # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1RollingUpdateDaemonSet(unittest.TestCase): - """V1beta1RollingUpdateDaemonSet unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1RollingUpdateDaemonSet - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_rolling_update_daemon_set.V1beta1RollingUpdateDaemonSet() # noqa: E501 - if include_optional : - return V1beta1RollingUpdateDaemonSet( - max_unavailable = None - ) - else : - return V1beta1RollingUpdateDaemonSet( - ) - - def testV1beta1RollingUpdateDaemonSet(self): - """Test V1beta1RollingUpdateDaemonSet""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_rolling_update_stateful_set_strategy.py b/kubernetes/test/test_v1beta1_rolling_update_stateful_set_strategy.py deleted file mode 100644 index 911d80e95f..0000000000 --- a/kubernetes/test/test_v1beta1_rolling_update_stateful_set_strategy.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_rolling_update_stateful_set_strategy import V1beta1RollingUpdateStatefulSetStrategy # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1RollingUpdateStatefulSetStrategy(unittest.TestCase): - """V1beta1RollingUpdateStatefulSetStrategy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1RollingUpdateStatefulSetStrategy - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_rolling_update_stateful_set_strategy.V1beta1RollingUpdateStatefulSetStrategy() # noqa: E501 - if include_optional : - return V1beta1RollingUpdateStatefulSetStrategy( - partition = 56 - ) - else : - return V1beta1RollingUpdateStatefulSetStrategy( - ) - - def testV1beta1RollingUpdateStatefulSetStrategy(self): - """Test V1beta1RollingUpdateStatefulSetStrategy""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_rule_with_operations.py b/kubernetes/test/test_v1beta1_rule_with_operations.py deleted file mode 100644 index 83fec1d8cc..0000000000 --- a/kubernetes/test/test_v1beta1_rule_with_operations.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_rule_with_operations import V1beta1RuleWithOperations # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1RuleWithOperations(unittest.TestCase): - """V1beta1RuleWithOperations unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1RuleWithOperations - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_rule_with_operations.V1beta1RuleWithOperations() # noqa: E501 - if include_optional : - return V1beta1RuleWithOperations( - api_groups = [ - '0' - ], - api_versions = [ - '0' - ], - operations = [ - '0' - ], - resources = [ - '0' - ], - scope = '0' - ) - else : - return V1beta1RuleWithOperations( - ) - - def testV1beta1RuleWithOperations(self): - """Test V1beta1RuleWithOperations""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_runtime_class.py b/kubernetes/test/test_v1beta1_runtime_class.py deleted file mode 100644 index 342f87b7ae..0000000000 --- a/kubernetes/test/test_v1beta1_runtime_class.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_runtime_class import V1beta1RuntimeClass # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1RuntimeClass(unittest.TestCase): - """V1beta1RuntimeClass unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1RuntimeClass - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_runtime_class.V1beta1RuntimeClass() # noqa: E501 - if include_optional : - return V1beta1RuntimeClass( - api_version = '0', - handler = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - overhead = kubernetes.client.models.v1beta1/overhead.v1beta1.Overhead( - pod_fixed = { - 'key' : '0' - }, ), - scheduling = kubernetes.client.models.v1beta1/scheduling.v1beta1.Scheduling( - node_selector = { - 'key' : '0' - }, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], ) - ) - else : - return V1beta1RuntimeClass( - handler = '0', - ) - - def testV1beta1RuntimeClass(self): - """Test V1beta1RuntimeClass""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_runtime_class_list.py b/kubernetes/test/test_v1beta1_runtime_class_list.py deleted file mode 100644 index 4291f04cec..0000000000 --- a/kubernetes/test/test_v1beta1_runtime_class_list.py +++ /dev/null @@ -1,180 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_runtime_class_list import V1beta1RuntimeClassList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1RuntimeClassList(unittest.TestCase): - """V1beta1RuntimeClassList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1RuntimeClassList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_runtime_class_list.V1beta1RuntimeClassList() # noqa: E501 - if include_optional : - return V1beta1RuntimeClassList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/runtime_class.v1beta1.RuntimeClass( - api_version = '0', - handler = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - overhead = kubernetes.client.models.v1beta1/overhead.v1beta1.Overhead( - pod_fixed = { - 'key' : '0' - }, ), - scheduling = kubernetes.client.models.v1beta1/scheduling.v1beta1.Scheduling( - node_selector = { - 'key' : '0' - }, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1RuntimeClassList( - items = [ - kubernetes.client.models.v1beta1/runtime_class.v1beta1.RuntimeClass( - api_version = '0', - handler = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - overhead = kubernetes.client.models.v1beta1/overhead.v1beta1.Overhead( - pod_fixed = { - 'key' : '0' - }, ), - scheduling = kubernetes.client.models.v1beta1/scheduling.v1beta1.Scheduling( - node_selector = { - 'key' : '0' - }, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], ), ) - ], - ) - - def testV1beta1RuntimeClassList(self): - """Test V1beta1RuntimeClassList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_scheduling.py b/kubernetes/test/test_v1beta1_scheduling.py deleted file mode 100644 index 9a18c2f11a..0000000000 --- a/kubernetes/test/test_v1beta1_scheduling.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_scheduling import V1beta1Scheduling # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1Scheduling(unittest.TestCase): - """V1beta1Scheduling unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1Scheduling - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_scheduling.V1beta1Scheduling() # noqa: E501 - if include_optional : - return V1beta1Scheduling( - node_selector = { - 'key' : '0' - }, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ] - ) - else : - return V1beta1Scheduling( - ) - - def testV1beta1Scheduling(self): - """Test V1beta1Scheduling""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_self_subject_access_review.py b/kubernetes/test/test_v1beta1_self_subject_access_review.py deleted file mode 100644 index ad146c9c0b..0000000000 --- a/kubernetes/test/test_v1beta1_self_subject_access_review.py +++ /dev/null @@ -1,121 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_self_subject_access_review import V1beta1SelfSubjectAccessReview # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1SelfSubjectAccessReview(unittest.TestCase): - """V1beta1SelfSubjectAccessReview unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1SelfSubjectAccessReview - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_self_subject_access_review.V1beta1SelfSubjectAccessReview() # noqa: E501 - if include_optional : - return V1beta1SelfSubjectAccessReview( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/self_subject_access_review_spec.v1beta1.SelfSubjectAccessReviewSpec( - non_resource_attributes = kubernetes.client.models.v1beta1/non_resource_attributes.v1beta1.NonResourceAttributes( - path = '0', - verb = '0', ), - resource_attributes = kubernetes.client.models.v1beta1/resource_attributes.v1beta1.ResourceAttributes( - group = '0', - name = '0', - namespace = '0', - resource = '0', - subresource = '0', - verb = '0', - version = '0', ), ), - status = kubernetes.client.models.v1beta1/subject_access_review_status.v1beta1.SubjectAccessReviewStatus( - allowed = True, - denied = True, - evaluation_error = '0', - reason = '0', ) - ) - else : - return V1beta1SelfSubjectAccessReview( - spec = kubernetes.client.models.v1beta1/self_subject_access_review_spec.v1beta1.SelfSubjectAccessReviewSpec( - non_resource_attributes = kubernetes.client.models.v1beta1/non_resource_attributes.v1beta1.NonResourceAttributes( - path = '0', - verb = '0', ), - resource_attributes = kubernetes.client.models.v1beta1/resource_attributes.v1beta1.ResourceAttributes( - group = '0', - name = '0', - namespace = '0', - resource = '0', - subresource = '0', - verb = '0', - version = '0', ), ), - ) - - def testV1beta1SelfSubjectAccessReview(self): - """Test V1beta1SelfSubjectAccessReview""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_self_subject_access_review_spec.py b/kubernetes/test/test_v1beta1_self_subject_access_review_spec.py deleted file mode 100644 index 7a8473fa93..0000000000 --- a/kubernetes/test/test_v1beta1_self_subject_access_review_spec.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_self_subject_access_review_spec import V1beta1SelfSubjectAccessReviewSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1SelfSubjectAccessReviewSpec(unittest.TestCase): - """V1beta1SelfSubjectAccessReviewSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1SelfSubjectAccessReviewSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_self_subject_access_review_spec.V1beta1SelfSubjectAccessReviewSpec() # noqa: E501 - if include_optional : - return V1beta1SelfSubjectAccessReviewSpec( - non_resource_attributes = kubernetes.client.models.v1beta1/non_resource_attributes.v1beta1.NonResourceAttributes( - path = '0', - verb = '0', ), - resource_attributes = kubernetes.client.models.v1beta1/resource_attributes.v1beta1.ResourceAttributes( - group = '0', - name = '0', - namespace = '0', - resource = '0', - subresource = '0', - verb = '0', - version = '0', ) - ) - else : - return V1beta1SelfSubjectAccessReviewSpec( - ) - - def testV1beta1SelfSubjectAccessReviewSpec(self): - """Test V1beta1SelfSubjectAccessReviewSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_self_subject_rules_review.py b/kubernetes/test/test_v1beta1_self_subject_rules_review.py deleted file mode 100644 index 5eb95f0b5f..0000000000 --- a/kubernetes/test/test_v1beta1_self_subject_rules_review.py +++ /dev/null @@ -1,123 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_self_subject_rules_review import V1beta1SelfSubjectRulesReview # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1SelfSubjectRulesReview(unittest.TestCase): - """V1beta1SelfSubjectRulesReview unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1SelfSubjectRulesReview - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_self_subject_rules_review.V1beta1SelfSubjectRulesReview() # noqa: E501 - if include_optional : - return V1beta1SelfSubjectRulesReview( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/self_subject_rules_review_spec.v1beta1.SelfSubjectRulesReviewSpec( - namespace = '0', ), - status = kubernetes.client.models.v1beta1/subject_rules_review_status.v1beta1.SubjectRulesReviewStatus( - evaluation_error = '0', - incomplete = True, - non_resource_rules = [ - kubernetes.client.models.v1beta1/non_resource_rule.v1beta1.NonResourceRule( - non_resource_ur_ls = [ - '0' - ], - verbs = [ - '0' - ], ) - ], - resource_rules = [ - kubernetes.client.models.v1beta1/resource_rule.v1beta1.ResourceRule( - api_groups = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ], ) - ) - else : - return V1beta1SelfSubjectRulesReview( - spec = kubernetes.client.models.v1beta1/self_subject_rules_review_spec.v1beta1.SelfSubjectRulesReviewSpec( - namespace = '0', ), - ) - - def testV1beta1SelfSubjectRulesReview(self): - """Test V1beta1SelfSubjectRulesReview""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_self_subject_rules_review_spec.py b/kubernetes/test/test_v1beta1_self_subject_rules_review_spec.py deleted file mode 100644 index 8c39ca7139..0000000000 --- a/kubernetes/test/test_v1beta1_self_subject_rules_review_spec.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_self_subject_rules_review_spec import V1beta1SelfSubjectRulesReviewSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1SelfSubjectRulesReviewSpec(unittest.TestCase): - """V1beta1SelfSubjectRulesReviewSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1SelfSubjectRulesReviewSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_self_subject_rules_review_spec.V1beta1SelfSubjectRulesReviewSpec() # noqa: E501 - if include_optional : - return V1beta1SelfSubjectRulesReviewSpec( - namespace = '0' - ) - else : - return V1beta1SelfSubjectRulesReviewSpec( - ) - - def testV1beta1SelfSubjectRulesReviewSpec(self): - """Test V1beta1SelfSubjectRulesReviewSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_stateful_set.py b/kubernetes/test/test_v1beta1_stateful_set.py deleted file mode 100644 index 78a767f564..0000000000 --- a/kubernetes/test/test_v1beta1_stateful_set.py +++ /dev/null @@ -1,625 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_stateful_set import V1beta1StatefulSet # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1StatefulSet(unittest.TestCase): - """V1beta1StatefulSet unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1StatefulSet - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_stateful_set.V1beta1StatefulSet() # noqa: E501 - if include_optional : - return V1beta1StatefulSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/stateful_set_spec.v1beta1.StatefulSetSpec( - pod_management_policy = '0', - replicas = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - service_name = '0', - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - update_strategy = kubernetes.client.models.v1beta1/stateful_set_update_strategy.v1beta1.StatefulSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1beta1/rolling_update_stateful_set_strategy.v1beta1.RollingUpdateStatefulSetStrategy( - partition = 56, ), - type = '0', ), - volume_claim_templates = [ - kubernetes.client.models.v1/persistent_volume_claim.v1.PersistentVolumeClaim( - api_version = '0', - kind = '0', - status = kubernetes.client.models.v1/persistent_volume_claim_status.v1.PersistentVolumeClaimStatus( - access_modes = [ - '0' - ], - capacity = { - 'key' : '0' - }, - conditions = [ - kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - phase = '0', ), ) - ], ), - status = kubernetes.client.models.v1beta1/stateful_set_status.v1beta1.StatefulSetStatus( - collision_count = 56, - conditions = [ - kubernetes.client.models.v1beta1/stateful_set_condition.v1beta1.StatefulSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_replicas = 56, - current_revision = '0', - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - update_revision = '0', - updated_replicas = 56, ) - ) - else : - return V1beta1StatefulSet( - ) - - def testV1beta1StatefulSet(self): - """Test V1beta1StatefulSet""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_stateful_set_condition.py b/kubernetes/test/test_v1beta1_stateful_set_condition.py deleted file mode 100644 index 7a1e26f977..0000000000 --- a/kubernetes/test/test_v1beta1_stateful_set_condition.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_stateful_set_condition import V1beta1StatefulSetCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1StatefulSetCondition(unittest.TestCase): - """V1beta1StatefulSetCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1StatefulSetCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_stateful_set_condition.V1beta1StatefulSetCondition() # noqa: E501 - if include_optional : - return V1beta1StatefulSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V1beta1StatefulSetCondition( - status = '0', - type = '0', - ) - - def testV1beta1StatefulSetCondition(self): - """Test V1beta1StatefulSetCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_stateful_set_list.py b/kubernetes/test/test_v1beta1_stateful_set_list.py deleted file mode 100644 index a379d0da70..0000000000 --- a/kubernetes/test/test_v1beta1_stateful_set_list.py +++ /dev/null @@ -1,252 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_stateful_set_list import V1beta1StatefulSetList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1StatefulSetList(unittest.TestCase): - """V1beta1StatefulSetList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1StatefulSetList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_stateful_set_list.V1beta1StatefulSetList() # noqa: E501 - if include_optional : - return V1beta1StatefulSetList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/stateful_set.v1beta1.StatefulSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/stateful_set_spec.v1beta1.StatefulSetSpec( - pod_management_policy = '0', - replicas = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - service_name = '0', - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), - update_strategy = kubernetes.client.models.v1beta1/stateful_set_update_strategy.v1beta1.StatefulSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1beta1/rolling_update_stateful_set_strategy.v1beta1.RollingUpdateStatefulSetStrategy( - partition = 56, ), - type = '0', ), - volume_claim_templates = [ - kubernetes.client.models.v1/persistent_volume_claim.v1.PersistentVolumeClaim( - api_version = '0', - kind = '0', - status = kubernetes.client.models.v1/persistent_volume_claim_status.v1.PersistentVolumeClaimStatus( - access_modes = [ - '0' - ], - capacity = { - 'key' : '0' - }, - conditions = [ - kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - phase = '0', ), ) - ], ), - status = kubernetes.client.models.v1beta1/stateful_set_status.v1beta1.StatefulSetStatus( - collision_count = 56, - current_replicas = 56, - current_revision = '0', - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - update_revision = '0', - updated_replicas = 56, ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1StatefulSetList( - items = [ - kubernetes.client.models.v1beta1/stateful_set.v1beta1.StatefulSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/stateful_set_spec.v1beta1.StatefulSetSpec( - pod_management_policy = '0', - replicas = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - service_name = '0', - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), - update_strategy = kubernetes.client.models.v1beta1/stateful_set_update_strategy.v1beta1.StatefulSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1beta1/rolling_update_stateful_set_strategy.v1beta1.RollingUpdateStatefulSetStrategy( - partition = 56, ), - type = '0', ), - volume_claim_templates = [ - kubernetes.client.models.v1/persistent_volume_claim.v1.PersistentVolumeClaim( - api_version = '0', - kind = '0', - status = kubernetes.client.models.v1/persistent_volume_claim_status.v1.PersistentVolumeClaimStatus( - access_modes = [ - '0' - ], - capacity = { - 'key' : '0' - }, - conditions = [ - kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - phase = '0', ), ) - ], ), - status = kubernetes.client.models.v1beta1/stateful_set_status.v1beta1.StatefulSetStatus( - collision_count = 56, - current_replicas = 56, - current_revision = '0', - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - update_revision = '0', - updated_replicas = 56, ), ) - ], - ) - - def testV1beta1StatefulSetList(self): - """Test V1beta1StatefulSetList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_stateful_set_spec.py b/kubernetes/test/test_v1beta1_stateful_set_spec.py deleted file mode 100644 index a12cadfe4a..0000000000 --- a/kubernetes/test/test_v1beta1_stateful_set_spec.py +++ /dev/null @@ -1,1128 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_stateful_set_spec import V1beta1StatefulSetSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1StatefulSetSpec(unittest.TestCase): - """V1beta1StatefulSetSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1StatefulSetSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_stateful_set_spec.V1beta1StatefulSetSpec() # noqa: E501 - if include_optional : - return V1beta1StatefulSetSpec( - pod_management_policy = '0', - replicas = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - service_name = '0', - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - update_strategy = kubernetes.client.models.v1beta1/stateful_set_update_strategy.v1beta1.StatefulSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1beta1/rolling_update_stateful_set_strategy.v1beta1.RollingUpdateStatefulSetStrategy( - partition = 56, ), - type = '0', ), - volume_claim_templates = [ - kubernetes.client.models.v1/persistent_volume_claim.v1.PersistentVolumeClaim( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/persistent_volume_claim_spec.v1.PersistentVolumeClaimSpec( - access_modes = [ - '0' - ], - data_source = kubernetes.client.models.v1/typed_local_object_reference.v1.TypedLocalObjectReference( - api_group = '0', - kind = '0', - name = '0', ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - storage_class_name = '0', - volume_mode = '0', - volume_name = '0', ), - status = kubernetes.client.models.v1/persistent_volume_claim_status.v1.PersistentVolumeClaimStatus( - capacity = { - 'key' : '0' - }, - conditions = [ - kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - phase = '0', ), ) - ] - ) - else : - return V1beta1StatefulSetSpec( - service_name = '0', - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - ) - - def testV1beta1StatefulSetSpec(self): - """Test V1beta1StatefulSetSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_stateful_set_status.py b/kubernetes/test/test_v1beta1_stateful_set_status.py deleted file mode 100644 index 463e3d692c..0000000000 --- a/kubernetes/test/test_v1beta1_stateful_set_status.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_stateful_set_status import V1beta1StatefulSetStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1StatefulSetStatus(unittest.TestCase): - """V1beta1StatefulSetStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1StatefulSetStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_stateful_set_status.V1beta1StatefulSetStatus() # noqa: E501 - if include_optional : - return V1beta1StatefulSetStatus( - collision_count = 56, - conditions = [ - kubernetes.client.models.v1beta1/stateful_set_condition.v1beta1.StatefulSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_replicas = 56, - current_revision = '0', - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - update_revision = '0', - updated_replicas = 56 - ) - else : - return V1beta1StatefulSetStatus( - replicas = 56, - ) - - def testV1beta1StatefulSetStatus(self): - """Test V1beta1StatefulSetStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_stateful_set_update_strategy.py b/kubernetes/test/test_v1beta1_stateful_set_update_strategy.py deleted file mode 100644 index 0efecb88c2..0000000000 --- a/kubernetes/test/test_v1beta1_stateful_set_update_strategy.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_stateful_set_update_strategy import V1beta1StatefulSetUpdateStrategy # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1StatefulSetUpdateStrategy(unittest.TestCase): - """V1beta1StatefulSetUpdateStrategy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1StatefulSetUpdateStrategy - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_stateful_set_update_strategy.V1beta1StatefulSetUpdateStrategy() # noqa: E501 - if include_optional : - return V1beta1StatefulSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1beta1/rolling_update_stateful_set_strategy.v1beta1.RollingUpdateStatefulSetStrategy( - partition = 56, ), - type = '0' - ) - else : - return V1beta1StatefulSetUpdateStrategy( - ) - - def testV1beta1StatefulSetUpdateStrategy(self): - """Test V1beta1StatefulSetUpdateStrategy""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_storage_class.py b/kubernetes/test/test_v1beta1_storage_class.py deleted file mode 100644 index 3e106e71a7..0000000000 --- a/kubernetes/test/test_v1beta1_storage_class.py +++ /dev/null @@ -1,113 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_storage_class import V1beta1StorageClass # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1StorageClass(unittest.TestCase): - """V1beta1StorageClass unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1StorageClass - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_storage_class.V1beta1StorageClass() # noqa: E501 - if include_optional : - return V1beta1StorageClass( - allow_volume_expansion = True, - allowed_topologies = [ - kubernetes.client.models.v1/topology_selector_term.v1.TopologySelectorTerm( - match_label_expressions = [ - kubernetes.client.models.v1/topology_selector_label_requirement.v1.TopologySelectorLabelRequirement( - key = '0', - values = [ - '0' - ], ) - ], ) - ], - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - mount_options = [ - '0' - ], - parameters = { - 'key' : '0' - }, - provisioner = '0', - reclaim_policy = '0', - volume_binding_mode = '0' - ) - else : - return V1beta1StorageClass( - provisioner = '0', - ) - - def testV1beta1StorageClass(self): - """Test V1beta1StorageClass""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_storage_class_list.py b/kubernetes/test/test_v1beta1_storage_class_list.py deleted file mode 100644 index 522ce96a49..0000000000 --- a/kubernetes/test/test_v1beta1_storage_class_list.py +++ /dev/null @@ -1,186 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_storage_class_list import V1beta1StorageClassList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1StorageClassList(unittest.TestCase): - """V1beta1StorageClassList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1StorageClassList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_storage_class_list.V1beta1StorageClassList() # noqa: E501 - if include_optional : - return V1beta1StorageClassList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/storage_class.v1beta1.StorageClass( - allow_volume_expansion = True, - allowed_topologies = [ - kubernetes.client.models.v1/topology_selector_term.v1.TopologySelectorTerm( - match_label_expressions = [ - kubernetes.client.models.v1/topology_selector_label_requirement.v1.TopologySelectorLabelRequirement( - key = '0', - values = [ - '0' - ], ) - ], ) - ], - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - mount_options = [ - '0' - ], - parameters = { - 'key' : '0' - }, - provisioner = '0', - reclaim_policy = '0', - volume_binding_mode = '0', ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1StorageClassList( - items = [ - kubernetes.client.models.v1beta1/storage_class.v1beta1.StorageClass( - allow_volume_expansion = True, - allowed_topologies = [ - kubernetes.client.models.v1/topology_selector_term.v1.TopologySelectorTerm( - match_label_expressions = [ - kubernetes.client.models.v1/topology_selector_label_requirement.v1.TopologySelectorLabelRequirement( - key = '0', - values = [ - '0' - ], ) - ], ) - ], - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - mount_options = [ - '0' - ], - parameters = { - 'key' : '0' - }, - provisioner = '0', - reclaim_policy = '0', - volume_binding_mode = '0', ) - ], - ) - - def testV1beta1StorageClassList(self): - """Test V1beta1StorageClassList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_subject.py b/kubernetes/test/test_v1beta1_subject.py deleted file mode 100644 index 94c400255a..0000000000 --- a/kubernetes/test/test_v1beta1_subject.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_subject import V1beta1Subject # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1Subject(unittest.TestCase): - """V1beta1Subject unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1Subject - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_subject.V1beta1Subject() # noqa: E501 - if include_optional : - return V1beta1Subject( - api_group = '0', - kind = '0', - name = '0', - namespace = '0' - ) - else : - return V1beta1Subject( - kind = '0', - name = '0', - ) - - def testV1beta1Subject(self): - """Test V1beta1Subject""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_subject_access_review.py b/kubernetes/test/test_v1beta1_subject_access_review.py deleted file mode 100644 index d767abc53c..0000000000 --- a/kubernetes/test/test_v1beta1_subject_access_review.py +++ /dev/null @@ -1,139 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_subject_access_review import V1beta1SubjectAccessReview # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1SubjectAccessReview(unittest.TestCase): - """V1beta1SubjectAccessReview unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1SubjectAccessReview - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_subject_access_review.V1beta1SubjectAccessReview() # noqa: E501 - if include_optional : - return V1beta1SubjectAccessReview( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/subject_access_review_spec.v1beta1.SubjectAccessReviewSpec( - extra = { - 'key' : [ - '0' - ] - }, - group = [ - '0' - ], - non_resource_attributes = kubernetes.client.models.v1beta1/non_resource_attributes.v1beta1.NonResourceAttributes( - path = '0', - verb = '0', ), - resource_attributes = kubernetes.client.models.v1beta1/resource_attributes.v1beta1.ResourceAttributes( - name = '0', - namespace = '0', - resource = '0', - subresource = '0', - verb = '0', - version = '0', ), - uid = '0', - user = '0', ), - status = kubernetes.client.models.v1beta1/subject_access_review_status.v1beta1.SubjectAccessReviewStatus( - allowed = True, - denied = True, - evaluation_error = '0', - reason = '0', ) - ) - else : - return V1beta1SubjectAccessReview( - spec = kubernetes.client.models.v1beta1/subject_access_review_spec.v1beta1.SubjectAccessReviewSpec( - extra = { - 'key' : [ - '0' - ] - }, - group = [ - '0' - ], - non_resource_attributes = kubernetes.client.models.v1beta1/non_resource_attributes.v1beta1.NonResourceAttributes( - path = '0', - verb = '0', ), - resource_attributes = kubernetes.client.models.v1beta1/resource_attributes.v1beta1.ResourceAttributes( - name = '0', - namespace = '0', - resource = '0', - subresource = '0', - verb = '0', - version = '0', ), - uid = '0', - user = '0', ), - ) - - def testV1beta1SubjectAccessReview(self): - """Test V1beta1SubjectAccessReview""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_subject_access_review_spec.py b/kubernetes/test/test_v1beta1_subject_access_review_spec.py deleted file mode 100644 index a0ef073980..0000000000 --- a/kubernetes/test/test_v1beta1_subject_access_review_spec.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_subject_access_review_spec import V1beta1SubjectAccessReviewSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1SubjectAccessReviewSpec(unittest.TestCase): - """V1beta1SubjectAccessReviewSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1SubjectAccessReviewSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_subject_access_review_spec.V1beta1SubjectAccessReviewSpec() # noqa: E501 - if include_optional : - return V1beta1SubjectAccessReviewSpec( - extra = { - 'key' : [ - '0' - ] - }, - group = [ - '0' - ], - non_resource_attributes = kubernetes.client.models.v1beta1/non_resource_attributes.v1beta1.NonResourceAttributes( - path = '0', - verb = '0', ), - resource_attributes = kubernetes.client.models.v1beta1/resource_attributes.v1beta1.ResourceAttributes( - group = '0', - name = '0', - namespace = '0', - resource = '0', - subresource = '0', - verb = '0', - version = '0', ), - uid = '0', - user = '0' - ) - else : - return V1beta1SubjectAccessReviewSpec( - ) - - def testV1beta1SubjectAccessReviewSpec(self): - """Test V1beta1SubjectAccessReviewSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_subject_access_review_status.py b/kubernetes/test/test_v1beta1_subject_access_review_status.py deleted file mode 100644 index c85c694795..0000000000 --- a/kubernetes/test/test_v1beta1_subject_access_review_status.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_subject_access_review_status import V1beta1SubjectAccessReviewStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1SubjectAccessReviewStatus(unittest.TestCase): - """V1beta1SubjectAccessReviewStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1SubjectAccessReviewStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_subject_access_review_status.V1beta1SubjectAccessReviewStatus() # noqa: E501 - if include_optional : - return V1beta1SubjectAccessReviewStatus( - allowed = True, - denied = True, - evaluation_error = '0', - reason = '0' - ) - else : - return V1beta1SubjectAccessReviewStatus( - allowed = True, - ) - - def testV1beta1SubjectAccessReviewStatus(self): - """Test V1beta1SubjectAccessReviewStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_subject_rules_review_status.py b/kubernetes/test/test_v1beta1_subject_rules_review_status.py deleted file mode 100644 index 175b044516..0000000000 --- a/kubernetes/test/test_v1beta1_subject_rules_review_status.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_subject_rules_review_status import V1beta1SubjectRulesReviewStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1SubjectRulesReviewStatus(unittest.TestCase): - """V1beta1SubjectRulesReviewStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1SubjectRulesReviewStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_subject_rules_review_status.V1beta1SubjectRulesReviewStatus() # noqa: E501 - if include_optional : - return V1beta1SubjectRulesReviewStatus( - evaluation_error = '0', - incomplete = True, - non_resource_rules = [ - kubernetes.client.models.v1beta1/non_resource_rule.v1beta1.NonResourceRule( - non_resource_ur_ls = [ - '0' - ], - verbs = [ - '0' - ], ) - ], - resource_rules = [ - kubernetes.client.models.v1beta1/resource_rule.v1beta1.ResourceRule( - api_groups = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ] - ) - else : - return V1beta1SubjectRulesReviewStatus( - incomplete = True, - non_resource_rules = [ - kubernetes.client.models.v1beta1/non_resource_rule.v1beta1.NonResourceRule( - non_resource_ur_ls = [ - '0' - ], - verbs = [ - '0' - ], ) - ], - resource_rules = [ - kubernetes.client.models.v1beta1/resource_rule.v1beta1.ResourceRule( - api_groups = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ], - ) - - def testV1beta1SubjectRulesReviewStatus(self): - """Test V1beta1SubjectRulesReviewStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_token_review.py b/kubernetes/test/test_v1beta1_token_review.py deleted file mode 100644 index d9dd884518..0000000000 --- a/kubernetes/test/test_v1beta1_token_review.py +++ /dev/null @@ -1,119 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_token_review import V1beta1TokenReview # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1TokenReview(unittest.TestCase): - """V1beta1TokenReview unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1TokenReview - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_token_review.V1beta1TokenReview() # noqa: E501 - if include_optional : - return V1beta1TokenReview( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/token_review_spec.v1beta1.TokenReviewSpec( - audiences = [ - '0' - ], - token = '0', ), - status = kubernetes.client.models.v1beta1/token_review_status.v1beta1.TokenReviewStatus( - audiences = [ - '0' - ], - authenticated = True, - error = '0', - user = kubernetes.client.models.v1beta1/user_info.v1beta1.UserInfo( - extra = { - 'key' : [ - '0' - ] - }, - groups = [ - '0' - ], - uid = '0', - username = '0', ), ) - ) - else : - return V1beta1TokenReview( - spec = kubernetes.client.models.v1beta1/token_review_spec.v1beta1.TokenReviewSpec( - audiences = [ - '0' - ], - token = '0', ), - ) - - def testV1beta1TokenReview(self): - """Test V1beta1TokenReview""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_token_review_spec.py b/kubernetes/test/test_v1beta1_token_review_spec.py deleted file mode 100644 index c0eb153f76..0000000000 --- a/kubernetes/test/test_v1beta1_token_review_spec.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_token_review_spec import V1beta1TokenReviewSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1TokenReviewSpec(unittest.TestCase): - """V1beta1TokenReviewSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1TokenReviewSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_token_review_spec.V1beta1TokenReviewSpec() # noqa: E501 - if include_optional : - return V1beta1TokenReviewSpec( - audiences = [ - '0' - ], - token = '0' - ) - else : - return V1beta1TokenReviewSpec( - ) - - def testV1beta1TokenReviewSpec(self): - """Test V1beta1TokenReviewSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_token_review_status.py b/kubernetes/test/test_v1beta1_token_review_status.py deleted file mode 100644 index ab0914d186..0000000000 --- a/kubernetes/test/test_v1beta1_token_review_status.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_token_review_status import V1beta1TokenReviewStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1TokenReviewStatus(unittest.TestCase): - """V1beta1TokenReviewStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1TokenReviewStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_token_review_status.V1beta1TokenReviewStatus() # noqa: E501 - if include_optional : - return V1beta1TokenReviewStatus( - audiences = [ - '0' - ], - authenticated = True, - error = '0', - user = kubernetes.client.models.v1beta1/user_info.v1beta1.UserInfo( - extra = { - 'key' : [ - '0' - ] - }, - groups = [ - '0' - ], - uid = '0', - username = '0', ) - ) - else : - return V1beta1TokenReviewStatus( - ) - - def testV1beta1TokenReviewStatus(self): - """Test V1beta1TokenReviewStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_user_info.py b/kubernetes/test/test_v1beta1_user_info.py deleted file mode 100644 index dc888226a7..0000000000 --- a/kubernetes/test/test_v1beta1_user_info.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_user_info import V1beta1UserInfo # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1UserInfo(unittest.TestCase): - """V1beta1UserInfo unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1UserInfo - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_user_info.V1beta1UserInfo() # noqa: E501 - if include_optional : - return V1beta1UserInfo( - extra = { - 'key' : [ - '0' - ] - }, - groups = [ - '0' - ], - uid = '0', - username = '0' - ) - else : - return V1beta1UserInfo( - ) - - def testV1beta1UserInfo(self): - """Test V1beta1UserInfo""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_validating_webhook.py b/kubernetes/test/test_v1beta1_validating_webhook.py deleted file mode 100644 index 6e54844e58..0000000000 --- a/kubernetes/test/test_v1beta1_validating_webhook.py +++ /dev/null @@ -1,116 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_validating_webhook import V1beta1ValidatingWebhook # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1ValidatingWebhook(unittest.TestCase): - """V1beta1ValidatingWebhook unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1ValidatingWebhook - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_validating_webhook.V1beta1ValidatingWebhook() # noqa: E501 - if include_optional : - return V1beta1ValidatingWebhook( - admission_review_versions = [ - '0' - ], - kubernetes.client_config = kubernetes.client.models.admissionregistration/v1beta1/webhook_client_config.admissionregistration.v1beta1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.admissionregistration/v1beta1/service_reference.admissionregistration.v1beta1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - failure_policy = '0', - match_policy = '0', - name = '0', - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - rules = [ - kubernetes.client.models.v1beta1/rule_with_operations.v1beta1.RuleWithOperations( - api_groups = [ - '0' - ], - api_versions = [ - '0' - ], - operations = [ - '0' - ], - resources = [ - '0' - ], - scope = '0', ) - ], - side_effects = '0', - timeout_seconds = 56 - ) - else : - return V1beta1ValidatingWebhook( - kubernetes.client_config = kubernetes.client.models.admissionregistration/v1beta1/webhook_client_config.admissionregistration.v1beta1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.admissionregistration/v1beta1/service_reference.admissionregistration.v1beta1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - name = '0', - ) - - def testV1beta1ValidatingWebhook(self): - """Test V1beta1ValidatingWebhook""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_validating_webhook_configuration.py b/kubernetes/test/test_v1beta1_validating_webhook_configuration.py deleted file mode 100644 index ba0f9af73e..0000000000 --- a/kubernetes/test/test_v1beta1_validating_webhook_configuration.py +++ /dev/null @@ -1,140 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_validating_webhook_configuration import V1beta1ValidatingWebhookConfiguration # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1ValidatingWebhookConfiguration(unittest.TestCase): - """V1beta1ValidatingWebhookConfiguration unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1ValidatingWebhookConfiguration - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_validating_webhook_configuration.V1beta1ValidatingWebhookConfiguration() # noqa: E501 - if include_optional : - return V1beta1ValidatingWebhookConfiguration( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - webhooks = [ - kubernetes.client.models.v1beta1/validating_webhook.v1beta1.ValidatingWebhook( - admission_review_versions = [ - '0' - ], - kubernetes.client_config = kubernetes.client.models.admissionregistration/v1beta1/webhook_client_config.admissionregistration.v1beta1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.admissionregistration/v1beta1/service_reference.admissionregistration.v1beta1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - failure_policy = '0', - match_policy = '0', - name = '0', - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - rules = [ - kubernetes.client.models.v1beta1/rule_with_operations.v1beta1.RuleWithOperations( - api_groups = [ - '0' - ], - api_versions = [ - '0' - ], - operations = [ - '0' - ], - resources = [ - '0' - ], - scope = '0', ) - ], - side_effects = '0', - timeout_seconds = 56, ) - ] - ) - else : - return V1beta1ValidatingWebhookConfiguration( - ) - - def testV1beta1ValidatingWebhookConfiguration(self): - """Test V1beta1ValidatingWebhookConfiguration""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_validating_webhook_configuration_list.py b/kubernetes/test/test_v1beta1_validating_webhook_configuration_list.py deleted file mode 100644 index 15f25eaf5b..0000000000 --- a/kubernetes/test/test_v1beta1_validating_webhook_configuration_list.py +++ /dev/null @@ -1,242 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_validating_webhook_configuration_list import V1beta1ValidatingWebhookConfigurationList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1ValidatingWebhookConfigurationList(unittest.TestCase): - """V1beta1ValidatingWebhookConfigurationList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1ValidatingWebhookConfigurationList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_validating_webhook_configuration_list.V1beta1ValidatingWebhookConfigurationList() # noqa: E501 - if include_optional : - return V1beta1ValidatingWebhookConfigurationList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/validating_webhook_configuration.v1beta1.ValidatingWebhookConfiguration( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - webhooks = [ - kubernetes.client.models.v1beta1/validating_webhook.v1beta1.ValidatingWebhook( - admission_review_versions = [ - '0' - ], - kubernetes.client_config = kubernetes.client.models.admissionregistration/v1beta1/webhook_client_config.admissionregistration.v1beta1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.admissionregistration/v1beta1/service_reference.admissionregistration.v1beta1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - failure_policy = '0', - match_policy = '0', - name = '0', - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - rules = [ - kubernetes.client.models.v1beta1/rule_with_operations.v1beta1.RuleWithOperations( - api_groups = [ - '0' - ], - api_versions = [ - '0' - ], - operations = [ - '0' - ], - resources = [ - '0' - ], - scope = '0', ) - ], - side_effects = '0', - timeout_seconds = 56, ) - ], ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1ValidatingWebhookConfigurationList( - items = [ - kubernetes.client.models.v1beta1/validating_webhook_configuration.v1beta1.ValidatingWebhookConfiguration( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - webhooks = [ - kubernetes.client.models.v1beta1/validating_webhook.v1beta1.ValidatingWebhook( - admission_review_versions = [ - '0' - ], - kubernetes.client_config = kubernetes.client.models.admissionregistration/v1beta1/webhook_client_config.admissionregistration.v1beta1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.admissionregistration/v1beta1/service_reference.admissionregistration.v1beta1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - failure_policy = '0', - match_policy = '0', - name = '0', - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - rules = [ - kubernetes.client.models.v1beta1/rule_with_operations.v1beta1.RuleWithOperations( - api_groups = [ - '0' - ], - api_versions = [ - '0' - ], - operations = [ - '0' - ], - resources = [ - '0' - ], - scope = '0', ) - ], - side_effects = '0', - timeout_seconds = 56, ) - ], ) - ], - ) - - def testV1beta1ValidatingWebhookConfigurationList(self): - """Test V1beta1ValidatingWebhookConfigurationList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_volume_attachment.py b/kubernetes/test/test_v1beta1_volume_attachment.py deleted file mode 100644 index 8a77bdb956..0000000000 --- a/kubernetes/test/test_v1beta1_volume_attachment.py +++ /dev/null @@ -1,495 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_volume_attachment import V1beta1VolumeAttachment # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1VolumeAttachment(unittest.TestCase): - """V1beta1VolumeAttachment unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1VolumeAttachment - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_volume_attachment.V1beta1VolumeAttachment() # noqa: E501 - if include_optional : - return V1beta1VolumeAttachment( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/volume_attachment_spec.v1beta1.VolumeAttachmentSpec( - attacher = '0', - node_name = '0', - source = kubernetes.client.models.v1beta1/volume_attachment_source.v1beta1.VolumeAttachmentSource( - inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - persistent_volume_name = '0', ), ), - status = kubernetes.client.models.v1beta1/volume_attachment_status.v1beta1.VolumeAttachmentStatus( - attach_error = kubernetes.client.models.v1beta1/volume_error.v1beta1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - attached = True, - attachment_metadata = { - 'key' : '0' - }, - detach_error = kubernetes.client.models.v1beta1/volume_error.v1beta1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ) - ) - else : - return V1beta1VolumeAttachment( - spec = kubernetes.client.models.v1beta1/volume_attachment_spec.v1beta1.VolumeAttachmentSpec( - attacher = '0', - node_name = '0', - source = kubernetes.client.models.v1beta1/volume_attachment_source.v1beta1.VolumeAttachmentSource( - inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - persistent_volume_name = '0', ), ), - ) - - def testV1beta1VolumeAttachment(self): - """Test V1beta1VolumeAttachment""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_volume_attachment_list.py b/kubernetes/test/test_v1beta1_volume_attachment_list.py deleted file mode 100644 index f3155bf956..0000000000 --- a/kubernetes/test/test_v1beta1_volume_attachment_list.py +++ /dev/null @@ -1,560 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_volume_attachment_list import V1beta1VolumeAttachmentList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1VolumeAttachmentList(unittest.TestCase): - """V1beta1VolumeAttachmentList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1VolumeAttachmentList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_volume_attachment_list.V1beta1VolumeAttachmentList() # noqa: E501 - if include_optional : - return V1beta1VolumeAttachmentList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/volume_attachment.v1beta1.VolumeAttachment( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/volume_attachment_spec.v1beta1.VolumeAttachmentSpec( - attacher = '0', - node_name = '0', - source = kubernetes.client.models.v1beta1/volume_attachment_source.v1beta1.VolumeAttachmentSource( - inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - persistent_volume_name = '0', ), ), - status = kubernetes.client.models.v1beta1/volume_attachment_status.v1beta1.VolumeAttachmentStatus( - attach_error = kubernetes.client.models.v1beta1/volume_error.v1beta1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - attached = True, - attachment_metadata = { - 'key' : '0' - }, - detach_error = kubernetes.client.models.v1beta1/volume_error.v1beta1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1VolumeAttachmentList( - items = [ - kubernetes.client.models.v1beta1/volume_attachment.v1beta1.VolumeAttachment( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/volume_attachment_spec.v1beta1.VolumeAttachmentSpec( - attacher = '0', - node_name = '0', - source = kubernetes.client.models.v1beta1/volume_attachment_source.v1beta1.VolumeAttachmentSource( - inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - persistent_volume_name = '0', ), ), - status = kubernetes.client.models.v1beta1/volume_attachment_status.v1beta1.VolumeAttachmentStatus( - attach_error = kubernetes.client.models.v1beta1/volume_error.v1beta1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - attached = True, - attachment_metadata = { - 'key' : '0' - }, - detach_error = kubernetes.client.models.v1beta1/volume_error.v1beta1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ), ) - ], - ) - - def testV1beta1VolumeAttachmentList(self): - """Test V1beta1VolumeAttachmentList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_volume_attachment_source.py b/kubernetes/test/test_v1beta1_volume_attachment_source.py deleted file mode 100644 index 0eb3ae703d..0000000000 --- a/kubernetes/test/test_v1beta1_volume_attachment_source.py +++ /dev/null @@ -1,243 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_volume_attachment_source import V1beta1VolumeAttachmentSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1VolumeAttachmentSource(unittest.TestCase): - """V1beta1VolumeAttachmentSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1VolumeAttachmentSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_volume_attachment_source.V1beta1VolumeAttachmentSource() # noqa: E501 - if include_optional : - return V1beta1VolumeAttachmentSource( - inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - persistent_volume_name = '0' - ) - else : - return V1beta1VolumeAttachmentSource( - ) - - def testV1beta1VolumeAttachmentSource(self): - """Test V1beta1VolumeAttachmentSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_volume_attachment_spec.py b/kubernetes/test/test_v1beta1_volume_attachment_spec.py deleted file mode 100644 index a36b90fbd3..0000000000 --- a/kubernetes/test/test_v1beta1_volume_attachment_spec.py +++ /dev/null @@ -1,441 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_volume_attachment_spec import V1beta1VolumeAttachmentSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1VolumeAttachmentSpec(unittest.TestCase): - """V1beta1VolumeAttachmentSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1VolumeAttachmentSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_volume_attachment_spec.V1beta1VolumeAttachmentSpec() # noqa: E501 - if include_optional : - return V1beta1VolumeAttachmentSpec( - attacher = '0', - node_name = '0', - source = kubernetes.client.models.v1beta1/volume_attachment_source.v1beta1.VolumeAttachmentSource( - inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - persistent_volume_name = '0', ) - ) - else : - return V1beta1VolumeAttachmentSpec( - attacher = '0', - node_name = '0', - source = kubernetes.client.models.v1beta1/volume_attachment_source.v1beta1.VolumeAttachmentSource( - inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - persistent_volume_name = '0', ), - ) - - def testV1beta1VolumeAttachmentSpec(self): - """Test V1beta1VolumeAttachmentSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_volume_attachment_status.py b/kubernetes/test/test_v1beta1_volume_attachment_status.py deleted file mode 100644 index e0b8dc7f1a..0000000000 --- a/kubernetes/test/test_v1beta1_volume_attachment_status.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_volume_attachment_status import V1beta1VolumeAttachmentStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1VolumeAttachmentStatus(unittest.TestCase): - """V1beta1VolumeAttachmentStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1VolumeAttachmentStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_volume_attachment_status.V1beta1VolumeAttachmentStatus() # noqa: E501 - if include_optional : - return V1beta1VolumeAttachmentStatus( - attach_error = kubernetes.client.models.v1beta1/volume_error.v1beta1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - attached = True, - attachment_metadata = { - 'key' : '0' - }, - detach_error = kubernetes.client.models.v1beta1/volume_error.v1beta1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ) - else : - return V1beta1VolumeAttachmentStatus( - attached = True, - ) - - def testV1beta1VolumeAttachmentStatus(self): - """Test V1beta1VolumeAttachmentStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_volume_error.py b/kubernetes/test/test_v1beta1_volume_error.py deleted file mode 100644 index ca84d61f6d..0000000000 --- a/kubernetes/test/test_v1beta1_volume_error.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_volume_error import V1beta1VolumeError # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1VolumeError(unittest.TestCase): - """V1beta1VolumeError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1VolumeError - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_volume_error.V1beta1VolumeError() # noqa: E501 - if include_optional : - return V1beta1VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else : - return V1beta1VolumeError( - ) - - def testV1beta1VolumeError(self): - """Test V1beta1VolumeError""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_volume_node_resources.py b/kubernetes/test/test_v1beta1_volume_node_resources.py deleted file mode 100644 index da10d2cf8c..0000000000 --- a/kubernetes/test/test_v1beta1_volume_node_resources.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_volume_node_resources import V1beta1VolumeNodeResources # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1VolumeNodeResources(unittest.TestCase): - """V1beta1VolumeNodeResources unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1VolumeNodeResources - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_volume_node_resources.V1beta1VolumeNodeResources() # noqa: E501 - if include_optional : - return V1beta1VolumeNodeResources( - count = 56 - ) - else : - return V1beta1VolumeNodeResources( - ) - - def testV1beta1VolumeNodeResources(self): - """Test V1beta1VolumeNodeResources""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_controller_revision.py b/kubernetes/test/test_v1beta2_controller_revision.py deleted file mode 100644 index f18ca931bb..0000000000 --- a/kubernetes/test/test_v1beta2_controller_revision.py +++ /dev/null @@ -1,95 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_controller_revision import V1beta2ControllerRevision # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2ControllerRevision(unittest.TestCase): - """V1beta2ControllerRevision unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2ControllerRevision - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_controller_revision.V1beta2ControllerRevision() # noqa: E501 - if include_optional : - return V1beta2ControllerRevision( - api_version = '0', - data = None, - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - revision = 56 - ) - else : - return V1beta2ControllerRevision( - revision = 56, - ) - - def testV1beta2ControllerRevision(self): - """Test V1beta2ControllerRevision""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_controller_revision_list.py b/kubernetes/test/test_v1beta2_controller_revision_list.py deleted file mode 100644 index 7172f8750e..0000000000 --- a/kubernetes/test/test_v1beta2_controller_revision_list.py +++ /dev/null @@ -1,150 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_controller_revision_list import V1beta2ControllerRevisionList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2ControllerRevisionList(unittest.TestCase): - """V1beta2ControllerRevisionList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2ControllerRevisionList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_controller_revision_list.V1beta2ControllerRevisionList() # noqa: E501 - if include_optional : - return V1beta2ControllerRevisionList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta2/controller_revision.v1beta2.ControllerRevision( - api_version = '0', - data = kubernetes.client.models.data.data(), - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - revision = 56, ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta2ControllerRevisionList( - items = [ - kubernetes.client.models.v1beta2/controller_revision.v1beta2.ControllerRevision( - api_version = '0', - data = kubernetes.client.models.data.data(), - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - revision = 56, ) - ], - ) - - def testV1beta2ControllerRevisionList(self): - """Test V1beta2ControllerRevisionList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_daemon_set.py b/kubernetes/test/test_v1beta2_daemon_set.py deleted file mode 100644 index 8d4e6c8e46..0000000000 --- a/kubernetes/test/test_v1beta2_daemon_set.py +++ /dev/null @@ -1,602 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_daemon_set import V1beta2DaemonSet # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2DaemonSet(unittest.TestCase): - """V1beta2DaemonSet unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2DaemonSet - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_daemon_set.V1beta2DaemonSet() # noqa: E501 - if include_optional : - return V1beta2DaemonSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta2/daemon_set_spec.v1beta2.DaemonSetSpec( - min_ready_seconds = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - update_strategy = kubernetes.client.models.v1beta2/daemon_set_update_strategy.v1beta2.DaemonSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1beta2/rolling_update_daemon_set.v1beta2.RollingUpdateDaemonSet( - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), ), - status = kubernetes.client.models.v1beta2/daemon_set_status.v1beta2.DaemonSetStatus( - collision_count = 56, - conditions = [ - kubernetes.client.models.v1beta2/daemon_set_condition.v1beta2.DaemonSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_number_scheduled = 56, - desired_number_scheduled = 56, - number_available = 56, - number_misscheduled = 56, - number_ready = 56, - number_unavailable = 56, - observed_generation = 56, - updated_number_scheduled = 56, ) - ) - else : - return V1beta2DaemonSet( - ) - - def testV1beta2DaemonSet(self): - """Test V1beta2DaemonSet""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_daemon_set_condition.py b/kubernetes/test/test_v1beta2_daemon_set_condition.py deleted file mode 100644 index 0cd9134903..0000000000 --- a/kubernetes/test/test_v1beta2_daemon_set_condition.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_daemon_set_condition import V1beta2DaemonSetCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2DaemonSetCondition(unittest.TestCase): - """V1beta2DaemonSetCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2DaemonSetCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_daemon_set_condition.V1beta2DaemonSetCondition() # noqa: E501 - if include_optional : - return V1beta2DaemonSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V1beta2DaemonSetCondition( - status = '0', - type = '0', - ) - - def testV1beta2DaemonSetCondition(self): - """Test V1beta2DaemonSetCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_daemon_set_list.py b/kubernetes/test/test_v1beta2_daemon_set_list.py deleted file mode 100644 index 17c7684e7d..0000000000 --- a/kubernetes/test/test_v1beta2_daemon_set_list.py +++ /dev/null @@ -1,222 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_daemon_set_list import V1beta2DaemonSetList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2DaemonSetList(unittest.TestCase): - """V1beta2DaemonSetList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2DaemonSetList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_daemon_set_list.V1beta2DaemonSetList() # noqa: E501 - if include_optional : - return V1beta2DaemonSetList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta2/daemon_set.v1beta2.DaemonSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta2/daemon_set_spec.v1beta2.DaemonSetSpec( - min_ready_seconds = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), - update_strategy = kubernetes.client.models.v1beta2/daemon_set_update_strategy.v1beta2.DaemonSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1beta2/rolling_update_daemon_set.v1beta2.RollingUpdateDaemonSet( - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), ), - status = kubernetes.client.models.v1beta2/daemon_set_status.v1beta2.DaemonSetStatus( - collision_count = 56, - conditions = [ - kubernetes.client.models.v1beta2/daemon_set_condition.v1beta2.DaemonSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_number_scheduled = 56, - desired_number_scheduled = 56, - number_available = 56, - number_misscheduled = 56, - number_ready = 56, - number_unavailable = 56, - observed_generation = 56, - updated_number_scheduled = 56, ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta2DaemonSetList( - items = [ - kubernetes.client.models.v1beta2/daemon_set.v1beta2.DaemonSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta2/daemon_set_spec.v1beta2.DaemonSetSpec( - min_ready_seconds = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), - update_strategy = kubernetes.client.models.v1beta2/daemon_set_update_strategy.v1beta2.DaemonSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1beta2/rolling_update_daemon_set.v1beta2.RollingUpdateDaemonSet( - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), ), - status = kubernetes.client.models.v1beta2/daemon_set_status.v1beta2.DaemonSetStatus( - collision_count = 56, - conditions = [ - kubernetes.client.models.v1beta2/daemon_set_condition.v1beta2.DaemonSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_number_scheduled = 56, - desired_number_scheduled = 56, - number_available = 56, - number_misscheduled = 56, - number_ready = 56, - number_unavailable = 56, - observed_generation = 56, - updated_number_scheduled = 56, ), ) - ], - ) - - def testV1beta2DaemonSetList(self): - """Test V1beta2DaemonSetList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_daemon_set_spec.py b/kubernetes/test/test_v1beta2_daemon_set_spec.py deleted file mode 100644 index b7b2e47f9c..0000000000 --- a/kubernetes/test/test_v1beta2_daemon_set_spec.py +++ /dev/null @@ -1,1049 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_daemon_set_spec import V1beta2DaemonSetSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2DaemonSetSpec(unittest.TestCase): - """V1beta2DaemonSetSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2DaemonSetSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_daemon_set_spec.V1beta2DaemonSetSpec() # noqa: E501 - if include_optional : - return V1beta2DaemonSetSpec( - min_ready_seconds = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - update_strategy = kubernetes.client.models.v1beta2/daemon_set_update_strategy.v1beta2.DaemonSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1beta2/rolling_update_daemon_set.v1beta2.RollingUpdateDaemonSet( - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ) - ) - else : - return V1beta2DaemonSetSpec( - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - ) - - def testV1beta2DaemonSetSpec(self): - """Test V1beta2DaemonSetSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_daemon_set_status.py b/kubernetes/test/test_v1beta2_daemon_set_status.py deleted file mode 100644 index d0b3d974de..0000000000 --- a/kubernetes/test/test_v1beta2_daemon_set_status.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_daemon_set_status import V1beta2DaemonSetStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2DaemonSetStatus(unittest.TestCase): - """V1beta2DaemonSetStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2DaemonSetStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_daemon_set_status.V1beta2DaemonSetStatus() # noqa: E501 - if include_optional : - return V1beta2DaemonSetStatus( - collision_count = 56, - conditions = [ - kubernetes.client.models.v1beta2/daemon_set_condition.v1beta2.DaemonSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_number_scheduled = 56, - desired_number_scheduled = 56, - number_available = 56, - number_misscheduled = 56, - number_ready = 56, - number_unavailable = 56, - observed_generation = 56, - updated_number_scheduled = 56 - ) - else : - return V1beta2DaemonSetStatus( - current_number_scheduled = 56, - desired_number_scheduled = 56, - number_misscheduled = 56, - number_ready = 56, - ) - - def testV1beta2DaemonSetStatus(self): - """Test V1beta2DaemonSetStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_daemon_set_update_strategy.py b/kubernetes/test/test_v1beta2_daemon_set_update_strategy.py deleted file mode 100644 index 9a70249a02..0000000000 --- a/kubernetes/test/test_v1beta2_daemon_set_update_strategy.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_daemon_set_update_strategy import V1beta2DaemonSetUpdateStrategy # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2DaemonSetUpdateStrategy(unittest.TestCase): - """V1beta2DaemonSetUpdateStrategy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2DaemonSetUpdateStrategy - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_daemon_set_update_strategy.V1beta2DaemonSetUpdateStrategy() # noqa: E501 - if include_optional : - return V1beta2DaemonSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1beta2/rolling_update_daemon_set.v1beta2.RollingUpdateDaemonSet( - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0' - ) - else : - return V1beta2DaemonSetUpdateStrategy( - ) - - def testV1beta2DaemonSetUpdateStrategy(self): - """Test V1beta2DaemonSetUpdateStrategy""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_deployment.py b/kubernetes/test/test_v1beta2_deployment.py deleted file mode 100644 index ef8808b3ea..0000000000 --- a/kubernetes/test/test_v1beta2_deployment.py +++ /dev/null @@ -1,605 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_deployment import V1beta2Deployment # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2Deployment(unittest.TestCase): - """V1beta2Deployment unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2Deployment - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_deployment.V1beta2Deployment() # noqa: E501 - if include_optional : - return V1beta2Deployment( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta2/deployment_spec.v1beta2.DeploymentSpec( - min_ready_seconds = 56, - paused = True, - progress_deadline_seconds = 56, - replicas = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - strategy = kubernetes.client.models.v1beta2/deployment_strategy.v1beta2.DeploymentStrategy( - rolling_update = kubernetes.client.models.v1beta2/rolling_update_deployment.v1beta2.RollingUpdateDeployment( - max_surge = kubernetes.client.models.max_surge.maxSurge(), - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), ), - status = kubernetes.client.models.v1beta2/deployment_status.v1beta2.DeploymentStatus( - available_replicas = 56, - collision_count = 56, - conditions = [ - kubernetes.client.models.v1beta2/deployment_condition.v1beta2.DeploymentCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - unavailable_replicas = 56, - updated_replicas = 56, ) - ) - else : - return V1beta2Deployment( - ) - - def testV1beta2Deployment(self): - """Test V1beta2Deployment""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_deployment_condition.py b/kubernetes/test/test_v1beta2_deployment_condition.py deleted file mode 100644 index f9153db2e8..0000000000 --- a/kubernetes/test/test_v1beta2_deployment_condition.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_deployment_condition import V1beta2DeploymentCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2DeploymentCondition(unittest.TestCase): - """V1beta2DeploymentCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2DeploymentCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_deployment_condition.V1beta2DeploymentCondition() # noqa: E501 - if include_optional : - return V1beta2DeploymentCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V1beta2DeploymentCondition( - status = '0', - type = '0', - ) - - def testV1beta2DeploymentCondition(self): - """Test V1beta2DeploymentCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_deployment_list.py b/kubernetes/test/test_v1beta2_deployment_list.py deleted file mode 100644 index ad3fa13cdf..0000000000 --- a/kubernetes/test/test_v1beta2_deployment_list.py +++ /dev/null @@ -1,228 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_deployment_list import V1beta2DeploymentList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2DeploymentList(unittest.TestCase): - """V1beta2DeploymentList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2DeploymentList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_deployment_list.V1beta2DeploymentList() # noqa: E501 - if include_optional : - return V1beta2DeploymentList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta2/deployment.v1beta2.Deployment( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta2/deployment_spec.v1beta2.DeploymentSpec( - min_ready_seconds = 56, - paused = True, - progress_deadline_seconds = 56, - replicas = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - strategy = kubernetes.client.models.v1beta2/deployment_strategy.v1beta2.DeploymentStrategy( - rolling_update = kubernetes.client.models.v1beta2/rolling_update_deployment.v1beta2.RollingUpdateDeployment( - max_surge = kubernetes.client.models.max_surge.maxSurge(), - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), - status = kubernetes.client.models.v1beta2/deployment_status.v1beta2.DeploymentStatus( - available_replicas = 56, - collision_count = 56, - conditions = [ - kubernetes.client.models.v1beta2/deployment_condition.v1beta2.DeploymentCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - unavailable_replicas = 56, - updated_replicas = 56, ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta2DeploymentList( - items = [ - kubernetes.client.models.v1beta2/deployment.v1beta2.Deployment( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta2/deployment_spec.v1beta2.DeploymentSpec( - min_ready_seconds = 56, - paused = True, - progress_deadline_seconds = 56, - replicas = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - strategy = kubernetes.client.models.v1beta2/deployment_strategy.v1beta2.DeploymentStrategy( - rolling_update = kubernetes.client.models.v1beta2/rolling_update_deployment.v1beta2.RollingUpdateDeployment( - max_surge = kubernetes.client.models.max_surge.maxSurge(), - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), - status = kubernetes.client.models.v1beta2/deployment_status.v1beta2.DeploymentStatus( - available_replicas = 56, - collision_count = 56, - conditions = [ - kubernetes.client.models.v1beta2/deployment_condition.v1beta2.DeploymentCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - unavailable_replicas = 56, - updated_replicas = 56, ), ) - ], - ) - - def testV1beta2DeploymentList(self): - """Test V1beta2DeploymentList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_deployment_spec.py b/kubernetes/test/test_v1beta2_deployment_spec.py deleted file mode 100644 index a5da7c3567..0000000000 --- a/kubernetes/test/test_v1beta2_deployment_spec.py +++ /dev/null @@ -1,1053 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_deployment_spec import V1beta2DeploymentSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2DeploymentSpec(unittest.TestCase): - """V1beta2DeploymentSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2DeploymentSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_deployment_spec.V1beta2DeploymentSpec() # noqa: E501 - if include_optional : - return V1beta2DeploymentSpec( - min_ready_seconds = 56, - paused = True, - progress_deadline_seconds = 56, - replicas = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - strategy = kubernetes.client.models.v1beta2/deployment_strategy.v1beta2.DeploymentStrategy( - rolling_update = kubernetes.client.models.v1beta2/rolling_update_deployment.v1beta2.RollingUpdateDeployment( - max_surge = kubernetes.client.models.max_surge.maxSurge(), - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ) - ) - else : - return V1beta2DeploymentSpec( - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - ) - - def testV1beta2DeploymentSpec(self): - """Test V1beta2DeploymentSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_deployment_status.py b/kubernetes/test/test_v1beta2_deployment_status.py deleted file mode 100644 index c77e140a96..0000000000 --- a/kubernetes/test/test_v1beta2_deployment_status.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_deployment_status import V1beta2DeploymentStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2DeploymentStatus(unittest.TestCase): - """V1beta2DeploymentStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2DeploymentStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_deployment_status.V1beta2DeploymentStatus() # noqa: E501 - if include_optional : - return V1beta2DeploymentStatus( - available_replicas = 56, - collision_count = 56, - conditions = [ - kubernetes.client.models.v1beta2/deployment_condition.v1beta2.DeploymentCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - unavailable_replicas = 56, - updated_replicas = 56 - ) - else : - return V1beta2DeploymentStatus( - ) - - def testV1beta2DeploymentStatus(self): - """Test V1beta2DeploymentStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_deployment_strategy.py b/kubernetes/test/test_v1beta2_deployment_strategy.py deleted file mode 100644 index 3bcd6be369..0000000000 --- a/kubernetes/test/test_v1beta2_deployment_strategy.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_deployment_strategy import V1beta2DeploymentStrategy # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2DeploymentStrategy(unittest.TestCase): - """V1beta2DeploymentStrategy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2DeploymentStrategy - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_deployment_strategy.V1beta2DeploymentStrategy() # noqa: E501 - if include_optional : - return V1beta2DeploymentStrategy( - rolling_update = kubernetes.client.models.v1beta2/rolling_update_deployment.v1beta2.RollingUpdateDeployment( - max_surge = kubernetes.client.models.max_surge.maxSurge(), - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0' - ) - else : - return V1beta2DeploymentStrategy( - ) - - def testV1beta2DeploymentStrategy(self): - """Test V1beta2DeploymentStrategy""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_replica_set.py b/kubernetes/test/test_v1beta2_replica_set.py deleted file mode 100644 index fcac4353ca..0000000000 --- a/kubernetes/test/test_v1beta2_replica_set.py +++ /dev/null @@ -1,594 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_replica_set import V1beta2ReplicaSet # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2ReplicaSet(unittest.TestCase): - """V1beta2ReplicaSet unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2ReplicaSet - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_replica_set.V1beta2ReplicaSet() # noqa: E501 - if include_optional : - return V1beta2ReplicaSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta2/replica_set_spec.v1beta2.ReplicaSetSpec( - min_ready_seconds = 56, - replicas = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), ), - status = kubernetes.client.models.v1beta2/replica_set_status.v1beta2.ReplicaSetStatus( - available_replicas = 56, - conditions = [ - kubernetes.client.models.v1beta2/replica_set_condition.v1beta2.ReplicaSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - fully_labeled_replicas = 56, - observed_generation = 56, - ready_replicas = 56, - replicas = 56, ) - ) - else : - return V1beta2ReplicaSet( - ) - - def testV1beta2ReplicaSet(self): - """Test V1beta2ReplicaSet""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_replica_set_condition.py b/kubernetes/test/test_v1beta2_replica_set_condition.py deleted file mode 100644 index af030a220b..0000000000 --- a/kubernetes/test/test_v1beta2_replica_set_condition.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_replica_set_condition import V1beta2ReplicaSetCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2ReplicaSetCondition(unittest.TestCase): - """V1beta2ReplicaSetCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2ReplicaSetCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_replica_set_condition.V1beta2ReplicaSetCondition() # noqa: E501 - if include_optional : - return V1beta2ReplicaSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V1beta2ReplicaSetCondition( - status = '0', - type = '0', - ) - - def testV1beta2ReplicaSetCondition(self): - """Test V1beta2ReplicaSetCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_replica_set_list.py b/kubernetes/test/test_v1beta2_replica_set_list.py deleted file mode 100644 index 71e6404a39..0000000000 --- a/kubernetes/test/test_v1beta2_replica_set_list.py +++ /dev/null @@ -1,206 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_replica_set_list import V1beta2ReplicaSetList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2ReplicaSetList(unittest.TestCase): - """V1beta2ReplicaSetList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2ReplicaSetList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_replica_set_list.V1beta2ReplicaSetList() # noqa: E501 - if include_optional : - return V1beta2ReplicaSetList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta2/replica_set.v1beta2.ReplicaSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta2/replica_set_spec.v1beta2.ReplicaSetSpec( - min_ready_seconds = 56, - replicas = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), - status = kubernetes.client.models.v1beta2/replica_set_status.v1beta2.ReplicaSetStatus( - available_replicas = 56, - conditions = [ - kubernetes.client.models.v1beta2/replica_set_condition.v1beta2.ReplicaSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - fully_labeled_replicas = 56, - observed_generation = 56, - ready_replicas = 56, - replicas = 56, ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta2ReplicaSetList( - items = [ - kubernetes.client.models.v1beta2/replica_set.v1beta2.ReplicaSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta2/replica_set_spec.v1beta2.ReplicaSetSpec( - min_ready_seconds = 56, - replicas = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), - status = kubernetes.client.models.v1beta2/replica_set_status.v1beta2.ReplicaSetStatus( - available_replicas = 56, - conditions = [ - kubernetes.client.models.v1beta2/replica_set_condition.v1beta2.ReplicaSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - fully_labeled_replicas = 56, - observed_generation = 56, - ready_replicas = 56, - replicas = 56, ), ) - ], - ) - - def testV1beta2ReplicaSetList(self): - """Test V1beta2ReplicaSetList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_replica_set_spec.py b/kubernetes/test/test_v1beta2_replica_set_spec.py deleted file mode 100644 index fdf4ffcd52..0000000000 --- a/kubernetes/test/test_v1beta2_replica_set_spec.py +++ /dev/null @@ -1,561 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_replica_set_spec import V1beta2ReplicaSetSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2ReplicaSetSpec(unittest.TestCase): - """V1beta2ReplicaSetSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2ReplicaSetSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_replica_set_spec.V1beta2ReplicaSetSpec() # noqa: E501 - if include_optional : - return V1beta2ReplicaSetSpec( - min_ready_seconds = 56, - replicas = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ) - ) - else : - return V1beta2ReplicaSetSpec( - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - ) - - def testV1beta2ReplicaSetSpec(self): - """Test V1beta2ReplicaSetSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_replica_set_status.py b/kubernetes/test/test_v1beta2_replica_set_status.py deleted file mode 100644 index 94d7307158..0000000000 --- a/kubernetes/test/test_v1beta2_replica_set_status.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_replica_set_status import V1beta2ReplicaSetStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2ReplicaSetStatus(unittest.TestCase): - """V1beta2ReplicaSetStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2ReplicaSetStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_replica_set_status.V1beta2ReplicaSetStatus() # noqa: E501 - if include_optional : - return V1beta2ReplicaSetStatus( - available_replicas = 56, - conditions = [ - kubernetes.client.models.v1beta2/replica_set_condition.v1beta2.ReplicaSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - fully_labeled_replicas = 56, - observed_generation = 56, - ready_replicas = 56, - replicas = 56 - ) - else : - return V1beta2ReplicaSetStatus( - replicas = 56, - ) - - def testV1beta2ReplicaSetStatus(self): - """Test V1beta2ReplicaSetStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_rolling_update_daemon_set.py b/kubernetes/test/test_v1beta2_rolling_update_daemon_set.py deleted file mode 100644 index 67154ec77b..0000000000 --- a/kubernetes/test/test_v1beta2_rolling_update_daemon_set.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_rolling_update_daemon_set import V1beta2RollingUpdateDaemonSet # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2RollingUpdateDaemonSet(unittest.TestCase): - """V1beta2RollingUpdateDaemonSet unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2RollingUpdateDaemonSet - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_rolling_update_daemon_set.V1beta2RollingUpdateDaemonSet() # noqa: E501 - if include_optional : - return V1beta2RollingUpdateDaemonSet( - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable() - ) - else : - return V1beta2RollingUpdateDaemonSet( - ) - - def testV1beta2RollingUpdateDaemonSet(self): - """Test V1beta2RollingUpdateDaemonSet""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_rolling_update_deployment.py b/kubernetes/test/test_v1beta2_rolling_update_deployment.py deleted file mode 100644 index 6199b6a4e4..0000000000 --- a/kubernetes/test/test_v1beta2_rolling_update_deployment.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_rolling_update_deployment import V1beta2RollingUpdateDeployment # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2RollingUpdateDeployment(unittest.TestCase): - """V1beta2RollingUpdateDeployment unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2RollingUpdateDeployment - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_rolling_update_deployment.V1beta2RollingUpdateDeployment() # noqa: E501 - if include_optional : - return V1beta2RollingUpdateDeployment( - max_surge = None, - max_unavailable = None - ) - else : - return V1beta2RollingUpdateDeployment( - ) - - def testV1beta2RollingUpdateDeployment(self): - """Test V1beta2RollingUpdateDeployment""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_rolling_update_stateful_set_strategy.py b/kubernetes/test/test_v1beta2_rolling_update_stateful_set_strategy.py deleted file mode 100644 index 1acbbe3737..0000000000 --- a/kubernetes/test/test_v1beta2_rolling_update_stateful_set_strategy.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_rolling_update_stateful_set_strategy import V1beta2RollingUpdateStatefulSetStrategy # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2RollingUpdateStatefulSetStrategy(unittest.TestCase): - """V1beta2RollingUpdateStatefulSetStrategy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2RollingUpdateStatefulSetStrategy - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_rolling_update_stateful_set_strategy.V1beta2RollingUpdateStatefulSetStrategy() # noqa: E501 - if include_optional : - return V1beta2RollingUpdateStatefulSetStrategy( - partition = 56 - ) - else : - return V1beta2RollingUpdateStatefulSetStrategy( - ) - - def testV1beta2RollingUpdateStatefulSetStrategy(self): - """Test V1beta2RollingUpdateStatefulSetStrategy""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_scale.py b/kubernetes/test/test_v1beta2_scale.py deleted file mode 100644 index 1cfaab9107..0000000000 --- a/kubernetes/test/test_v1beta2_scale.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_scale import V1beta2Scale # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2Scale(unittest.TestCase): - """V1beta2Scale unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2Scale - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_scale.V1beta2Scale() # noqa: E501 - if include_optional : - return V1beta2Scale( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta2/scale_spec.v1beta2.ScaleSpec( - replicas = 56, ), - status = kubernetes.client.models.v1beta2/scale_status.v1beta2.ScaleStatus( - replicas = 56, - selector = { - 'key' : '0' - }, - target_selector = '0', ) - ) - else : - return V1beta2Scale( - ) - - def testV1beta2Scale(self): - """Test V1beta2Scale""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_scale_spec.py b/kubernetes/test/test_v1beta2_scale_spec.py deleted file mode 100644 index cd637317e8..0000000000 --- a/kubernetes/test/test_v1beta2_scale_spec.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_scale_spec import V1beta2ScaleSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2ScaleSpec(unittest.TestCase): - """V1beta2ScaleSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2ScaleSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_scale_spec.V1beta2ScaleSpec() # noqa: E501 - if include_optional : - return V1beta2ScaleSpec( - replicas = 56 - ) - else : - return V1beta2ScaleSpec( - ) - - def testV1beta2ScaleSpec(self): - """Test V1beta2ScaleSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_scale_status.py b/kubernetes/test/test_v1beta2_scale_status.py deleted file mode 100644 index 33e82d8fb8..0000000000 --- a/kubernetes/test/test_v1beta2_scale_status.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_scale_status import V1beta2ScaleStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2ScaleStatus(unittest.TestCase): - """V1beta2ScaleStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2ScaleStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_scale_status.V1beta2ScaleStatus() # noqa: E501 - if include_optional : - return V1beta2ScaleStatus( - replicas = 56, - selector = { - 'key' : '0' - }, - target_selector = '0' - ) - else : - return V1beta2ScaleStatus( - replicas = 56, - ) - - def testV1beta2ScaleStatus(self): - """Test V1beta2ScaleStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_stateful_set.py b/kubernetes/test/test_v1beta2_stateful_set.py deleted file mode 100644 index 7940e54a46..0000000000 --- a/kubernetes/test/test_v1beta2_stateful_set.py +++ /dev/null @@ -1,625 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_stateful_set import V1beta2StatefulSet # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2StatefulSet(unittest.TestCase): - """V1beta2StatefulSet unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2StatefulSet - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_stateful_set.V1beta2StatefulSet() # noqa: E501 - if include_optional : - return V1beta2StatefulSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta2/stateful_set_spec.v1beta2.StatefulSetSpec( - pod_management_policy = '0', - replicas = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - service_name = '0', - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - update_strategy = kubernetes.client.models.v1beta2/stateful_set_update_strategy.v1beta2.StatefulSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1beta2/rolling_update_stateful_set_strategy.v1beta2.RollingUpdateStatefulSetStrategy( - partition = 56, ), - type = '0', ), - volume_claim_templates = [ - kubernetes.client.models.v1/persistent_volume_claim.v1.PersistentVolumeClaim( - api_version = '0', - kind = '0', - status = kubernetes.client.models.v1/persistent_volume_claim_status.v1.PersistentVolumeClaimStatus( - access_modes = [ - '0' - ], - capacity = { - 'key' : '0' - }, - conditions = [ - kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - phase = '0', ), ) - ], ), - status = kubernetes.client.models.v1beta2/stateful_set_status.v1beta2.StatefulSetStatus( - collision_count = 56, - conditions = [ - kubernetes.client.models.v1beta2/stateful_set_condition.v1beta2.StatefulSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_replicas = 56, - current_revision = '0', - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - update_revision = '0', - updated_replicas = 56, ) - ) - else : - return V1beta2StatefulSet( - ) - - def testV1beta2StatefulSet(self): - """Test V1beta2StatefulSet""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_stateful_set_condition.py b/kubernetes/test/test_v1beta2_stateful_set_condition.py deleted file mode 100644 index e8706c0214..0000000000 --- a/kubernetes/test/test_v1beta2_stateful_set_condition.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_stateful_set_condition import V1beta2StatefulSetCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2StatefulSetCondition(unittest.TestCase): - """V1beta2StatefulSetCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2StatefulSetCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_stateful_set_condition.V1beta2StatefulSetCondition() # noqa: E501 - if include_optional : - return V1beta2StatefulSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V1beta2StatefulSetCondition( - status = '0', - type = '0', - ) - - def testV1beta2StatefulSetCondition(self): - """Test V1beta2StatefulSetCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_stateful_set_list.py b/kubernetes/test/test_v1beta2_stateful_set_list.py deleted file mode 100644 index fc974303e0..0000000000 --- a/kubernetes/test/test_v1beta2_stateful_set_list.py +++ /dev/null @@ -1,252 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_stateful_set_list import V1beta2StatefulSetList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2StatefulSetList(unittest.TestCase): - """V1beta2StatefulSetList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2StatefulSetList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_stateful_set_list.V1beta2StatefulSetList() # noqa: E501 - if include_optional : - return V1beta2StatefulSetList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta2/stateful_set.v1beta2.StatefulSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta2/stateful_set_spec.v1beta2.StatefulSetSpec( - pod_management_policy = '0', - replicas = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - service_name = '0', - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), - update_strategy = kubernetes.client.models.v1beta2/stateful_set_update_strategy.v1beta2.StatefulSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1beta2/rolling_update_stateful_set_strategy.v1beta2.RollingUpdateStatefulSetStrategy( - partition = 56, ), - type = '0', ), - volume_claim_templates = [ - kubernetes.client.models.v1/persistent_volume_claim.v1.PersistentVolumeClaim( - api_version = '0', - kind = '0', - status = kubernetes.client.models.v1/persistent_volume_claim_status.v1.PersistentVolumeClaimStatus( - access_modes = [ - '0' - ], - capacity = { - 'key' : '0' - }, - conditions = [ - kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - phase = '0', ), ) - ], ), - status = kubernetes.client.models.v1beta2/stateful_set_status.v1beta2.StatefulSetStatus( - collision_count = 56, - current_replicas = 56, - current_revision = '0', - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - update_revision = '0', - updated_replicas = 56, ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta2StatefulSetList( - items = [ - kubernetes.client.models.v1beta2/stateful_set.v1beta2.StatefulSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta2/stateful_set_spec.v1beta2.StatefulSetSpec( - pod_management_policy = '0', - replicas = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - service_name = '0', - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), - update_strategy = kubernetes.client.models.v1beta2/stateful_set_update_strategy.v1beta2.StatefulSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1beta2/rolling_update_stateful_set_strategy.v1beta2.RollingUpdateStatefulSetStrategy( - partition = 56, ), - type = '0', ), - volume_claim_templates = [ - kubernetes.client.models.v1/persistent_volume_claim.v1.PersistentVolumeClaim( - api_version = '0', - kind = '0', - status = kubernetes.client.models.v1/persistent_volume_claim_status.v1.PersistentVolumeClaimStatus( - access_modes = [ - '0' - ], - capacity = { - 'key' : '0' - }, - conditions = [ - kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - phase = '0', ), ) - ], ), - status = kubernetes.client.models.v1beta2/stateful_set_status.v1beta2.StatefulSetStatus( - collision_count = 56, - current_replicas = 56, - current_revision = '0', - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - update_revision = '0', - updated_replicas = 56, ), ) - ], - ) - - def testV1beta2StatefulSetList(self): - """Test V1beta2StatefulSetList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_stateful_set_spec.py b/kubernetes/test/test_v1beta2_stateful_set_spec.py deleted file mode 100644 index e0537e7bfe..0000000000 --- a/kubernetes/test/test_v1beta2_stateful_set_spec.py +++ /dev/null @@ -1,1140 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_stateful_set_spec import V1beta2StatefulSetSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2StatefulSetSpec(unittest.TestCase): - """V1beta2StatefulSetSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2StatefulSetSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_stateful_set_spec.V1beta2StatefulSetSpec() # noqa: E501 - if include_optional : - return V1beta2StatefulSetSpec( - pod_management_policy = '0', - replicas = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - service_name = '0', - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - update_strategy = kubernetes.client.models.v1beta2/stateful_set_update_strategy.v1beta2.StatefulSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1beta2/rolling_update_stateful_set_strategy.v1beta2.RollingUpdateStatefulSetStrategy( - partition = 56, ), - type = '0', ), - volume_claim_templates = [ - kubernetes.client.models.v1/persistent_volume_claim.v1.PersistentVolumeClaim( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/persistent_volume_claim_spec.v1.PersistentVolumeClaimSpec( - access_modes = [ - '0' - ], - data_source = kubernetes.client.models.v1/typed_local_object_reference.v1.TypedLocalObjectReference( - api_group = '0', - kind = '0', - name = '0', ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - storage_class_name = '0', - volume_mode = '0', - volume_name = '0', ), - status = kubernetes.client.models.v1/persistent_volume_claim_status.v1.PersistentVolumeClaimStatus( - capacity = { - 'key' : '0' - }, - conditions = [ - kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - phase = '0', ), ) - ] - ) - else : - return V1beta2StatefulSetSpec( - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - service_name = '0', - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - ) - - def testV1beta2StatefulSetSpec(self): - """Test V1beta2StatefulSetSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_stateful_set_status.py b/kubernetes/test/test_v1beta2_stateful_set_status.py deleted file mode 100644 index 56df062648..0000000000 --- a/kubernetes/test/test_v1beta2_stateful_set_status.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_stateful_set_status import V1beta2StatefulSetStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2StatefulSetStatus(unittest.TestCase): - """V1beta2StatefulSetStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2StatefulSetStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_stateful_set_status.V1beta2StatefulSetStatus() # noqa: E501 - if include_optional : - return V1beta2StatefulSetStatus( - collision_count = 56, - conditions = [ - kubernetes.client.models.v1beta2/stateful_set_condition.v1beta2.StatefulSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_replicas = 56, - current_revision = '0', - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - update_revision = '0', - updated_replicas = 56 - ) - else : - return V1beta2StatefulSetStatus( - replicas = 56, - ) - - def testV1beta2StatefulSetStatus(self): - """Test V1beta2StatefulSetStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_stateful_set_update_strategy.py b/kubernetes/test/test_v1beta2_stateful_set_update_strategy.py deleted file mode 100644 index 1f418989de..0000000000 --- a/kubernetes/test/test_v1beta2_stateful_set_update_strategy.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_stateful_set_update_strategy import V1beta2StatefulSetUpdateStrategy # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2StatefulSetUpdateStrategy(unittest.TestCase): - """V1beta2StatefulSetUpdateStrategy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2StatefulSetUpdateStrategy - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_stateful_set_update_strategy.V1beta2StatefulSetUpdateStrategy() # noqa: E501 - if include_optional : - return V1beta2StatefulSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1beta2/rolling_update_stateful_set_strategy.v1beta2.RollingUpdateStatefulSetStrategy( - partition = 56, ), - type = '0' - ) - else : - return V1beta2StatefulSetUpdateStrategy( - ) - - def testV1beta2StatefulSetUpdateStrategy(self): - """Test V1beta2StatefulSetUpdateStrategy""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2alpha1_cron_job.py b/kubernetes/test/test_v2alpha1_cron_job.py deleted file mode 100644 index c1e3e430db..0000000000 --- a/kubernetes/test/test_v2alpha1_cron_job.py +++ /dev/null @@ -1,151 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2alpha1_cron_job import V2alpha1CronJob # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2alpha1CronJob(unittest.TestCase): - """V2alpha1CronJob unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2alpha1CronJob - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2alpha1_cron_job.V2alpha1CronJob() # noqa: E501 - if include_optional : - return V2alpha1CronJob( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v2alpha1/cron_job_spec.v2alpha1.CronJobSpec( - concurrency_policy = '0', - failed_jobs_history_limit = 56, - job_template = kubernetes.client.models.v2alpha1/job_template_spec.v2alpha1.JobTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), ), - schedule = '0', - starting_deadline_seconds = 56, - successful_jobs_history_limit = 56, - suspend = True, ), - status = kubernetes.client.models.v2alpha1/cron_job_status.v2alpha1.CronJobStatus( - active = [ - kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ) - ], - last_schedule_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ) - else : - return V2alpha1CronJob( - ) - - def testV2alpha1CronJob(self): - """Test V2alpha1CronJob""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2alpha1_cron_job_list.py b/kubernetes/test/test_v2alpha1_cron_job_list.py deleted file mode 100644 index 5802e35429..0000000000 --- a/kubernetes/test/test_v2alpha1_cron_job_list.py +++ /dev/null @@ -1,186 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2alpha1_cron_job_list import V2alpha1CronJobList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2alpha1CronJobList(unittest.TestCase): - """V2alpha1CronJobList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2alpha1CronJobList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2alpha1_cron_job_list.V2alpha1CronJobList() # noqa: E501 - if include_optional : - return V2alpha1CronJobList( - api_version = '0', - items = [ - kubernetes.client.models.v2alpha1/cron_job.v2alpha1.CronJob( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v2alpha1/cron_job_spec.v2alpha1.CronJobSpec( - concurrency_policy = '0', - failed_jobs_history_limit = 56, - job_template = kubernetes.client.models.v2alpha1/job_template_spec.v2alpha1.JobTemplateSpec(), - schedule = '0', - starting_deadline_seconds = 56, - successful_jobs_history_limit = 56, - suspend = True, ), - status = kubernetes.client.models.v2alpha1/cron_job_status.v2alpha1.CronJobStatus( - active = [ - kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ) - ], - last_schedule_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V2alpha1CronJobList( - items = [ - kubernetes.client.models.v2alpha1/cron_job.v2alpha1.CronJob( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v2alpha1/cron_job_spec.v2alpha1.CronJobSpec( - concurrency_policy = '0', - failed_jobs_history_limit = 56, - job_template = kubernetes.client.models.v2alpha1/job_template_spec.v2alpha1.JobTemplateSpec(), - schedule = '0', - starting_deadline_seconds = 56, - successful_jobs_history_limit = 56, - suspend = True, ), - status = kubernetes.client.models.v2alpha1/cron_job_status.v2alpha1.CronJobStatus( - active = [ - kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ) - ], - last_schedule_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ) - ], - ) - - def testV2alpha1CronJobList(self): - """Test V2alpha1CronJobList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2alpha1_cron_job_spec.py b/kubernetes/test/test_v2alpha1_cron_job_spec.py deleted file mode 100644 index 59a490fdd3..0000000000 --- a/kubernetes/test/test_v2alpha1_cron_job_spec.py +++ /dev/null @@ -1,178 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2alpha1_cron_job_spec import V2alpha1CronJobSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2alpha1CronJobSpec(unittest.TestCase): - """V2alpha1CronJobSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2alpha1CronJobSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2alpha1_cron_job_spec.V2alpha1CronJobSpec() # noqa: E501 - if include_optional : - return V2alpha1CronJobSpec( - concurrency_policy = '0', - failed_jobs_history_limit = 56, - job_template = kubernetes.client.models.v2alpha1/job_template_spec.v2alpha1.JobTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/job_spec.v1.JobSpec( - active_deadline_seconds = 56, - backoff_limit = 56, - completions = 56, - manual_selector = True, - parallelism = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), - ttl_seconds_after_finished = 56, ), ), - schedule = '0', - starting_deadline_seconds = 56, - successful_jobs_history_limit = 56, - suspend = True - ) - else : - return V2alpha1CronJobSpec( - job_template = kubernetes.client.models.v2alpha1/job_template_spec.v2alpha1.JobTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/job_spec.v1.JobSpec( - active_deadline_seconds = 56, - backoff_limit = 56, - completions = 56, - manual_selector = True, - parallelism = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), - ttl_seconds_after_finished = 56, ), ), - schedule = '0', - ) - - def testV2alpha1CronJobSpec(self): - """Test V2alpha1CronJobSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2alpha1_cron_job_status.py b/kubernetes/test/test_v2alpha1_cron_job_status.py deleted file mode 100644 index 8902caa057..0000000000 --- a/kubernetes/test/test_v2alpha1_cron_job_status.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2alpha1_cron_job_status import V2alpha1CronJobStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2alpha1CronJobStatus(unittest.TestCase): - """V2alpha1CronJobStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2alpha1CronJobStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2alpha1_cron_job_status.V2alpha1CronJobStatus() # noqa: E501 - if include_optional : - return V2alpha1CronJobStatus( - active = [ - kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ) - ], - last_schedule_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else : - return V2alpha1CronJobStatus( - ) - - def testV2alpha1CronJobStatus(self): - """Test V2alpha1CronJobStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2alpha1_job_template_spec.py b/kubernetes/test/test_v2alpha1_job_template_spec.py deleted file mode 100644 index 5eddec1b3d..0000000000 --- a/kubernetes/test/test_v2alpha1_job_template_spec.py +++ /dev/null @@ -1,582 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2alpha1_job_template_spec import V2alpha1JobTemplateSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2alpha1JobTemplateSpec(unittest.TestCase): - """V2alpha1JobTemplateSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2alpha1JobTemplateSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2alpha1_job_template_spec.V2alpha1JobTemplateSpec() # noqa: E501 - if include_optional : - return V2alpha1JobTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/job_spec.v1.JobSpec( - active_deadline_seconds = 56, - backoff_limit = 56, - completions = 56, - manual_selector = True, - parallelism = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - ttl_seconds_after_finished = 56, ) - ) - else : - return V2alpha1JobTemplateSpec( - ) - - def testV2alpha1JobTemplateSpec(self): - """Test V2alpha1JobTemplateSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta1_cross_version_object_reference.py b/kubernetes/test/test_v2beta1_cross_version_object_reference.py deleted file mode 100644 index b654be5c0a..0000000000 --- a/kubernetes/test/test_v2beta1_cross_version_object_reference.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta1_cross_version_object_reference import V2beta1CrossVersionObjectReference # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta1CrossVersionObjectReference(unittest.TestCase): - """V2beta1CrossVersionObjectReference unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta1CrossVersionObjectReference - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta1_cross_version_object_reference.V2beta1CrossVersionObjectReference() # noqa: E501 - if include_optional : - return V2beta1CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0' - ) - else : - return V2beta1CrossVersionObjectReference( - kind = '0', - name = '0', - ) - - def testV2beta1CrossVersionObjectReference(self): - """Test V2beta1CrossVersionObjectReference""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta1_external_metric_source.py b/kubernetes/test/test_v2beta1_external_metric_source.py deleted file mode 100644 index 299cd10c4c..0000000000 --- a/kubernetes/test/test_v2beta1_external_metric_source.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta1_external_metric_source import V2beta1ExternalMetricSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta1ExternalMetricSource(unittest.TestCase): - """V2beta1ExternalMetricSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta1ExternalMetricSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta1_external_metric_source.V2beta1ExternalMetricSource() # noqa: E501 - if include_optional : - return V2beta1ExternalMetricSource( - metric_name = '0', - metric_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - target_average_value = '0', - target_value = '0' - ) - else : - return V2beta1ExternalMetricSource( - metric_name = '0', - ) - - def testV2beta1ExternalMetricSource(self): - """Test V2beta1ExternalMetricSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta1_external_metric_status.py b/kubernetes/test/test_v2beta1_external_metric_status.py deleted file mode 100644 index e5fb37862e..0000000000 --- a/kubernetes/test/test_v2beta1_external_metric_status.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta1_external_metric_status import V2beta1ExternalMetricStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta1ExternalMetricStatus(unittest.TestCase): - """V2beta1ExternalMetricStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta1ExternalMetricStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta1_external_metric_status.V2beta1ExternalMetricStatus() # noqa: E501 - if include_optional : - return V2beta1ExternalMetricStatus( - current_average_value = '0', - current_value = '0', - metric_name = '0', - metric_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ) - ) - else : - return V2beta1ExternalMetricStatus( - current_value = '0', - metric_name = '0', - ) - - def testV2beta1ExternalMetricStatus(self): - """Test V2beta1ExternalMetricStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler.py b/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler.py deleted file mode 100644 index 225b96b455..0000000000 --- a/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler.py +++ /dev/null @@ -1,184 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta1_horizontal_pod_autoscaler import V2beta1HorizontalPodAutoscaler # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta1HorizontalPodAutoscaler(unittest.TestCase): - """V2beta1HorizontalPodAutoscaler unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta1HorizontalPodAutoscaler - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta1_horizontal_pod_autoscaler.V2beta1HorizontalPodAutoscaler() # noqa: E501 - if include_optional : - return V2beta1HorizontalPodAutoscaler( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v2beta1/horizontal_pod_autoscaler_spec.v2beta1.HorizontalPodAutoscalerSpec( - max_replicas = 56, - metrics = [ - kubernetes.client.models.v2beta1/metric_spec.v2beta1.MetricSpec( - external = kubernetes.client.models.v2beta1/external_metric_source.v2beta1.ExternalMetricSource( - metric_name = '0', - metric_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - target_average_value = '0', - target_value = '0', ), - object = kubernetes.client.models.v2beta1/object_metric_source.v2beta1.ObjectMetricSource( - average_value = '0', - metric_name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - target = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - target_value = '0', ), - pods = kubernetes.client.models.v2beta1/pods_metric_source.v2beta1.PodsMetricSource( - metric_name = '0', - target_average_value = '0', ), - resource = kubernetes.client.models.v2beta1/resource_metric_source.v2beta1.ResourceMetricSource( - name = '0', - target_average_utilization = 56, - target_average_value = '0', ), - type = '0', ) - ], - min_replicas = 56, - scale_target_ref = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), ), - status = kubernetes.client.models.v2beta1/horizontal_pod_autoscaler_status.v2beta1.HorizontalPodAutoscalerStatus( - conditions = [ - kubernetes.client.models.v2beta1/horizontal_pod_autoscaler_condition.v2beta1.HorizontalPodAutoscalerCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_metrics = [ - kubernetes.client.models.v2beta1/metric_status.v2beta1.MetricStatus( - external = kubernetes.client.models.v2beta1/external_metric_status.v2beta1.ExternalMetricStatus( - current_average_value = '0', - current_value = '0', - metric_name = '0', - metric_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), - object = kubernetes.client.models.v2beta1/object_metric_status.v2beta1.ObjectMetricStatus( - average_value = '0', - current_value = '0', - metric_name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - target = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), ), - pods = kubernetes.client.models.v2beta1/pods_metric_status.v2beta1.PodsMetricStatus( - current_average_value = '0', - metric_name = '0', ), - resource = kubernetes.client.models.v2beta1/resource_metric_status.v2beta1.ResourceMetricStatus( - current_average_utilization = 56, - current_average_value = '0', - name = '0', ), - type = '0', ) - ], - current_replicas = 56, - desired_replicas = 56, - last_scale_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - observed_generation = 56, ) - ) - else : - return V2beta1HorizontalPodAutoscaler( - ) - - def testV2beta1HorizontalPodAutoscaler(self): - """Test V2beta1HorizontalPodAutoscaler""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_condition.py b/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_condition.py deleted file mode 100644 index 431c1085d2..0000000000 --- a/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_condition.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta1_horizontal_pod_autoscaler_condition import V2beta1HorizontalPodAutoscalerCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta1HorizontalPodAutoscalerCondition(unittest.TestCase): - """V2beta1HorizontalPodAutoscalerCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta1HorizontalPodAutoscalerCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta1_horizontal_pod_autoscaler_condition.V2beta1HorizontalPodAutoscalerCondition() # noqa: E501 - if include_optional : - return V2beta1HorizontalPodAutoscalerCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V2beta1HorizontalPodAutoscalerCondition( - status = '0', - type = '0', - ) - - def testV2beta1HorizontalPodAutoscalerCondition(self): - """Test V2beta1HorizontalPodAutoscalerCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_list.py b/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_list.py deleted file mode 100644 index 0cc8591aae..0000000000 --- a/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_list.py +++ /dev/null @@ -1,266 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta1_horizontal_pod_autoscaler_list import V2beta1HorizontalPodAutoscalerList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta1HorizontalPodAutoscalerList(unittest.TestCase): - """V2beta1HorizontalPodAutoscalerList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta1HorizontalPodAutoscalerList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta1_horizontal_pod_autoscaler_list.V2beta1HorizontalPodAutoscalerList() # noqa: E501 - if include_optional : - return V2beta1HorizontalPodAutoscalerList( - api_version = '0', - items = [ - kubernetes.client.models.v2beta1/horizontal_pod_autoscaler.v2beta1.HorizontalPodAutoscaler( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v2beta1/horizontal_pod_autoscaler_spec.v2beta1.HorizontalPodAutoscalerSpec( - max_replicas = 56, - metrics = [ - kubernetes.client.models.v2beta1/metric_spec.v2beta1.MetricSpec( - external = kubernetes.client.models.v2beta1/external_metric_source.v2beta1.ExternalMetricSource( - metric_name = '0', - metric_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - target_average_value = '0', - target_value = '0', ), - object = kubernetes.client.models.v2beta1/object_metric_source.v2beta1.ObjectMetricSource( - average_value = '0', - metric_name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - target = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - target_value = '0', ), - pods = kubernetes.client.models.v2beta1/pods_metric_source.v2beta1.PodsMetricSource( - metric_name = '0', - target_average_value = '0', ), - resource = kubernetes.client.models.v2beta1/resource_metric_source.v2beta1.ResourceMetricSource( - name = '0', - target_average_utilization = 56, - target_average_value = '0', ), - type = '0', ) - ], - min_replicas = 56, - scale_target_ref = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), ), - status = kubernetes.client.models.v2beta1/horizontal_pod_autoscaler_status.v2beta1.HorizontalPodAutoscalerStatus( - conditions = [ - kubernetes.client.models.v2beta1/horizontal_pod_autoscaler_condition.v2beta1.HorizontalPodAutoscalerCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_metrics = [ - kubernetes.client.models.v2beta1/metric_status.v2beta1.MetricStatus( - type = '0', ) - ], - current_replicas = 56, - desired_replicas = 56, - last_scale_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - observed_generation = 56, ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V2beta1HorizontalPodAutoscalerList( - items = [ - kubernetes.client.models.v2beta1/horizontal_pod_autoscaler.v2beta1.HorizontalPodAutoscaler( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v2beta1/horizontal_pod_autoscaler_spec.v2beta1.HorizontalPodAutoscalerSpec( - max_replicas = 56, - metrics = [ - kubernetes.client.models.v2beta1/metric_spec.v2beta1.MetricSpec( - external = kubernetes.client.models.v2beta1/external_metric_source.v2beta1.ExternalMetricSource( - metric_name = '0', - metric_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - target_average_value = '0', - target_value = '0', ), - object = kubernetes.client.models.v2beta1/object_metric_source.v2beta1.ObjectMetricSource( - average_value = '0', - metric_name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - target = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - target_value = '0', ), - pods = kubernetes.client.models.v2beta1/pods_metric_source.v2beta1.PodsMetricSource( - metric_name = '0', - target_average_value = '0', ), - resource = kubernetes.client.models.v2beta1/resource_metric_source.v2beta1.ResourceMetricSource( - name = '0', - target_average_utilization = 56, - target_average_value = '0', ), - type = '0', ) - ], - min_replicas = 56, - scale_target_ref = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), ), - status = kubernetes.client.models.v2beta1/horizontal_pod_autoscaler_status.v2beta1.HorizontalPodAutoscalerStatus( - conditions = [ - kubernetes.client.models.v2beta1/horizontal_pod_autoscaler_condition.v2beta1.HorizontalPodAutoscalerCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_metrics = [ - kubernetes.client.models.v2beta1/metric_status.v2beta1.MetricStatus( - type = '0', ) - ], - current_replicas = 56, - desired_replicas = 56, - last_scale_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - observed_generation = 56, ), ) - ], - ) - - def testV2beta1HorizontalPodAutoscalerList(self): - """Test V2beta1HorizontalPodAutoscalerList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_spec.py b/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_spec.py deleted file mode 100644 index a7817cc037..0000000000 --- a/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_spec.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta1_horizontal_pod_autoscaler_spec import V2beta1HorizontalPodAutoscalerSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta1HorizontalPodAutoscalerSpec(unittest.TestCase): - """V2beta1HorizontalPodAutoscalerSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta1HorizontalPodAutoscalerSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta1_horizontal_pod_autoscaler_spec.V2beta1HorizontalPodAutoscalerSpec() # noqa: E501 - if include_optional : - return V2beta1HorizontalPodAutoscalerSpec( - max_replicas = 56, - metrics = [ - kubernetes.client.models.v2beta1/metric_spec.v2beta1.MetricSpec( - external = kubernetes.client.models.v2beta1/external_metric_source.v2beta1.ExternalMetricSource( - metric_name = '0', - metric_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - target_average_value = '0', - target_value = '0', ), - object = kubernetes.client.models.v2beta1/object_metric_source.v2beta1.ObjectMetricSource( - average_value = '0', - metric_name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - target = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - target_value = '0', ), - pods = kubernetes.client.models.v2beta1/pods_metric_source.v2beta1.PodsMetricSource( - metric_name = '0', - target_average_value = '0', ), - resource = kubernetes.client.models.v2beta1/resource_metric_source.v2beta1.ResourceMetricSource( - name = '0', - target_average_utilization = 56, - target_average_value = '0', ), - type = '0', ) - ], - min_replicas = 56, - scale_target_ref = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ) - ) - else : - return V2beta1HorizontalPodAutoscalerSpec( - max_replicas = 56, - scale_target_ref = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - ) - - def testV2beta1HorizontalPodAutoscalerSpec(self): - """Test V2beta1HorizontalPodAutoscalerSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_status.py b/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_status.py deleted file mode 100644 index bb613de52a..0000000000 --- a/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_status.py +++ /dev/null @@ -1,109 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta1_horizontal_pod_autoscaler_status import V2beta1HorizontalPodAutoscalerStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta1HorizontalPodAutoscalerStatus(unittest.TestCase): - """V2beta1HorizontalPodAutoscalerStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta1HorizontalPodAutoscalerStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta1_horizontal_pod_autoscaler_status.V2beta1HorizontalPodAutoscalerStatus() # noqa: E501 - if include_optional : - return V2beta1HorizontalPodAutoscalerStatus( - conditions = [ - kubernetes.client.models.v2beta1/horizontal_pod_autoscaler_condition.v2beta1.HorizontalPodAutoscalerCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_metrics = [ - kubernetes.client.models.v2beta1/metric_status.v2beta1.MetricStatus( - external = kubernetes.client.models.v2beta1/external_metric_status.v2beta1.ExternalMetricStatus( - current_average_value = '0', - current_value = '0', - metric_name = '0', - metric_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), - object = kubernetes.client.models.v2beta1/object_metric_status.v2beta1.ObjectMetricStatus( - average_value = '0', - current_value = '0', - metric_name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - target = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), ), - pods = kubernetes.client.models.v2beta1/pods_metric_status.v2beta1.PodsMetricStatus( - current_average_value = '0', - metric_name = '0', ), - resource = kubernetes.client.models.v2beta1/resource_metric_status.v2beta1.ResourceMetricStatus( - current_average_utilization = 56, - current_average_value = '0', - name = '0', ), - type = '0', ) - ], - current_replicas = 56, - desired_replicas = 56, - last_scale_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - observed_generation = 56 - ) - else : - return V2beta1HorizontalPodAutoscalerStatus( - conditions = [ - kubernetes.client.models.v2beta1/horizontal_pod_autoscaler_condition.v2beta1.HorizontalPodAutoscalerCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_replicas = 56, - desired_replicas = 56, - ) - - def testV2beta1HorizontalPodAutoscalerStatus(self): - """Test V2beta1HorizontalPodAutoscalerStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta1_metric_spec.py b/kubernetes/test/test_v2beta1_metric_spec.py deleted file mode 100644 index 4c17e8b4c7..0000000000 --- a/kubernetes/test/test_v2beta1_metric_spec.py +++ /dev/null @@ -1,108 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta1_metric_spec import V2beta1MetricSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta1MetricSpec(unittest.TestCase): - """V2beta1MetricSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta1MetricSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta1_metric_spec.V2beta1MetricSpec() # noqa: E501 - if include_optional : - return V2beta1MetricSpec( - external = kubernetes.client.models.v2beta1/external_metric_source.v2beta1.ExternalMetricSource( - metric_name = '0', - metric_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - target_average_value = '0', - target_value = '0', ), - object = kubernetes.client.models.v2beta1/object_metric_source.v2beta1.ObjectMetricSource( - average_value = '0', - metric_name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - target = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - target_value = '0', ), - pods = kubernetes.client.models.v2beta1/pods_metric_source.v2beta1.PodsMetricSource( - metric_name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - target_average_value = '0', ), - resource = kubernetes.client.models.v2beta1/resource_metric_source.v2beta1.ResourceMetricSource( - name = '0', - target_average_utilization = 56, - target_average_value = '0', ), - type = '0' - ) - else : - return V2beta1MetricSpec( - type = '0', - ) - - def testV2beta1MetricSpec(self): - """Test V2beta1MetricSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta1_metric_status.py b/kubernetes/test/test_v2beta1_metric_status.py deleted file mode 100644 index a288092f64..0000000000 --- a/kubernetes/test/test_v2beta1_metric_status.py +++ /dev/null @@ -1,108 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta1_metric_status import V2beta1MetricStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta1MetricStatus(unittest.TestCase): - """V2beta1MetricStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta1MetricStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta1_metric_status.V2beta1MetricStatus() # noqa: E501 - if include_optional : - return V2beta1MetricStatus( - external = kubernetes.client.models.v2beta1/external_metric_status.v2beta1.ExternalMetricStatus( - current_average_value = '0', - current_value = '0', - metric_name = '0', - metric_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), - object = kubernetes.client.models.v2beta1/object_metric_status.v2beta1.ObjectMetricStatus( - average_value = '0', - current_value = '0', - metric_name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - target = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), ), - pods = kubernetes.client.models.v2beta1/pods_metric_status.v2beta1.PodsMetricStatus( - current_average_value = '0', - metric_name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), - resource = kubernetes.client.models.v2beta1/resource_metric_status.v2beta1.ResourceMetricStatus( - current_average_utilization = 56, - current_average_value = '0', - name = '0', ), - type = '0' - ) - else : - return V2beta1MetricStatus( - type = '0', - ) - - def testV2beta1MetricStatus(self): - """Test V2beta1MetricStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta1_object_metric_source.py b/kubernetes/test/test_v2beta1_object_metric_source.py deleted file mode 100644 index 163caef490..0000000000 --- a/kubernetes/test/test_v2beta1_object_metric_source.py +++ /dev/null @@ -1,76 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta1_object_metric_source import V2beta1ObjectMetricSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta1ObjectMetricSource(unittest.TestCase): - """V2beta1ObjectMetricSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta1ObjectMetricSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta1_object_metric_source.V2beta1ObjectMetricSource() # noqa: E501 - if include_optional : - return V2beta1ObjectMetricSource( - average_value = '0', - metric_name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - target = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - target_value = '0' - ) - else : - return V2beta1ObjectMetricSource( - metric_name = '0', - target = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - target_value = '0', - ) - - def testV2beta1ObjectMetricSource(self): - """Test V2beta1ObjectMetricSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta1_object_metric_status.py b/kubernetes/test/test_v2beta1_object_metric_status.py deleted file mode 100644 index 9917b0bbb4..0000000000 --- a/kubernetes/test/test_v2beta1_object_metric_status.py +++ /dev/null @@ -1,76 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta1_object_metric_status import V2beta1ObjectMetricStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta1ObjectMetricStatus(unittest.TestCase): - """V2beta1ObjectMetricStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta1ObjectMetricStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta1_object_metric_status.V2beta1ObjectMetricStatus() # noqa: E501 - if include_optional : - return V2beta1ObjectMetricStatus( - average_value = '0', - current_value = '0', - metric_name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - target = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ) - ) - else : - return V2beta1ObjectMetricStatus( - current_value = '0', - metric_name = '0', - target = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - ) - - def testV2beta1ObjectMetricStatus(self): - """Test V2beta1ObjectMetricStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta1_pods_metric_source.py b/kubernetes/test/test_v2beta1_pods_metric_source.py deleted file mode 100644 index 999b668c70..0000000000 --- a/kubernetes/test/test_v2beta1_pods_metric_source.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta1_pods_metric_source import V2beta1PodsMetricSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta1PodsMetricSource(unittest.TestCase): - """V2beta1PodsMetricSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta1PodsMetricSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta1_pods_metric_source.V2beta1PodsMetricSource() # noqa: E501 - if include_optional : - return V2beta1PodsMetricSource( - metric_name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - target_average_value = '0' - ) - else : - return V2beta1PodsMetricSource( - metric_name = '0', - target_average_value = '0', - ) - - def testV2beta1PodsMetricSource(self): - """Test V2beta1PodsMetricSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta1_pods_metric_status.py b/kubernetes/test/test_v2beta1_pods_metric_status.py deleted file mode 100644 index b8a1509121..0000000000 --- a/kubernetes/test/test_v2beta1_pods_metric_status.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta1_pods_metric_status import V2beta1PodsMetricStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta1PodsMetricStatus(unittest.TestCase): - """V2beta1PodsMetricStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta1PodsMetricStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta1_pods_metric_status.V2beta1PodsMetricStatus() # noqa: E501 - if include_optional : - return V2beta1PodsMetricStatus( - current_average_value = '0', - metric_name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ) - ) - else : - return V2beta1PodsMetricStatus( - current_average_value = '0', - metric_name = '0', - ) - - def testV2beta1PodsMetricStatus(self): - """Test V2beta1PodsMetricStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta1_resource_metric_source.py b/kubernetes/test/test_v2beta1_resource_metric_source.py deleted file mode 100644 index 96587ec1dd..0000000000 --- a/kubernetes/test/test_v2beta1_resource_metric_source.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta1_resource_metric_source import V2beta1ResourceMetricSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta1ResourceMetricSource(unittest.TestCase): - """V2beta1ResourceMetricSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta1ResourceMetricSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta1_resource_metric_source.V2beta1ResourceMetricSource() # noqa: E501 - if include_optional : - return V2beta1ResourceMetricSource( - name = '0', - target_average_utilization = 56, - target_average_value = '0' - ) - else : - return V2beta1ResourceMetricSource( - name = '0', - ) - - def testV2beta1ResourceMetricSource(self): - """Test V2beta1ResourceMetricSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta1_resource_metric_status.py b/kubernetes/test/test_v2beta1_resource_metric_status.py deleted file mode 100644 index 083b2d746a..0000000000 --- a/kubernetes/test/test_v2beta1_resource_metric_status.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta1_resource_metric_status import V2beta1ResourceMetricStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta1ResourceMetricStatus(unittest.TestCase): - """V2beta1ResourceMetricStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta1ResourceMetricStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta1_resource_metric_status.V2beta1ResourceMetricStatus() # noqa: E501 - if include_optional : - return V2beta1ResourceMetricStatus( - current_average_utilization = 56, - current_average_value = '0', - name = '0' - ) - else : - return V2beta1ResourceMetricStatus( - current_average_value = '0', - name = '0', - ) - - def testV2beta1ResourceMetricStatus(self): - """Test V2beta1ResourceMetricStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta2_cross_version_object_reference.py b/kubernetes/test/test_v2beta2_cross_version_object_reference.py deleted file mode 100644 index e90b49acec..0000000000 --- a/kubernetes/test/test_v2beta2_cross_version_object_reference.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta2_cross_version_object_reference import V2beta2CrossVersionObjectReference # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta2CrossVersionObjectReference(unittest.TestCase): - """V2beta2CrossVersionObjectReference unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta2CrossVersionObjectReference - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta2_cross_version_object_reference.V2beta2CrossVersionObjectReference() # noqa: E501 - if include_optional : - return V2beta2CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0' - ) - else : - return V2beta2CrossVersionObjectReference( - kind = '0', - name = '0', - ) - - def testV2beta2CrossVersionObjectReference(self): - """Test V2beta2CrossVersionObjectReference""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta2_external_metric_source.py b/kubernetes/test/test_v2beta2_external_metric_source.py deleted file mode 100644 index 8226c35fbe..0000000000 --- a/kubernetes/test/test_v2beta2_external_metric_source.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta2_external_metric_source import V2beta2ExternalMetricSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta2ExternalMetricSource(unittest.TestCase): - """V2beta2ExternalMetricSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta2ExternalMetricSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta2_external_metric_source.V2beta2ExternalMetricSource() # noqa: E501 - if include_optional : - return V2beta2ExternalMetricSource( - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ) - ) - else : - return V2beta2ExternalMetricSource( - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), - ) - - def testV2beta2ExternalMetricSource(self): - """Test V2beta2ExternalMetricSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta2_external_metric_status.py b/kubernetes/test/test_v2beta2_external_metric_status.py deleted file mode 100644 index d76379d181..0000000000 --- a/kubernetes/test/test_v2beta2_external_metric_status.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta2_external_metric_status import V2beta2ExternalMetricStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta2ExternalMetricStatus(unittest.TestCase): - """V2beta2ExternalMetricStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta2ExternalMetricStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta2_external_metric_status.V2beta2ExternalMetricStatus() # noqa: E501 - if include_optional : - return V2beta2ExternalMetricStatus( - current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( - average_utilization = 56, - average_value = '0', - value = '0', ), - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ) - ) - else : - return V2beta2ExternalMetricStatus( - current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( - average_utilization = 56, - average_value = '0', - value = '0', ), - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), - ) - - def testV2beta2ExternalMetricStatus(self): - """Test V2beta2ExternalMetricStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler.py b/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler.py deleted file mode 100644 index f4dfb4988d..0000000000 --- a/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler.py +++ /dev/null @@ -1,210 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta2_horizontal_pod_autoscaler import V2beta2HorizontalPodAutoscaler # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta2HorizontalPodAutoscaler(unittest.TestCase): - """V2beta2HorizontalPodAutoscaler unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta2HorizontalPodAutoscaler - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta2_horizontal_pod_autoscaler.V2beta2HorizontalPodAutoscaler() # noqa: E501 - if include_optional : - return V2beta2HorizontalPodAutoscaler( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v2beta2/horizontal_pod_autoscaler_spec.v2beta2.HorizontalPodAutoscalerSpec( - max_replicas = 56, - metrics = [ - kubernetes.client.models.v2beta2/metric_spec.v2beta2.MetricSpec( - external = kubernetes.client.models.v2beta2/external_metric_source.v2beta2.ExternalMetricSource( - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), ), - object = kubernetes.client.models.v2beta2/object_metric_source.v2beta2.ObjectMetricSource( - described_object = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', ), - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), ), - pods = kubernetes.client.models.v2beta2/pods_metric_source.v2beta2.PodsMetricSource( - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', ), - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), ), - resource = kubernetes.client.models.v2beta2/resource_metric_source.v2beta2.ResourceMetricSource( - name = '0', - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), ), - type = '0', ) - ], - min_replicas = 56, - scale_target_ref = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), ), - status = kubernetes.client.models.v2beta2/horizontal_pod_autoscaler_status.v2beta2.HorizontalPodAutoscalerStatus( - conditions = [ - kubernetes.client.models.v2beta2/horizontal_pod_autoscaler_condition.v2beta2.HorizontalPodAutoscalerCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_metrics = [ - kubernetes.client.models.v2beta2/metric_status.v2beta2.MetricStatus( - external = kubernetes.client.models.v2beta2/external_metric_status.v2beta2.ExternalMetricStatus( - current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( - average_utilization = 56, - average_value = '0', - value = '0', ), - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), ), - object = kubernetes.client.models.v2beta2/object_metric_status.v2beta2.ObjectMetricStatus( - current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( - average_utilization = 56, - average_value = '0', - value = '0', ), - described_object = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', ), ), - pods = kubernetes.client.models.v2beta2/pods_metric_status.v2beta2.PodsMetricStatus( - current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( - average_utilization = 56, - average_value = '0', - value = '0', ), - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', ), ), - resource = kubernetes.client.models.v2beta2/resource_metric_status.v2beta2.ResourceMetricStatus( - current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( - average_utilization = 56, - average_value = '0', - value = '0', ), - name = '0', ), - type = '0', ) - ], - current_replicas = 56, - desired_replicas = 56, - last_scale_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - observed_generation = 56, ) - ) - else : - return V2beta2HorizontalPodAutoscaler( - ) - - def testV2beta2HorizontalPodAutoscaler(self): - """Test V2beta2HorizontalPodAutoscaler""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_condition.py b/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_condition.py deleted file mode 100644 index 26ea815760..0000000000 --- a/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_condition.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta2_horizontal_pod_autoscaler_condition import V2beta2HorizontalPodAutoscalerCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta2HorizontalPodAutoscalerCondition(unittest.TestCase): - """V2beta2HorizontalPodAutoscalerCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta2HorizontalPodAutoscalerCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta2_horizontal_pod_autoscaler_condition.V2beta2HorizontalPodAutoscalerCondition() # noqa: E501 - if include_optional : - return V2beta2HorizontalPodAutoscalerCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V2beta2HorizontalPodAutoscalerCondition( - status = '0', - type = '0', - ) - - def testV2beta2HorizontalPodAutoscalerCondition(self): - """Test V2beta2HorizontalPodAutoscalerCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_list.py b/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_list.py deleted file mode 100644 index 54a33cbb50..0000000000 --- a/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_list.py +++ /dev/null @@ -1,296 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta2_horizontal_pod_autoscaler_list import V2beta2HorizontalPodAutoscalerList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta2HorizontalPodAutoscalerList(unittest.TestCase): - """V2beta2HorizontalPodAutoscalerList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta2HorizontalPodAutoscalerList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta2_horizontal_pod_autoscaler_list.V2beta2HorizontalPodAutoscalerList() # noqa: E501 - if include_optional : - return V2beta2HorizontalPodAutoscalerList( - api_version = '0', - items = [ - kubernetes.client.models.v2beta2/horizontal_pod_autoscaler.v2beta2.HorizontalPodAutoscaler( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v2beta2/horizontal_pod_autoscaler_spec.v2beta2.HorizontalPodAutoscalerSpec( - max_replicas = 56, - metrics = [ - kubernetes.client.models.v2beta2/metric_spec.v2beta2.MetricSpec( - external = kubernetes.client.models.v2beta2/external_metric_source.v2beta2.ExternalMetricSource( - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), ), - object = kubernetes.client.models.v2beta2/object_metric_source.v2beta2.ObjectMetricSource( - described_object = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', ), - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), ), - pods = kubernetes.client.models.v2beta2/pods_metric_source.v2beta2.PodsMetricSource( - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', ), - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), ), - resource = kubernetes.client.models.v2beta2/resource_metric_source.v2beta2.ResourceMetricSource( - name = '0', - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), ), - type = '0', ) - ], - min_replicas = 56, - scale_target_ref = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), ), - status = kubernetes.client.models.v2beta2/horizontal_pod_autoscaler_status.v2beta2.HorizontalPodAutoscalerStatus( - conditions = [ - kubernetes.client.models.v2beta2/horizontal_pod_autoscaler_condition.v2beta2.HorizontalPodAutoscalerCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_metrics = [ - kubernetes.client.models.v2beta2/metric_status.v2beta2.MetricStatus( - type = '0', ) - ], - current_replicas = 56, - desired_replicas = 56, - last_scale_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - observed_generation = 56, ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V2beta2HorizontalPodAutoscalerList( - items = [ - kubernetes.client.models.v2beta2/horizontal_pod_autoscaler.v2beta2.HorizontalPodAutoscaler( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v2beta2/horizontal_pod_autoscaler_spec.v2beta2.HorizontalPodAutoscalerSpec( - max_replicas = 56, - metrics = [ - kubernetes.client.models.v2beta2/metric_spec.v2beta2.MetricSpec( - external = kubernetes.client.models.v2beta2/external_metric_source.v2beta2.ExternalMetricSource( - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), ), - object = kubernetes.client.models.v2beta2/object_metric_source.v2beta2.ObjectMetricSource( - described_object = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', ), - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), ), - pods = kubernetes.client.models.v2beta2/pods_metric_source.v2beta2.PodsMetricSource( - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', ), - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), ), - resource = kubernetes.client.models.v2beta2/resource_metric_source.v2beta2.ResourceMetricSource( - name = '0', - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), ), - type = '0', ) - ], - min_replicas = 56, - scale_target_ref = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), ), - status = kubernetes.client.models.v2beta2/horizontal_pod_autoscaler_status.v2beta2.HorizontalPodAutoscalerStatus( - conditions = [ - kubernetes.client.models.v2beta2/horizontal_pod_autoscaler_condition.v2beta2.HorizontalPodAutoscalerCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_metrics = [ - kubernetes.client.models.v2beta2/metric_status.v2beta2.MetricStatus( - type = '0', ) - ], - current_replicas = 56, - desired_replicas = 56, - last_scale_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - observed_generation = 56, ), ) - ], - ) - - def testV2beta2HorizontalPodAutoscalerList(self): - """Test V2beta2HorizontalPodAutoscalerList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_spec.py b/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_spec.py deleted file mode 100644 index 5ddd6adb6b..0000000000 --- a/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_spec.py +++ /dev/null @@ -1,113 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta2_horizontal_pod_autoscaler_spec import V2beta2HorizontalPodAutoscalerSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta2HorizontalPodAutoscalerSpec(unittest.TestCase): - """V2beta2HorizontalPodAutoscalerSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta2HorizontalPodAutoscalerSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta2_horizontal_pod_autoscaler_spec.V2beta2HorizontalPodAutoscalerSpec() # noqa: E501 - if include_optional : - return V2beta2HorizontalPodAutoscalerSpec( - max_replicas = 56, - metrics = [ - kubernetes.client.models.v2beta2/metric_spec.v2beta2.MetricSpec( - external = kubernetes.client.models.v2beta2/external_metric_source.v2beta2.ExternalMetricSource( - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), ), - object = kubernetes.client.models.v2beta2/object_metric_source.v2beta2.ObjectMetricSource( - described_object = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', ), - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), ), - pods = kubernetes.client.models.v2beta2/pods_metric_source.v2beta2.PodsMetricSource( - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', ), - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), ), - resource = kubernetes.client.models.v2beta2/resource_metric_source.v2beta2.ResourceMetricSource( - name = '0', - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), ), - type = '0', ) - ], - min_replicas = 56, - scale_target_ref = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ) - ) - else : - return V2beta2HorizontalPodAutoscalerSpec( - max_replicas = 56, - scale_target_ref = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - ) - - def testV2beta2HorizontalPodAutoscalerSpec(self): - """Test V2beta2HorizontalPodAutoscalerSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_status.py b/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_status.py deleted file mode 100644 index c0d0dd6279..0000000000 --- a/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_status.py +++ /dev/null @@ -1,120 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta2_horizontal_pod_autoscaler_status import V2beta2HorizontalPodAutoscalerStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta2HorizontalPodAutoscalerStatus(unittest.TestCase): - """V2beta2HorizontalPodAutoscalerStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta2HorizontalPodAutoscalerStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta2_horizontal_pod_autoscaler_status.V2beta2HorizontalPodAutoscalerStatus() # noqa: E501 - if include_optional : - return V2beta2HorizontalPodAutoscalerStatus( - conditions = [ - kubernetes.client.models.v2beta2/horizontal_pod_autoscaler_condition.v2beta2.HorizontalPodAutoscalerCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_metrics = [ - kubernetes.client.models.v2beta2/metric_status.v2beta2.MetricStatus( - external = kubernetes.client.models.v2beta2/external_metric_status.v2beta2.ExternalMetricStatus( - current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( - average_utilization = 56, - average_value = '0', - value = '0', ), - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), ), - object = kubernetes.client.models.v2beta2/object_metric_status.v2beta2.ObjectMetricStatus( - current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( - average_utilization = 56, - average_value = '0', - value = '0', ), - described_object = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', ), ), - pods = kubernetes.client.models.v2beta2/pods_metric_status.v2beta2.PodsMetricStatus( - current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( - average_utilization = 56, - average_value = '0', - value = '0', ), - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', ), ), - resource = kubernetes.client.models.v2beta2/resource_metric_status.v2beta2.ResourceMetricStatus( - current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( - average_utilization = 56, - average_value = '0', - value = '0', ), - name = '0', ), - type = '0', ) - ], - current_replicas = 56, - desired_replicas = 56, - last_scale_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - observed_generation = 56 - ) - else : - return V2beta2HorizontalPodAutoscalerStatus( - conditions = [ - kubernetes.client.models.v2beta2/horizontal_pod_autoscaler_condition.v2beta2.HorizontalPodAutoscalerCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_replicas = 56, - desired_replicas = 56, - ) - - def testV2beta2HorizontalPodAutoscalerStatus(self): - """Test V2beta2HorizontalPodAutoscalerStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta2_metric_identifier.py b/kubernetes/test/test_v2beta2_metric_identifier.py deleted file mode 100644 index 8f4cb35d0d..0000000000 --- a/kubernetes/test/test_v2beta2_metric_identifier.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta2_metric_identifier import V2beta2MetricIdentifier # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta2MetricIdentifier(unittest.TestCase): - """V2beta2MetricIdentifier unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta2MetricIdentifier - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta2_metric_identifier.V2beta2MetricIdentifier() # noqa: E501 - if include_optional : - return V2beta2MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ) - ) - else : - return V2beta2MetricIdentifier( - name = '0', - ) - - def testV2beta2MetricIdentifier(self): - """Test V2beta2MetricIdentifier""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta2_metric_spec.py b/kubernetes/test/test_v2beta2_metric_spec.py deleted file mode 100644 index 2cb950b5d5..0000000000 --- a/kubernetes/test/test_v2beta2_metric_spec.py +++ /dev/null @@ -1,124 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta2_metric_spec import V2beta2MetricSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta2MetricSpec(unittest.TestCase): - """V2beta2MetricSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta2MetricSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta2_metric_spec.V2beta2MetricSpec() # noqa: E501 - if include_optional : - return V2beta2MetricSpec( - external = kubernetes.client.models.v2beta2/external_metric_source.v2beta2.ExternalMetricSource( - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), ), - object = kubernetes.client.models.v2beta2/object_metric_source.v2beta2.ObjectMetricSource( - described_object = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), ), - pods = kubernetes.client.models.v2beta2/pods_metric_source.v2beta2.PodsMetricSource( - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), ), - resource = kubernetes.client.models.v2beta2/resource_metric_source.v2beta2.ResourceMetricSource( - name = '0', - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), ), - type = '0' - ) - else : - return V2beta2MetricSpec( - type = '0', - ) - - def testV2beta2MetricSpec(self): - """Test V2beta2MetricSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta2_metric_status.py b/kubernetes/test/test_v2beta2_metric_status.py deleted file mode 100644 index 1756f5ac9d..0000000000 --- a/kubernetes/test/test_v2beta2_metric_status.py +++ /dev/null @@ -1,120 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta2_metric_status import V2beta2MetricStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta2MetricStatus(unittest.TestCase): - """V2beta2MetricStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta2MetricStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta2_metric_status.V2beta2MetricStatus() # noqa: E501 - if include_optional : - return V2beta2MetricStatus( - external = kubernetes.client.models.v2beta2/external_metric_status.v2beta2.ExternalMetricStatus( - current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( - average_utilization = 56, - average_value = '0', - value = '0', ), - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), ), - object = kubernetes.client.models.v2beta2/object_metric_status.v2beta2.ObjectMetricStatus( - current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( - average_utilization = 56, - average_value = '0', - value = '0', ), - described_object = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), ), - pods = kubernetes.client.models.v2beta2/pods_metric_status.v2beta2.PodsMetricStatus( - current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( - average_utilization = 56, - average_value = '0', - value = '0', ), - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), ), - resource = kubernetes.client.models.v2beta2/resource_metric_status.v2beta2.ResourceMetricStatus( - current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( - average_utilization = 56, - average_value = '0', - value = '0', ), - name = '0', ), - type = '0' - ) - else : - return V2beta2MetricStatus( - type = '0', - ) - - def testV2beta2MetricStatus(self): - """Test V2beta2MetricStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta2_metric_target.py b/kubernetes/test/test_v2beta2_metric_target.py deleted file mode 100644 index 5629eeaaf9..0000000000 --- a/kubernetes/test/test_v2beta2_metric_target.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta2_metric_target import V2beta2MetricTarget # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta2MetricTarget(unittest.TestCase): - """V2beta2MetricTarget unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta2MetricTarget - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta2_metric_target.V2beta2MetricTarget() # noqa: E501 - if include_optional : - return V2beta2MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0' - ) - else : - return V2beta2MetricTarget( - type = '0', - ) - - def testV2beta2MetricTarget(self): - """Test V2beta2MetricTarget""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta2_metric_value_status.py b/kubernetes/test/test_v2beta2_metric_value_status.py deleted file mode 100644 index 7e9244eaf4..0000000000 --- a/kubernetes/test/test_v2beta2_metric_value_status.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta2_metric_value_status import V2beta2MetricValueStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta2MetricValueStatus(unittest.TestCase): - """V2beta2MetricValueStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta2MetricValueStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta2_metric_value_status.V2beta2MetricValueStatus() # noqa: E501 - if include_optional : - return V2beta2MetricValueStatus( - average_utilization = 56, - average_value = '0', - value = '0' - ) - else : - return V2beta2MetricValueStatus( - ) - - def testV2beta2MetricValueStatus(self): - """Test V2beta2MetricValueStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta2_object_metric_source.py b/kubernetes/test/test_v2beta2_object_metric_source.py deleted file mode 100644 index 97f04e6a40..0000000000 --- a/kubernetes/test/test_v2beta2_object_metric_source.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta2_object_metric_source import V2beta2ObjectMetricSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta2ObjectMetricSource(unittest.TestCase): - """V2beta2ObjectMetricSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta2ObjectMetricSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta2_object_metric_source.V2beta2ObjectMetricSource() # noqa: E501 - if include_optional : - return V2beta2ObjectMetricSource( - described_object = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ) - ) - else : - return V2beta2ObjectMetricSource( - described_object = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), - ) - - def testV2beta2ObjectMetricSource(self): - """Test V2beta2ObjectMetricSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta2_object_metric_status.py b/kubernetes/test/test_v2beta2_object_metric_status.py deleted file mode 100644 index 53718fb63f..0000000000 --- a/kubernetes/test/test_v2beta2_object_metric_status.py +++ /dev/null @@ -1,95 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta2_object_metric_status import V2beta2ObjectMetricStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta2ObjectMetricStatus(unittest.TestCase): - """V2beta2ObjectMetricStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta2ObjectMetricStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta2_object_metric_status.V2beta2ObjectMetricStatus() # noqa: E501 - if include_optional : - return V2beta2ObjectMetricStatus( - current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( - average_utilization = 56, - average_value = '0', - value = '0', ), - described_object = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ) - ) - else : - return V2beta2ObjectMetricStatus( - current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( - average_utilization = 56, - average_value = '0', - value = '0', ), - described_object = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), - ) - - def testV2beta2ObjectMetricStatus(self): - """Test V2beta2ObjectMetricStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta2_pods_metric_source.py b/kubernetes/test/test_v2beta2_pods_metric_source.py deleted file mode 100644 index d0329999fc..0000000000 --- a/kubernetes/test/test_v2beta2_pods_metric_source.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta2_pods_metric_source import V2beta2PodsMetricSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta2PodsMetricSource(unittest.TestCase): - """V2beta2PodsMetricSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta2PodsMetricSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta2_pods_metric_source.V2beta2PodsMetricSource() # noqa: E501 - if include_optional : - return V2beta2PodsMetricSource( - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ) - ) - else : - return V2beta2PodsMetricSource( - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), - ) - - def testV2beta2PodsMetricSource(self): - """Test V2beta2PodsMetricSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta2_pods_metric_status.py b/kubernetes/test/test_v2beta2_pods_metric_status.py deleted file mode 100644 index 4eefc0d509..0000000000 --- a/kubernetes/test/test_v2beta2_pods_metric_status.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta2_pods_metric_status import V2beta2PodsMetricStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta2PodsMetricStatus(unittest.TestCase): - """V2beta2PodsMetricStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta2PodsMetricStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta2_pods_metric_status.V2beta2PodsMetricStatus() # noqa: E501 - if include_optional : - return V2beta2PodsMetricStatus( - current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( - average_utilization = 56, - average_value = '0', - value = '0', ), - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ) - ) - else : - return V2beta2PodsMetricStatus( - current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( - average_utilization = 56, - average_value = '0', - value = '0', ), - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), - ) - - def testV2beta2PodsMetricStatus(self): - """Test V2beta2PodsMetricStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta2_resource_metric_source.py b/kubernetes/test/test_v2beta2_resource_metric_source.py deleted file mode 100644 index e2677c81bf..0000000000 --- a/kubernetes/test/test_v2beta2_resource_metric_source.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta2_resource_metric_source import V2beta2ResourceMetricSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta2ResourceMetricSource(unittest.TestCase): - """V2beta2ResourceMetricSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta2ResourceMetricSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta2_resource_metric_source.V2beta2ResourceMetricSource() # noqa: E501 - if include_optional : - return V2beta2ResourceMetricSource( - name = '0', - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ) - ) - else : - return V2beta2ResourceMetricSource( - name = '0', - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), - ) - - def testV2beta2ResourceMetricSource(self): - """Test V2beta2ResourceMetricSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta2_resource_metric_status.py b/kubernetes/test/test_v2beta2_resource_metric_status.py deleted file mode 100644 index 027f089874..0000000000 --- a/kubernetes/test/test_v2beta2_resource_metric_status.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta2_resource_metric_status import V2beta2ResourceMetricStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta2ResourceMetricStatus(unittest.TestCase): - """V2beta2ResourceMetricStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta2ResourceMetricStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta2_resource_metric_status.V2beta2ResourceMetricStatus() # noqa: E501 - if include_optional : - return V2beta2ResourceMetricStatus( - current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( - average_utilization = 56, - average_value = '0', - value = '0', ), - name = '0' - ) - else : - return V2beta2ResourceMetricStatus( - current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( - average_utilization = 56, - average_value = '0', - value = '0', ), - name = '0', - ) - - def testV2beta2ResourceMetricStatus(self): - """Test V2beta2ResourceMetricStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_version_api.py b/kubernetes/test/test_version_api.py deleted file mode 100644 index 5521f0f52d..0000000000 --- a/kubernetes/test/test_version_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.version_api import VersionApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestVersionApi(unittest.TestCase): - """VersionApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.version_api.VersionApi() # noqa: E501 - - def tearDown(self): - pass - - def test_get_code(self): - """Test case for get_code - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_version_info.py b/kubernetes/test/test_version_info.py deleted file mode 100644 index 041c931cdf..0000000000 --- a/kubernetes/test/test_version_info.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.16 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.version_info import VersionInfo # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestVersionInfo(unittest.TestCase): - """VersionInfo unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test VersionInfo - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.version_info.VersionInfo() # noqa: E501 - if include_optional : - return VersionInfo( - build_date = '0', - compiler = '0', - git_commit = '0', - git_tree_state = '0', - git_version = '0', - go_version = '0', - major = '0', - minor = '0', - platform = '0' - ) - else : - return VersionInfo( - build_date = '0', - compiler = '0', - git_commit = '0', - git_tree_state = '0', - git_version = '0', - go_version = '0', - major = '0', - minor = '0', - platform = '0', - ) - - def testVersionInfo(self): - """Test VersionInfo""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main()