From cda4b03e764521a1caf8d334596908127cdef257 Mon Sep 17 00:00:00 2001 From: Alan Clucas Date: Wed, 4 Sep 2024 11:16:25 +0100 Subject: [PATCH] chore: updates because of comment change Signed-off-by: Alan Clucas --- api/jsonschema/schema.json | 4 ++-- api/openapi-spec/swagger.json | 4 ++-- docs/executor_swagger.md | 4 ++-- docs/fields.md | 4 ++-- pkg/apis/workflow/v1alpha1/generated.proto | 4 ++-- pkg/apis/workflow/v1alpha1/openapi_generated.go | 4 ++-- pkg/plugins/executor/swagger.yml | 4 ++-- .../docs/IoArgoprojWorkflowV1alpha1Synchronization.md | 4 ++-- .../io_argoproj_workflow_v1alpha1_synchronization.py | 8 ++++---- .../docs/IoArgoprojWorkflowV1alpha1Synchronization.md | 4 ++-- 10 files changed, 22 insertions(+), 22 deletions(-) diff --git a/api/jsonschema/schema.json b/api/jsonschema/schema.json index c9f3020e944c..b5a8a9dcf101 100644 --- a/api/jsonschema/schema.json +++ b/api/jsonschema/schema.json @@ -6881,7 +6881,7 @@ "description": "Mutex holds the Mutex lock details - deprecated, use mutexes instead" }, "mutexes": { - "description": "Mutexes holds the list of Mutex lock details", + "description": "v3.6 and after: Mutexes holds the list of Mutex lock details", "items": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Mutex" }, @@ -6892,7 +6892,7 @@ "description": "Semaphore holds the Semaphore configuration - deprecated, use semaphores instead" }, "semaphores": { - "description": "Semaphores holds the list of Semaphores configuration", + "description": "v3.6 and after: Semaphores holds the list of Semaphores configuration", "items": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.SemaphoreRef" }, diff --git a/api/openapi-spec/swagger.json b/api/openapi-spec/swagger.json index e28f9064d608..212d99f58f7b 100644 --- a/api/openapi-spec/swagger.json +++ b/api/openapi-spec/swagger.json @@ -10822,7 +10822,7 @@ "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Mutex" }, "mutexes": { - "description": "Mutexes holds the list of Mutex lock details", + "description": "v3.6 and after: Mutexes holds the list of Mutex lock details", "type": "array", "items": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Mutex" @@ -10833,7 +10833,7 @@ "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.SemaphoreRef" }, "semaphores": { - "description": "Semaphores holds the list of Semaphores configuration", + "description": "v3.6 and after: Semaphores holds the list of Semaphores configuration", "type": "array", "items": { "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.SemaphoreRef" diff --git a/docs/executor_swagger.md b/docs/executor_swagger.md index 01071f904106..78fca1edc0e5 100644 --- a/docs/executor_swagger.md +++ b/docs/executor_swagger.md @@ -3534,9 +3534,9 @@ otherwise). | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| | mutex | [Mutex](#mutex)| `Mutex` | | | | | -| mutexes | [][Mutex](#mutex)| `[]*Mutex` | | | Mutexes holds the list of Mutex lock details | | +| mutexes | [][Mutex](#mutex)| `[]*Mutex` | | | v3.6 and after: Mutexes holds the list of Mutex lock details | | | semaphore | [SemaphoreRef](#semaphore-ref)| `SemaphoreRef` | | | | | -| semaphores | [][SemaphoreRef](#semaphore-ref)| `[]*SemaphoreRef` | | | Semaphores holds the list of Semaphores configuration | | +| semaphores | [][SemaphoreRef](#semaphore-ref)| `[]*SemaphoreRef` | | | v3.6 and after: Semaphores holds the list of Semaphores configuration | | diff --git a/docs/fields.md b/docs/fields.md index 777c0bba4b38..e245c9c3e0ac 100644 --- a/docs/fields.md +++ b/docs/fields.md @@ -1639,9 +1639,9 @@ Synchronization holds synchronization lock configuration | Field Name | Field Type | Description | |:----------:|:----------:|---------------| |`mutex`|[`Mutex`](#mutex)|Mutex holds the Mutex lock details - deprecated, use mutexes instead| -|`mutexes`|`Array<`[`Mutex`](#mutex)`>`|Mutexes holds the list of Mutex lock details| +|`mutexes`|`Array<`[`Mutex`](#mutex)`>`|v3.6 and after: Mutexes holds the list of Mutex lock details| |`semaphore`|[`SemaphoreRef`](#semaphoreref)|Semaphore holds the Semaphore configuration - deprecated, use semaphores instead| -|`semaphores`|`Array<`[`SemaphoreRef`](#semaphoreref)`>`|Semaphores holds the list of Semaphores configuration| +|`semaphores`|`Array<`[`SemaphoreRef`](#semaphoreref)`>`|v3.6 and after: Semaphores holds the list of Semaphores configuration| ## Template diff --git a/pkg/apis/workflow/v1alpha1/generated.proto b/pkg/apis/workflow/v1alpha1/generated.proto index 67cf02491ae7..8ef6e61c9859 100644 --- a/pkg/apis/workflow/v1alpha1/generated.proto +++ b/pkg/apis/workflow/v1alpha1/generated.proto @@ -1557,10 +1557,10 @@ message Synchronization { // Mutex holds the Mutex lock details - deprecated, use mutexes instead optional Mutex mutex = 2; - // Semaphores holds the list of Semaphores configuration + // v3.6 and after: Semaphores holds the list of Semaphores configuration repeated SemaphoreRef semaphores = 3; - // Mutexes holds the list of Mutex lock details + // v3.6 and after: Mutexes holds the list of Mutex lock details repeated Mutex mutexes = 4; } diff --git a/pkg/apis/workflow/v1alpha1/openapi_generated.go b/pkg/apis/workflow/v1alpha1/openapi_generated.go index 830664678343..fcbe4b809b83 100644 --- a/pkg/apis/workflow/v1alpha1/openapi_generated.go +++ b/pkg/apis/workflow/v1alpha1/openapi_generated.go @@ -6031,7 +6031,7 @@ func schema_pkg_apis_workflow_v1alpha1_Synchronization(ref common.ReferenceCallb }, "semaphores": { SchemaProps: spec.SchemaProps{ - Description: "Semaphores holds the list of Semaphores configuration", + Description: "v3.6 and after: Semaphores holds the list of Semaphores configuration", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ @@ -6044,7 +6044,7 @@ func schema_pkg_apis_workflow_v1alpha1_Synchronization(ref common.ReferenceCallb }, "mutexes": { SchemaProps: spec.SchemaProps{ - Description: "Mutexes holds the list of Mutex lock details", + Description: "v3.6 and after: Mutexes holds the list of Mutex lock details", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ diff --git a/pkg/plugins/executor/swagger.yml b/pkg/plugins/executor/swagger.yml index dbb877f5fc99..c8b185a4a5cd 100644 --- a/pkg/plugins/executor/swagger.yml +++ b/pkg/plugins/executor/swagger.yml @@ -3934,14 +3934,14 @@ definitions: mutex: $ref: '#/definitions/Mutex' mutexes: - description: Mutexes holds the list of Mutex lock details + description: 'v3.6 and after: Mutexes holds the list of Mutex lock details' items: $ref: '#/definitions/Mutex' type: array semaphore: $ref: '#/definitions/SemaphoreRef' semaphores: - description: Semaphores holds the list of Semaphores configuration + description: 'v3.6 and after: Semaphores holds the list of Semaphores configuration' items: $ref: '#/definitions/SemaphoreRef' type: array diff --git a/sdks/java/client/docs/IoArgoprojWorkflowV1alpha1Synchronization.md b/sdks/java/client/docs/IoArgoprojWorkflowV1alpha1Synchronization.md index 310e05a2f1d6..9cb40edb1f3d 100644 --- a/sdks/java/client/docs/IoArgoprojWorkflowV1alpha1Synchronization.md +++ b/sdks/java/client/docs/IoArgoprojWorkflowV1alpha1Synchronization.md @@ -9,9 +9,9 @@ Synchronization holds synchronization lock configuration Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **mutex** | [**IoArgoprojWorkflowV1alpha1Mutex**](IoArgoprojWorkflowV1alpha1Mutex.md) | | [optional] -**mutexes** | [**List<IoArgoprojWorkflowV1alpha1Mutex>**](IoArgoprojWorkflowV1alpha1Mutex.md) | Mutexes holds the list of Mutex lock details | [optional] +**mutexes** | [**List<IoArgoprojWorkflowV1alpha1Mutex>**](IoArgoprojWorkflowV1alpha1Mutex.md) | v3.6 and after: Mutexes holds the list of Mutex lock details | [optional] **semaphore** | [**IoArgoprojWorkflowV1alpha1SemaphoreRef**](IoArgoprojWorkflowV1alpha1SemaphoreRef.md) | | [optional] -**semaphores** | [**List<IoArgoprojWorkflowV1alpha1SemaphoreRef>**](IoArgoprojWorkflowV1alpha1SemaphoreRef.md) | Semaphores holds the list of Semaphores configuration | [optional] +**semaphores** | [**List<IoArgoprojWorkflowV1alpha1SemaphoreRef>**](IoArgoprojWorkflowV1alpha1SemaphoreRef.md) | v3.6 and after: Semaphores holds the list of Semaphores configuration | [optional] diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_synchronization.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_synchronization.py index 95fa013e6b89..c92ea14a75b2 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_synchronization.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_synchronization.py @@ -149,9 +149,9 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) mutex (IoArgoprojWorkflowV1alpha1Mutex): [optional] # noqa: E501 - mutexes ([IoArgoprojWorkflowV1alpha1Mutex]): Mutexes holds the list of Mutex lock details. [optional] # noqa: E501 + mutexes ([IoArgoprojWorkflowV1alpha1Mutex]): v3.6 and after: Mutexes holds the list of Mutex lock details. [optional] # noqa: E501 semaphore (IoArgoprojWorkflowV1alpha1SemaphoreRef): [optional] # noqa: E501 - semaphores ([IoArgoprojWorkflowV1alpha1SemaphoreRef]): Semaphores holds the list of Semaphores configuration. [optional] # noqa: E501 + semaphores ([IoArgoprojWorkflowV1alpha1SemaphoreRef]): v3.6 and after: Semaphores holds the list of Semaphores configuration. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -234,9 +234,9 @@ def __init__(self, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) mutex (IoArgoprojWorkflowV1alpha1Mutex): [optional] # noqa: E501 - mutexes ([IoArgoprojWorkflowV1alpha1Mutex]): Mutexes holds the list of Mutex lock details. [optional] # noqa: E501 + mutexes ([IoArgoprojWorkflowV1alpha1Mutex]): v3.6 and after: Mutexes holds the list of Mutex lock details. [optional] # noqa: E501 semaphore (IoArgoprojWorkflowV1alpha1SemaphoreRef): [optional] # noqa: E501 - semaphores ([IoArgoprojWorkflowV1alpha1SemaphoreRef]): Semaphores holds the list of Semaphores configuration. [optional] # noqa: E501 + semaphores ([IoArgoprojWorkflowV1alpha1SemaphoreRef]): v3.6 and after: Semaphores holds the list of Semaphores configuration. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sdks/python/client/docs/IoArgoprojWorkflowV1alpha1Synchronization.md b/sdks/python/client/docs/IoArgoprojWorkflowV1alpha1Synchronization.md index 829ce269c1fc..c53c3e24cf2b 100644 --- a/sdks/python/client/docs/IoArgoprojWorkflowV1alpha1Synchronization.md +++ b/sdks/python/client/docs/IoArgoprojWorkflowV1alpha1Synchronization.md @@ -6,9 +6,9 @@ Synchronization holds synchronization lock configuration Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **mutex** | [**IoArgoprojWorkflowV1alpha1Mutex**](IoArgoprojWorkflowV1alpha1Mutex.md) | | [optional] -**mutexes** | [**[IoArgoprojWorkflowV1alpha1Mutex]**](IoArgoprojWorkflowV1alpha1Mutex.md) | Mutexes holds the list of Mutex lock details | [optional] +**mutexes** | [**[IoArgoprojWorkflowV1alpha1Mutex]**](IoArgoprojWorkflowV1alpha1Mutex.md) | v3.6 and after: Mutexes holds the list of Mutex lock details | [optional] **semaphore** | [**IoArgoprojWorkflowV1alpha1SemaphoreRef**](IoArgoprojWorkflowV1alpha1SemaphoreRef.md) | | [optional] -**semaphores** | [**[IoArgoprojWorkflowV1alpha1SemaphoreRef]**](IoArgoprojWorkflowV1alpha1SemaphoreRef.md) | Semaphores holds the list of Semaphores configuration | [optional] +**semaphores** | [**[IoArgoprojWorkflowV1alpha1SemaphoreRef]**](IoArgoprojWorkflowV1alpha1SemaphoreRef.md) | v3.6 and after: Semaphores holds the list of Semaphores configuration | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)