openshift-python-wrapper 4.13.10__tar.gz → 4.13.12__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.13.10 → openshift-python-wrapper-4.13.12}/PKG-INFO +1 -1
- openshift-python-wrapper-4.13.12/VERSION +1 -0
- openshift-python-wrapper-4.13.12/ocp_resources/pipeline.py +58 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/resource.py +3 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/openshift_python_wrapper.egg-info/PKG-INFO +1 -1
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/openshift_python_wrapper.egg-info/SOURCES.txt +1 -0
- openshift-python-wrapper-4.13.10/VERSION +0 -1
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/LICENSE +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/README.md +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/__init__.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/api_server.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/api_service.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/backup.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/benchmark.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/catalog_source.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/catalog_source_config.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/cdi.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/cdi_config.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/chaos_engine.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/chaos_result.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/cluster_operator.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/cluster_role.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/cluster_role_binding.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/cluster_service_version.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/cluster_version.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/configmap.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/console_cli_download.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/console_plugin.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/console_quick_start.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/constants.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/controller_revision.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/cron_job.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/csi_storage_capacity.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/csidriver.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/custom_resource_definition.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/daemonset.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/data_import_cron.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/data_source.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/datavolume.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/deployment.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/destination_rule.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/endpoint_slice.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/endpoints.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/event.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/forklift_controller.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/gateway.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/hook.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/host.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/hostpath_provisioner.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/hyperconverged.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/image.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/image_content_source_policy.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/image_stream.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/imagestreamtag.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/infrastructure.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/installplan.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/ip_address_pool.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/job.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/kube_descheduler.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/kubevirt.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/kubevirt_common_templates_bundle.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/kubevirt_metrics_aggregation.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/kubevirt_node_labeller_bundle.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/kubevirt_template_validaotr.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/l2_advertisement.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/lease.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/machine.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/machine_config.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/machine_config_pool.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/machine_health_check.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/machine_set.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/metallb.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/migration.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/migration_policy.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/mtv.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/mutating_webhook_config.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/namespace.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/network.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/network_addons_config.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/network_attachment_definition.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/network_map.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/network_policy.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/nmstate.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/node.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/node_health_check.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/node_maintenance.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/node_network_configuration_enactment.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/node_network_configuration_policy.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/node_network_state.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/oauth.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/operator.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/operator_condition.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/operator_group.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/operator_hub.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/operator_source.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/package_manifest.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/peer_authentication.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/persistent_volume.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/persistent_volume_claim.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/pipelineruns.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/plan.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/pod.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/pod_disruption_budget.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/pod_metrics.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/priority_class.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/project.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/prometheus.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/prometheus_rule.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/provider.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/replicaset.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/restore.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/rhmi.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/role.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/role_binding.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/route.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/scheduler.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/secret.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/security_context_constraints.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/service.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/service_account.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/service_mesh_control_plane.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/service_mesh_member_roll.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/service_monitor.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/sriov_network.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/sriov_network_node_policy.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/sriov_network_node_state.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/ssp.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/storage_class.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/storage_map.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/storage_profile.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/subscription.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/tekton_tasks.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/template.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/upload_token_request.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/utils.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/validating_webhook_config.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/virtual_machine.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/virtual_machine_Instance_replica_set.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/virtual_machine_cluster_instance_types.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/virtual_machine_cluster_preferences.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/virtual_machine_export.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/virtual_machine_import.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/virtual_machine_instance.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/virtual_machine_instance_migration.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/virtual_machine_instance_preset.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/virtual_machine_instance_types.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/virtual_machine_preferences.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/virtual_machine_restore.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/virtual_machine_snapshot.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/virtual_service.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/vm_import_config.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/volume_snapshot.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/volume_snapshot_class.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/openshift_python_wrapper.egg-info/dependency_links.txt +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/openshift_python_wrapper.egg-info/requires.txt +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/openshift_python_wrapper.egg-info/top_level.txt +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/pyproject.toml +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/setup.cfg +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/tests/test_resources.py +0 -0
- {openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/tests/test_validate_resources.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: openshift-python-wrapper
|
|
3
|
-
Version: 4.13.
|
|
3
|
+
Version: 4.13.12
|
|
4
4
|
Summary: Wrapper around https://github.com/openshift/openshift-restclient-python
|
|
5
5
|
Author-email: Meni Yakove <myakove@gmail.com>, Ruth Netser <rnetser@gmail.com>
|
|
6
6
|
Project-URL: Homepage, https://github.com/RedHatQE/openshift-python-wrapper
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
4.13.12
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# API reference: https://tekton.dev/docs/pipelines/pipelines/
|
|
2
|
+
|
|
3
|
+
from ocp_resources.resource import NamespacedResource
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class Pipeline(NamespacedResource):
|
|
7
|
+
api_group = NamespacedResource.ApiGroup.TEKTON_DEV
|
|
8
|
+
|
|
9
|
+
def __init__(
|
|
10
|
+
self,
|
|
11
|
+
name=None,
|
|
12
|
+
namespace=None,
|
|
13
|
+
tasks=None,
|
|
14
|
+
params=None,
|
|
15
|
+
final_parallel_tasks=None,
|
|
16
|
+
client=None,
|
|
17
|
+
yaml_file=None,
|
|
18
|
+
**kwargs,
|
|
19
|
+
):
|
|
20
|
+
"""
|
|
21
|
+
Args:
|
|
22
|
+
name (str): Name of the pipeline
|
|
23
|
+
namespace (str): Namespace of the pipeline
|
|
24
|
+
tasks (str, optional): actions to perform in pipeline
|
|
25
|
+
client: (DynamicClient): DynamicClient to use.
|
|
26
|
+
params (dict, optional): params to support pipelines.
|
|
27
|
+
params can be set/changed based on tasks.
|
|
28
|
+
example: 'spec': {'params': [{'name': 'sourceTemplateName','type': 'string','default':'openshift'},
|
|
29
|
+
{'name': 'sourceTemplateNamespace', 'type':'string', 'description': 'Namespace pf template'}]}
|
|
30
|
+
final_parallel_tasks (list, optional): a list of one or more to be executed in parallel after all other
|
|
31
|
+
tasks have completed in parallel.
|
|
32
|
+
spec section can't be empty. It requires at least one optional field.
|
|
33
|
+
"""
|
|
34
|
+
super().__init__(
|
|
35
|
+
name=name,
|
|
36
|
+
namespace=namespace,
|
|
37
|
+
client=client,
|
|
38
|
+
**kwargs,
|
|
39
|
+
)
|
|
40
|
+
# TODO: Add a check for tasks when bug https://issues.redhat.com/browse/SRVKP-3019 is resolved.
|
|
41
|
+
self.tasks = tasks
|
|
42
|
+
self.params = params
|
|
43
|
+
self.final_parallel_tasks = final_parallel_tasks
|
|
44
|
+
|
|
45
|
+
def to_dict(self):
|
|
46
|
+
super().to_dict()
|
|
47
|
+
if not self.yaml_file:
|
|
48
|
+
if not (self.tasks or self.params or self.final_parallel_tasks):
|
|
49
|
+
raise ValueError(
|
|
50
|
+
"spec is expected to have at least one of the optional fields, got none"
|
|
51
|
+
)
|
|
52
|
+
self.res["spec"] = {}
|
|
53
|
+
if self.params:
|
|
54
|
+
self.res["spec"]["params"] = self.params
|
|
55
|
+
if self.tasks:
|
|
56
|
+
self.res["spec"]["tasks"] = self.tasks
|
|
57
|
+
if self.final_parallel_tasks:
|
|
58
|
+
self.res["spec"]["finally"] = self.final_parallel_tasks
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/resource.py
RENAMED
|
@@ -325,6 +325,7 @@ class Resource:
|
|
|
325
325
|
context=None,
|
|
326
326
|
label=None,
|
|
327
327
|
timeout_seconds=TIMEOUT_1MINUTE,
|
|
328
|
+
api_group=None,
|
|
328
329
|
):
|
|
329
330
|
"""
|
|
330
331
|
Create an API resource
|
|
@@ -343,8 +344,10 @@ class Resource:
|
|
|
343
344
|
context (str): Context name for connecting to remote cluster.
|
|
344
345
|
timeout_seconds (int): timeout for a get api call, call out be terminated after this many seconds
|
|
345
346
|
label (dict): Resource labels
|
|
347
|
+
api_group (str): Resource API group; will overwrite API group definition in resource class
|
|
346
348
|
|
|
347
349
|
"""
|
|
350
|
+
self.api_group = api_group or self.api_group
|
|
348
351
|
if not self.api_group and not self.api_version:
|
|
349
352
|
raise NotImplementedError(
|
|
350
353
|
"Subclasses of Resource require self.api_group or self.api_version to be defined"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: openshift-python-wrapper
|
|
3
|
-
Version: 4.13.
|
|
3
|
+
Version: 4.13.12
|
|
4
4
|
Summary: Wrapper around https://github.com/openshift/openshift-restclient-python
|
|
5
5
|
Author-email: Meni Yakove <myakove@gmail.com>, Ruth Netser <rnetser@gmail.com>
|
|
6
6
|
Project-URL: Homepage, https://github.com/RedHatQE/openshift-python-wrapper
|
|
@@ -92,6 +92,7 @@ ocp_resources/package_manifest.py
|
|
|
92
92
|
ocp_resources/peer_authentication.py
|
|
93
93
|
ocp_resources/persistent_volume.py
|
|
94
94
|
ocp_resources/persistent_volume_claim.py
|
|
95
|
+
ocp_resources/pipeline.py
|
|
95
96
|
ocp_resources/pipelineruns.py
|
|
96
97
|
ocp_resources/plan.py
|
|
97
98
|
ocp_resources/pod.py
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
4.13.10
|
|
File without changes
|
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/__init__.py
RENAMED
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/api_server.py
RENAMED
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/api_service.py
RENAMED
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/backup.py
RENAMED
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/benchmark.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/cdi_config.py
RENAMED
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/chaos_engine.py
RENAMED
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/chaos_result.py
RENAMED
|
File without changes
|
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/cluster_role.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/configmap.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/constants.py
RENAMED
|
File without changes
|
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/cron_job.py
RENAMED
|
File without changes
|
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/csidriver.py
RENAMED
|
File without changes
|
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/daemonset.py
RENAMED
|
File without changes
|
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/data_source.py
RENAMED
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/datavolume.py
RENAMED
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/deployment.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/endpoints.py
RENAMED
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/event.py
RENAMED
|
File without changes
|
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/gateway.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/image.py
RENAMED
|
File without changes
|
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/image_stream.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/installplan.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/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.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/lease.py
RENAMED
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/machine.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/machine_set.py
RENAMED
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/metallb.py
RENAMED
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/migration.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/namespace.py
RENAMED
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/network.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/network_map.py
RENAMED
|
File without changes
|
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/nmstate.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/oauth.py
RENAMED
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/operator.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/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.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/pipelineruns.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/pod_metrics.py
RENAMED
|
File without changes
|
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/project.py
RENAMED
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/prometheus.py
RENAMED
|
File without changes
|
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/provider.py
RENAMED
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/replicaset.py
RENAMED
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/restore.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/role_binding.py
RENAMED
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/route.py
RENAMED
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/scheduler.py
RENAMED
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/secret.py
RENAMED
|
File without changes
|
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/service.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/sriov_network.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/storage_class.py
RENAMED
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/storage_map.py
RENAMED
|
File without changes
|
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/subscription.py
RENAMED
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/tekton_tasks.py
RENAMED
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/ocp_resources/template.py
RENAMED
|
File without changes
|
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openshift-python-wrapper-4.13.10 → openshift-python-wrapper-4.13.12}/tests/test_resources.py
RENAMED
|
File without changes
|
|
File without changes
|