openshift-python-wrapper 11.0.115__tar.gz → 11.0.117__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- openshift_python_wrapper-11.0.117/.git +1 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/.pre-commit-config.yaml +1 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/PKG-INFO +1 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/core/generator.py +14 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/parsers/user_code_parser.py +1 -2
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/tests/test_user_code_parser.py +42 -2
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/application_aware_cluster_resource_quota.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/application_aware_resource_quota.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/authorino.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/catalog_source.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/cluster_resource_quota.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/cluster_role.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/cluster_role_binding.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/cluster_user_defined_network.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/config_imageregistry_operator_openshift_io.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/controller_revision.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/cron_job.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/csi_storage_capacity.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/data_import_cron.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/data_source.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/deployment.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/dsc_initialization.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/endpoint_slice.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/endpoints.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/fence_agent_remediation_templates.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/group.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/image_caching_internal_knative_dev.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/image_digest_mirror_set.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/inference_graph.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/inference_service.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/ip_address_pool.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/limit_range.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/llama_stack_distribution.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/lm_eval_job.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/mig_analytic.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/mig_cluster.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/mig_migration.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/model_registry.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/model_registry_modelregistry_opendatahub_io.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/multi_cluster_observability.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/multi_network_policy.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/network_attachment_definition.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/node_health_check.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/performance_profile.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/pod.py +2 -2
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/pod_metrics.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/reclaim_space_cron_job.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/reclaim_space_job.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/replica_set.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/resource_quota.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/restore.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/role.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/sealed_secret.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/security_context_constraints.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/service_mesh_member.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/serving_runtime.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/snapshot.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/ssp.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/storage_class.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/trustyai_service.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/user.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/user_defined_network.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/utils/utils.py +7 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/virtual_machine_clone.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/virtual_machine_cluster_instancetype.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/virtual_machine_export.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/virtual_machine_instance.py +217 -65
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/virtual_machine_instance_preset.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/virtual_machine_instance_replica_set.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/virtual_machine_instancetype.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/volume_snapshot.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/volume_snapshot_class.py +2 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/pyproject.toml +1 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_camelcase_to_snake.py +15 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/uv.lock +49 -39
- openshift_python_wrapper-11.0.115/.git +0 -1
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/.coderabbit.yaml +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/.dockerignore +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/.flake8 +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/.gitattributes +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/.github/pull_request_template.md +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/.github/weekly-digest.yml +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/.github/workflows/close-stale-issues.yml +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/.gitignore +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/.gitleaks.toml +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/.readthedocs.yaml +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/.release-it.json +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/.sonarcloud.properties +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/CONTRIBUTING.md +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/LICENSE +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/Makefile +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/OWNERS +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/README.md +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/README.md +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/__init__.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/cli.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/constants.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/core/__init__.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/core/coverage.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/core/discovery.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/core/schema.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/exceptions.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/formatters/__init__.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/formatters/file_writer.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/formatters/template_renderer.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/manifests/class_generator_template.j2 +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/parsers/__init__.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/parsers/explain_parser.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/parsers/type_parser.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/py.typed +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/schema/__cluster_version__.txt +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/schema/__resources-mappings.json.gz +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/schema/_definitions.json +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/tests/manifests/APIServer/api_server.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/tests/manifests/ClusterOperator/cluster_operator.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/tests/manifests/ConfigMap/config_map.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/tests/manifests/DNS/dns_config_openshift_io.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/tests/manifests/DNS/dns_operator_openshift_io.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/tests/manifests/Deployment/deployment.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/tests/manifests/ImageContentSourcePolicy/image_content_source_policy.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/tests/manifests/Ingress/ingress_config_openshift_io.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/tests/manifests/Ingress/ingress_networking_k8s_io.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/tests/manifests/Machine/machine.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/tests/manifests/NMState/nm_state.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/tests/manifests/OAuth/oauth.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/tests/manifests/Pipeline/pipeline.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/tests/manifests/Pod/pod.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/tests/manifests/RouteAdvertisements/route_advertisements.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/tests/manifests/Secret/secret.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/tests/manifests/ServiceMeshMember/service_mesh_member.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/tests/manifests/ServingRuntime/serving_runtime.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/tests/manifests/test_parse_explain.j2 +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/tests/test_batch_regeneration.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/tests/test_class_generator.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/tests/test_cli.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/tests/test_generation.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/tests/test_resource_discovery.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/tests/test_schema_new_functions.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/tests/test_schema_parsing.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/tests/test_utils.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/class_generator/utils.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/docs/Makefile +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/docs/conf.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/docs/index.rst +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/docs/modules.rst +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/docs/ocp_resources.rst +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/examples/general.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/examples/node_network_configuration_policy.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/examples/pods.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/examples/resource_list.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/examples/role.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/examples/special_cases.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/examples/validation_demo.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/examples/validation_troubleshooting.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/examples/virtual_machine.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/fake_kubernetes_client/README.md +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/fake_kubernetes_client/__init__.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/fake_kubernetes_client/configuration.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/fake_kubernetes_client/dynamic_client.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/fake_kubernetes_client/exceptions.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/fake_kubernetes_client/kubernetes_client.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/fake_kubernetes_client/resource_field.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/fake_kubernetes_client/resource_instance.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/fake_kubernetes_client/resource_manager.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/fake_kubernetes_client/resource_registry.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/fake_kubernetes_client/resource_storage.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/fake_kubernetes_client/status_schema_parser.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/fake_kubernetes_client/status_templates.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/fake_kubernetes_client/types.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/mcp_server/README.md +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/mcp_server/__init__.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/mcp_server/example_client.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/mcp_server/server-info.json +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/mcp_server/server.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/mcp_server/tests/__init__.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/mcp_server/tests/test_server.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/__init__.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/aaq.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/api_server.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/api_service.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/application_aware_applied_cluster_resource_quota.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/authentication_config_openshift_io.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/authentication_operator_openshift_io.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/backup.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/benchmark.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/bgp_session_state.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/cdi.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/cdi_config.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/chaos_engine.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/chaos_result.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/cluster_claim.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/cluster_deployment.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/cluster_operator.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/cluster_pool.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/cluster_service_version.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/cluster_version.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/config_map.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/config_operator_openshift_io.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/config_samples_operator_openshift_io.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/console_cli_download.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/console_config_openshift_io.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/console_operator_openshift_io.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/console_plugin.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/console_quick_start.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/csi_driver.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/custom_resource_definition.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/daemonset.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/data_science_cluster.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/data_science_pipelines_application.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/datavolume.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/destination_rule.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/direct_volume_migration.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/direct_volume_migration_progress.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/dns_config_openshift_io.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/dns_operator_openshift_io.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/event.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/exceptions.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/forklift_controller.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/frr_configuration.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/gateway.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/gateway_class.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/gateway_config.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/gateway_gateway_networking_k8s_io.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/gateway_networking_istio_io.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/guardrails_orchestrator.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/hook.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/host.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/hostpath_provisioner.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/hyperconverged.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/image_config_openshift_io.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/image_content_source_policy.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/image_image_openshift_io.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/image_stream.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/imagestreamtag.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/infrastructure.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/ingress_config_openshift_io.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/ingress_controller.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/ingress_networking_k8s_io.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/installplan.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/jaeger.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/job.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/kube_descheduler.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/kubelet_config.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/kubevirt.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/l2_advertisement.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/lease.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/llm_inference_service.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/maa_s_auth_policy.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/maa_s_model.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/maa_s_subscription.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/machine.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/machine_config.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/machine_config_pool.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/machine_health_check.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/machine_set.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/managed_cluster.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/maria_db.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/mariadb_operator.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/metallb.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/mig_controller.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/mig_plan.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/migration.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/migration_policy.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/model_registry_components_platform_opendatahub_io.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/mtq.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/multi_cluster_hub.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/multi_namespace_virtual_machine_storage_migration.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/multi_namespace_virtual_machine_storage_migration_plan.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/mutating_webhook_config.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/namespace.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/network_addons_config.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/network_config_openshift_io.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/network_map.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/network_operator_openshift_io.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/network_policy.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/nm_state.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/node.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/node_config_openshift_io.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/node_maintenance.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/node_network_configuration_enactment.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/node_network_configuration_policy.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/node_network_configuration_policy_latest.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/node_network_state.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/notebook.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/oauth.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/ocs_initialization.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/open_telemetry_collector.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/operator.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/operator_condition.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/operator_group.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/operator_hub.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/operator_source.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/package_manifest.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/peer_authentication.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/persistent_volume.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/persistent_volume_claim.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/pipeline.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/pipeline_run.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/plan.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/pod_disruption_budget.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/priority_class.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/project_config_openshift_io.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/project_project_openshift_io.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/project_request.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/prometheus.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/prometheus_rule.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/provider.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/proxy.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/py.typed +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/rate_limit_policy.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/resource.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/rhmi.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/role_binding.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/route.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/route_advertisements.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/scaled_object.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/scheduler.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/secret.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/securesign.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/self_node_remediation_templates.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/self_subject_review.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/service.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/service_account.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/service_mesh_control_plane.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/service_mesh_member_roll.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/service_monitor.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/service_serving_knative_dev.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/sriov_network.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/sriov_network_node_policy.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/sriov_network_node_state.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/storage_cluster.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/storage_map.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/storage_profile.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/subscription.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/task.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/task_run.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/tekton_tasks.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/template.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/tempo_stack.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/token_rate_limit_policy.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/upload_token_request.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/utils/__init__.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/utils/archive_utils.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/utils/constants.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/utils/resource_constants.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/utils/schema_validator.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/validating_admission_policy.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/validating_admission_policy_binding.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/validating_webhook_config.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/virtual_machine.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/virtual_machine_cluster_preference.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/virtual_machine_import.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/virtual_machine_instance_migration.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/virtual_machine_migration_resource_quota.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/virtual_machine_preference.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/virtual_machine_restore.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/virtual_machine_snapshot.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/virtual_machine_storage_migration.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/virtual_machine_storage_migration_plan.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/virtual_service.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/vm_import_config.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/pypi-dist/.gitignore +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/renovate.json +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/scripts/__init__.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/scripts/diff-from-latest-release.sh +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/scripts/diff-from-tag.sh +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/scripts/generate_changelog.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/scripts/get-latest-release.sh +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/sonar-project.properties +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/__init__.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/conftest.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/fixtures/validation_schemas.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/manifests/vm.yaml +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/scripts/__init__.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/scripts/generate_pytest_test.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/scripts/validate_resources.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_api_group_order.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resource.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resource_validation.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_aaq.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_api_server.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_authorino.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_cdi.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_cdi_config.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_cluster_resource_quota.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_cluster_user_defined_network.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_config_map.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_console_config_openshift_io.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_console_operator_openshift_io.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_csi_driver.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_data_import_cron.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_data_science_cluster.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_deployment.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_direct_volume_migration.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_direct_volume_migration_progress.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_dns_config_openshift_io.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_dns_operator_openshift_io.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_dsc_initialization.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_group.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_guardrails_orchestrator.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_image_caching_internal_knative_dev.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_image_config_openshift_io.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_image_content_source_policy.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_image_image_openshift_io.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_inference_graph.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_kube_descheduler.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_kubelet_config.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_kubevirt.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_llama_stack_distribution.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_lm_eval_job.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_machine.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_maria_db.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_mariadb_operator.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_mig_analytic.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_mig_cluster.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_mig_migration.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_mig_plan.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_model_registry.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_model_registry_components_platform_opendatahub_io.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_model_registry_modelregistry_opendatahub_io.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_mtq.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_namespace.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_network_config_openshift_io.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_network_operator_openshift_io.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_nm_state.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_node.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_node_config_openshift_io.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_node_network_configuration_policy_latest.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_notebook.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_oauth.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_operator.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_pod.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_pod_metrics.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_project_config_openshift_io.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_project_project_openshift_io.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_project_request.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_prometheus.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_replica_set.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_scheduler.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_security_context_constraints.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_self_subject_review.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_service.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_service_mesh_member.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_service_serving_knative_dev.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_serving_runtime.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_snapshot.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_ssp.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_storage_cluster.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_user.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_user_defined_network.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_virtual_machine_cluster_instancetype.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_virtual_machine_cluster_preference.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_virtual_machine_export.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_virtual_machine_instance_migration.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_virtual_machine_instance_preset.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_virtual_machine_instance_replica_set.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_virtual_machine_instancetype.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_virtual_machine_preference.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_volume_snapshot.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_resources/test_volume_snapshot_class.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_schema_loading.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_unittests.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_validate_resources.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_validate_resources_script.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/test_validation_error.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tests/utils.py +0 -0
- {openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/tox.toml +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
gitdir: /tmp/github-webhook-openshift-python-wrapper-rafsx54n/.git/worktrees/github-webhook-openshift-python-wrapper-rafsx54n-worktree-64d4952f-1cfc-4271-a303-e0a96e3e4686
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: openshift-python-wrapper
|
|
3
|
-
Version: 11.0.
|
|
3
|
+
Version: 11.0.117
|
|
4
4
|
Summary: Wrapper around https://github.com/kubernetes-client/python
|
|
5
5
|
Project-URL: homepage, https://github.com/RedHatQE/openshift-python-wrapper
|
|
6
6
|
Project-URL: documentation, https://openshift-python-wrapper.readthedocs.io/en/latest/
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import filecmp
|
|
4
4
|
import os
|
|
5
|
+
import re
|
|
5
6
|
from pathlib import Path
|
|
6
7
|
from typing import Any
|
|
7
8
|
|
|
@@ -55,6 +56,16 @@ def generate_resource_file_from_dict(
|
|
|
55
56
|
|
|
56
57
|
output = "# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md\n\n"
|
|
57
58
|
formatted_kind_str = convert_camel_case_to_snake_case(name=resource_dict["kind"])
|
|
59
|
+
|
|
60
|
+
if re.search(r"_[a-z]_", formatted_kind_str):
|
|
61
|
+
msg = (
|
|
62
|
+
f"'{resource_dict['kind']}' produced invalid filename '{formatted_kind_str}.py'.\n"
|
|
63
|
+
f"Add '{resource_dict['kind']}' acronym to 'normalize_acronyms' dict in:\n"
|
|
64
|
+
f" ocp_resources/utils/utils.py -> convert_camel_case_to_snake_case()"
|
|
65
|
+
)
|
|
66
|
+
LOGGER.error(msg)
|
|
67
|
+
raise ValueError(msg)
|
|
68
|
+
|
|
58
69
|
_file_suffix: str = f"{'_' + output_file_suffix if output_file_suffix else ''}"
|
|
59
70
|
|
|
60
71
|
if add_tests:
|
|
@@ -94,8 +105,10 @@ def generate_resource_file_from_dict(
|
|
|
94
105
|
output += rendered
|
|
95
106
|
|
|
96
107
|
if dry_run:
|
|
108
|
+
console = Console()
|
|
109
|
+
console.print(f"\n[bold green]Would create file:[/bold green] {_output_file}")
|
|
97
110
|
_code = Syntax(code=output, lexer="python", line_numbers=True)
|
|
98
|
-
|
|
111
|
+
console.print(_code)
|
|
99
112
|
|
|
100
113
|
else:
|
|
101
114
|
write_and_format_rendered(filepath=_output_file, output=output)
|
|
@@ -60,8 +60,7 @@ def parse_user_code_from_file(file_path: str) -> tuple[str, str]:
|
|
|
60
60
|
"from typing import Any",
|
|
61
61
|
"from ocp_resources.resource import NamespacedResource",
|
|
62
62
|
"from ocp_resources.resource import Resource",
|
|
63
|
-
"from ocp_resources.
|
|
64
|
-
"from ocp_resources.resource import Resource, MissingRequiredArgumentError",
|
|
63
|
+
"from ocp_resources.exceptions import MissingRequiredArgumentError",
|
|
65
64
|
}
|
|
66
65
|
|
|
67
66
|
for _import in imports:
|
|
@@ -134,7 +134,8 @@ class MyResource(Resource):
|
|
|
134
134
|
content = '''# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md
|
|
135
135
|
|
|
136
136
|
from typing import Any
|
|
137
|
-
from ocp_resources.
|
|
137
|
+
from ocp_resources.exceptions import MissingRequiredArgumentError
|
|
138
|
+
from ocp_resources.resource import NamespacedResource
|
|
138
139
|
from custom_validators import validate_name
|
|
139
140
|
import json
|
|
140
141
|
|
|
@@ -160,7 +161,8 @@ class MyResource(NamespacedResource):
|
|
|
160
161
|
assert "from custom_validators import validate_name" in user_imports
|
|
161
162
|
assert "import json" in user_imports
|
|
162
163
|
assert "from typing import Any" not in user_imports
|
|
163
|
-
assert "from ocp_resources.
|
|
164
|
+
assert "from ocp_resources.exceptions import MissingRequiredArgumentError" not in user_imports
|
|
165
|
+
assert "from ocp_resources.resource import NamespacedResource" not in user_imports
|
|
164
166
|
|
|
165
167
|
def test_parse_empty_file(self):
|
|
166
168
|
"""Test parsing an empty file."""
|
|
@@ -203,6 +205,44 @@ class MyResource(Resource):
|
|
|
203
205
|
assert user_code.strip() == "" # Only whitespace after marker
|
|
204
206
|
assert user_imports == ""
|
|
205
207
|
|
|
208
|
+
def test_parse_file_with_exceptions_import(self):
|
|
209
|
+
"""Test parsing a file with import from ocp_resources.exceptions module."""
|
|
210
|
+
content = '''# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md
|
|
211
|
+
|
|
212
|
+
from typing import Any
|
|
213
|
+
from ocp_resources.resource import NamespacedResource
|
|
214
|
+
from ocp_resources.exceptions import MissingRequiredArgumentError
|
|
215
|
+
import json
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
class MyResource(NamespacedResource):
|
|
219
|
+
"""My resource class."""
|
|
220
|
+
|
|
221
|
+
def __init__(self, **kwargs):
|
|
222
|
+
super().__init__(**kwargs)
|
|
223
|
+
|
|
224
|
+
# End of generated code
|
|
225
|
+
|
|
226
|
+
def custom_method(self):
|
|
227
|
+
return True
|
|
228
|
+
'''
|
|
229
|
+
|
|
230
|
+
with tempfile.NamedTemporaryFile(mode="w", suffix=".py", delete=False) as f:
|
|
231
|
+
f.write(content)
|
|
232
|
+
f.flush()
|
|
233
|
+
|
|
234
|
+
_user_code, user_imports = parse_user_code_from_file(file_path=f.name)
|
|
235
|
+
|
|
236
|
+
Path(f.name).unlink()
|
|
237
|
+
|
|
238
|
+
# Template imports should be filtered out
|
|
239
|
+
assert "from ocp_resources.exceptions import MissingRequiredArgumentError" not in user_imports
|
|
240
|
+
assert "from typing import Any" not in user_imports
|
|
241
|
+
assert "from ocp_resources.resource import NamespacedResource" not in user_imports
|
|
242
|
+
|
|
243
|
+
# User imports should be preserved
|
|
244
|
+
assert "import json" in user_imports
|
|
245
|
+
|
|
206
246
|
def test_parse_file_with_syntax_error(self):
|
|
207
247
|
"""Test parsing a file with syntax errors in imports section."""
|
|
208
248
|
content = '''# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/scripts/resource/README.md
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
# TODO: update API reference when OCP doc is available
|
|
3
3
|
from typing import Any
|
|
4
4
|
|
|
5
|
-
from ocp_resources.
|
|
5
|
+
from ocp_resources.exceptions import MissingRequiredArgumentError
|
|
6
|
+
from ocp_resources.resource import Resource
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
class ApplicationAwareClusterResourceQuota(Resource):
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
# TODO: update API reference when OCP doc is available
|
|
3
3
|
from typing import Any
|
|
4
4
|
|
|
5
|
-
from ocp_resources.
|
|
5
|
+
from ocp_resources.exceptions import MissingRequiredArgumentError
|
|
6
|
+
from ocp_resources.resource import NamespacedResource
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
class ApplicationAwareResourceQuota(NamespacedResource):
|
{openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/authorino.py
RENAMED
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
|
|
4
4
|
from typing import Any
|
|
5
5
|
|
|
6
|
-
from ocp_resources.
|
|
6
|
+
from ocp_resources.exceptions import MissingRequiredArgumentError
|
|
7
|
+
from ocp_resources.resource import NamespacedResource
|
|
7
8
|
|
|
8
9
|
|
|
9
10
|
class Authorino(NamespacedResource):
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
from typing import Any
|
|
2
2
|
|
|
3
|
-
from ocp_resources.
|
|
3
|
+
from ocp_resources.exceptions import MissingRequiredArgumentError
|
|
4
|
+
from ocp_resources.resource import NamespacedResource
|
|
4
5
|
|
|
5
6
|
|
|
6
7
|
class CatalogSource(NamespacedResource):
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
from ocp_resources.cluster_role import ClusterRole
|
|
2
|
-
from ocp_resources.
|
|
2
|
+
from ocp_resources.exceptions import MissingRequiredArgumentError
|
|
3
|
+
from ocp_resources.resource import Resource
|
|
3
4
|
|
|
4
5
|
|
|
5
6
|
class ClusterRoleBinding(Resource):
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
|
|
4
4
|
from typing import Any
|
|
5
5
|
|
|
6
|
-
from ocp_resources.
|
|
6
|
+
from ocp_resources.exceptions import MissingRequiredArgumentError
|
|
7
|
+
from ocp_resources.resource import Resource
|
|
7
8
|
|
|
8
9
|
|
|
9
10
|
class ClusterUserDefinedNetwork(Resource):
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
|
|
4
4
|
from typing import Any
|
|
5
5
|
|
|
6
|
-
from ocp_resources.
|
|
6
|
+
from ocp_resources.exceptions import MissingRequiredArgumentError
|
|
7
|
+
from ocp_resources.resource import NamespacedResource
|
|
7
8
|
|
|
8
9
|
|
|
9
10
|
class DataImportCron(NamespacedResource):
|
{openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/data_source.py
RENAMED
|
@@ -2,8 +2,9 @@ from warnings import warn
|
|
|
2
2
|
|
|
3
3
|
from kubernetes.dynamic.exceptions import ResourceNotFoundError
|
|
4
4
|
|
|
5
|
+
from ocp_resources.exceptions import MissingRequiredArgumentError
|
|
5
6
|
from ocp_resources.persistent_volume_claim import PersistentVolumeClaim
|
|
6
|
-
from ocp_resources.resource import
|
|
7
|
+
from ocp_resources.resource import NamespacedResource
|
|
7
8
|
from ocp_resources.volume_snapshot import VolumeSnapshot
|
|
8
9
|
|
|
9
10
|
|
{openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/deployment.py
RENAMED
|
@@ -4,7 +4,8 @@ from typing import Any
|
|
|
4
4
|
|
|
5
5
|
from timeout_sampler import TimeoutSampler, TimeoutWatch
|
|
6
6
|
|
|
7
|
-
from ocp_resources.
|
|
7
|
+
from ocp_resources.exceptions import MissingRequiredArgumentError
|
|
8
|
+
from ocp_resources.resource import NamespacedResource
|
|
8
9
|
from ocp_resources.utils.constants import PROTOCOL_ERROR_EXCEPTION_DICT, TIMEOUT_4MINUTES
|
|
9
10
|
|
|
10
11
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
from ocp_resources.
|
|
1
|
+
from ocp_resources.exceptions import MissingRequiredArgumentError
|
|
2
|
+
from ocp_resources.resource import NamespacedResource
|
|
2
3
|
from ocp_resources.utils.constants import TIMEOUT_4MINUTES
|
|
3
4
|
|
|
4
5
|
|
{openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/endpoints.py
RENAMED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
from ocp_resources.
|
|
1
|
+
from ocp_resources.exceptions import MissingRequiredArgumentError
|
|
2
|
+
from ocp_resources.resource import NamespacedResource
|
|
2
3
|
from ocp_resources.utils.constants import TIMEOUT_4MINUTES
|
|
3
4
|
|
|
4
5
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
from typing import Any
|
|
2
2
|
|
|
3
|
-
from ocp_resources.
|
|
3
|
+
from ocp_resources.exceptions import MissingRequiredArgumentError
|
|
4
|
+
from ocp_resources.resource import NamespacedResource
|
|
4
5
|
|
|
5
6
|
|
|
6
7
|
class FenceAgentsRemediationTemplate(NamespacedResource):
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
from typing import Any
|
|
4
4
|
|
|
5
|
-
from ocp_resources.
|
|
5
|
+
from ocp_resources.exceptions import MissingRequiredArgumentError
|
|
6
|
+
from ocp_resources.resource import NamespacedResource
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
class Image(NamespacedResource):
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
|
|
4
4
|
from typing import Any
|
|
5
5
|
|
|
6
|
-
from ocp_resources.
|
|
6
|
+
from ocp_resources.exceptions import MissingRequiredArgumentError
|
|
7
|
+
from ocp_resources.resource import NamespacedResource
|
|
7
8
|
|
|
8
9
|
|
|
9
10
|
class InferenceGraph(NamespacedResource):
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
from typing import Any
|
|
2
2
|
|
|
3
|
-
from ocp_resources.
|
|
3
|
+
from ocp_resources.exceptions import MissingRequiredArgumentError
|
|
4
|
+
from ocp_resources.resource import NamespacedResource
|
|
4
5
|
|
|
5
6
|
|
|
6
7
|
class InferenceService(NamespacedResource):
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# API reference: https://metallb.universe.tf/apis/#metallb.io/v1beta1.IPAddressPool
|
|
2
2
|
|
|
3
|
-
from ocp_resources.
|
|
3
|
+
from ocp_resources.exceptions import MissingRequiredArgumentError
|
|
4
|
+
from ocp_resources.resource import NamespacedResource
|
|
4
5
|
|
|
5
6
|
|
|
6
7
|
class IPAddressPool(NamespacedResource):
|
{openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/limit_range.py
RENAMED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# API reference: https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/limit-range-v1/
|
|
2
2
|
|
|
3
|
-
from ocp_resources.
|
|
3
|
+
from ocp_resources.exceptions import MissingRequiredArgumentError
|
|
4
|
+
from ocp_resources.resource import NamespacedResource
|
|
4
5
|
|
|
5
6
|
|
|
6
7
|
class LimitRange(NamespacedResource):
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
|
|
4
4
|
from typing import Any
|
|
5
5
|
|
|
6
|
-
from ocp_resources.
|
|
6
|
+
from ocp_resources.exceptions import MissingRequiredArgumentError
|
|
7
|
+
from ocp_resources.resource import NamespacedResource
|
|
7
8
|
|
|
8
9
|
|
|
9
10
|
class LlamaStackDistribution(NamespacedResource):
|
{openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/lm_eval_job.py
RENAMED
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
|
|
4
4
|
from typing import Any
|
|
5
5
|
|
|
6
|
-
from ocp_resources.
|
|
6
|
+
from ocp_resources.exceptions import MissingRequiredArgumentError
|
|
7
|
+
from ocp_resources.resource import NamespacedResource
|
|
7
8
|
|
|
8
9
|
|
|
9
10
|
class LMEvalJob(NamespacedResource):
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
|
|
4
4
|
from typing import Any
|
|
5
5
|
|
|
6
|
-
from ocp_resources.
|
|
6
|
+
from ocp_resources.exceptions import MissingRequiredArgumentError
|
|
7
|
+
from ocp_resources.resource import NamespacedResource
|
|
7
8
|
|
|
8
9
|
|
|
9
10
|
class MigAnalytic(NamespacedResource):
|
{openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/mig_cluster.py
RENAMED
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
|
|
4
4
|
from typing import Any
|
|
5
5
|
|
|
6
|
-
from ocp_resources.
|
|
6
|
+
from ocp_resources.exceptions import MissingRequiredArgumentError
|
|
7
|
+
from ocp_resources.resource import NamespacedResource
|
|
7
8
|
|
|
8
9
|
|
|
9
10
|
class MigCluster(NamespacedResource):
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
|
|
4
4
|
from typing import Any
|
|
5
5
|
|
|
6
|
-
from ocp_resources.
|
|
6
|
+
from ocp_resources.exceptions import MissingRequiredArgumentError
|
|
7
|
+
from ocp_resources.resource import NamespacedResource
|
|
7
8
|
|
|
8
9
|
|
|
9
10
|
class MigMigration(NamespacedResource):
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
from typing import Any
|
|
4
4
|
from warnings import warn
|
|
5
5
|
|
|
6
|
-
from ocp_resources.
|
|
6
|
+
from ocp_resources.exceptions import MissingRequiredArgumentError
|
|
7
|
+
from ocp_resources.resource import NamespacedResource
|
|
7
8
|
|
|
8
9
|
warn(
|
|
9
10
|
"model_registry.py module will be removed in the next release, "
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
|
|
4
4
|
from typing import Any
|
|
5
5
|
|
|
6
|
-
from ocp_resources.
|
|
6
|
+
from ocp_resources.exceptions import MissingRequiredArgumentError
|
|
7
|
+
from ocp_resources.resource import NamespacedResource
|
|
7
8
|
|
|
8
9
|
|
|
9
10
|
class ModelRegistry(NamespacedResource):
|
{openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/pod.py
RENAMED
|
@@ -6,9 +6,9 @@ from typing import Any
|
|
|
6
6
|
import kubernetes
|
|
7
7
|
from timeout_sampler import TimeoutWatch
|
|
8
8
|
|
|
9
|
-
from ocp_resources.exceptions import ExecOnPodError
|
|
9
|
+
from ocp_resources.exceptions import ExecOnPodError, MissingRequiredArgumentError
|
|
10
10
|
from ocp_resources.node import Node
|
|
11
|
-
from ocp_resources.resource import
|
|
11
|
+
from ocp_resources.resource import NamespacedResource
|
|
12
12
|
from ocp_resources.utils.constants import TIMEOUT_5SEC
|
|
13
13
|
|
|
14
14
|
|
{openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/pod_metrics.py
RENAMED
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
|
|
4
4
|
from typing import Any
|
|
5
5
|
|
|
6
|
-
from ocp_resources.
|
|
6
|
+
from ocp_resources.exceptions import MissingRequiredArgumentError
|
|
7
|
+
from ocp_resources.resource import NamespacedResource
|
|
7
8
|
|
|
8
9
|
|
|
9
10
|
class PodMetrics(NamespacedResource):
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
from typing import Any
|
|
2
2
|
|
|
3
|
-
from ocp_resources.
|
|
3
|
+
from ocp_resources.exceptions import MissingRequiredArgumentError
|
|
4
|
+
from ocp_resources.resource import NamespacedResource
|
|
4
5
|
|
|
5
6
|
|
|
6
7
|
class ReclaimSpaceCronJob(NamespacedResource):
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
from typing import Any
|
|
2
2
|
|
|
3
|
-
from ocp_resources.
|
|
3
|
+
from ocp_resources.exceptions import MissingRequiredArgumentError
|
|
4
|
+
from ocp_resources.resource import NamespacedResource
|
|
4
5
|
|
|
5
6
|
|
|
6
7
|
class ReclaimSpaceJob(NamespacedResource):
|
{openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/replica_set.py
RENAMED
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
|
|
4
4
|
from typing import Any
|
|
5
5
|
|
|
6
|
-
from ocp_resources.
|
|
6
|
+
from ocp_resources.exceptions import MissingRequiredArgumentError
|
|
7
|
+
from ocp_resources.resource import NamespacedResource
|
|
7
8
|
|
|
8
9
|
|
|
9
10
|
class ReplicaSet(NamespacedResource):
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# API reference: https://kubernetes.io/docs/reference/kubernetes-api/policy-resources/resource-quota-v1/
|
|
2
2
|
|
|
3
|
-
from ocp_resources.
|
|
3
|
+
from ocp_resources.exceptions import MissingRequiredArgumentError
|
|
4
|
+
from ocp_resources.resource import NamespacedResource
|
|
4
5
|
|
|
5
6
|
|
|
6
7
|
class ResourceQuota(NamespacedResource):
|
{openshift_python_wrapper-11.0.115 → openshift_python_wrapper-11.0.117}/ocp_resources/role.py
RENAMED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# API reference:
|
|
2
2
|
# https://docs.openshift.com/container-platform/4.11/rest_api/rbac_apis/role-rbac-authorization-k8s-io-v1.html
|
|
3
|
-
from ocp_resources.
|
|
3
|
+
from ocp_resources.exceptions import MissingRequiredArgumentError
|
|
4
|
+
from ocp_resources.resource import NamespacedResource
|
|
4
5
|
from ocp_resources.utils.constants import TIMEOUT_4MINUTES
|
|
5
6
|
|
|
6
7
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
from typing import Any
|
|
2
2
|
|
|
3
|
-
from ocp_resources.
|
|
3
|
+
from ocp_resources.exceptions import MissingRequiredArgumentError
|
|
4
|
+
from ocp_resources.resource import NamespacedResource
|
|
4
5
|
|
|
5
6
|
|
|
6
7
|
class SealedSecret(NamespacedResource):
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
|
|
4
4
|
from typing import Any
|
|
5
5
|
|
|
6
|
-
from ocp_resources.
|
|
6
|
+
from ocp_resources.exceptions import MissingRequiredArgumentError
|
|
7
|
+
from ocp_resources.resource import Resource
|
|
7
8
|
|
|
8
9
|
|
|
9
10
|
class SecurityContextConstraints(Resource):
|