openshift-python-wrapper 4.16.2__tar.gz → 4.16.3__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.
Files changed (181) hide show
  1. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/PKG-INFO +1 -1
  2. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/ingress_controller.py +1 -1
  3. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/resource.py +28 -14
  4. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/sriov_network_node_state.py +3 -0
  5. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/pyproject.toml +1 -1
  6. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/LICENSE +0 -0
  7. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/README.md +0 -0
  8. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/__init__.py +0 -0
  9. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/aaq.py +0 -0
  10. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/api_server.py +0 -0
  11. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/api_service.py +0 -0
  12. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/application_aware_applied_cluster_resource_quota.py +0 -0
  13. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/application_aware_cluster_resource_quota.py +0 -0
  14. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/application_aware_resource_quota.py +0 -0
  15. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/backup.py +0 -0
  16. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/benchmark.py +0 -0
  17. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/catalog_source.py +0 -0
  18. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/cdi.py +0 -0
  19. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/cdi_config.py +0 -0
  20. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/chaos_engine.py +0 -0
  21. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/chaos_result.py +0 -0
  22. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/cluster_claim.py +0 -0
  23. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/cluster_deployment.py +0 -0
  24. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/cluster_operator.py +0 -0
  25. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/cluster_pool.py +0 -0
  26. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/cluster_role.py +0 -0
  27. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/cluster_role_binding.py +0 -0
  28. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/cluster_service_version.py +0 -0
  29. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/cluster_version.py +0 -0
  30. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/configmap.py +0 -0
  31. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/console_cli_download.py +0 -0
  32. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/console_plugin.py +0 -0
  33. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/console_quick_start.py +0 -0
  34. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/constants.py +0 -0
  35. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/controller_revision.py +0 -0
  36. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/cron_job.py +0 -0
  37. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/csi_storage_capacity.py +0 -0
  38. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/csidriver.py +0 -0
  39. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/custom_resource_definition.py +0 -0
  40. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/daemonset.py +0 -0
  41. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/data_import_cron.py +0 -0
  42. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/data_source.py +0 -0
  43. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/datavolume.py +0 -0
  44. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/deployment.py +0 -0
  45. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/destination_rule.py +0 -0
  46. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/dns.py +0 -0
  47. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/endpoint_slice.py +0 -0
  48. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/endpoints.py +0 -0
  49. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/event.py +0 -0
  50. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/fence_agent_remediation_templates.py +0 -0
  51. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/forklift_controller.py +0 -0
  52. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/gateway.py +0 -0
  53. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/group.py +0 -0
  54. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/hook.py +0 -0
  55. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/host.py +0 -0
  56. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/hostpath_provisioner.py +0 -0
  57. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/hyperconverged.py +0 -0
  58. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/image.py +0 -0
  59. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/image_content_source_policy.py +0 -0
  60. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/image_digest_mirror_set.py +0 -0
  61. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/image_stream.py +0 -0
  62. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/imagestreamtag.py +0 -0
  63. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/inference_service.py +0 -0
  64. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/infrastructure.py +0 -0
  65. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/installplan.py +0 -0
  66. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/ip_address_pool.py +0 -0
  67. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/job.py +0 -0
  68. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/kube_descheduler.py +0 -0
  69. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/kubevirt.py +0 -0
  70. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/kubevirt_common_templates_bundle.py +0 -0
  71. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/kubevirt_metrics_aggregation.py +0 -0
  72. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/kubevirt_node_labeller_bundle.py +0 -0
  73. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/kubevirt_template_validaotr.py +0 -0
  74. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/l2_advertisement.py +0 -0
  75. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/lease.py +0 -0
  76. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/limit_range.py +0 -0
  77. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/machine.py +0 -0
  78. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/machine_config.py +0 -0
  79. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/machine_config_pool.py +0 -0
  80. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/machine_health_check.py +0 -0
  81. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/machine_set.py +0 -0
  82. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/managed_cluster.py +0 -0
  83. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/metallb.py +0 -0
  84. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/migration.py +0 -0
  85. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/migration_policy.py +0 -0
  86. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/mtq.py +0 -0
  87. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/mtv.py +0 -0
  88. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/multi_cluster_hub.py +0 -0
  89. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/multi_cluster_observability.py +0 -0
  90. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/multi_network_policy.py +0 -0
  91. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/mutating_webhook_config.py +0 -0
  92. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/namespace.py +0 -0
  93. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/network.py +0 -0
  94. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/network_addons_config.py +0 -0
  95. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/network_attachment_definition.py +0 -0
  96. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/network_map.py +0 -0
  97. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/network_policy.py +0 -0
  98. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/nmstate.py +0 -0
  99. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/node.py +0 -0
  100. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/node_health_check.py +0 -0
  101. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/node_maintenance.py +0 -0
  102. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/node_network_configuration_enactment.py +0 -0
  103. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/node_network_configuration_policy.py +0 -0
  104. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/node_network_state.py +0 -0
  105. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/oauth.py +0 -0
  106. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/ocs_initialization.py +0 -0
  107. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/operator.py +0 -0
  108. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/operator_condition.py +0 -0
  109. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/operator_group.py +0 -0
  110. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/operator_hub.py +0 -0
  111. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/operator_source.py +0 -0
  112. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/package_manifest.py +0 -0
  113. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/peer_authentication.py +0 -0
  114. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/performance_profile.py +0 -0
  115. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/persistent_volume.py +0 -0
  116. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/persistent_volume_claim.py +0 -0
  117. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/pipeline.py +0 -0
  118. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/pipelineruns.py +0 -0
  119. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/plan.py +0 -0
  120. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/pod.py +0 -0
  121. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/pod_disruption_budget.py +0 -0
  122. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/pod_metrics.py +0 -0
  123. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/priority_class.py +0 -0
  124. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/project.py +0 -0
  125. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/prometheus.py +0 -0
  126. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/prometheus_rule.py +0 -0
  127. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/provider.py +0 -0
  128. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/proxy.py +0 -0
  129. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/reclaim_space_cron_job.py +0 -0
  130. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/reclaim_space_job.py +0 -0
  131. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/replicaset.py +0 -0
  132. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/resource_quota.py +0 -0
  133. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/restore.py +0 -0
  134. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/rhmi.py +0 -0
  135. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/role.py +0 -0
  136. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/role_binding.py +0 -0
  137. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/route.py +0 -0
  138. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/scheduler.py +0 -0
  139. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/sealed_secret.py +0 -0
  140. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/secret.py +0 -0
  141. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/security_context_constraints.py +0 -0
  142. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/self_node_remediation_templates.py +0 -0
  143. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/service.py +0 -0
  144. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/service_account.py +0 -0
  145. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/service_mesh_control_plane.py +0 -0
  146. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/service_mesh_member_roll.py +0 -0
  147. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/service_monitor.py +0 -0
  148. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/serving_runtime.py +0 -0
  149. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/sriov_network.py +0 -0
  150. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/sriov_network_node_policy.py +0 -0
  151. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/ssp.py +0 -0
  152. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/storage_class.py +0 -0
  153. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/storage_map.py +0 -0
  154. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/storage_profile.py +0 -0
  155. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/subscription.py +0 -0
  156. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/task_run.py +0 -0
  157. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/tekton_tasks.py +0 -0
  158. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/template.py +0 -0
  159. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/trustyai_service.py +0 -0
  160. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/upload_token_request.py +0 -0
  161. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/utils.py +0 -0
  162. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/validating_webhook_config.py +0 -0
  163. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/virtual_machine.py +0 -0
  164. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/virtual_machine_Instance_replica_set.py +0 -0
  165. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/virtual_machine_clone.py +0 -0
  166. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/virtual_machine_cluster_instance_types.py +0 -0
  167. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/virtual_machine_cluster_preferences.py +0 -0
  168. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/virtual_machine_export.py +0 -0
  169. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/virtual_machine_import.py +0 -0
  170. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/virtual_machine_instance.py +0 -0
  171. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/virtual_machine_instance_migration.py +0 -0
  172. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/virtual_machine_instance_preset.py +0 -0
  173. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/virtual_machine_instance_types.py +0 -0
  174. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/virtual_machine_migration_resource_quota.py +0 -0
  175. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/virtual_machine_preferences.py +0 -0
  176. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/virtual_machine_restore.py +0 -0
  177. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/virtual_machine_snapshot.py +0 -0
  178. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/virtual_service.py +0 -0
  179. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/vm_import_config.py +0 -0
  180. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/volume_snapshot.py +0 -0
  181. {openshift_python_wrapper-4.16.2 → openshift_python_wrapper-4.16.3}/ocp_resources/volume_snapshot_class.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: openshift-python-wrapper
3
- Version: 4.16.2
3
+ Version: 4.16.3
4
4
  Summary: Wrapper around https://github.com/kubernetes-client/python
5
5
  Home-page: https://github.com/RedHatQE/openshift-python-wrapper
6
6
  License: Apache-2.0
@@ -141,7 +141,7 @@ class IngressController(NamespacedResource):
141
141
  self.endpoint_publishing_strategy = endpoint_publishing_strategy
142
142
  self.default_certificate = default_certificate
143
143
  self.namespace_selector = namespace_selector
144
- self.node_selector = node_selector # type: ignore
144
+ self.node_selector = node_selector
145
145
  self.route_selector = route_selector
146
146
  self.tls_security_profile = tls_security_profile
147
147
  self.logging = logging
@@ -1,5 +1,6 @@
1
1
  from __future__ import annotations
2
2
  from collections.abc import Callable, Generator
3
+ from warnings import warn
3
4
  import contextlib
4
5
  import copy
5
6
  import json
@@ -364,7 +365,7 @@ class Resource:
364
365
  yaml_file: str = "",
365
366
  delete_timeout: int = TIMEOUT_4MINUTES,
366
367
  dry_run: bool = False,
367
- node_selector: str = "",
368
+ node_selector: Dict[str, Any] | None = None,
368
369
  node_selector_labels: Dict[str, str] | None = None,
369
370
  config_file: str = "",
370
371
  config_dict: Dict[str, Any] | None = None,
@@ -461,9 +462,19 @@ class Resource:
461
462
 
462
463
  def _prepare_node_selector_spec(self) -> Dict[str, str]:
463
464
  if self.node_selector:
464
- return {f"{self.ApiGroup.KUBERNETES_IO}/hostname": self.node_selector}
465
+ if isinstance(self.node_selector, dict):
466
+ return self.node_selector
467
+ else:
468
+ warn(
469
+ "node_selector `str` will be deprecated in next release (4.17), pass `dict` instead",
470
+ DeprecationWarning,
471
+ stacklevel=2,
472
+ )
473
+ return {f"{self.ApiGroup.KUBERNETES_IO}/hostname": self.node_selector}
474
+
465
475
  elif self.node_selector_labels:
466
476
  return self.node_selector_labels
477
+
467
478
  else:
468
479
  return {}
469
480
 
@@ -679,7 +690,7 @@ class Resource:
679
690
  if sample:
680
691
  return
681
692
 
682
- def wait_deleted(self, timeout: int = TIMEOUT_4MINUTES) -> None:
693
+ def wait_deleted(self, timeout: int = TIMEOUT_4MINUTES) -> bool:
683
694
  """
684
695
  Wait until resource is deleted
685
696
 
@@ -706,7 +717,7 @@ class Resource:
706
717
  def _kube_v1_api(self) -> kubernetes.client.CoreV1Api:
707
718
  return kubernetes.client.CoreV1Api(api_client=self.client.client)
708
719
 
709
- def client_wait_deleted(self, timeout: int) -> None:
720
+ def client_wait_deleted(self, timeout: int) -> bool:
710
721
  """
711
722
  client-side Wait until resource is deleted
712
723
 
@@ -719,7 +730,8 @@ class Resource:
719
730
  samples = TimeoutSampler(wait_timeout=timeout, sleep=1, func=lambda: self.exists)
720
731
  for sample in samples:
721
732
  if not sample:
722
- return
733
+ return True
734
+ return False
723
735
 
724
736
  def wait_for_status(
725
737
  self, status: str, timeout: int = TIMEOUT_4MINUTES, stop_status: str | None = None, sleep: int = 1
@@ -807,18 +819,20 @@ class Resource:
807
819
  self.logger.info(f"Delete {self.kind} {self.name}")
808
820
 
809
821
  if self.exists:
810
- hashed_data = self.hash_resource_dict(resource_dict=self.instance.to_dict())
811
- self.logger.info(f"Deleting {hashed_data}")
812
- self.logger.debug(f"\n{yaml.dump(hashed_data)}")
822
+ try:
823
+ hashed_data = self.hash_resource_dict(resource_dict=self.instance.to_dict())
824
+ self.logger.info(f"Deleting {hashed_data}")
825
+ self.logger.debug(f"\n{yaml.dump(hashed_data)}")
813
826
 
814
- try:
815
- self.api.delete(name=self.name, namespace=self.namespace, body=body)
816
- if wait:
817
- self.client_wait_deleted(timeout=timeout)
827
+ self.api.delete(name=self.name, namespace=self.namespace, body=body)
828
+ if wait:
829
+ return self.wait_deleted(timeout=timeout)
830
+ return True
818
831
 
819
- except (NotFoundError, TimeoutExpiredError):
820
- return False
832
+ except (NotFoundError, TimeoutExpiredError):
833
+ return False
821
834
 
835
+ self.logger.warning(f"Resource {self.kind} {self.name} was not found, and wasn't deleted")
822
836
  return True
823
837
 
824
838
  @property
@@ -9,6 +9,9 @@ class SriovNetworkNodeState(NamespacedResource):
9
9
 
10
10
  api_group = NamespacedResource.ApiGroup.SRIOVNETWORK_OPENSHIFT_IO
11
11
 
12
+ class SyncStatus:
13
+ IN_PROGRESS: str = "InProgress"
14
+
12
15
  @property
13
16
  def interfaces(self):
14
17
  return self.instance.status.interfaces
@@ -19,7 +19,7 @@ warn_unused_ignores = true
19
19
 
20
20
  [tool.poetry]
21
21
  name = "openshift-python-wrapper"
22
- version = "4.16.2"
22
+ version = "4.16.3"
23
23
  description = "Wrapper around https://github.com/kubernetes-client/python"
24
24
  authors = ["Meni Yakove <myakove@gmail.com>", "Ruth Netser <rnetser@gmail.com>"]
25
25
  readme = "README.md"