openshift-python-wrapper 10.0.70__tar.gz → 10.0.71__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-10.0.70 → openshift_python_wrapper-10.0.71}/PKG-INFO +1 -1
- openshift_python_wrapper-10.0.71/class_generator/README.md +64 -0
- openshift_python_wrapper-10.0.71/class_generator/class_generator.py +770 -0
- openshift_python_wrapper-10.0.71/class_generator/debug/.keep +0 -0
- openshift_python_wrapper-10.0.71/class_generator/manifests/class_generator_template.j2 +88 -0
- openshift_python_wrapper-10.0.71/class_generator/tests/manifests/api_server/api_server_debug.json +11 -0
- openshift_python_wrapper-10.0.71/class_generator/tests/manifests/api_server/api_server_res.py +232 -0
- openshift_python_wrapper-10.0.71/class_generator/tests/manifests/cluster_operator/cluster_operator_debug.json +4 -0
- openshift_python_wrapper-10.0.71/class_generator/tests/manifests/cluster_operator/cluster_operator_res.py +22 -0
- openshift_python_wrapper-10.0.71/class_generator/tests/manifests/config_map/config_map_debug.json +7 -0
- openshift_python_wrapper-10.0.71/class_generator/tests/manifests/config_map/config_map_res.py +56 -0
- openshift_python_wrapper-10.0.71/class_generator/tests/manifests/deployment/deployment_debug.json +13 -0
- openshift_python_wrapper-10.0.71/class_generator/tests/manifests/deployment/deployment_res.py +140 -0
- openshift_python_wrapper-10.0.71/class_generator/tests/manifests/image_content_source_policy/image_content_source_policy_debug.json +6 -0
- openshift_python_wrapper-10.0.71/class_generator/tests/manifests/image_content_source_policy/image_content_source_policy_res.py +75 -0
- openshift_python_wrapper-10.0.71/class_generator/tests/manifests/pod/pod_debug.json +44 -0
- openshift_python_wrapper-10.0.71/class_generator/tests/manifests/pod/pod_res.py +1535 -0
- openshift_python_wrapper-10.0.71/class_generator/tests/manifests/secret/secret_debug.json +8 -0
- openshift_python_wrapper-10.0.71/class_generator/tests/manifests/secret/secret_res.py +64 -0
- openshift_python_wrapper-10.0.71/class_generator/tests/manifests/test_parse_explain.j2 +27 -0
- openshift_python_wrapper-10.0.71/class_generator/tests/test_camelcase_to_snake.py +40 -0
- openshift_python_wrapper-10.0.71/class_generator/tests/test_class_generator.py +57 -0
- openshift_python_wrapper-10.0.71/ocp_resources/__init__.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/api_server.py +0 -2
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/cdi.py +1 -1
- openshift_python_wrapper-10.0.71/ocp_resources/deployment.py +204 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/dsc_initialization.py +1 -1
- openshift_python_wrapper-10.0.71/ocp_resources/image_content_source_policy.py +75 -0
- openshift_python_wrapper-10.0.71/ocp_resources/kubevirt.py +382 -0
- openshift_python_wrapper-10.0.71/ocp_resources/machine.py +185 -0
- openshift_python_wrapper-10.0.71/ocp_resources/namespace.py +42 -0
- openshift_python_wrapper-10.0.71/ocp_resources/operator.py +18 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/pod.py +131 -5
- openshift_python_wrapper-10.0.71/ocp_resources/project.py +104 -0
- openshift_python_wrapper-10.0.71/ocp_resources/prometheus.py +2464 -0
- openshift_python_wrapper-10.0.71/ocp_resources/replica_set.py +96 -0
- openshift_python_wrapper-10.0.71/ocp_resources/replicaset.py +9 -0
- openshift_python_wrapper-10.0.71/ocp_resources/scheduler.py +95 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/security_context_constraints.py +2 -1
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/ssp.py +14 -2
- openshift_python_wrapper-10.0.71/ocp_resources/virtual_machine_Instance_replica_set.py +8 -0
- openshift_python_wrapper-10.0.71/ocp_resources/virtual_machine_cluster_instance_types.py +8 -0
- openshift_python_wrapper-10.0.71/ocp_resources/virtual_machine_cluster_instancetype.py +199 -0
- openshift_python_wrapper-10.0.71/ocp_resources/virtual_machine_cluster_preference.py +281 -0
- openshift_python_wrapper-10.0.71/ocp_resources/virtual_machine_cluster_preferences.py +8 -0
- openshift_python_wrapper-10.0.71/ocp_resources/virtual_machine_instance_migration.py +38 -0
- openshift_python_wrapper-10.0.71/ocp_resources/virtual_machine_instance_preset.py +104 -0
- openshift_python_wrapper-10.0.71/ocp_resources/virtual_machine_instance_replica_set.py +84 -0
- openshift_python_wrapper-10.0.71/ocp_resources/virtual_machine_instance_types.py +8 -0
- openshift_python_wrapper-10.0.71/ocp_resources/virtual_machine_instancetype.py +200 -0
- openshift_python_wrapper-10.0.71/ocp_resources/virtual_machine_preference.py +281 -0
- openshift_python_wrapper-10.0.71/ocp_resources/virtual_machine_preferences.py +8 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/pyproject.toml +11 -2
- openshift_python_wrapper-10.0.70/ocp_resources/deployment.py +0 -72
- openshift_python_wrapper-10.0.70/ocp_resources/image_content_source_policy.py +0 -31
- openshift_python_wrapper-10.0.70/ocp_resources/kubevirt.py +0 -5
- openshift_python_wrapper-10.0.70/ocp_resources/kubevirt_common_templates_bundle.py +0 -5
- openshift_python_wrapper-10.0.70/ocp_resources/kubevirt_metrics_aggregation.py +0 -5
- openshift_python_wrapper-10.0.70/ocp_resources/kubevirt_node_labeller_bundle.py +0 -5
- openshift_python_wrapper-10.0.70/ocp_resources/kubevirt_template_validaotr.py +0 -5
- openshift_python_wrapper-10.0.70/ocp_resources/machine.py +0 -46
- openshift_python_wrapper-10.0.70/ocp_resources/namespace.py +0 -31
- openshift_python_wrapper-10.0.70/ocp_resources/operator.py +0 -7
- openshift_python_wrapper-10.0.70/ocp_resources/project.py +0 -50
- openshift_python_wrapper-10.0.70/ocp_resources/prometheus.py +0 -9
- openshift_python_wrapper-10.0.70/ocp_resources/replicaset.py +0 -11
- openshift_python_wrapper-10.0.70/ocp_resources/scheduler.py +0 -5
- openshift_python_wrapper-10.0.70/ocp_resources/virtual_machine_Instance_replica_set.py +0 -9
- openshift_python_wrapper-10.0.70/ocp_resources/virtual_machine_cluster_instance_types.py +0 -5
- openshift_python_wrapper-10.0.70/ocp_resources/virtual_machine_cluster_preferences.py +0 -5
- openshift_python_wrapper-10.0.70/ocp_resources/virtual_machine_instance_migration.py +0 -36
- openshift_python_wrapper-10.0.70/ocp_resources/virtual_machine_instance_preset.py +0 -9
- openshift_python_wrapper-10.0.70/ocp_resources/virtual_machine_instance_types.py +0 -5
- openshift_python_wrapper-10.0.70/ocp_resources/virtual_machine_preferences.py +0 -5
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/LICENSE +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/README.md +0 -0
- {openshift_python_wrapper-10.0.70/ocp_resources → openshift_python_wrapper-10.0.71/class_generator}/__init__.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/aaq.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/api_service.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/application_aware_applied_cluster_resource_quota.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/application_aware_cluster_resource_quota.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/application_aware_resource_quota.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/backup.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/benchmark.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/catalog_source.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/cdi_config.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/chaos_engine.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/chaos_result.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/cluster_claim.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/cluster_deployment.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/cluster_operator.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/cluster_pool.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/cluster_role.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/cluster_role_binding.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/cluster_service_version.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/cluster_version.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/configmap.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/console_cli_download.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/console_plugin.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/console_quick_start.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/constants.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/controller_revision.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/cron_job.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/csi_driver.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/csi_storage_capacity.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/csidriver.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/custom_resource_definition.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/daemonset.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/data_import_cron.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/data_science_cluster.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/data_source.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/datavolume.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/destination_rule.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/dns.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/endpoint_slice.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/endpoints.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/event.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/fence_agent_remediation_templates.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/forklift_controller.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/gateway.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/group.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/hook.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/host.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/hostpath_provisioner.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/hyperconverged.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/image.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/image_digest_mirror_set.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/image_stream.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/imagestreamtag.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/inference_service.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/infrastructure.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/ingress_controller.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/installplan.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/ip_address_pool.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/job.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/kube_descheduler.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/l2_advertisement.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/lease.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/limit_range.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/machine_config.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/machine_config_pool.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/machine_health_check.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/machine_set.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/managed_cluster.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/metallb.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/migration.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/migration_policy.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/mtq.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/mtv.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/multi_cluster_hub.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/multi_cluster_observability.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/multi_network_policy.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/mutating_webhook_config.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/network.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/network_addons_config.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/network_attachment_definition.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/network_map.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/network_policy.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/nmstate.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/node.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/node_health_check.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/node_maintenance.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/node_network_configuration_enactment.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/node_network_configuration_policy.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/node_network_state.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/oauth.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/ocs_initialization.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/operator_condition.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/operator_group.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/operator_hub.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/operator_source.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/package_manifest.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/peer_authentication.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/performance_profile.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/persistent_volume.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/persistent_volume_claim.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/pipeline.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/pipelineruns.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/plan.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/pod_disruption_budget.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/pod_metrics.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/priority_class.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/prometheus_rule.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/provider.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/proxy.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/reclaim_space_cron_job.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/reclaim_space_job.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/resource.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/resource_quota.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/restore.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/rhmi.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/role.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/role_binding.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/route.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/sealed_secret.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/secret.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/self_node_remediation_templates.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/service.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/service_account.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/service_mesh_control_plane.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/service_mesh_member_roll.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/service_monitor.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/serving_runtime.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/sriov_network.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/sriov_network_node_policy.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/sriov_network_node_state.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/storage_class.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/storage_map.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/storage_profile.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/subscription.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/task_run.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/tekton_tasks.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/template.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/trustyai_service.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/upload_token_request.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/utils.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/validating_webhook_config.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/virtual_machine.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/virtual_machine_clone.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/virtual_machine_export.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/virtual_machine_import.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/virtual_machine_instance.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/virtual_machine_migration_resource_quota.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/virtual_machine_restore.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/virtual_machine_snapshot.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/virtual_service.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/vm_import_config.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/volume_snapshot.py +0 -0
- {openshift_python_wrapper-10.0.70 → openshift_python_wrapper-10.0.71}/ocp_resources/volume_snapshot_class.py +0 -0
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# Resource class generator
|
|
2
|
+
|
|
3
|
+
## prerequisites
|
|
4
|
+
|
|
5
|
+
- [poetry](https://python-poetry.org/)
|
|
6
|
+
- [oc](https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/stable/) or [kubectl](https://kubernetes.io/docs/tasks/tools/) (latest version)
|
|
7
|
+
- Kubernetes/Openshift cluster
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
###### Install poetry environment
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
poetry install
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
For shell completion Add this to ~/.bashrc or ~/.zshrc:
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
if type class-generator > /dev/null; then eval "$(_CLASS_GENERATOR_COMPLETE=zsh_source class-generator)"; fi
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
###### Call the script
|
|
24
|
+
|
|
25
|
+
- Running in normal mode with `--kind` flags:
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
class-generator --kind <kind>
|
|
29
|
+
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
- Review the resource file; make sure that the filename and attribute names are named correctly. For example:
|
|
33
|
+
- `OATH` -> `oath`
|
|
34
|
+
- `CDIConfig` -> `cdi_config`
|
|
35
|
+
|
|
36
|
+
Run in interactive mode:
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
class-generator --interactive
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
#### Adding tests
|
|
43
|
+
|
|
44
|
+
- Add a new test for the provided `kind` by passing `--add-tests` flag
|
|
45
|
+
- Replace `Pod` with the kind you want to add to the tests
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
class-generator --kind Pod --add-tests
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Reporting an issue
|
|
52
|
+
|
|
53
|
+
- Running with debug mode and `--debug` flag:
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
class-generator --kind <kind> --debug
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
`<kind>-debug.json` will be located under `scripts/resource/debug`
|
|
60
|
+
Issue should include:
|
|
61
|
+
|
|
62
|
+
- The script executed command
|
|
63
|
+
- debug file from the above command
|
|
64
|
+
- oc/kubectl version
|