Skip to content
This repository has been archived by the owner on Oct 26, 2021. It is now read-only.

update from latest swagger.json; incorporate nested-arrays fix #7

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
update from latest swagger.json; incorporate nested-arrays fix
  • Loading branch information
crenshaw-dev committed Mar 16, 2020
commit 9097f648cfb47bde78c29cd5cf0ad61145d54313
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# argo-client-java

Argo
- API version: latest
pkg/apiclient/cronworkflow/cron-proto
- API version: version not set

Workflow Service API performs CRUD actions against application resources

Expand Down Expand Up @@ -200,6 +200,7 @@ Class | Method | HTTP request | Description
- [IntOrString](docs/IntOrString.md)
- [Item](docs/Item.md)
- [ItemValue](docs/ItemValue.md)
- [K8sIoApiPolicyV1beta1PodDisruptionBudgetSpec](docs/K8sIoApiPolicyV1beta1PodDisruptionBudgetSpec.md)
- [KeyToPath](docs/KeyToPath.md)
- [LabelSelector](docs/LabelSelector.md)
- [LabelSelectorRequirement](docs/LabelSelectorRequirement.md)
Expand All @@ -213,10 +214,11 @@ Class | Method | HTTP request | Description
- [NodeSelectorRequirement](docs/NodeSelectorRequirement.md)
- [NodeSelectorTerm](docs/NodeSelectorTerm.md)
- [NodeStatus](docs/NodeStatus.md)
- [OSSArtifact](docs/OSSArtifact.md)
- [OSSBucket](docs/OSSBucket.md)
- [ObjectFieldSelector](docs/ObjectFieldSelector.md)
- [Outputs](docs/Outputs.md)
- [OwnerReference](docs/OwnerReference.md)
- [ParallelSteps](docs/ParallelSteps.md)
- [Parameter](docs/Parameter.md)
- [PersistentVolumeClaimCondition](docs/PersistentVolumeClaimCondition.md)
- [PersistentVolumeClaimSpec](docs/PersistentVolumeClaimSpec.md)
Expand Down
1 change: 1 addition & 0 deletions docs/ArtifactLocation.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Name | Type | Description | Notes
**git** | [**GitArtifact**](GitArtifact.md) | | [optional]
**hdfs** | [**HDFSArtifact**](HDFSArtifact.md) | | [optional]
**http** | [**HTTPArtifact**](HTTPArtifact.md) | | [optional]
**oss** | [**OSSArtifact**](OSSArtifact.md) | | [optional]
**raw** | [**RawArtifact**](RawArtifact.md) | | [optional]
**s3** | [**S3Artifact**](S3Artifact.md) | | [optional]

Expand Down
1 change: 1 addition & 0 deletions docs/CronWorkflowSpec.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Name | Type | Description | Notes
**successfulJobsHistoryLimit** | **Integer** | | [optional]
**suspend** | **Boolean** | | [optional]
**timezone** | **String** | Timezone is the timezone against which the cron schedule will be calculated, e.g. \"Asia/Tokyo\". Default is machine's local time. | [optional]
**workflowMeta** | [**io.kubernetes.client.models.V1ObjectMeta**](io.kubernetes.client.models.V1ObjectMeta.md) | | [optional]
**workflowSpec** | [**WorkflowSpec**](WorkflowSpec.md) | | [optional]


Expand Down
15 changes: 15 additions & 0 deletions docs/K8sIoApiPolicyV1beta1PodDisruptionBudgetSpec.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@


# K8sIoApiPolicyV1beta1PodDisruptionBudgetSpec

PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.
## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**maxUnavailable** | [**IntOrString**](IntOrString.md) | | [optional]
**minAvailable** | [**IntOrString**](IntOrString.md) | | [optional]
**selector** | [**LabelSelector**](LabelSelector.md) | | [optional]



1 change: 1 addition & 0 deletions docs/LogEntry.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**content** | **String** | | [optional]
**podName** | **String** | | [optional]



5 changes: 3 additions & 2 deletions docs/ParallelSteps.md → docs/OSSArtifact.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@


# ParallelSteps
# OSSArtifact

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**steps** | [**List<WorkflowStep>**](WorkflowStep.md) | | [optional]
**key** | **String** | | [optional]
**oSSBucket** | [**OSSBucket**](OSSBucket.md) | | [optional]



15 changes: 15 additions & 0 deletions docs/OSSBucket.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@


# OSSBucket

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**accessKeySecret** | [**io.kubernetes.client.models.V1SecretKeySelector**](io.kubernetes.client.models.V1SecretKeySelector.md) | | [optional]
**bucket** | **String** | | [optional]
**endpoint** | **String** | | [optional]
**secretKeySecret** | [**io.kubernetes.client.models.V1SecretKeySelector**](io.kubernetes.client.models.V1SecretKeySelector.md) | | [optional]



2 changes: 1 addition & 1 deletion docs/Template.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Name | Type | Description | Notes
**securityContext** | [**io.kubernetes.client.models.V1PodSecurityContext**](io.kubernetes.client.models.V1PodSecurityContext.md) | | [optional]
**serviceAccountName** | **String** | | [optional]
**sidecars** | [**List<UserContainer>**](UserContainer.md) | | [optional]
**steps** | [**List<ParallelSteps>**](ParallelSteps.md) | | [optional]
**steps** | [**List<List<WorkflowStep>>**](List.md) | | [optional]
**suspend** | [**SuspendTemplate**](SuspendTemplate.md) | | [optional]
**template** | **String** | Template is the name of the template which is used as the base of this template. | [optional]
**templateRef** | [**TemplateRef**](TemplateRef.md) | | [optional]
Expand Down
12 changes: 8 additions & 4 deletions docs/WorkflowServiceApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ No authorization required

<a name="getWorkflow"></a>
# **getWorkflow**
> Workflow getWorkflow(namespace, name, getOptionsResourceVersion)
> Workflow getWorkflow(namespace, name, getOptionsResourceVersion, fields)



Expand All @@ -178,8 +178,9 @@ public class Example {
String namespace = "namespace_example"; // String |
String name = "name_example"; // String |
String getOptionsResourceVersion = "getOptionsResourceVersion_example"; // String | When specified: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
String fields = "fields_example"; // String | Fields to be included or excluded in the response. e.g. \"spec,status.phase\", \"-status.nodes\".
try {
Workflow result = apiInstance.getWorkflow(namespace, name, getOptionsResourceVersion);
Workflow result = apiInstance.getWorkflow(namespace, name, getOptionsResourceVersion, fields);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling WorkflowServiceApi#getWorkflow");
Expand All @@ -199,6 +200,7 @@ Name | Type | Description | Notes
**namespace** | **String**| |
**name** | **String**| |
**getOptionsResourceVersion** | **String**| When specified: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it&#39;s 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional]
**fields** | **String**| Fields to be included or excluded in the response. e.g. \&quot;spec,status.phase\&quot;, \&quot;-status.nodes\&quot;. | [optional]

### Return type

Expand Down Expand Up @@ -282,7 +284,7 @@ No authorization required

<a name="listWorkflows"></a>
# **listWorkflows**
> WorkflowList listWorkflows(namespace, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue)
> WorkflowList listWorkflows(namespace, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, fields)



Expand Down Expand Up @@ -310,8 +312,9 @@ public class Example {
String listOptionsTimeoutSeconds = "listOptionsTimeoutSeconds_example"; // String | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional.
String listOptionsLimit = "listOptionsLimit_example"; // String | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
String listOptionsContinue = "listOptionsContinue_example"; // String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
String fields = "fields_example"; // String | Fields to be included or excluded in the response. e.g. \"items.spec,items.status.phase\", \"-items.status.nodes\".
try {
WorkflowList result = apiInstance.listWorkflows(namespace, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue);
WorkflowList result = apiInstance.listWorkflows(namespace, listOptionsLabelSelector, listOptionsFieldSelector, listOptionsWatch, listOptionsAllowWatchBookmarks, listOptionsResourceVersion, listOptionsTimeoutSeconds, listOptionsLimit, listOptionsContinue, fields);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling WorkflowServiceApi#listWorkflows");
Expand All @@ -337,6 +340,7 @@ Name | Type | Description | Notes
**listOptionsTimeoutSeconds** | **String**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. | [optional]
**listOptionsLimit** | **String**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the &#x60;continue&#x60; field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional]
**listOptionsContinue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \&quot;next key\&quot;. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional]
**fields** | **String**| Fields to be included or excluded in the response. e.g. \&quot;items.spec,items.status.phase\&quot;, \&quot;-items.status.nodes\&quot;. | [optional]

### Return type

Expand Down
1 change: 1 addition & 0 deletions docs/WorkflowSpec.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Name | Type | Description | Notes
**nodeSelector** | **Map&lt;String, String&gt;** | NodeSelector is a selector which will result in all pods of the workflow to be scheduled on the selected node(s). This is able to be overridden by a nodeSelector specified in the template. | [optional]
**onExit** | **String** | OnExit is a template reference which is invoked at the end of the workflow, irrespective of the success, failure, or error of the primary | [optional]
**parallelism** | **String** | | [optional]
**podDisruptionBudget** | [**K8sIoApiPolicyV1beta1PodDisruptionBudgetSpec**](K8sIoApiPolicyV1beta1PodDisruptionBudgetSpec.md) | | [optional]
**podGC** | [**PodGC**](PodGC.md) | | [optional]
**podPriority** | **Integer** | Priority to apply to workflow pods. | [optional]
**podPriorityClassName** | **String** | PriorityClassName to apply to workflow pods. | [optional]
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/io/argoproj/workflow/ApiCallback.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
* Argo
* pkg/apiclient/cronworkflow/cron-proto
* Workflow Service API performs CRUD actions against application resources
*
* The version of the OpenAPI document: latest
* The version of the OpenAPI document: version not set
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/io/argoproj/workflow/ApiClient.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
* Argo
* pkg/apiclient/cronworkflow/cron-proto
* Workflow Service API performs CRUD actions against application resources
*
* The version of the OpenAPI document: latest
* The version of the OpenAPI document: version not set
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/io/argoproj/workflow/ApiException.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
* Argo
* pkg/apiclient/cronworkflow/cron-proto
* Workflow Service API performs CRUD actions against application resources
*
* The version of the OpenAPI document: latest
* The version of the OpenAPI document: version not set
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/io/argoproj/workflow/ApiResponse.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
* Argo
* pkg/apiclient/cronworkflow/cron-proto
* Workflow Service API performs CRUD actions against application resources
*
* The version of the OpenAPI document: latest
* The version of the OpenAPI document: version not set
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/io/argoproj/workflow/Configuration.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
* Argo
* pkg/apiclient/cronworkflow/cron-proto
* Workflow Service API performs CRUD actions against application resources
*
* The version of the OpenAPI document: latest
* The version of the OpenAPI document: version not set
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
* Argo
* pkg/apiclient/cronworkflow/cron-proto
* Workflow Service API performs CRUD actions against application resources
*
* The version of the OpenAPI document: latest
* The version of the OpenAPI document: version not set
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/io/argoproj/workflow/JSON.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
* Argo
* pkg/apiclient/cronworkflow/cron-proto
* Workflow Service API performs CRUD actions against application resources
*
* The version of the OpenAPI document: latest
* The version of the OpenAPI document: version not set
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/io/argoproj/workflow/Pair.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
* Argo
* pkg/apiclient/cronworkflow/cron-proto
* Workflow Service API performs CRUD actions against application resources
*
* The version of the OpenAPI document: latest
* The version of the OpenAPI document: version not set
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/io/argoproj/workflow/ProgressRequestBody.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
* Argo
* pkg/apiclient/cronworkflow/cron-proto
* Workflow Service API performs CRUD actions against application resources
*
* The version of the OpenAPI document: latest
* The version of the OpenAPI document: version not set
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/io/argoproj/workflow/ProgressResponseBody.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
* Argo
* pkg/apiclient/cronworkflow/cron-proto
* Workflow Service API performs CRUD actions against application resources
*
* The version of the OpenAPI document: latest
* The version of the OpenAPI document: version not set
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/io/argoproj/workflow/StringUtil.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
* Argo
* pkg/apiclient/cronworkflow/cron-proto
* Workflow Service API performs CRUD actions against application resources
*
* The version of the OpenAPI document: latest
* The version of the OpenAPI document: version not set
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
* Argo
* pkg/apiclient/cronworkflow/cron-proto
* Workflow Service API performs CRUD actions against application resources
*
* The version of the OpenAPI document: latest
* The version of the OpenAPI document: version not set
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
* Argo
* pkg/apiclient/cronworkflow/cron-proto
* Workflow Service API performs CRUD actions against application resources
*
* The version of the OpenAPI document: latest
* The version of the OpenAPI document: version not set
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/io/argoproj/workflow/apis/InfoServiceApi.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
* Argo
* pkg/apiclient/cronworkflow/cron-proto
* Workflow Service API performs CRUD actions against application resources
*
* The version of the OpenAPI document: latest
* The version of the OpenAPI document: version not set
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Loading