openshift-python-wrapper 4.15.17__tar.gz → 4.15.19__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-4.15.17 → openshift_python_wrapper-4.15.19}/PKG-INFO +2 -1
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/backup.py +18 -2
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/benchmark.py +1 -1
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/cdi_config.py +1 -1
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/daemonset.py +1 -1
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/datavolume.py +1 -1
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/deployment.py +1 -1
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/machine_set.py +1 -1
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/mtv.py +1 -1
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/node_network_configuration_policy.py +1 -1
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/node_network_state.py +1 -1
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/pod.py +1 -1
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/resource.py +2 -2
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/sriov_network_node_state.py +1 -1
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/virtual_machine.py +1 -1
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/virtual_machine_import.py +1 -1
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/virtual_machine_instance.py +1 -1
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/virtual_machine_restore.py +1 -1
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/virtual_machine_snapshot.py +1 -1
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/pyproject.toml +2 -1
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/LICENSE +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/README.md +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/__init__.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/api_server.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/api_service.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/catalog_source.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/cdi.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/chaos_engine.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/chaos_result.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/cluster_operator.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/cluster_role.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/cluster_role_binding.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/cluster_service_version.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/cluster_version.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/configmap.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/console_cli_download.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/console_plugin.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/console_quick_start.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/constants.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/controller_revision.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/cron_job.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/csi_storage_capacity.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/csidriver.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/custom_resource_definition.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/data_import_cron.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/data_source.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/destination_rule.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/dns.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/endpoint_slice.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/endpoints.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/event.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/forklift_controller.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/gateway.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/hook.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/host.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/hostpath_provisioner.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/hyperconverged.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/image.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/image_content_source_policy.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/image_digest_mirror_set.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/image_stream.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/imagestreamtag.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/infrastructure.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/installplan.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/ip_address_pool.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/job.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/kube_descheduler.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/kubevirt.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/kubevirt_common_templates_bundle.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/kubevirt_metrics_aggregation.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/kubevirt_node_labeller_bundle.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/kubevirt_template_validaotr.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/l2_advertisement.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/lease.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/limit_range.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/machine.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/machine_config.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/machine_config_pool.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/machine_health_check.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/managed_cluster.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/metallb.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/migration.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/migration_policy.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/mtq.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/multi_cluster_hub.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/multi_cluster_observability.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/mutating_webhook_config.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/namespace.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/network.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/network_addons_config.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/network_attachment_definition.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/network_map.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/network_policy.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/nmstate.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/node.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/node_health_check.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/node_maintenance.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/node_network_configuration_enactment.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/oauth.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/ocs_initialization.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/operator.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/operator_condition.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/operator_group.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/operator_hub.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/operator_source.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/package_manifest.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/peer_authentication.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/persistent_volume.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/persistent_volume_claim.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/pipeline.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/pipelineruns.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/plan.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/pod_disruption_budget.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/pod_metrics.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/priority_class.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/project.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/prometheus.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/prometheus_rule.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/provider.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/replicaset.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/resource_quota.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/restore.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/rhmi.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/role.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/role_binding.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/route.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/scheduler.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/secret.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/security_context_constraints.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/service.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/service_account.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/service_mesh_control_plane.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/service_mesh_member_roll.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/service_monitor.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/sriov_network.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/sriov_network_node_policy.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/ssp.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/storage_class.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/storage_map.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/storage_profile.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/subscription.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/task_run.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/tekton_tasks.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/template.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/upload_token_request.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/utils.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/validating_webhook_config.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/virtual_machine_Instance_replica_set.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/virtual_machine_clone.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/virtual_machine_cluster_instance_types.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/virtual_machine_cluster_preferences.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/virtual_machine_export.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/virtual_machine_instance_migration.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/virtual_machine_instance_preset.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/virtual_machine_instance_types.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/virtual_machine_migration_resource_quota.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/virtual_machine_preferences.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/virtual_service.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/vm_import_config.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/volume_snapshot.py +0 -0
- {openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/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.15.
|
|
3
|
+
Version: 4.15.19
|
|
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
|
|
@@ -22,6 +22,7 @@ Requires-Dist: kubernetes (>=28.0.0,<29.0.0)
|
|
|
22
22
|
Requires-Dist: packaging (>=23.1,<24.0)
|
|
23
23
|
Requires-Dist: python-benedict (>=0.33.0,<0.34.0)
|
|
24
24
|
Requires-Dist: python-simple-logger (>=1.0.6,<2.0.0)
|
|
25
|
+
Requires-Dist: timeout-sampler (>=0.0.1,<0.0.2)
|
|
25
26
|
Requires-Dist: xmltodict (>=0.13.0,<0.14.0)
|
|
26
27
|
Project-URL: Bug Tracker, https://github.com/RedHatQE/openshift-python-wrapper/issues
|
|
27
28
|
Project-URL: Documentation, https://openshift-python-wrapper.readthedocs.io/en/latest/
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/backup.py
RENAMED
|
@@ -6,22 +6,34 @@ from ocp_resources.resource import NamespacedResource
|
|
|
6
6
|
class Backup(NamespacedResource):
|
|
7
7
|
"""
|
|
8
8
|
Backup in 'velero' official API:
|
|
9
|
-
https://velero.io/docs/
|
|
9
|
+
https://velero.io/docs/main/api-types/backup/
|
|
10
10
|
"""
|
|
11
11
|
|
|
12
12
|
api_group = NamespacedResource.ApiGroup.VELERO_IO
|
|
13
13
|
|
|
14
|
-
def __init__(
|
|
14
|
+
def __init__(
|
|
15
|
+
self,
|
|
16
|
+
included_namespaces=None,
|
|
17
|
+
excluded_resources=None,
|
|
18
|
+
snapshot_move_data=False,
|
|
19
|
+
storage_location=None,
|
|
20
|
+
**kwargs,
|
|
21
|
+
):
|
|
15
22
|
"""
|
|
16
23
|
Args:
|
|
17
24
|
included_namespaces (list, optional): Namespaces to include in the backup.
|
|
18
25
|
If unspecified, all namespaces are included.
|
|
19
26
|
excluded_resources (list, optional): Resources to exclude from the backup.
|
|
20
27
|
Resources may be shortcuts (e.g. 'po' for 'pods') or fully-qualified.
|
|
28
|
+
snapshot_move_data (bool, optional): If set to true, deploys the volume snapshot mover
|
|
29
|
+
controller and a modified CSI Data Mover plugin.
|
|
30
|
+
storage_location (string, optional): Define the location for the DataMover.
|
|
21
31
|
"""
|
|
22
32
|
super().__init__(**kwargs)
|
|
23
33
|
self.included_namespaces = included_namespaces
|
|
24
34
|
self.excluded_resources = excluded_resources
|
|
35
|
+
self.snapshot_move_data = snapshot_move_data
|
|
36
|
+
self.storage_location = storage_location
|
|
25
37
|
|
|
26
38
|
def to_dict(self):
|
|
27
39
|
super().to_dict()
|
|
@@ -31,5 +43,9 @@ class Backup(NamespacedResource):
|
|
|
31
43
|
spec_dict.update({"includedNamespaces": self.included_namespaces})
|
|
32
44
|
if self.excluded_resources:
|
|
33
45
|
spec_dict.update({"excludedResources": self.excluded_resources})
|
|
46
|
+
if self.snapshot_move_data:
|
|
47
|
+
spec_dict.update({"snapshotMoveData": self.snapshot_move_data})
|
|
48
|
+
if self.storage_location:
|
|
49
|
+
spec_dict.update({"storageLocation": self.storage_location})
|
|
34
50
|
if spec_dict:
|
|
35
51
|
self.res.update({"spec": spec_dict})
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/daemonset.py
RENAMED
|
@@ -2,7 +2,7 @@ import kubernetes
|
|
|
2
2
|
|
|
3
3
|
from ocp_resources.constants import PROTOCOL_ERROR_EXCEPTION_DICT, TIMEOUT_4MINUTES
|
|
4
4
|
from ocp_resources.resource import NamespacedResource
|
|
5
|
-
from
|
|
5
|
+
from timeout_sampler import TimeoutSampler
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
class DaemonSet(NamespacedResource):
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/datavolume.py
RENAMED
|
@@ -7,7 +7,7 @@ from ocp_resources.constants import (
|
|
|
7
7
|
)
|
|
8
8
|
from ocp_resources.persistent_volume_claim import PersistentVolumeClaim
|
|
9
9
|
from ocp_resources.resource import NamespacedResource, Resource
|
|
10
|
-
from
|
|
10
|
+
from timeout_sampler import TimeoutExpiredError, TimeoutSampler
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
class DataVolume(NamespacedResource):
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/deployment.py
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
2
|
from ocp_resources.constants import PROTOCOL_ERROR_EXCEPTION_DICT, TIMEOUT_4MINUTES
|
|
3
3
|
from ocp_resources.resource import NamespacedResource
|
|
4
|
-
from
|
|
4
|
+
from timeout_sampler import TimeoutSampler, TimeoutWatch
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
class Deployment(NamespacedResource):
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/machine_set.py
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from ocp_resources.constants import TIMEOUT_4MINUTES
|
|
2
2
|
from ocp_resources.resource import NamespacedResource
|
|
3
|
-
from
|
|
3
|
+
from timeout_sampler import TimeoutExpiredError, TimeoutSampler
|
|
4
4
|
|
|
5
5
|
TIMEOUT_5MINUTES = 300
|
|
6
6
|
|
|
@@ -9,7 +9,7 @@ from ocp_resources.node_network_configuration_enactment import (
|
|
|
9
9
|
)
|
|
10
10
|
from ocp_resources.node_network_state import NodeNetworkState
|
|
11
11
|
from ocp_resources.resource import Resource, ResourceEditor
|
|
12
|
-
from
|
|
12
|
+
from timeout_sampler import TimeoutExpiredError, TimeoutSampler, TimeoutWatch
|
|
13
13
|
|
|
14
14
|
IPV4_STR = "ipv4"
|
|
15
15
|
IPV6_STR = "ipv6"
|
|
@@ -4,7 +4,7 @@ from kubernetes.dynamic.exceptions import ConflictError
|
|
|
4
4
|
|
|
5
5
|
from ocp_resources.constants import TIMEOUT_4MINUTES
|
|
6
6
|
from ocp_resources.resource import Resource
|
|
7
|
-
from
|
|
7
|
+
from timeout_sampler import TimeoutSampler
|
|
8
8
|
|
|
9
9
|
SLEEP = 1
|
|
10
10
|
|
|
@@ -5,7 +5,7 @@ import kubernetes
|
|
|
5
5
|
from ocp_resources.constants import TIMEOUT_4MINUTES
|
|
6
6
|
from ocp_resources.node import Node
|
|
7
7
|
from ocp_resources.resource import NamespacedResource
|
|
8
|
-
from
|
|
8
|
+
from timeout_sampler import TimeoutWatch
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
class ExecOnPodError(Exception):
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/resource.py
RENAMED
|
@@ -28,12 +28,12 @@ from ocp_resources.constants import (
|
|
|
28
28
|
TIMEOUT_4MINUTES,
|
|
29
29
|
)
|
|
30
30
|
from ocp_resources.event import Event
|
|
31
|
-
from
|
|
31
|
+
from timeout_sampler import (
|
|
32
32
|
TimeoutExpiredError,
|
|
33
33
|
TimeoutSampler,
|
|
34
34
|
TimeoutWatch,
|
|
35
|
-
skip_existing_resource_creation_teardown,
|
|
36
35
|
)
|
|
36
|
+
from ocp_resources.utils import skip_existing_resource_creation_teardown
|
|
37
37
|
|
|
38
38
|
LOGGER = get_logger(name=__name__)
|
|
39
39
|
MAX_SUPPORTED_API_VERSION = "v2"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from ocp_resources.resource import NamespacedResource
|
|
2
|
-
from
|
|
2
|
+
from timeout_sampler import TimeoutExpiredError, TimeoutSampler, TimeoutWatch
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
class SriovNetworkNodeState(NamespacedResource):
|
|
@@ -7,7 +7,7 @@ from ocp_resources.constants import (
|
|
|
7
7
|
TIMEOUT_4MINUTES,
|
|
8
8
|
)
|
|
9
9
|
from ocp_resources.resource import NamespacedResource
|
|
10
|
-
from
|
|
10
|
+
from timeout_sampler import TimeoutSampler
|
|
11
11
|
from ocp_resources.virtual_machine_instance import VirtualMachineInstance
|
|
12
12
|
|
|
13
13
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
from ocp_resources.constants import PROTOCOL_ERROR_EXCEPTION_DICT, TIMEOUT_4MINUTES
|
|
5
5
|
from ocp_resources.resource import NamespacedResource
|
|
6
|
-
from
|
|
6
|
+
from timeout_sampler import TimeoutExpiredError, TimeoutSampler
|
|
7
7
|
from ocp_resources.virtual_machine import VirtualMachine
|
|
8
8
|
|
|
9
9
|
|
|
@@ -7,7 +7,7 @@ from ocp_resources.constants import PROTOCOL_ERROR_EXCEPTION_DICT, TIMEOUT_4MINU
|
|
|
7
7
|
from ocp_resources.node import Node
|
|
8
8
|
from ocp_resources.pod import Pod
|
|
9
9
|
from ocp_resources.resource import NamespacedResource
|
|
10
|
-
from
|
|
10
|
+
from timeout_sampler import TimeoutExpiredError, TimeoutSampler
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
class VirtualMachineInstance(NamespacedResource):
|
|
@@ -4,7 +4,7 @@ from kubernetes.dynamic.exceptions import ResourceNotFoundError
|
|
|
4
4
|
|
|
5
5
|
from ocp_resources.constants import PROTOCOL_ERROR_EXCEPTION_DICT, TIMEOUT_4MINUTES
|
|
6
6
|
from ocp_resources.resource import NamespacedResource
|
|
7
|
-
from
|
|
7
|
+
from timeout_sampler import TimeoutSampler, TimeoutWatch
|
|
8
8
|
from ocp_resources.virtual_machine import VirtualMachine
|
|
9
9
|
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@ from kubernetes.dynamic.exceptions import ResourceNotFoundError
|
|
|
4
4
|
|
|
5
5
|
from ocp_resources.constants import PROTOCOL_ERROR_EXCEPTION_DICT, TIMEOUT_4MINUTES
|
|
6
6
|
from ocp_resources.resource import NamespacedResource
|
|
7
|
-
from
|
|
7
|
+
from timeout_sampler import TimeoutSampler, TimeoutWatch
|
|
8
8
|
from ocp_resources.virtual_machine import VirtualMachine
|
|
9
9
|
|
|
10
10
|
|
|
@@ -10,7 +10,7 @@ exclude = [".git", ".venv", ".mypy_cache", ".tox", "__pycache__"]
|
|
|
10
10
|
|
|
11
11
|
[tool.poetry]
|
|
12
12
|
name = "openshift-python-wrapper"
|
|
13
|
-
version = "4.15.
|
|
13
|
+
version = "4.15.19"
|
|
14
14
|
description = "Wrapper around https://github.com/kubernetes-client/python"
|
|
15
15
|
authors = ["Meni Yakove <myakove@gmail.com>", "Ruth Netser <rnetser@gmail.com>"]
|
|
16
16
|
readme = "README.md"
|
|
@@ -56,3 +56,4 @@ python-benedict = "^0.33.0"
|
|
|
56
56
|
packaging = "^23.1"
|
|
57
57
|
python-simple-logger = "^1.0.6"
|
|
58
58
|
jinja2 = "^3.1.2"
|
|
59
|
+
timeout-sampler = "^0.0.1"
|
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/__init__.py
RENAMED
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/api_server.py
RENAMED
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/api_service.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/chaos_engine.py
RENAMED
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/chaos_result.py
RENAMED
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/cluster_role.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/configmap.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/constants.py
RENAMED
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/cron_job.py
RENAMED
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/csidriver.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/data_source.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/endpoints.py
RENAMED
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/event.py
RENAMED
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/gateway.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/image.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/image_stream.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/installplan.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/kubevirt.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/lease.py
RENAMED
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/limit_range.py
RENAMED
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/machine.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/metallb.py
RENAMED
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/migration.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/namespace.py
RENAMED
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/network.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/network_map.py
RENAMED
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/nmstate.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/oauth.py
RENAMED
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/operator.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/operator_hub.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/pipeline.py
RENAMED
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/pipelineruns.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/pod_metrics.py
RENAMED
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/project.py
RENAMED
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/prometheus.py
RENAMED
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/provider.py
RENAMED
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/replicaset.py
RENAMED
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/restore.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/role_binding.py
RENAMED
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/route.py
RENAMED
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/scheduler.py
RENAMED
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/secret.py
RENAMED
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/service.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/sriov_network.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/storage_class.py
RENAMED
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/storage_map.py
RENAMED
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/subscription.py
RENAMED
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/task_run.py
RENAMED
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/tekton_tasks.py
RENAMED
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/template.py
RENAMED
|
File without changes
|
|
File without changes
|
{openshift_python_wrapper-4.15.17 → openshift_python_wrapper-4.15.19}/ocp_resources/utils.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|