openshift-python-wrapper 10.0.44__tar.gz → 10.0.47__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 (169) hide show
  1. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/PKG-INFO +1 -1
  2. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/backup.py +1 -1
  3. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/catalog_source.py +1 -1
  4. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/cluster_claim.py +2 -3
  5. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/cluster_deployment.py +0 -2
  6. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/cluster_pool.py +0 -2
  7. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/cluster_role.py +1 -1
  8. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/cluster_role_binding.py +1 -1
  9. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/configmap.py +1 -1
  10. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/constants.py +9 -8
  11. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/controller_revision.py +1 -1
  12. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/cron_job.py +1 -1
  13. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/csi_storage_capacity.py +1 -1
  14. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/data_import_cron.py +1 -1
  15. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/data_source.py +1 -1
  16. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/datavolume.py +1 -1
  17. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/endpoint_slice.py +1 -1
  18. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/endpoints.py +3 -2
  19. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/group.py +1 -1
  20. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/hook.py +1 -1
  21. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/host.py +1 -1
  22. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/hostpath_provisioner.py +1 -1
  23. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/hyperconverged.py +1 -1
  24. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/image_content_source_policy.py +1 -1
  25. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/image_digest_mirror_set.py +1 -1
  26. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/image_stream.py +1 -1
  27. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/ip_address_pool.py +1 -1
  28. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/job.py +1 -1
  29. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/kube_descheduler.py +1 -1
  30. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/l2_advertisement.py +1 -1
  31. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/lease.py +1 -1
  32. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/limit_range.py +1 -1
  33. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/machine_config_pool.py +1 -1
  34. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/machine_health_check.py +1 -1
  35. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/machine_set.py +1 -1
  36. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/metallb.py +1 -1
  37. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/migration.py +1 -1
  38. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/migration_policy.py +1 -1
  39. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/multi_cluster_observability.py +1 -1
  40. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/multi_network_policy.py +1 -1
  41. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/network_attachment_definition.py +5 -5
  42. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/network_map.py +1 -1
  43. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/node_health_check.py +1 -1
  44. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/node_maintenance.py +1 -1
  45. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/node_network_configuration_policy.py +1 -1
  46. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/node_network_state.py +1 -1
  47. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/ocs_initialization.py +1 -1
  48. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/operator_group.py +1 -1
  49. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/operator_source.py +1 -1
  50. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/performance_profile.py +1 -1
  51. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/persistent_volume_claim.py +1 -1
  52. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/pipeline.py +1 -1
  53. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/pipelineruns.py +1 -1
  54. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/plan.py +1 -1
  55. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/pod_disruption_budget.py +1 -1
  56. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/priority_class.py +1 -1
  57. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/provider.py +1 -1
  58. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/resource.py +228 -167
  59. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/resource_quota.py +1 -1
  60. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/restore.py +1 -1
  61. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/role.py +1 -1
  62. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/role_binding.py +1 -1
  63. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/route.py +1 -1
  64. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/sealed_secret.py +1 -3
  65. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/secret.py +1 -1
  66. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/service_account.py +1 -1
  67. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/sriov_network.py +1 -1
  68. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/sriov_network_node_policy.py +1 -1
  69. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/storage_class.py +1 -1
  70. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/storage_map.py +1 -1
  71. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/subscription.py +1 -1
  72. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/task_run.py +1 -1
  73. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/upload_token_request.py +1 -1
  74. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/virtual_machine.py +1 -1
  75. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/virtual_machine_clone.py +1 -1
  76. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/virtual_machine_export.py +1 -1
  77. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/virtual_machine_import.py +2 -2
  78. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/virtual_machine_instance_migration.py +1 -1
  79. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/virtual_machine_migration_resource_quota.py +1 -1
  80. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/virtual_machine_restore.py +1 -1
  81. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/virtual_machine_snapshot.py +1 -1
  82. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/pyproject.toml +11 -1
  83. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/LICENSE +0 -0
  84. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/README.md +0 -0
  85. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/__init__.py +0 -0
  86. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/aaq.py +0 -0
  87. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/api_server.py +0 -0
  88. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/api_service.py +0 -0
  89. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/benchmark.py +0 -0
  90. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/cdi.py +0 -0
  91. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/cdi_config.py +0 -0
  92. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/chaos_engine.py +0 -0
  93. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/chaos_result.py +0 -0
  94. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/cluster_operator.py +0 -0
  95. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/cluster_service_version.py +0 -0
  96. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/cluster_version.py +0 -0
  97. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/console_cli_download.py +0 -0
  98. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/console_plugin.py +0 -0
  99. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/console_quick_start.py +0 -0
  100. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/csidriver.py +0 -0
  101. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/custom_resource_definition.py +0 -0
  102. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/daemonset.py +0 -0
  103. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/deployment.py +0 -0
  104. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/destination_rule.py +0 -0
  105. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/dns.py +0 -0
  106. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/event.py +0 -0
  107. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/forklift_controller.py +0 -0
  108. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/gateway.py +0 -0
  109. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/image.py +0 -0
  110. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/imagestreamtag.py +0 -0
  111. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/infrastructure.py +0 -0
  112. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/installplan.py +0 -0
  113. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/kubevirt.py +0 -0
  114. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/kubevirt_common_templates_bundle.py +0 -0
  115. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/kubevirt_metrics_aggregation.py +0 -0
  116. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/kubevirt_node_labeller_bundle.py +0 -0
  117. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/kubevirt_template_validaotr.py +0 -0
  118. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/machine.py +0 -0
  119. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/machine_config.py +0 -0
  120. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/managed_cluster.py +0 -0
  121. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/mtq.py +0 -0
  122. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/mtv.py +0 -0
  123. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/multi_cluster_hub.py +0 -0
  124. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/mutating_webhook_config.py +0 -0
  125. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/namespace.py +0 -0
  126. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/network.py +0 -0
  127. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/network_addons_config.py +0 -0
  128. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/network_policy.py +0 -0
  129. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/nmstate.py +0 -0
  130. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/node.py +0 -0
  131. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/node_network_configuration_enactment.py +0 -0
  132. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/oauth.py +0 -0
  133. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/operator.py +0 -0
  134. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/operator_condition.py +0 -0
  135. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/operator_hub.py +0 -0
  136. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/package_manifest.py +0 -0
  137. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/peer_authentication.py +0 -0
  138. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/persistent_volume.py +0 -0
  139. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/pod.py +0 -0
  140. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/pod_metrics.py +0 -0
  141. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/project.py +0 -0
  142. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/prometheus.py +0 -0
  143. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/prometheus_rule.py +0 -0
  144. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/replicaset.py +0 -0
  145. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/rhmi.py +0 -0
  146. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/scheduler.py +0 -0
  147. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/security_context_constraints.py +0 -0
  148. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/service.py +0 -0
  149. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/service_mesh_control_plane.py +0 -0
  150. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/service_mesh_member_roll.py +0 -0
  151. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/service_monitor.py +0 -0
  152. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/sriov_network_node_state.py +0 -0
  153. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/ssp.py +0 -0
  154. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/storage_profile.py +0 -0
  155. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/tekton_tasks.py +0 -0
  156. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/template.py +0 -0
  157. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/utils.py +0 -0
  158. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/validating_webhook_config.py +0 -0
  159. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/virtual_machine_Instance_replica_set.py +0 -0
  160. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/virtual_machine_cluster_instance_types.py +0 -0
  161. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/virtual_machine_cluster_preferences.py +0 -0
  162. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/virtual_machine_instance.py +0 -0
  163. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/virtual_machine_instance_preset.py +0 -0
  164. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/virtual_machine_instance_types.py +0 -0
  165. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/virtual_machine_preferences.py +0 -0
  166. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/virtual_service.py +0 -0
  167. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/vm_import_config.py +0 -0
  168. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/ocp_resources/volume_snapshot.py +0 -0
  169. {openshift_python_wrapper-10.0.44 → openshift_python_wrapper-10.0.47}/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: 10.0.44
3
+ Version: 10.0.47
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
@@ -35,7 +35,7 @@ class Backup(NamespacedResource):
35
35
  self.snapshot_move_data = snapshot_move_data
36
36
  self.storage_location = storage_location
37
37
 
38
- def to_dict(self):
38
+ def to_dict(self) -> None:
39
39
  super().to_dict()
40
40
  if not self.yaml_file:
41
41
  spec_dict = {}
@@ -33,7 +33,7 @@ class CatalogSource(NamespacedResource):
33
33
  self.publisher = publisher
34
34
  self.update_strategy_registry_poll_interval = update_strategy_registry_poll_interval
35
35
 
36
- def to_dict(self):
36
+ def to_dict(self) -> None:
37
37
  super().to_dict()
38
38
  if not self.yaml_file:
39
39
  if not all([self.source_type, self.image, self.display_name, self.publisher]):
@@ -1,4 +1,5 @@
1
- from typing import Any, Dict
1
+ from typing import Any
2
+
2
3
  from ocp_resources.resource import NamespacedResource
3
4
 
4
5
 
@@ -22,8 +23,6 @@ class ClusterClaim(NamespacedResource):
22
23
  self.cluster_pool_name = cluster_pool_name
23
24
 
24
25
  def to_dict(self) -> None:
25
- self.res: Dict[str, Any]
26
-
27
26
  super().to_dict()
28
27
  if not self.yaml_file and self.cluster_pool_name:
29
28
  self.res.setdefault("spec", {})["clusterPoolName"] = self.cluster_pool_name
@@ -34,8 +34,6 @@ class ClusterDeployment(NamespacedResource):
34
34
  self.pull_secret_ref_name = pull_secret_ref_name
35
35
 
36
36
  def to_dict(self) -> None:
37
- self.res: Dict[str, Any]
38
-
39
37
  super().to_dict()
40
38
  if not self.yaml_file:
41
39
  self.res["spec"] = {}
@@ -38,8 +38,6 @@ class ClusterPool(NamespacedResource):
38
38
  self.size = size
39
39
 
40
40
  def to_dict(self) -> None:
41
- self.res: Dict[str, Any]
42
-
43
41
  super().to_dict()
44
42
  if not self.yaml_file:
45
43
  self.res["spec"] = {}
@@ -20,7 +20,7 @@ class ClusterRole(Resource):
20
20
  super().__init__(**kwargs)
21
21
  self.rules = rules
22
22
 
23
- def to_dict(self):
23
+ def to_dict(self) -> None:
24
24
  super().to_dict()
25
25
  if not self.yaml_file:
26
26
  if not self.rules:
@@ -26,7 +26,7 @@ class ClusterRoleBinding(Resource):
26
26
  self.cluster_role = cluster_role
27
27
  self.subjects = subjects
28
28
 
29
- def to_dict(self):
29
+ def to_dict(self) -> None:
30
30
  super().to_dict()
31
31
  if not self.yaml_file:
32
32
  if not self.cluster_role:
@@ -20,7 +20,7 @@ class ConfigMap(NamespacedResource):
20
20
  super().__init__(**kwargs)
21
21
  self.data = data
22
22
 
23
- def to_dict(self):
23
+ def to_dict(self) -> None:
24
24
  super().to_dict()
25
25
  if not self.yaml_file and self.data:
26
26
  self.res.setdefault("data", {}).update(self.data)
@@ -1,3 +1,4 @@
1
+ from typing import Dict, List
1
2
  from kubernetes.dynamic.exceptions import (
2
3
  ForbiddenError,
3
4
  InternalServerError,
@@ -6,7 +7,7 @@ from kubernetes.dynamic.exceptions import (
6
7
  )
7
8
  from urllib3.exceptions import MaxRetryError, ProtocolError
8
9
 
9
- DEFAULT_CLUSTER_RETRY_EXCEPTIONS = {
10
+ DEFAULT_CLUSTER_RETRY_EXCEPTIONS: Dict[type[Exception], List[str]] = {
10
11
  MaxRetryError: [],
11
12
  ConnectionAbortedError: [],
12
13
  ConnectionResetError: [],
@@ -19,11 +20,11 @@ DEFAULT_CLUSTER_RETRY_EXCEPTIONS = {
19
20
  ServerTimeoutError: [],
20
21
  ForbiddenError: ["context deadline exceeded"],
21
22
  }
22
- PROTOCOL_ERROR_EXCEPTION_DICT = {ProtocolError: []}
23
- NOT_FOUND_ERROR_EXCEPTION_DICT = {NotFoundError: []}
23
+ PROTOCOL_ERROR_EXCEPTION_DICT: Dict[type[Exception], List[str]] = {ProtocolError: []}
24
+ NOT_FOUND_ERROR_EXCEPTION_DICT: Dict[type[Exception], List[str]] = {NotFoundError: []}
24
25
 
25
- TIMEOUT_10SEC = 10
26
- TIMEOUT_1MINUTE = 60
27
- TIMEOUT_2MINUTES = 2 * 60
28
- TIMEOUT_4MINUTES = 4 * 60
29
- TIMEOUT_10MINUTES = 10 * 60
26
+ TIMEOUT_10SEC: int = 10
27
+ TIMEOUT_1MINUTE: int = 60
28
+ TIMEOUT_2MINUTES: int = 2 * 60
29
+ TIMEOUT_4MINUTES: int = 4 * 60
30
+ TIMEOUT_10MINUTES: int = 10 * 60
@@ -26,7 +26,7 @@ class ControllerRevision(NamespacedResource):
26
26
  self.revision_object = revision_object
27
27
  self.revision = revision
28
28
 
29
- def to_dict(self):
29
+ def to_dict(self) -> None:
30
30
  super().to_dict()
31
31
  if not self.yaml_file:
32
32
  if not self.revision:
@@ -44,7 +44,7 @@ class CronJob(NamespacedResource):
44
44
  self.failed_jobs_history_limit = failed_jobs_history_limit
45
45
  self.starting_deadline_seconds = starting_deadline_seconds
46
46
 
47
- def to_dict(self):
47
+ def to_dict(self) -> None:
48
48
  super().to_dict()
49
49
  if not self.yaml_file:
50
50
  if not (self.job_template and self.schedule):
@@ -32,7 +32,7 @@ class CSIStorageCapacity(NamespacedResource):
32
32
  self.storage_class_name = storage_class_name
33
33
  self.maximum_volume_size = maximum_volume_size
34
34
 
35
- def to_dict(self):
35
+ def to_dict(self) -> None:
36
36
  super().to_dict()
37
37
  if not self.yaml_file:
38
38
  if not self.storage_class_name:
@@ -53,7 +53,7 @@ class DataImportCron(NamespacedResource):
53
53
  self.imports_to_keep = imports_to_keep
54
54
  self.bind_immediate_annotation = bind_immediate_annotation
55
55
 
56
- def to_dict(self):
56
+ def to_dict(self) -> None:
57
57
  super().to_dict()
58
58
  if not self.yaml_file:
59
59
  if self.image_stream and self.url:
@@ -22,7 +22,7 @@ class DataSource(NamespacedResource):
22
22
  super().__init__(**kwargs)
23
23
  self._source = source
24
24
 
25
- def to_dict(self):
25
+ def to_dict(self) -> None:
26
26
  super().to_dict()
27
27
  if not self.yaml_file:
28
28
  if not self._source:
@@ -153,7 +153,7 @@ class DataVolume(NamespacedResource):
153
153
  self.api_name = api_name
154
154
  self.delete_after_completion = delete_after_completion
155
155
 
156
- def to_dict(self):
156
+ def to_dict(self) -> None:
157
157
  super().to_dict()
158
158
  if not self.yaml_file:
159
159
  self.res.update({
@@ -51,7 +51,7 @@ class EndpointSlice(NamespacedResource):
51
51
  self.endpoints = endpoints
52
52
  self.ports = ports
53
53
 
54
- def to_dict(self):
54
+ def to_dict(self) -> None:
55
55
  super().to_dict()
56
56
  if not self.yaml_file:
57
57
  if not (self.address_type and self.endpoints):
@@ -48,11 +48,12 @@ class Endpoints(NamespacedResource):
48
48
  self.addresses = addresses
49
49
  self.ports = ports
50
50
 
51
- def to_dict(self):
51
+ def to_dict(self) -> None:
52
52
  super().to_dict()
53
53
  if not self.yaml_file:
54
54
  if not (self.addresses and self.ports):
55
- raise MissingRequiredArgumentError(argumens="'addresses' and 'ports")
55
+ raise MissingRequiredArgumentError(argument="'addresses' and 'ports")
56
+
56
57
  self.res.update({
57
58
  "subsets": {
58
59
  "addresses": self.addresses,
@@ -12,7 +12,7 @@ class Group(Resource):
12
12
  super().__init__(**kwargs)
13
13
  self.users = users
14
14
 
15
- def to_dict(self):
15
+ def to_dict(self) -> None:
16
16
  super().to_dict()
17
17
  if (not self.yaml_file) and self.users:
18
18
  self.res["users"] = self.users
@@ -39,7 +39,7 @@ class Hook(NamespacedResource, MTV):
39
39
  self.image = image
40
40
  self.playbook = playbook
41
41
 
42
- def to_dict(self):
42
+ def to_dict(self) -> None:
43
43
  super().to_dict()
44
44
  if not self.yaml_file:
45
45
  self.res.update({
@@ -43,7 +43,7 @@ class Host(NamespacedResource, MTV):
43
43
  self.secret_namespace = secret_namespace or self.namespace
44
44
  self.condition_message_ready = self.ConditionMessage.HOST_READY
45
45
 
46
- def to_dict(self):
46
+ def to_dict(self) -> None:
47
47
  super().to_dict()
48
48
  if not self.yaml_file:
49
49
  self.res.update({
@@ -35,7 +35,7 @@ class HostPathProvisioner(Resource):
35
35
  self.path = path
36
36
  self.image_pull_policy = image_pull_policy
37
37
 
38
- def to_dict(self):
38
+ def to_dict(self) -> None:
39
39
  super().to_dict()
40
40
  if not self.yaml_file:
41
41
  spec = self.res.setdefault("spec", {})
@@ -29,7 +29,7 @@ class HyperConverged(NamespacedResource):
29
29
  self.infra = infra
30
30
  self.workloads = workloads
31
31
 
32
- def to_dict(self):
32
+ def to_dict(self) -> None:
33
33
  super().to_dict()
34
34
  if not self.yaml_file:
35
35
  if self.infra:
@@ -23,7 +23,7 @@ class ImageContentSourcePolicy(Resource):
23
23
  self.repository_digest_mirrors = repository_digest_mirrors
24
24
  super().__init__(**kwargs)
25
25
 
26
- def to_dict(self):
26
+ def to_dict(self) -> None:
27
27
  super().to_dict()
28
28
  if not self.yaml_file:
29
29
  if not self.repository_digest_mirrors:
@@ -23,7 +23,7 @@ class ImageDigestMirrorSet(Resource):
23
23
  self.image_digest_mirrors = image_digest_mirrors
24
24
  super().__init__(**kwargs)
25
25
 
26
- def to_dict(self):
26
+ def to_dict(self) -> None:
27
27
  super().to_dict()
28
28
  if not self.yaml_file:
29
29
  if not self.image_digest_mirrors:
@@ -36,7 +36,7 @@ class ImageStream(NamespacedResource):
36
36
  self.tags = tags
37
37
  self.lookup_policy = lookup_policy
38
38
 
39
- def to_dict(self):
39
+ def to_dict(self) -> None:
40
40
  super().to_dict()
41
41
  if not self.yaml_file:
42
42
  self.res.update({
@@ -39,7 +39,7 @@ class IPAddressPool(NamespacedResource):
39
39
  self.auto_assign = auto_assign
40
40
  self.avoid_buggy_ips = avoid_buggy_ips
41
41
 
42
- def to_dict(self):
42
+ def to_dict(self) -> None:
43
43
  super().to_dict()
44
44
  if not self.yaml_file:
45
45
  if not self.addresses:
@@ -63,7 +63,7 @@ class Job(NamespacedResource):
63
63
  self.containers = containers
64
64
  self.background_propagation_policy = background_propagation_policy
65
65
 
66
- def to_dict(self):
66
+ def to_dict(self) -> None:
67
67
  super().to_dict()
68
68
  if not self.yaml_file:
69
69
  self.res.setdefault("spec", {})
@@ -48,7 +48,7 @@ class KubeDescheduler(NamespacedResource):
48
48
  self.mode = mode
49
49
  self.operator_log_level = operator_log_level
50
50
 
51
- def to_dict(self):
51
+ def to_dict(self) -> None:
52
52
  super().to_dict()
53
53
  if not self.yaml_file:
54
54
  self.res.update({
@@ -40,7 +40,7 @@ class L2Advertisement(NamespacedResource):
40
40
  self.ip_address_pools = ip_address_pools
41
41
  self.ip_address_pools_selectors = ip_address_pools_selectors
42
42
 
43
- def to_dict(self):
43
+ def to_dict(self) -> None:
44
44
  super().to_dict()
45
45
  if not self.yaml_file:
46
46
  self.res["spec"] = {}
@@ -57,7 +57,7 @@ class Lease(NamespacedResource):
57
57
  self.acquire_time = acquire_time
58
58
  self.renew_time = renew_time
59
59
 
60
- def to_dict(self):
60
+ def to_dict(self) -> None:
61
61
  super().to_dict()
62
62
  if not self.yaml_file:
63
63
  if self.acquire_time:
@@ -21,7 +21,7 @@ class LimitRange(NamespacedResource):
21
21
  super().__init__(**kwargs)
22
22
  self.limits = limits
23
23
 
24
- def to_dict(self):
24
+ def to_dict(self) -> None:
25
25
  super().to_dict()
26
26
  if not self.yaml_file:
27
27
  if not self.limits:
@@ -55,7 +55,7 @@ class MachineConfigPool(Resource):
55
55
  self.max_unavailable = max_unavailable
56
56
  self.paused = paused
57
57
 
58
- def to_dict(self):
58
+ def to_dict(self) -> None:
59
59
  super().to_dict()
60
60
  if not self.yaml_file:
61
61
  self.res.update(
@@ -45,7 +45,7 @@ class MachineHealthCheck(NamespacedResource):
45
45
  self.unhealthy_timeout = unhealthy_timeout
46
46
  self.reboot_strategy = reboot_strategy
47
47
 
48
- def to_dict(self):
48
+ def to_dict(self) -> None:
49
49
  super().to_dict()
50
50
  if not self.yaml_file:
51
51
  if self.reboot_strategy:
@@ -77,7 +77,7 @@ class MachineSet(NamespacedResource):
77
77
  self.machine_type = machine_type
78
78
  self.provider_spec = provider_spec or {}
79
79
 
80
- def to_dict(self):
80
+ def to_dict(self) -> None:
81
81
  super().to_dict()
82
82
  if not self.yaml_file:
83
83
  _spec, _metadata, _labels = ("spec", "metadata", "labels")
@@ -40,7 +40,7 @@ class MetalLB(NamespacedResource):
40
40
  self.speaker_config = speaker_config
41
41
  self.speaker_tolerations = speaker_tolerations
42
42
 
43
- def to_dict(self):
43
+ def to_dict(self) -> None:
44
44
  super().to_dict()
45
45
  if not self.yaml_file:
46
46
  self.res["spec"] = {}
@@ -43,7 +43,7 @@ class Migration(NamespacedResource, MTV):
43
43
  self.cut_over = cut_over
44
44
  self.condition_message_succeeded = self.ConditionMessage.MIGRATION_SUCCEEDED
45
45
 
46
- def to_dict(self):
46
+ def to_dict(self) -> None:
47
47
  super().to_dict()
48
48
  if not self.yaml_file:
49
49
  self.res.update({
@@ -38,7 +38,7 @@ class MigrationPolicy(Resource):
38
38
  self.namespace_selector = namespace_selector or {}
39
39
  self.vmi_selector = vmi_selector or {}
40
40
 
41
- def to_dict(self):
41
+ def to_dict(self) -> None:
42
42
  super().to_dict()
43
43
  if not self.yaml_file:
44
44
  spec = self.res.setdefault("spec", {})
@@ -37,7 +37,7 @@ class MultiClusterObservability(Resource):
37
37
  self.image_pull_policy = image_pull_policy
38
38
  self.image_pull_secret = image_pull_secret
39
39
 
40
- def to_dict(self):
40
+ def to_dict(self) -> None:
41
41
  super().to_dict()
42
42
  if not self.yaml_file:
43
43
  if not self.metric_object_storage:
@@ -37,7 +37,7 @@ class MultiNetworkPolicy(NamespacedResource):
37
37
  self.ingress = ingress
38
38
  self.egress = egress
39
39
 
40
- def to_dict(self):
40
+ def to_dict(self) -> None:
41
41
  super().to_dict()
42
42
  if not self.yaml_file:
43
43
  if not self.network_name and self.pod_selector is None:
@@ -47,7 +47,7 @@ class NetworkAttachmentDefinition(NamespacedResource):
47
47
  self.cni_version = cni_version
48
48
  self.config = config
49
49
 
50
- def to_dict(self):
50
+ def to_dict(self) -> None:
51
51
  super().to_dict()
52
52
  if not self.yaml_file:
53
53
  if self.resource_name is not None:
@@ -97,7 +97,7 @@ class BridgeNetworkAttachmentDefinition(NetworkAttachmentDefinition):
97
97
  self.macspoofchk = macspoofchk
98
98
  self.add_resource_name = add_resource_name
99
99
 
100
- def to_dict(self):
100
+ def to_dict(self) -> None:
101
101
  super().to_dict()
102
102
  spec_config = self.res["spec"]["config"]
103
103
  spec_config["name"] = self.bridge_name
@@ -148,7 +148,7 @@ class LinuxBridgeNetworkAttachmentDefinition(BridgeNetworkAttachmentDefinition):
148
148
  )
149
149
  self.tuning_type = tuning_type
150
150
 
151
- def to_dict(self):
151
+ def to_dict(self) -> None:
152
152
  super().to_dict()
153
153
  if self.tuning_type:
154
154
  self.old_nad_format = True
@@ -188,7 +188,7 @@ class OvsBridgeNetworkAttachmentDefinition(BridgeNetworkAttachmentDefinition):
188
188
  cni_version=cni_version,
189
189
  )
190
190
 
191
- def to_dict(self):
191
+ def to_dict(self) -> None:
192
192
  super().to_dict()
193
193
  self.res["spec"]["config"] = json.dumps(self.res["spec"]["config"])
194
194
 
@@ -222,7 +222,7 @@ class OVNOverlayNetworkAttachmentDefinition(NetworkAttachmentDefinition):
222
222
  self.network_name = network_name
223
223
  self.topology = topology
224
224
 
225
- def to_dict(self):
225
+ def to_dict(self) -> None:
226
226
  super().to_dict()
227
227
  if not self.yaml_file:
228
228
  if not self.network_name and not self.topology:
@@ -58,7 +58,7 @@ class NetworkMap(NamespacedResource, MTV):
58
58
  self.destination_provider_namespace = destination_provider_namespace
59
59
  self.condition_message_ready = self.ConditionMessage.NETWORK_MAP_READY
60
60
 
61
- def to_dict(self):
61
+ def to_dict(self) -> None:
62
62
  super().to_dict()
63
63
  if not self.yaml_file:
64
64
  self.res.update(self.map_to_dict)
@@ -48,7 +48,7 @@ class NodeHealthCheck(Resource):
48
48
  self.escalating_remediation = escalating_remediation
49
49
  self.remediation_template = remediation_template
50
50
 
51
- def to_dict(self):
51
+ def to_dict(self) -> None:
52
52
  super().to_dict()
53
53
  if not self.yaml_file:
54
54
  if not (self.selector_match_expressions or self.selector_match_labels):
@@ -33,7 +33,7 @@ class NodeMaintenance(Resource):
33
33
  self.node = node
34
34
  self.reason = reason
35
35
 
36
- def to_dict(self):
36
+ def to_dict(self) -> None:
37
37
  super().to_dict()
38
38
  if not self.yaml_file:
39
39
  assert self.node, "node is mandatory for create"
@@ -129,7 +129,7 @@ class NodeNetworkConfigurationPolicy(Resource):
129
129
  self.desired_state["interfaces"] = interfaces
130
130
  self.res.setdefault("spec", {}).setdefault("desiredState", {})["interfaces"] = self.desired_state["interfaces"]
131
131
 
132
- def to_dict(self):
132
+ def to_dict(self) -> None:
133
133
  super().to_dict()
134
134
  if not self.yaml_file:
135
135
  if self.dns_resolver or self.routes or self.iface:
@@ -40,7 +40,7 @@ class NodeNetworkState(Resource):
40
40
  interfaces.append(interface)
41
41
  self.desired_state["interfaces"] = interfaces
42
42
 
43
- def to_dict(self):
43
+ def to_dict(self) -> None:
44
44
  super().to_dict()
45
45
  if not self.yaml_file:
46
46
  self.res.update({
@@ -40,7 +40,7 @@ class OCSInitialization(NamespacedResource):
40
40
  )
41
41
  self.enable_ceph_tools = enable_ceph_tools
42
42
 
43
- def to_dict(self):
43
+ def to_dict(self) -> None:
44
44
  super().to_dict()
45
45
  if not self.yaml_file and self.enable_ceph_tools is not None:
46
46
  self.res.update({
@@ -31,7 +31,7 @@ class OperatorGroup(NamespacedResource):
31
31
  )
32
32
  self.target_namespaces = target_namespaces
33
33
 
34
- def to_dict(self):
34
+ def to_dict(self) -> None:
35
35
  super().to_dict()
36
36
  if not self.yaml_file:
37
37
  self.res.update({"spec": {"targetNamespaces": self.target_namespaces}})
@@ -33,7 +33,7 @@ class OperatorSource(NamespacedResource):
33
33
  self.publisher = publisher
34
34
  self.secret = secret
35
35
 
36
- def to_dict(self):
36
+ def to_dict(self) -> None:
37
37
  super().to_dict()
38
38
  if not self.yaml_file:
39
39
  self.res.update({
@@ -51,7 +51,7 @@ class PerformanceProfile(Resource):
51
51
  self.real_time_kernel = real_time_kernel
52
52
  self.workload_hints = workload_hints
53
53
 
54
- def to_dict(self):
54
+ def to_dict(self) -> None:
55
55
  super().to_dict()
56
56
  if not self.yaml_file:
57
57
  if not self.cpu and not self.node_selector:
@@ -63,7 +63,7 @@ class PersistentVolumeClaim(NamespacedResource):
63
63
  self.storage_class = storage_class
64
64
  self.pvlabel = pvlabel
65
65
 
66
- def to_dict(self):
66
+ def to_dict(self) -> None:
67
67
  super().to_dict()
68
68
  if not self.yaml_file:
69
69
  self.res.update({
@@ -42,7 +42,7 @@ class Pipeline(NamespacedResource):
42
42
  self.params = params
43
43
  self.final_parallel_tasks = final_parallel_tasks
44
44
 
45
- def to_dict(self):
45
+ def to_dict(self) -> None:
46
46
  super().to_dict()
47
47
  if not self.yaml_file:
48
48
  if not (self.tasks or self.params or self.final_parallel_tasks):
@@ -38,7 +38,7 @@ class PipelineRun(NamespacedResource):
38
38
  self.params = params
39
39
  self.service_account_name = service_account_name
40
40
 
41
- def to_dict(self):
41
+ def to_dict(self) -> None:
42
42
  super().to_dict()
43
43
  if not self.yaml_file:
44
44
  if not self.pipelineref:
@@ -109,7 +109,7 @@ class Plan(NamespacedResource, MTV):
109
109
  for vm in self.virtual_machines_list:
110
110
  vm["hooks"] = hooks_array
111
111
 
112
- def to_dict(self):
112
+ def to_dict(self) -> None:
113
113
  super().to_dict()
114
114
  if not self.yaml_file:
115
115
  self.res.update({
@@ -35,7 +35,7 @@ class PodDisruptionBudget(NamespacedResource):
35
35
  self.max_unavailable = max_unavailable
36
36
  self.selector = selector
37
37
 
38
- def to_dict(self):
38
+ def to_dict(self) -> None:
39
39
  super().to_dict()
40
40
  if not self.yaml_file:
41
41
  update_dict = {