From 89d012b7a7e5d72619364f9d3104102ff3299d51 Mon Sep 17 00:00:00 2001 From: Derek Wang Date: Mon, 21 Sep 2020 12:05:46 -0700 Subject: [PATCH 1/2] Upgrade io.kubernetes client version to v9.0.0 --- Makefile | 50 ++++---- docs/ArtifactoryArtifact.md | 4 +- docs/CSIVolumeSource.md | 2 +- docs/CephFSVolumeSource.md | 2 +- docs/CinderVolumeSource.md | 2 +- docs/ClusterWorkflowTemplate.md | 2 +- docs/ClusterWorkflowTemplateList.md | 2 +- docs/CronWorkflow.md | 2 +- docs/CronWorkflowList.md | 2 +- docs/CronWorkflowSpec.md | 2 +- docs/CronWorkflowStatus.md | 2 +- docs/EnvVarSource.md | 4 +- docs/FlexVolumeSource.md | 2 +- docs/GCSArtifact.md | 2 +- docs/GitArtifact.md | 6 +- docs/HDFSArtifact.md | 6 +- docs/ISCSIVolumeSource.md | 2 +- docs/OSSArtifact.md | 4 +- docs/PersistentVolumeClaimSpec.md | 2 +- docs/RBDVolumeSource.md | 2 +- docs/S3Artifact.md | 4 +- docs/ScaleIOVolumeSource.md | 2 +- docs/ScriptTemplate.md | 22 ++-- docs/SemaphoreRef.md | 2 +- docs/Status.md | 2 +- docs/StorageOSVolumeSource.md | 2 +- docs/Template.md | 12 +- docs/UserContainer.md | 22 ++-- docs/Workflow.md | 2 +- docs/WorkflowList.md | 2 +- docs/WorkflowSpec.md | 16 +-- docs/WorkflowStatus.md | 2 +- docs/WorkflowTemplate.md | 2 +- docs/WorkflowTemplateList.md | 2 +- docs/WorkflowTemplateSpec.md | 18 +-- pom.xml | 2 +- .../workflow/models/ArtifactoryArtifact.java | 16 +-- .../workflow/models/CSIVolumeSource.java | 8 +- .../workflow/models/CephFSVolumeSource.java | 8 +- .../workflow/models/CinderVolumeSource.java | 8 +- .../models/ClusterWorkflowTemplate.java | 8 +- .../models/ClusterWorkflowTemplateList.java | 8 +- .../workflow/models/CronWorkflow.java | 8 +- .../workflow/models/CronWorkflowList.java | 8 +- .../workflow/models/CronWorkflowSpec.java | 8 +- .../workflow/models/CronWorkflowStatus.java | 12 +- .../workflow/models/EnvVarSource.java | 16 +-- .../workflow/models/FlexVolumeSource.java | 8 +- .../argoproj/workflow/models/GCSArtifact.java | 8 +- .../argoproj/workflow/models/GitArtifact.java | 24 ++-- .../workflow/models/HDFSArtifact.java | 24 ++-- .../workflow/models/ISCSIVolumeSource.java | 8 +- .../argoproj/workflow/models/OSSArtifact.java | 16 +-- .../models/PersistentVolumeClaimSpec.java | 8 +- .../workflow/models/RBDVolumeSource.java | 8 +- .../argoproj/workflow/models/S3Artifact.java | 16 +-- .../workflow/models/ScaleIOVolumeSource.java | 8 +- .../workflow/models/ScriptTemplate.java | 108 +++++++++--------- .../workflow/models/SemaphoreRef.java | 8 +- .../io/argoproj/workflow/models/Status.java | 8 +- .../models/StorageOSVolumeSource.java | 8 +- .../io/argoproj/workflow/models/Template.java | 60 +++++----- .../workflow/models/UserContainer.java | 108 +++++++++--------- .../io/argoproj/workflow/models/Workflow.java | 8 +- .../workflow/models/WorkflowList.java | 8 +- .../workflow/models/WorkflowSpec.java | 84 +++++++------- .../workflow/models/WorkflowStatus.java | 12 +- .../workflow/models/WorkflowTemplate.java | 8 +- .../workflow/models/WorkflowTemplateList.java | 8 +- .../workflow/models/WorkflowTemplateSpec.java | 92 +++++++-------- 70 files changed, 486 insertions(+), 486 deletions(-) diff --git a/Makefile b/Makefile index 84ce6143..c1c6d719 100644 --- a/Makefile +++ b/Makefile @@ -19,33 +19,33 @@ build: --artifact-id argo-client-java \ --artifact-version $(VERSION) \ --import-mappings Time=org.joda.time.DateTime \ - --import-mappings Affinity=io.kubernetes.client.models.V1Affinity \ - --import-mappings ConfigMapKeySelector=io.kubernetes.client.models.V1ConfigMapKeySelector \ - --import-mappings Container=io.kubernetes.client.models.V1Container \ - --import-mappings ContainerPort=io.kubernetes.client.models.V1ContainerPort \ - --import-mappings EnvFromSource=io.kubernetes.client.models.V1EnvFromSource \ - --import-mappings EnvVar=io.kubernetes.client.models.V1EnvVar \ - --import-mappings HostAlias=io.kubernetes.client.models.V1HostAlias \ - --import-mappings Lifecycle=io.kubernetes.client.models.V1Lifecycle \ - --import-mappings ListMeta=io.kubernetes.client.models.V1ListMeta \ - --import-mappings LocalObjectReference=io.kubernetes.client.models.V1LocalObjectReference \ - --import-mappings ObjectMeta=io.kubernetes.client.models.V1ObjectMeta \ - --import-mappings ObjectReference=io.kubernetes.client.models.V1ObjectReference \ - --import-mappings PersistentVolumeClaim=io.kubernetes.client.models.V1PersistentVolumeClaim \ - --import-mappings PodDisruptionBudgetSpec=io.kubernetes.client.models.V1beta1PodDisruptionBudgetSpec \ - --import-mappings PodDNSConfig=io.kubernetes.client.models.V1PodDNSConfig \ - --import-mappings PodSecurityContext=io.kubernetes.client.models.V1PodSecurityContext \ - --import-mappings Probe=io.kubernetes.client.models.V1Probe \ - --import-mappings ResourceRequirements=io.kubernetes.client.models.V1ResourceRequirements \ - --import-mappings SecretKeySelector=io.kubernetes.client.models.V1SecretKeySelector \ - --import-mappings SecurityContext=io.kubernetes.client.models.V1SecurityContext \ - --import-mappings Toleration=io.kubernetes.client.models.V1Toleration \ - --import-mappings Volume=io.kubernetes.client.models.V1Volume \ - --import-mappings VolumeDevice=io.kubernetes.client.models.V1VolumeDevice \ - --import-mappings VolumeMount=io.kubernetes.client.models.V1VolumeMount \ + --import-mappings Affinity=io.kubernetes.client.openapi.models.V1Affinity \ + --import-mappings ConfigMapKeySelector=io.kubernetes.client.openapi.models.V1ConfigMapKeySelector \ + --import-mappings Container=io.kubernetes.client.openapi.models.V1Container \ + --import-mappings ContainerPort=io.kubernetes.client.openapi.models.V1ContainerPort \ + --import-mappings EnvFromSource=io.kubernetes.client.openapi.models.V1EnvFromSource \ + --import-mappings EnvVar=io.kubernetes.client.openapi.models.V1EnvVar \ + --import-mappings HostAlias=io.kubernetes.client.openapi.models.V1HostAlias \ + --import-mappings Lifecycle=io.kubernetes.client.openapi.models.V1Lifecycle \ + --import-mappings ListMeta=io.kubernetes.client.openapi.models.V1ListMeta \ + --import-mappings LocalObjectReference=io.kubernetes.client.openapi.models.V1LocalObjectReference \ + --import-mappings ObjectMeta=io.kubernetes.client.openapi.models.V1ObjectMeta \ + --import-mappings ObjectReference=io.kubernetes.client.openapi.models.V1ObjectReference \ + --import-mappings PersistentVolumeClaim=io.kubernetes.client.openapi.models.V1PersistentVolumeClaim \ + --import-mappings PodDisruptionBudgetSpec=io.kubernetes.client.openapi.models.V1beta1PodDisruptionBudgetSpec \ + --import-mappings PodDNSConfig=io.kubernetes.client.openapi.models.V1PodDNSConfig \ + --import-mappings PodSecurityContext=io.kubernetes.client.openapi.models.V1PodSecurityContext \ + --import-mappings Probe=io.kubernetes.client.openapi.models.V1Probe \ + --import-mappings ResourceRequirements=io.kubernetes.client.openapi.models.V1ResourceRequirements \ + --import-mappings SecretKeySelector=io.kubernetes.client.openapi.models.V1SecretKeySelector \ + --import-mappings SecurityContext=io.kubernetes.client.openapi.models.V1SecurityContext \ + --import-mappings Toleration=io.kubernetes.client.openapi.models.V1Toleration \ + --import-mappings Volume=io.kubernetes.client.openapi.models.V1Volume \ + --import-mappings VolumeDevice=io.kubernetes.client.openapi.models.V1VolumeDevice \ + --import-mappings VolumeMount=io.kubernetes.client.openapi.models.V1VolumeMount \ --generate-alias-as-model # add the io.kubernetes:java-client to the deps - sed 's//io.kubernetes<\/groupId>client-java<\/artifactId>5.0.0<\/version><\/dependency>/g' pom.xml > tmp && mv tmp pom.xml + sed 's//io.kubernetes<\/groupId>client-java<\/artifactId>9.0.0<\/version><\/dependency>/g' pom.xml > tmp && mv tmp pom.xml docker run -v ~/.m2:/root/.m2 -v `pwd`:/wd -w /wd maven:3-openjdk-8 \ mvn install -DskipTests -Dmaven.javadoc.skip git add . diff --git a/docs/ArtifactoryArtifact.md b/docs/ArtifactoryArtifact.md index 52aee276..c48a2691 100644 --- a/docs/ArtifactoryArtifact.md +++ b/docs/ArtifactoryArtifact.md @@ -7,9 +7,9 @@ ArtifactoryArtifact is the location of an artifactory artifact Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**passwordSecret** | [**io.kubernetes.client.models.V1SecretKeySelector**](io.kubernetes.client.models.V1SecretKeySelector.md) | | [optional] +**passwordSecret** | [**io.kubernetes.client.openapi.models.V1SecretKeySelector**](io.kubernetes.client.openapi.models.V1SecretKeySelector.md) | | [optional] **url** | **String** | URL of the artifact | -**usernameSecret** | [**io.kubernetes.client.models.V1SecretKeySelector**](io.kubernetes.client.models.V1SecretKeySelector.md) | | [optional] +**usernameSecret** | [**io.kubernetes.client.openapi.models.V1SecretKeySelector**](io.kubernetes.client.openapi.models.V1SecretKeySelector.md) | | [optional] diff --git a/docs/CSIVolumeSource.md b/docs/CSIVolumeSource.md index 41e30547..4bad8677 100644 --- a/docs/CSIVolumeSource.md +++ b/docs/CSIVolumeSource.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **driver** | **String** | Driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. | **fsType** | **String** | Filesystem type to mount. Ex. \"ext4\", \"xfs\", \"ntfs\". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply. | [optional] -**nodePublishSecretRef** | [**io.kubernetes.client.models.V1LocalObjectReference**](io.kubernetes.client.models.V1LocalObjectReference.md) | | [optional] +**nodePublishSecretRef** | [**io.kubernetes.client.openapi.models.V1LocalObjectReference**](io.kubernetes.client.openapi.models.V1LocalObjectReference.md) | | [optional] **readOnly** | **Boolean** | Specifies a read-only configuration for the volume. Defaults to false (read/write). | [optional] **volumeAttributes** | **Map<String, String>** | VolumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values. | [optional] diff --git a/docs/CephFSVolumeSource.md b/docs/CephFSVolumeSource.md index 5907dcf0..598dd105 100644 --- a/docs/CephFSVolumeSource.md +++ b/docs/CephFSVolumeSource.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes **path** | **String** | Optional: Used as the mounted root, rather than the full Ceph tree, default is / | [optional] **readOnly** | **Boolean** | Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it | [optional] **secretFile** | **String** | Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it | [optional] -**secretRef** | [**io.kubernetes.client.models.V1LocalObjectReference**](io.kubernetes.client.models.V1LocalObjectReference.md) | | [optional] +**secretRef** | [**io.kubernetes.client.openapi.models.V1LocalObjectReference**](io.kubernetes.client.openapi.models.V1LocalObjectReference.md) | | [optional] **user** | **String** | Optional: User is the rados user name, default is admin More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it | [optional] diff --git a/docs/CinderVolumeSource.md b/docs/CinderVolumeSource.md index 185330fe..0477be3f 100644 --- a/docs/CinderVolumeSource.md +++ b/docs/CinderVolumeSource.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **fsType** | **String** | Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md | [optional] **readOnly** | **Boolean** | Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md | [optional] -**secretRef** | [**io.kubernetes.client.models.V1LocalObjectReference**](io.kubernetes.client.models.V1LocalObjectReference.md) | | [optional] +**secretRef** | [**io.kubernetes.client.openapi.models.V1LocalObjectReference**](io.kubernetes.client.openapi.models.V1LocalObjectReference.md) | | [optional] **volumeID** | **String** | volume id used to identify the volume in cinder More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md | diff --git a/docs/ClusterWorkflowTemplate.md b/docs/ClusterWorkflowTemplate.md index ec331e8e..0d0456a7 100644 --- a/docs/ClusterWorkflowTemplate.md +++ b/docs/ClusterWorkflowTemplate.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.io.k8s.community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.io.k8s.community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] -**metadata** | [**io.kubernetes.client.models.V1ObjectMeta**](io.kubernetes.client.models.V1ObjectMeta.md) | | +**metadata** | [**io.kubernetes.client.openapi.models.V1ObjectMeta**](io.kubernetes.client.openapi.models.V1ObjectMeta.md) | | **spec** | [**WorkflowTemplateSpec**](WorkflowTemplateSpec.md) | | diff --git a/docs/ClusterWorkflowTemplateList.md b/docs/ClusterWorkflowTemplateList.md index 11aa5433..0659b427 100644 --- a/docs/ClusterWorkflowTemplateList.md +++ b/docs/ClusterWorkflowTemplateList.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes **apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.io.k8s.community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**List<ClusterWorkflowTemplate>**](ClusterWorkflowTemplate.md) | | **kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.io.k8s.community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] -**metadata** | [**io.kubernetes.client.models.V1ListMeta**](io.kubernetes.client.models.V1ListMeta.md) | | +**metadata** | [**io.kubernetes.client.openapi.models.V1ListMeta**](io.kubernetes.client.openapi.models.V1ListMeta.md) | | diff --git a/docs/CronWorkflow.md b/docs/CronWorkflow.md index 30a04174..c6be84a0 100644 --- a/docs/CronWorkflow.md +++ b/docs/CronWorkflow.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.io.k8s.community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.io.k8s.community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] -**metadata** | [**io.kubernetes.client.models.V1ObjectMeta**](io.kubernetes.client.models.V1ObjectMeta.md) | | +**metadata** | [**io.kubernetes.client.openapi.models.V1ObjectMeta**](io.kubernetes.client.openapi.models.V1ObjectMeta.md) | | **spec** | [**CronWorkflowSpec**](CronWorkflowSpec.md) | | **status** | [**CronWorkflowStatus**](CronWorkflowStatus.md) | | [optional] diff --git a/docs/CronWorkflowList.md b/docs/CronWorkflowList.md index ce1edad0..d9307542 100644 --- a/docs/CronWorkflowList.md +++ b/docs/CronWorkflowList.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes **apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.io.k8s.community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**List<CronWorkflow>**](CronWorkflow.md) | | **kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.io.k8s.community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] -**metadata** | [**io.kubernetes.client.models.V1ListMeta**](io.kubernetes.client.models.V1ListMeta.md) | | +**metadata** | [**io.kubernetes.client.openapi.models.V1ListMeta**](io.kubernetes.client.openapi.models.V1ListMeta.md) | | diff --git a/docs/CronWorkflowSpec.md b/docs/CronWorkflowSpec.md index 3e587a1b..6c6619a1 100644 --- a/docs/CronWorkflowSpec.md +++ b/docs/CronWorkflowSpec.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes **successfulJobsHistoryLimit** | **Integer** | SuccessfulJobsHistoryLimit is the number of successful jobs to be kept at a time | [optional] **suspend** | **Boolean** | Suspend is a flag that will stop new CronWorkflows from running if set to true | [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] -**workflowMetadata** | [**io.kubernetes.client.models.V1ObjectMeta**](io.kubernetes.client.models.V1ObjectMeta.md) | | [optional] +**workflowMetadata** | [**io.kubernetes.client.openapi.models.V1ObjectMeta**](io.kubernetes.client.openapi.models.V1ObjectMeta.md) | | [optional] **workflowSpec** | [**WorkflowSpec**](WorkflowSpec.md) | | diff --git a/docs/CronWorkflowStatus.md b/docs/CronWorkflowStatus.md index 37b598a0..e71d15a4 100644 --- a/docs/CronWorkflowStatus.md +++ b/docs/CronWorkflowStatus.md @@ -7,7 +7,7 @@ CronWorkflowStatus is the status of a CronWorkflow Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**active** | [**List<io.kubernetes.client.models.V1ObjectReference>**](io.kubernetes.client.models.V1ObjectReference.md) | Active is a list of active workflows stemming from this CronWorkflow | [optional] +**active** | [**List<io.kubernetes.client.openapi.models.V1ObjectReference>**](io.kubernetes.client.openapi.models.V1ObjectReference.md) | Active is a list of active workflows stemming from this CronWorkflow | [optional] **conditions** | [**List<Condition>**](Condition.md) | Conditions is a list of conditions the CronWorkflow may have | [optional] **lastScheduledTime** | [**org.joda.time.DateTime**](org.joda.time.DateTime.md) | | [optional] diff --git a/docs/EnvVarSource.md b/docs/EnvVarSource.md index 2d8acf34..71905f74 100644 --- a/docs/EnvVarSource.md +++ b/docs/EnvVarSource.md @@ -7,10 +7,10 @@ EnvVarSource represents a source for the value of an EnvVar. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**configMapKeyRef** | [**io.kubernetes.client.models.V1ConfigMapKeySelector**](io.kubernetes.client.models.V1ConfigMapKeySelector.md) | | [optional] +**configMapKeyRef** | [**io.kubernetes.client.openapi.models.V1ConfigMapKeySelector**](io.kubernetes.client.openapi.models.V1ConfigMapKeySelector.md) | | [optional] **fieldRef** | [**ObjectFieldSelector**](ObjectFieldSelector.md) | | [optional] **resourceFieldRef** | [**ResourceFieldSelector**](ResourceFieldSelector.md) | | [optional] -**secretKeyRef** | [**io.kubernetes.client.models.V1SecretKeySelector**](io.kubernetes.client.models.V1SecretKeySelector.md) | | [optional] +**secretKeyRef** | [**io.kubernetes.client.openapi.models.V1SecretKeySelector**](io.kubernetes.client.openapi.models.V1SecretKeySelector.md) | | [optional] diff --git a/docs/FlexVolumeSource.md b/docs/FlexVolumeSource.md index a6095084..2cf28a9e 100644 --- a/docs/FlexVolumeSource.md +++ b/docs/FlexVolumeSource.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes **fsType** | **String** | Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script. | [optional] **options** | **Map<String, String>** | Optional: Extra command options if any. | [optional] **readOnly** | **Boolean** | Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. | [optional] -**secretRef** | [**io.kubernetes.client.models.V1LocalObjectReference**](io.kubernetes.client.models.V1LocalObjectReference.md) | | [optional] +**secretRef** | [**io.kubernetes.client.openapi.models.V1LocalObjectReference**](io.kubernetes.client.openapi.models.V1LocalObjectReference.md) | | [optional] diff --git a/docs/GCSArtifact.md b/docs/GCSArtifact.md index ab3261a9..0f985f9a 100644 --- a/docs/GCSArtifact.md +++ b/docs/GCSArtifact.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **bucket** | **String** | Bucket is the name of the bucket | **key** | **String** | Key is the path in the bucket where the artifact resides | -**serviceAccountKeySecret** | [**io.kubernetes.client.models.V1SecretKeySelector**](io.kubernetes.client.models.V1SecretKeySelector.md) | | [optional] +**serviceAccountKeySecret** | [**io.kubernetes.client.openapi.models.V1SecretKeySelector**](io.kubernetes.client.openapi.models.V1SecretKeySelector.md) | | [optional] diff --git a/docs/GitArtifact.md b/docs/GitArtifact.md index 5bbdf35c..c07ca9c1 100644 --- a/docs/GitArtifact.md +++ b/docs/GitArtifact.md @@ -10,11 +10,11 @@ Name | Type | Description | Notes **depth** | **Long** | Depth specifies clones/fetches should be shallow and include the given number of commits from the branch tip | [optional] **fetch** | **List<String>** | Fetch specifies a number of refs that should be fetched before checkout | [optional] **insecureIgnoreHostKey** | **Boolean** | InsecureIgnoreHostKey disables SSH strict host key checking during git clone | [optional] -**passwordSecret** | [**io.kubernetes.client.models.V1SecretKeySelector**](io.kubernetes.client.models.V1SecretKeySelector.md) | | [optional] +**passwordSecret** | [**io.kubernetes.client.openapi.models.V1SecretKeySelector**](io.kubernetes.client.openapi.models.V1SecretKeySelector.md) | | [optional] **repo** | **String** | Repo is the git repository | **revision** | **String** | Revision is the git commit, tag, branch to checkout | [optional] -**sshPrivateKeySecret** | [**io.kubernetes.client.models.V1SecretKeySelector**](io.kubernetes.client.models.V1SecretKeySelector.md) | | [optional] -**usernameSecret** | [**io.kubernetes.client.models.V1SecretKeySelector**](io.kubernetes.client.models.V1SecretKeySelector.md) | | [optional] +**sshPrivateKeySecret** | [**io.kubernetes.client.openapi.models.V1SecretKeySelector**](io.kubernetes.client.openapi.models.V1SecretKeySelector.md) | | [optional] +**usernameSecret** | [**io.kubernetes.client.openapi.models.V1SecretKeySelector**](io.kubernetes.client.openapi.models.V1SecretKeySelector.md) | | [optional] diff --git a/docs/HDFSArtifact.md b/docs/HDFSArtifact.md index b42d5c70..96136259 100644 --- a/docs/HDFSArtifact.md +++ b/docs/HDFSArtifact.md @@ -10,9 +10,9 @@ Name | Type | Description | Notes **addresses** | **List<String>** | Addresses is accessible addresses of HDFS name nodes | **force** | **Boolean** | Force copies a file forcibly even if it exists (default: false) | [optional] **hdfsUser** | **String** | HDFSUser is the user to access HDFS file system. It is ignored if either ccache or keytab is used. | [optional] -**krbCCacheSecret** | [**io.kubernetes.client.models.V1SecretKeySelector**](io.kubernetes.client.models.V1SecretKeySelector.md) | | [optional] -**krbConfigConfigMap** | [**io.kubernetes.client.models.V1ConfigMapKeySelector**](io.kubernetes.client.models.V1ConfigMapKeySelector.md) | | [optional] -**krbKeytabSecret** | [**io.kubernetes.client.models.V1SecretKeySelector**](io.kubernetes.client.models.V1SecretKeySelector.md) | | [optional] +**krbCCacheSecret** | [**io.kubernetes.client.openapi.models.V1SecretKeySelector**](io.kubernetes.client.openapi.models.V1SecretKeySelector.md) | | [optional] +**krbConfigConfigMap** | [**io.kubernetes.client.openapi.models.V1ConfigMapKeySelector**](io.kubernetes.client.openapi.models.V1ConfigMapKeySelector.md) | | [optional] +**krbKeytabSecret** | [**io.kubernetes.client.openapi.models.V1SecretKeySelector**](io.kubernetes.client.openapi.models.V1SecretKeySelector.md) | | [optional] **krbRealm** | **String** | KrbRealm is the Kerberos realm used with Kerberos keytab It must be set if keytab is used. | [optional] **krbServicePrincipalName** | **String** | KrbServicePrincipalName is the principal name of Kerberos service It must be set if either ccache or keytab is used. | [optional] **krbUsername** | **String** | KrbUsername is the Kerberos username used with Kerberos keytab It must be set if keytab is used. | [optional] diff --git a/docs/ISCSIVolumeSource.md b/docs/ISCSIVolumeSource.md index 6de86df8..15f49941 100644 --- a/docs/ISCSIVolumeSource.md +++ b/docs/ISCSIVolumeSource.md @@ -16,7 +16,7 @@ Name | Type | Description | Notes **lun** | **Integer** | iSCSI Target Lun number. | **portals** | **List<String>** | iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). | [optional] **readOnly** | **Boolean** | ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. | [optional] -**secretRef** | [**io.kubernetes.client.models.V1LocalObjectReference**](io.kubernetes.client.models.V1LocalObjectReference.md) | | [optional] +**secretRef** | [**io.kubernetes.client.openapi.models.V1LocalObjectReference**](io.kubernetes.client.openapi.models.V1LocalObjectReference.md) | | [optional] **targetPortal** | **String** | iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). | diff --git a/docs/OSSArtifact.md b/docs/OSSArtifact.md index ea002854..1bad6084 100644 --- a/docs/OSSArtifact.md +++ b/docs/OSSArtifact.md @@ -7,11 +7,11 @@ OSSArtifact is the location of an Alibaba Cloud OSS artifact Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**accessKeySecret** | [**io.kubernetes.client.models.V1SecretKeySelector**](io.kubernetes.client.models.V1SecretKeySelector.md) | | +**accessKeySecret** | [**io.kubernetes.client.openapi.models.V1SecretKeySelector**](io.kubernetes.client.openapi.models.V1SecretKeySelector.md) | | **bucket** | **String** | Bucket is the name of the bucket | **endpoint** | **String** | Endpoint is the hostname of the bucket endpoint | **key** | **String** | Key is the path in the bucket where the artifact resides | -**secretKeySecret** | [**io.kubernetes.client.models.V1SecretKeySelector**](io.kubernetes.client.models.V1SecretKeySelector.md) | | +**secretKeySecret** | [**io.kubernetes.client.openapi.models.V1SecretKeySelector**](io.kubernetes.client.openapi.models.V1SecretKeySelector.md) | | diff --git a/docs/PersistentVolumeClaimSpec.md b/docs/PersistentVolumeClaimSpec.md index 74002458..df6bc2a2 100644 --- a/docs/PersistentVolumeClaimSpec.md +++ b/docs/PersistentVolumeClaimSpec.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **accessModes** | **List<String>** | AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 | [optional] **dataSource** | [**TypedLocalObjectReference**](TypedLocalObjectReference.md) | | [optional] -**resources** | [**io.kubernetes.client.models.V1ResourceRequirements**](io.kubernetes.client.models.V1ResourceRequirements.md) | | [optional] +**resources** | [**io.kubernetes.client.openapi.models.V1ResourceRequirements**](io.kubernetes.client.openapi.models.V1ResourceRequirements.md) | | [optional] **selector** | [**LabelSelector**](LabelSelector.md) | | [optional] **storageClassName** | **String** | Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 | [optional] **volumeMode** | **String** | volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. This is a beta feature. | [optional] diff --git a/docs/RBDVolumeSource.md b/docs/RBDVolumeSource.md index d7f3dfdc..9ffef5db 100644 --- a/docs/RBDVolumeSource.md +++ b/docs/RBDVolumeSource.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes **monitors** | **List<String>** | A collection of Ceph monitors. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it | **pool** | **String** | The rados pool name. Default is rbd. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it | [optional] **readOnly** | **Boolean** | ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it | [optional] -**secretRef** | [**io.kubernetes.client.models.V1LocalObjectReference**](io.kubernetes.client.models.V1LocalObjectReference.md) | | [optional] +**secretRef** | [**io.kubernetes.client.openapi.models.V1LocalObjectReference**](io.kubernetes.client.openapi.models.V1LocalObjectReference.md) | | [optional] **user** | **String** | The rados user name. Default is admin. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it | [optional] diff --git a/docs/S3Artifact.md b/docs/S3Artifact.md index b12c62f9..05f9230e 100644 --- a/docs/S3Artifact.md +++ b/docs/S3Artifact.md @@ -7,14 +7,14 @@ S3Artifact is the location of an S3 artifact Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**accessKeySecret** | [**io.kubernetes.client.models.V1SecretKeySelector**](io.kubernetes.client.models.V1SecretKeySelector.md) | | +**accessKeySecret** | [**io.kubernetes.client.openapi.models.V1SecretKeySelector**](io.kubernetes.client.openapi.models.V1SecretKeySelector.md) | | **bucket** | **String** | Bucket is the name of the bucket | **endpoint** | **String** | Endpoint is the hostname of the bucket endpoint | **insecure** | **Boolean** | Insecure will connect to the service with TLS | [optional] **key** | **String** | Key is the key in the bucket where the artifact resides | **region** | **String** | Region contains the optional bucket region | [optional] **roleARN** | **String** | RoleARN is the Amazon Resource Name (ARN) of the role to assume. | [optional] -**secretKeySecret** | [**io.kubernetes.client.models.V1SecretKeySelector**](io.kubernetes.client.models.V1SecretKeySelector.md) | | +**secretKeySecret** | [**io.kubernetes.client.openapi.models.V1SecretKeySelector**](io.kubernetes.client.openapi.models.V1SecretKeySelector.md) | | **useSDKCreds** | **Boolean** | UseSDKCreds tells the driver to figure out credentials based on sdk defaults. | [optional] diff --git a/docs/ScaleIOVolumeSource.md b/docs/ScaleIOVolumeSource.md index 6c52b3c1..91b919c0 100644 --- a/docs/ScaleIOVolumeSource.md +++ b/docs/ScaleIOVolumeSource.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes **gateway** | **String** | The host address of the ScaleIO API Gateway. | **protectionDomain** | **String** | The name of the ScaleIO Protection Domain for the configured storage. | [optional] **readOnly** | **Boolean** | Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. | [optional] -**secretRef** | [**io.kubernetes.client.models.V1LocalObjectReference**](io.kubernetes.client.models.V1LocalObjectReference.md) | | +**secretRef** | [**io.kubernetes.client.openapi.models.V1LocalObjectReference**](io.kubernetes.client.openapi.models.V1LocalObjectReference.md) | | **sslEnabled** | **Boolean** | Flag to enable/disable SSL communication with Gateway, default false | [optional] **storageMode** | **String** | Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned. | [optional] **storagePool** | **String** | The ScaleIO Storage Pool associated with the protection domain. | [optional] diff --git a/docs/ScriptTemplate.md b/docs/ScriptTemplate.md index 7d8e8259..deb5c4ec 100644 --- a/docs/ScriptTemplate.md +++ b/docs/ScriptTemplate.md @@ -9,26 +9,26 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **args** | **List<String>** | Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell | [optional] **command** | **List<String>** | Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell | [optional] -**env** | [**List<io.kubernetes.client.models.V1EnvVar>**](io.kubernetes.client.models.V1EnvVar.md) | List of environment variables to set in the container. Cannot be updated. | [optional] -**envFrom** | [**List<io.kubernetes.client.models.V1EnvFromSource>**](io.kubernetes.client.models.V1EnvFromSource.md) | List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. | [optional] +**env** | [**List<io.kubernetes.client.openapi.models.V1EnvVar>**](io.kubernetes.client.openapi.models.V1EnvVar.md) | List of environment variables to set in the container. Cannot be updated. | [optional] +**envFrom** | [**List<io.kubernetes.client.openapi.models.V1EnvFromSource>**](io.kubernetes.client.openapi.models.V1EnvFromSource.md) | List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. | [optional] **image** | **String** | Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets. | **imagePullPolicy** | **String** | Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images | [optional] -**lifecycle** | [**io.kubernetes.client.models.V1Lifecycle**](io.kubernetes.client.models.V1Lifecycle.md) | | [optional] -**livenessProbe** | [**io.kubernetes.client.models.V1Probe**](io.kubernetes.client.models.V1Probe.md) | | [optional] +**lifecycle** | [**io.kubernetes.client.openapi.models.V1Lifecycle**](io.kubernetes.client.openapi.models.V1Lifecycle.md) | | [optional] +**livenessProbe** | [**io.kubernetes.client.openapi.models.V1Probe**](io.kubernetes.client.openapi.models.V1Probe.md) | | [optional] **name** | **String** | Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated. | [optional] -**ports** | [**List<io.kubernetes.client.models.V1ContainerPort>**](io.kubernetes.client.models.V1ContainerPort.md) | List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated. | [optional] -**readinessProbe** | [**io.kubernetes.client.models.V1Probe**](io.kubernetes.client.models.V1Probe.md) | | [optional] -**resources** | [**io.kubernetes.client.models.V1ResourceRequirements**](io.kubernetes.client.models.V1ResourceRequirements.md) | | [optional] -**securityContext** | [**io.kubernetes.client.models.V1SecurityContext**](io.kubernetes.client.models.V1SecurityContext.md) | | [optional] +**ports** | [**List<io.kubernetes.client.openapi.models.V1ContainerPort>**](io.kubernetes.client.openapi.models.V1ContainerPort.md) | List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated. | [optional] +**readinessProbe** | [**io.kubernetes.client.openapi.models.V1Probe**](io.kubernetes.client.openapi.models.V1Probe.md) | | [optional] +**resources** | [**io.kubernetes.client.openapi.models.V1ResourceRequirements**](io.kubernetes.client.openapi.models.V1ResourceRequirements.md) | | [optional] +**securityContext** | [**io.kubernetes.client.openapi.models.V1SecurityContext**](io.kubernetes.client.openapi.models.V1SecurityContext.md) | | [optional] **source** | **String** | Source contains the source code of the script to execute | -**startupProbe** | [**io.kubernetes.client.models.V1Probe**](io.kubernetes.client.models.V1Probe.md) | | [optional] +**startupProbe** | [**io.kubernetes.client.openapi.models.V1Probe**](io.kubernetes.client.openapi.models.V1Probe.md) | | [optional] **stdin** | **Boolean** | Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false. | [optional] **stdinOnce** | **Boolean** | Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false | [optional] **terminationMessagePath** | **String** | Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated. | [optional] **terminationMessagePolicy** | **String** | Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. | [optional] **tty** | **Boolean** | Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false. | [optional] -**volumeDevices** | [**List<io.kubernetes.client.models.V1VolumeDevice>**](io.kubernetes.client.models.V1VolumeDevice.md) | volumeDevices is the list of block devices to be used by the container. This is a beta feature. | [optional] -**volumeMounts** | [**List<io.kubernetes.client.models.V1VolumeMount>**](io.kubernetes.client.models.V1VolumeMount.md) | Pod volumes to mount into the container's filesystem. Cannot be updated. | [optional] +**volumeDevices** | [**List<io.kubernetes.client.openapi.models.V1VolumeDevice>**](io.kubernetes.client.openapi.models.V1VolumeDevice.md) | volumeDevices is the list of block devices to be used by the container. This is a beta feature. | [optional] +**volumeMounts** | [**List<io.kubernetes.client.openapi.models.V1VolumeMount>**](io.kubernetes.client.openapi.models.V1VolumeMount.md) | Pod volumes to mount into the container's filesystem. Cannot be updated. | [optional] **workingDir** | **String** | Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated. | [optional] diff --git a/docs/SemaphoreRef.md b/docs/SemaphoreRef.md index a8aa12bd..303a0045 100644 --- a/docs/SemaphoreRef.md +++ b/docs/SemaphoreRef.md @@ -7,7 +7,7 @@ SemaphoreRef is a reference of Semaphore Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**configMapKeyRef** | [**io.kubernetes.client.models.V1ConfigMapKeySelector**](io.kubernetes.client.models.V1ConfigMapKeySelector.md) | | [optional] +**configMapKeyRef** | [**io.kubernetes.client.openapi.models.V1ConfigMapKeySelector**](io.kubernetes.client.openapi.models.V1ConfigMapKeySelector.md) | | [optional] diff --git a/docs/Status.md b/docs/Status.md index e49e890c..634e3d40 100644 --- a/docs/Status.md +++ b/docs/Status.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes **details** | [**StatusDetails**](StatusDetails.md) | | [optional] **kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **message** | **String** | A human-readable description of the status of this operation. | [optional] -**metadata** | [**io.kubernetes.client.models.V1ListMeta**](io.kubernetes.client.models.V1ListMeta.md) | | [optional] +**metadata** | [**io.kubernetes.client.openapi.models.V1ListMeta**](io.kubernetes.client.openapi.models.V1ListMeta.md) | | [optional] **reason** | **String** | A machine-readable description of why this operation is in the \"Failure\" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it. | [optional] **status** | **String** | Status of the operation. One of: \"Success\" or \"Failure\". More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status | [optional] diff --git a/docs/StorageOSVolumeSource.md b/docs/StorageOSVolumeSource.md index b393bd2d..f34d3140 100644 --- a/docs/StorageOSVolumeSource.md +++ b/docs/StorageOSVolumeSource.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **fsType** | **String** | Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. | [optional] **readOnly** | **Boolean** | Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. | [optional] -**secretRef** | [**io.kubernetes.client.models.V1LocalObjectReference**](io.kubernetes.client.models.V1LocalObjectReference.md) | | [optional] +**secretRef** | [**io.kubernetes.client.openapi.models.V1LocalObjectReference**](io.kubernetes.client.openapi.models.V1LocalObjectReference.md) | | [optional] **volumeName** | **String** | VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace. | [optional] **volumeNamespace** | **String** | VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created. | [optional] diff --git a/docs/Template.md b/docs/Template.md index 858c43f4..9c4aad93 100644 --- a/docs/Template.md +++ b/docs/Template.md @@ -8,15 +8,15 @@ Template is a reusable and composable unit of execution in a workflow Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **activeDeadlineSeconds** | **Long** | Optional duration in seconds relative to the StartTime that the pod may be active on a node before the system actively tries to terminate the pod; value must be positive integer This field is only applicable to container and script templates. | [optional] -**affinity** | [**io.kubernetes.client.models.V1Affinity**](io.kubernetes.client.models.V1Affinity.md) | | [optional] +**affinity** | [**io.kubernetes.client.openapi.models.V1Affinity**](io.kubernetes.client.openapi.models.V1Affinity.md) | | [optional] **archiveLocation** | [**ArtifactLocation**](ArtifactLocation.md) | | [optional] **arguments** | [**Arguments**](Arguments.md) | | [optional] **automountServiceAccountToken** | **Boolean** | AutomountServiceAccountToken indicates whether a service account token should be automatically mounted in pods. ServiceAccountName of ExecutorConfig must be specified if this value is false. | [optional] -**container** | [**io.kubernetes.client.models.V1Container**](io.kubernetes.client.models.V1Container.md) | | [optional] +**container** | [**io.kubernetes.client.openapi.models.V1Container**](io.kubernetes.client.openapi.models.V1Container.md) | | [optional] **daemon** | **Boolean** | Deamon will allow a workflow to proceed to the next step so long as the container reaches readiness | [optional] **dag** | [**DAGTemplate**](DAGTemplate.md) | | [optional] **executor** | [**ExecutorConfig**](ExecutorConfig.md) | | [optional] -**hostAliases** | [**List<io.kubernetes.client.models.V1HostAlias>**](io.kubernetes.client.models.V1HostAlias.md) | HostAliases is an optional list of hosts and IPs that will be injected into the pod spec | [optional] +**hostAliases** | [**List<io.kubernetes.client.openapi.models.V1HostAlias>**](io.kubernetes.client.openapi.models.V1HostAlias.md) | HostAliases is an optional list of hosts and IPs that will be injected into the pod spec | [optional] **initContainers** | [**List<UserContainer>**](UserContainer.md) | InitContainers is a list of containers which run before the main container. | [optional] **inputs** | [**Inputs**](Inputs.md) | | [optional] **metadata** | [**Metadata**](Metadata.md) | | [optional] @@ -33,7 +33,7 @@ Name | Type | Description | Notes **retryStrategy** | [**RetryStrategy**](RetryStrategy.md) | | [optional] **schedulerName** | **String** | If specified, the pod will be dispatched by specified scheduler. Or it will be dispatched by workflow scope scheduler if specified. If neither specified, the pod will be dispatched by default scheduler. | [optional] **script** | [**ScriptTemplate**](ScriptTemplate.md) | | [optional] -**securityContext** | [**io.kubernetes.client.models.V1PodSecurityContext**](io.kubernetes.client.models.V1PodSecurityContext.md) | | [optional] +**securityContext** | [**io.kubernetes.client.openapi.models.V1PodSecurityContext**](io.kubernetes.client.openapi.models.V1PodSecurityContext.md) | | [optional] **serviceAccountName** | **String** | ServiceAccountName to apply to workflow pods | [optional] **sidecars** | [**List<UserContainer>**](UserContainer.md) | Sidecars is a list of containers which run alongside the main container Sidecars are automatically killed when the main container completes | [optional] **steps** | [**List<ParallelSteps>**](ParallelSteps.md) | Steps define a series of sequential/parallel workflow steps | [optional] @@ -41,8 +41,8 @@ Name | Type | Description | Notes **synchronization** | [**Synchronization**](Synchronization.md) | | [optional] **template** | **String** | Template is the name of the template which is used as the base of this template. DEPRECATED: This field is not used. | [optional] **templateRef** | [**TemplateRef**](TemplateRef.md) | | [optional] -**tolerations** | [**List<io.kubernetes.client.models.V1Toleration>**](io.kubernetes.client.models.V1Toleration.md) | Tolerations to apply to workflow pods. | [optional] -**volumes** | [**List<io.kubernetes.client.models.V1Volume>**](io.kubernetes.client.models.V1Volume.md) | Volumes is a list of volumes that can be mounted by containers in a template. | [optional] +**tolerations** | [**List<io.kubernetes.client.openapi.models.V1Toleration>**](io.kubernetes.client.openapi.models.V1Toleration.md) | Tolerations to apply to workflow pods. | [optional] +**volumes** | [**List<io.kubernetes.client.openapi.models.V1Volume>**](io.kubernetes.client.openapi.models.V1Volume.md) | Volumes is a list of volumes that can be mounted by containers in a template. | [optional] diff --git a/docs/UserContainer.md b/docs/UserContainer.md index 5fc71f88..78c1c107 100644 --- a/docs/UserContainer.md +++ b/docs/UserContainer.md @@ -9,26 +9,26 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **args** | **List<String>** | Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell | [optional] **command** | **List<String>** | Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell | [optional] -**env** | [**List<io.kubernetes.client.models.V1EnvVar>**](io.kubernetes.client.models.V1EnvVar.md) | List of environment variables to set in the container. Cannot be updated. | [optional] -**envFrom** | [**List<io.kubernetes.client.models.V1EnvFromSource>**](io.kubernetes.client.models.V1EnvFromSource.md) | List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. | [optional] +**env** | [**List<io.kubernetes.client.openapi.models.V1EnvVar>**](io.kubernetes.client.openapi.models.V1EnvVar.md) | List of environment variables to set in the container. Cannot be updated. | [optional] +**envFrom** | [**List<io.kubernetes.client.openapi.models.V1EnvFromSource>**](io.kubernetes.client.openapi.models.V1EnvFromSource.md) | List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. | [optional] **image** | **String** | Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets. | [optional] **imagePullPolicy** | **String** | Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images | [optional] -**lifecycle** | [**io.kubernetes.client.models.V1Lifecycle**](io.kubernetes.client.models.V1Lifecycle.md) | | [optional] -**livenessProbe** | [**io.kubernetes.client.models.V1Probe**](io.kubernetes.client.models.V1Probe.md) | | [optional] +**lifecycle** | [**io.kubernetes.client.openapi.models.V1Lifecycle**](io.kubernetes.client.openapi.models.V1Lifecycle.md) | | [optional] +**livenessProbe** | [**io.kubernetes.client.openapi.models.V1Probe**](io.kubernetes.client.openapi.models.V1Probe.md) | | [optional] **mirrorVolumeMounts** | **Boolean** | MirrorVolumeMounts will mount the same volumes specified in the main container to the container (including artifacts), at the same mountPaths. This enables dind daemon to partially see the same filesystem as the main container in order to use features such as docker volume binding | [optional] **name** | **String** | Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated. | -**ports** | [**List<io.kubernetes.client.models.V1ContainerPort>**](io.kubernetes.client.models.V1ContainerPort.md) | List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated. | [optional] -**readinessProbe** | [**io.kubernetes.client.models.V1Probe**](io.kubernetes.client.models.V1Probe.md) | | [optional] -**resources** | [**io.kubernetes.client.models.V1ResourceRequirements**](io.kubernetes.client.models.V1ResourceRequirements.md) | | [optional] -**securityContext** | [**io.kubernetes.client.models.V1SecurityContext**](io.kubernetes.client.models.V1SecurityContext.md) | | [optional] -**startupProbe** | [**io.kubernetes.client.models.V1Probe**](io.kubernetes.client.models.V1Probe.md) | | [optional] +**ports** | [**List<io.kubernetes.client.openapi.models.V1ContainerPort>**](io.kubernetes.client.openapi.models.V1ContainerPort.md) | List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated. | [optional] +**readinessProbe** | [**io.kubernetes.client.openapi.models.V1Probe**](io.kubernetes.client.openapi.models.V1Probe.md) | | [optional] +**resources** | [**io.kubernetes.client.openapi.models.V1ResourceRequirements**](io.kubernetes.client.openapi.models.V1ResourceRequirements.md) | | [optional] +**securityContext** | [**io.kubernetes.client.openapi.models.V1SecurityContext**](io.kubernetes.client.openapi.models.V1SecurityContext.md) | | [optional] +**startupProbe** | [**io.kubernetes.client.openapi.models.V1Probe**](io.kubernetes.client.openapi.models.V1Probe.md) | | [optional] **stdin** | **Boolean** | Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false. | [optional] **stdinOnce** | **Boolean** | Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false | [optional] **terminationMessagePath** | **String** | Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated. | [optional] **terminationMessagePolicy** | **String** | Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. | [optional] **tty** | **Boolean** | Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false. | [optional] -**volumeDevices** | [**List<io.kubernetes.client.models.V1VolumeDevice>**](io.kubernetes.client.models.V1VolumeDevice.md) | volumeDevices is the list of block devices to be used by the container. This is a beta feature. | [optional] -**volumeMounts** | [**List<io.kubernetes.client.models.V1VolumeMount>**](io.kubernetes.client.models.V1VolumeMount.md) | Pod volumes to mount into the container's filesystem. Cannot be updated. | [optional] +**volumeDevices** | [**List<io.kubernetes.client.openapi.models.V1VolumeDevice>**](io.kubernetes.client.openapi.models.V1VolumeDevice.md) | volumeDevices is the list of block devices to be used by the container. This is a beta feature. | [optional] +**volumeMounts** | [**List<io.kubernetes.client.openapi.models.V1VolumeMount>**](io.kubernetes.client.openapi.models.V1VolumeMount.md) | Pod volumes to mount into the container's filesystem. Cannot be updated. | [optional] **workingDir** | **String** | Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated. | [optional] diff --git a/docs/Workflow.md b/docs/Workflow.md index d987873b..1f73e559 100644 --- a/docs/Workflow.md +++ b/docs/Workflow.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.io.k8s.community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.io.k8s.community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] -**metadata** | [**io.kubernetes.client.models.V1ObjectMeta**](io.kubernetes.client.models.V1ObjectMeta.md) | | +**metadata** | [**io.kubernetes.client.openapi.models.V1ObjectMeta**](io.kubernetes.client.openapi.models.V1ObjectMeta.md) | | **spec** | [**WorkflowSpec**](WorkflowSpec.md) | | **status** | [**WorkflowStatus**](WorkflowStatus.md) | | [optional] diff --git a/docs/WorkflowList.md b/docs/WorkflowList.md index 50f9a301..6f76ecb7 100644 --- a/docs/WorkflowList.md +++ b/docs/WorkflowList.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes **apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.io.k8s.community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**List<Workflow>**](Workflow.md) | | **kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.io.k8s.community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] -**metadata** | [**io.kubernetes.client.models.V1ListMeta**](io.kubernetes.client.models.V1ListMeta.md) | | +**metadata** | [**io.kubernetes.client.openapi.models.V1ListMeta**](io.kubernetes.client.openapi.models.V1ListMeta.md) | | diff --git a/docs/WorkflowSpec.md b/docs/WorkflowSpec.md index 43160779..da832dfc 100644 --- a/docs/WorkflowSpec.md +++ b/docs/WorkflowSpec.md @@ -8,17 +8,17 @@ WorkflowSpec is the specification of a Workflow. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **activeDeadlineSeconds** | **Long** | Optional duration in seconds relative to the workflow start time which the workflow is allowed to run before the controller terminates the A value of zero is used to terminate a Running workflow | [optional] -**affinity** | [**io.kubernetes.client.models.V1Affinity**](io.kubernetes.client.models.V1Affinity.md) | | [optional] +**affinity** | [**io.kubernetes.client.openapi.models.V1Affinity**](io.kubernetes.client.openapi.models.V1Affinity.md) | | [optional] **arguments** | [**Arguments**](Arguments.md) | | [optional] **artifactRepositoryRef** | [**ArtifactRepositoryRef**](ArtifactRepositoryRef.md) | | [optional] **automountServiceAccountToken** | **Boolean** | AutomountServiceAccountToken indicates whether a service account token should be automatically mounted in pods. ServiceAccountName of ExecutorConfig must be specified if this value is false. | [optional] -**dnsConfig** | [**io.kubernetes.client.models.V1PodDNSConfig**](io.kubernetes.client.models.V1PodDNSConfig.md) | | [optional] +**dnsConfig** | [**io.kubernetes.client.openapi.models.V1PodDNSConfig**](io.kubernetes.client.openapi.models.V1PodDNSConfig.md) | | [optional] **dnsPolicy** | **String** | Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'. | [optional] **entrypoint** | **String** | Entrypoint is a template reference to the starting point of the | [optional] **executor** | [**ExecutorConfig**](ExecutorConfig.md) | | [optional] -**hostAliases** | [**List<io.kubernetes.client.models.V1HostAlias>**](io.kubernetes.client.models.V1HostAlias.md) | | [optional] +**hostAliases** | [**List<io.kubernetes.client.openapi.models.V1HostAlias>**](io.kubernetes.client.openapi.models.V1HostAlias.md) | | [optional] **hostNetwork** | **Boolean** | Host networking requested for this workflow pod. Default to false. | [optional] -**imagePullSecrets** | [**List<io.kubernetes.client.models.V1LocalObjectReference>**](io.kubernetes.client.models.V1LocalObjectReference.md) | ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod | [optional] +**imagePullSecrets** | [**List<io.kubernetes.client.openapi.models.V1LocalObjectReference>**](io.kubernetes.client.openapi.models.V1LocalObjectReference.md) | ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod | [optional] **metrics** | [**Metrics**](Metrics.md) | | [optional] **nodeSelector** | **Map<String, String>** | 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] @@ -30,17 +30,17 @@ Name | Type | Description | Notes **podSpecPatch** | **String** | PodSpecPatch holds strategic merge patch to apply against the pod spec. Allows parameterization of container fields which are not strings (e.g. resource limits). | [optional] **priority** | **Integer** | Priority is used if controller is configured to process limited number of workflows in parallel. Workflows with higher priority are processed first. | [optional] **schedulerName** | **String** | Set scheduler name for all pods. Will be overridden if container/script template's scheduler name is set. Default scheduler will be used if neither specified. | [optional] -**securityContext** | [**io.kubernetes.client.models.V1PodSecurityContext**](io.kubernetes.client.models.V1PodSecurityContext.md) | | [optional] +**securityContext** | [**io.kubernetes.client.openapi.models.V1PodSecurityContext**](io.kubernetes.client.openapi.models.V1PodSecurityContext.md) | | [optional] **serviceAccountName** | **String** | ServiceAccountName is the name of the ServiceAccount to run all pods of the workflow as. | [optional] **shutdown** | **String** | Shutdown will shutdown the workflow according to its ShutdownStrategy | [optional] **suspend** | **Boolean** | Suspend will suspend the workflow and prevent execution of any future steps in the workflow | [optional] **synchronization** | [**Synchronization**](Synchronization.md) | | [optional] **templates** | [**List<Template>**](Template.md) | Templates is a list of workflow templates used in a workflow | [optional] -**tolerations** | [**List<io.kubernetes.client.models.V1Toleration>**](io.kubernetes.client.models.V1Toleration.md) | Tolerations to apply to workflow pods. | [optional] +**tolerations** | [**List<io.kubernetes.client.openapi.models.V1Toleration>**](io.kubernetes.client.openapi.models.V1Toleration.md) | Tolerations to apply to workflow pods. | [optional] **ttlSecondsAfterFinished** | **Integer** | TTLSecondsAfterFinished limits the lifetime of a Workflow that has finished execution (Succeeded, Failed, Error). If this field is set, once the Workflow finishes, it will be deleted after ttlSecondsAfterFinished expires. If this field is unset, ttlSecondsAfterFinished will not expire. If this field is set to zero, ttlSecondsAfterFinished expires immediately after the Workflow finishes. DEPRECATED: Use TTLStrategy.SecondsAfterCompletion instead. | [optional] **ttlStrategy** | [**TTLStrategy**](TTLStrategy.md) | | [optional] -**volumeClaimTemplates** | [**List<io.kubernetes.client.models.V1PersistentVolumeClaim>**](io.kubernetes.client.models.V1PersistentVolumeClaim.md) | VolumeClaimTemplates is a list of claims that containers are allowed to reference. The Workflow controller will create the claims at the beginning of the workflow and delete the claims upon completion of the workflow | [optional] -**volumes** | [**List<io.kubernetes.client.models.V1Volume>**](io.kubernetes.client.models.V1Volume.md) | Volumes is a list of volumes that can be mounted by containers in a | [optional] +**volumeClaimTemplates** | [**List<io.kubernetes.client.openapi.models.V1PersistentVolumeClaim>**](io.kubernetes.client.openapi.models.V1PersistentVolumeClaim.md) | VolumeClaimTemplates is a list of claims that containers are allowed to reference. The Workflow controller will create the claims at the beginning of the workflow and delete the claims upon completion of the workflow | [optional] +**volumes** | [**List<io.kubernetes.client.openapi.models.V1Volume>**](io.kubernetes.client.openapi.models.V1Volume.md) | Volumes is a list of volumes that can be mounted by containers in a | [optional] **workflowTemplateRef** | [**WorkflowTemplateRef**](WorkflowTemplateRef.md) | | [optional] diff --git a/docs/WorkflowStatus.md b/docs/WorkflowStatus.md index 178e10b2..09eab4c7 100644 --- a/docs/WorkflowStatus.md +++ b/docs/WorkflowStatus.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes **nodes** | [**Map<String, NodeStatus>**](NodeStatus.md) | Nodes is a mapping between a node ID and the node's status. | [optional] **offloadNodeStatusVersion** | **String** | Whether on not node status has been offloaded to a database. If exists, then Nodes and CompressedNodes will be empty. This will actually be populated with a hash of the offloaded data. | [optional] **outputs** | [**Outputs**](Outputs.md) | | [optional] -**persistentVolumeClaims** | [**List<io.kubernetes.client.models.V1Volume>**](io.kubernetes.client.models.V1Volume.md) | PersistentVolumeClaims tracks all PVCs that were created as part of the The contents of this list are drained at the end of the workflow. | [optional] +**persistentVolumeClaims** | [**List<io.kubernetes.client.openapi.models.V1Volume>**](io.kubernetes.client.openapi.models.V1Volume.md) | PersistentVolumeClaims tracks all PVCs that were created as part of the The contents of this list are drained at the end of the workflow. | [optional] **phase** | **String** | Phase a simple, high-level summary of where the workflow is in its lifecycle. | [optional] **resourcesDuration** | **Map<String, Long>** | ResourcesDuration is the total for the workflow | [optional] **startedAt** | [**org.joda.time.DateTime**](org.joda.time.DateTime.md) | | [optional] diff --git a/docs/WorkflowTemplate.md b/docs/WorkflowTemplate.md index 5892e6cb..051bb1bc 100644 --- a/docs/WorkflowTemplate.md +++ b/docs/WorkflowTemplate.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.io.k8s.community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.io.k8s.community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] -**metadata** | [**io.kubernetes.client.models.V1ObjectMeta**](io.kubernetes.client.models.V1ObjectMeta.md) | | +**metadata** | [**io.kubernetes.client.openapi.models.V1ObjectMeta**](io.kubernetes.client.openapi.models.V1ObjectMeta.md) | | **spec** | [**WorkflowTemplateSpec**](WorkflowTemplateSpec.md) | | diff --git a/docs/WorkflowTemplateList.md b/docs/WorkflowTemplateList.md index 44f963db..267d1407 100644 --- a/docs/WorkflowTemplateList.md +++ b/docs/WorkflowTemplateList.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes **apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.io.k8s.community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] **items** | [**List<WorkflowTemplate>**](WorkflowTemplate.md) | | **kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.io.k8s.community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] -**metadata** | [**io.kubernetes.client.models.V1ListMeta**](io.kubernetes.client.models.V1ListMeta.md) | | +**metadata** | [**io.kubernetes.client.openapi.models.V1ListMeta**](io.kubernetes.client.openapi.models.V1ListMeta.md) | | diff --git a/docs/WorkflowTemplateSpec.md b/docs/WorkflowTemplateSpec.md index 482e707b..533ba98e 100644 --- a/docs/WorkflowTemplateSpec.md +++ b/docs/WorkflowTemplateSpec.md @@ -8,17 +8,17 @@ WorkflowTemplateSpec is a spec of WorkflowTemplate. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **activeDeadlineSeconds** | **Long** | Optional duration in seconds relative to the workflow start time which the workflow is allowed to run before the controller terminates the A value of zero is used to terminate a Running workflow | [optional] -**affinity** | [**io.kubernetes.client.models.V1Affinity**](io.kubernetes.client.models.V1Affinity.md) | | [optional] +**affinity** | [**io.kubernetes.client.openapi.models.V1Affinity**](io.kubernetes.client.openapi.models.V1Affinity.md) | | [optional] **arguments** | [**Arguments**](Arguments.md) | | [optional] **artifactRepositoryRef** | [**ArtifactRepositoryRef**](ArtifactRepositoryRef.md) | | [optional] **automountServiceAccountToken** | **Boolean** | AutomountServiceAccountToken indicates whether a service account token should be automatically mounted in pods. ServiceAccountName of ExecutorConfig must be specified if this value is false. | [optional] -**dnsConfig** | [**io.kubernetes.client.models.V1PodDNSConfig**](io.kubernetes.client.models.V1PodDNSConfig.md) | | [optional] +**dnsConfig** | [**io.kubernetes.client.openapi.models.V1PodDNSConfig**](io.kubernetes.client.openapi.models.V1PodDNSConfig.md) | | [optional] **dnsPolicy** | **String** | Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'. | [optional] **entrypoint** | **String** | Entrypoint is a template reference to the starting point of the | [optional] **executor** | [**ExecutorConfig**](ExecutorConfig.md) | | [optional] -**hostAliases** | [**List<io.kubernetes.client.models.V1HostAlias>**](io.kubernetes.client.models.V1HostAlias.md) | | [optional] +**hostAliases** | [**List<io.kubernetes.client.openapi.models.V1HostAlias>**](io.kubernetes.client.openapi.models.V1HostAlias.md) | | [optional] **hostNetwork** | **Boolean** | Host networking requested for this workflow pod. Default to false. | [optional] -**imagePullSecrets** | [**List<io.kubernetes.client.models.V1LocalObjectReference>**](io.kubernetes.client.models.V1LocalObjectReference.md) | ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod | [optional] +**imagePullSecrets** | [**List<io.kubernetes.client.openapi.models.V1LocalObjectReference>**](io.kubernetes.client.openapi.models.V1LocalObjectReference.md) | ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod | [optional] **metrics** | [**Metrics**](Metrics.md) | | [optional] **nodeSelector** | **Map<String, String>** | 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] @@ -30,18 +30,18 @@ Name | Type | Description | Notes **podSpecPatch** | **String** | PodSpecPatch holds strategic merge patch to apply against the pod spec. Allows parameterization of container fields which are not strings (e.g. resource limits). | [optional] **priority** | **Integer** | Priority is used if controller is configured to process limited number of workflows in parallel. Workflows with higher priority are processed first. | [optional] **schedulerName** | **String** | Set scheduler name for all pods. Will be overridden if container/script template's scheduler name is set. Default scheduler will be used if neither specified. | [optional] -**securityContext** | [**io.kubernetes.client.models.V1PodSecurityContext**](io.kubernetes.client.models.V1PodSecurityContext.md) | | [optional] +**securityContext** | [**io.kubernetes.client.openapi.models.V1PodSecurityContext**](io.kubernetes.client.openapi.models.V1PodSecurityContext.md) | | [optional] **serviceAccountName** | **String** | ServiceAccountName is the name of the ServiceAccount to run all pods of the workflow as. | [optional] **shutdown** | **String** | Shutdown will shutdown the workflow according to its ShutdownStrategy | [optional] **suspend** | **Boolean** | Suspend will suspend the workflow and prevent execution of any future steps in the workflow | [optional] **synchronization** | [**Synchronization**](Synchronization.md) | | [optional] **templates** | [**List<Template>**](Template.md) | Templates is a list of workflow templates used in a workflow | [optional] -**tolerations** | [**List<io.kubernetes.client.models.V1Toleration>**](io.kubernetes.client.models.V1Toleration.md) | Tolerations to apply to workflow pods. | [optional] +**tolerations** | [**List<io.kubernetes.client.openapi.models.V1Toleration>**](io.kubernetes.client.openapi.models.V1Toleration.md) | Tolerations to apply to workflow pods. | [optional] **ttlSecondsAfterFinished** | **Integer** | TTLSecondsAfterFinished limits the lifetime of a Workflow that has finished execution (Succeeded, Failed, Error). If this field is set, once the Workflow finishes, it will be deleted after ttlSecondsAfterFinished expires. If this field is unset, ttlSecondsAfterFinished will not expire. If this field is set to zero, ttlSecondsAfterFinished expires immediately after the Workflow finishes. DEPRECATED: Use TTLStrategy.SecondsAfterCompletion instead. | [optional] **ttlStrategy** | [**TTLStrategy**](TTLStrategy.md) | | [optional] -**volumeClaimTemplates** | [**List<io.kubernetes.client.models.V1PersistentVolumeClaim>**](io.kubernetes.client.models.V1PersistentVolumeClaim.md) | VolumeClaimTemplates is a list of claims that containers are allowed to reference. The Workflow controller will create the claims at the beginning of the workflow and delete the claims upon completion of the workflow | [optional] -**volumes** | [**List<io.kubernetes.client.models.V1Volume>**](io.kubernetes.client.models.V1Volume.md) | Volumes is a list of volumes that can be mounted by containers in a | [optional] -**workflowMetadata** | [**io.kubernetes.client.models.V1ObjectMeta**](io.kubernetes.client.models.V1ObjectMeta.md) | | [optional] +**volumeClaimTemplates** | [**List<io.kubernetes.client.openapi.models.V1PersistentVolumeClaim>**](io.kubernetes.client.openapi.models.V1PersistentVolumeClaim.md) | VolumeClaimTemplates is a list of claims that containers are allowed to reference. The Workflow controller will create the claims at the beginning of the workflow and delete the claims upon completion of the workflow | [optional] +**volumes** | [**List<io.kubernetes.client.openapi.models.V1Volume>**](io.kubernetes.client.openapi.models.V1Volume.md) | Volumes is a list of volumes that can be mounted by containers in a | [optional] +**workflowMetadata** | [**io.kubernetes.client.openapi.models.V1ObjectMeta**](io.kubernetes.client.openapi.models.V1ObjectMeta.md) | | [optional] **workflowTemplateRef** | [**WorkflowTemplateRef**](WorkflowTemplateRef.md) | | [optional] diff --git a/pom.xml b/pom.xml index beb0b91c..dfe22bcb 100644 --- a/pom.xml +++ b/pom.xml @@ -209,7 +209,7 @@ - io.kubernetesclient-java5.0.0 + io.kubernetesclient-java9.0.0 io.swagger swagger-annotations diff --git a/src/main/java/io/argoproj/workflow/models/ArtifactoryArtifact.java b/src/main/java/io/argoproj/workflow/models/ArtifactoryArtifact.java index 17939b2c..cb3ba96f 100644 --- a/src/main/java/io/argoproj/workflow/models/ArtifactoryArtifact.java +++ b/src/main/java/io/argoproj/workflow/models/ArtifactoryArtifact.java @@ -32,7 +32,7 @@ public class ArtifactoryArtifact { public static final String SERIALIZED_NAME_PASSWORD_SECRET = "passwordSecret"; @SerializedName(SERIALIZED_NAME_PASSWORD_SECRET) - private io.kubernetes.client.models.V1SecretKeySelector passwordSecret; + private io.kubernetes.client.openapi.models.V1SecretKeySelector passwordSecret; public static final String SERIALIZED_NAME_URL = "url"; @SerializedName(SERIALIZED_NAME_URL) @@ -40,10 +40,10 @@ public class ArtifactoryArtifact { public static final String SERIALIZED_NAME_USERNAME_SECRET = "usernameSecret"; @SerializedName(SERIALIZED_NAME_USERNAME_SECRET) - private io.kubernetes.client.models.V1SecretKeySelector usernameSecret; + private io.kubernetes.client.openapi.models.V1SecretKeySelector usernameSecret; - public ArtifactoryArtifact passwordSecret(io.kubernetes.client.models.V1SecretKeySelector passwordSecret) { + public ArtifactoryArtifact passwordSecret(io.kubernetes.client.openapi.models.V1SecretKeySelector passwordSecret) { this.passwordSecret = passwordSecret; return this; @@ -56,12 +56,12 @@ public ArtifactoryArtifact passwordSecret(io.kubernetes.client.models.V1SecretKe @javax.annotation.Nullable @ApiModelProperty(value = "") - public io.kubernetes.client.models.V1SecretKeySelector getPasswordSecret() { + public io.kubernetes.client.openapi.models.V1SecretKeySelector getPasswordSecret() { return passwordSecret; } - public void setPasswordSecret(io.kubernetes.client.models.V1SecretKeySelector passwordSecret) { + public void setPasswordSecret(io.kubernetes.client.openapi.models.V1SecretKeySelector passwordSecret) { this.passwordSecret = passwordSecret; } @@ -88,7 +88,7 @@ public void setUrl(String url) { } - public ArtifactoryArtifact usernameSecret(io.kubernetes.client.models.V1SecretKeySelector usernameSecret) { + public ArtifactoryArtifact usernameSecret(io.kubernetes.client.openapi.models.V1SecretKeySelector usernameSecret) { this.usernameSecret = usernameSecret; return this; @@ -101,12 +101,12 @@ public ArtifactoryArtifact usernameSecret(io.kubernetes.client.models.V1SecretKe @javax.annotation.Nullable @ApiModelProperty(value = "") - public io.kubernetes.client.models.V1SecretKeySelector getUsernameSecret() { + public io.kubernetes.client.openapi.models.V1SecretKeySelector getUsernameSecret() { return usernameSecret; } - public void setUsernameSecret(io.kubernetes.client.models.V1SecretKeySelector usernameSecret) { + public void setUsernameSecret(io.kubernetes.client.openapi.models.V1SecretKeySelector usernameSecret) { this.usernameSecret = usernameSecret; } diff --git a/src/main/java/io/argoproj/workflow/models/CSIVolumeSource.java b/src/main/java/io/argoproj/workflow/models/CSIVolumeSource.java index e45c45ae..eab6749d 100644 --- a/src/main/java/io/argoproj/workflow/models/CSIVolumeSource.java +++ b/src/main/java/io/argoproj/workflow/models/CSIVolumeSource.java @@ -43,7 +43,7 @@ public class CSIVolumeSource { public static final String SERIALIZED_NAME_NODE_PUBLISH_SECRET_REF = "nodePublishSecretRef"; @SerializedName(SERIALIZED_NAME_NODE_PUBLISH_SECRET_REF) - private io.kubernetes.client.models.V1LocalObjectReference nodePublishSecretRef; + private io.kubernetes.client.openapi.models.V1LocalObjectReference nodePublishSecretRef; public static final String SERIALIZED_NAME_READ_ONLY = "readOnly"; @SerializedName(SERIALIZED_NAME_READ_ONLY) @@ -99,7 +99,7 @@ public void setFsType(String fsType) { } - public CSIVolumeSource nodePublishSecretRef(io.kubernetes.client.models.V1LocalObjectReference nodePublishSecretRef) { + public CSIVolumeSource nodePublishSecretRef(io.kubernetes.client.openapi.models.V1LocalObjectReference nodePublishSecretRef) { this.nodePublishSecretRef = nodePublishSecretRef; return this; @@ -112,12 +112,12 @@ public CSIVolumeSource nodePublishSecretRef(io.kubernetes.client.models.V1LocalO @javax.annotation.Nullable @ApiModelProperty(value = "") - public io.kubernetes.client.models.V1LocalObjectReference getNodePublishSecretRef() { + public io.kubernetes.client.openapi.models.V1LocalObjectReference getNodePublishSecretRef() { return nodePublishSecretRef; } - public void setNodePublishSecretRef(io.kubernetes.client.models.V1LocalObjectReference nodePublishSecretRef) { + public void setNodePublishSecretRef(io.kubernetes.client.openapi.models.V1LocalObjectReference nodePublishSecretRef) { this.nodePublishSecretRef = nodePublishSecretRef; } diff --git a/src/main/java/io/argoproj/workflow/models/CephFSVolumeSource.java b/src/main/java/io/argoproj/workflow/models/CephFSVolumeSource.java index beca68d6..eeabe7c5 100644 --- a/src/main/java/io/argoproj/workflow/models/CephFSVolumeSource.java +++ b/src/main/java/io/argoproj/workflow/models/CephFSVolumeSource.java @@ -50,7 +50,7 @@ public class CephFSVolumeSource { public static final String SERIALIZED_NAME_SECRET_REF = "secretRef"; @SerializedName(SERIALIZED_NAME_SECRET_REF) - private io.kubernetes.client.models.V1LocalObjectReference secretRef; + private io.kubernetes.client.openapi.models.V1LocalObjectReference secretRef; public static final String SERIALIZED_NAME_USER = "user"; @SerializedName(SERIALIZED_NAME_USER) @@ -153,7 +153,7 @@ public void setSecretFile(String secretFile) { } - public CephFSVolumeSource secretRef(io.kubernetes.client.models.V1LocalObjectReference secretRef) { + public CephFSVolumeSource secretRef(io.kubernetes.client.openapi.models.V1LocalObjectReference secretRef) { this.secretRef = secretRef; return this; @@ -166,12 +166,12 @@ public CephFSVolumeSource secretRef(io.kubernetes.client.models.V1LocalObjectRef @javax.annotation.Nullable @ApiModelProperty(value = "") - public io.kubernetes.client.models.V1LocalObjectReference getSecretRef() { + public io.kubernetes.client.openapi.models.V1LocalObjectReference getSecretRef() { return secretRef; } - public void setSecretRef(io.kubernetes.client.models.V1LocalObjectReference secretRef) { + public void setSecretRef(io.kubernetes.client.openapi.models.V1LocalObjectReference secretRef) { this.secretRef = secretRef; } diff --git a/src/main/java/io/argoproj/workflow/models/CinderVolumeSource.java b/src/main/java/io/argoproj/workflow/models/CinderVolumeSource.java index db3d916a..8b49c256 100644 --- a/src/main/java/io/argoproj/workflow/models/CinderVolumeSource.java +++ b/src/main/java/io/argoproj/workflow/models/CinderVolumeSource.java @@ -40,7 +40,7 @@ public class CinderVolumeSource { public static final String SERIALIZED_NAME_SECRET_REF = "secretRef"; @SerializedName(SERIALIZED_NAME_SECRET_REF) - private io.kubernetes.client.models.V1LocalObjectReference secretRef; + private io.kubernetes.client.openapi.models.V1LocalObjectReference secretRef; public static final String SERIALIZED_NAME_VOLUME_I_D = "volumeID"; @SerializedName(SERIALIZED_NAME_VOLUME_I_D) @@ -93,7 +93,7 @@ public void setReadOnly(Boolean readOnly) { } - public CinderVolumeSource secretRef(io.kubernetes.client.models.V1LocalObjectReference secretRef) { + public CinderVolumeSource secretRef(io.kubernetes.client.openapi.models.V1LocalObjectReference secretRef) { this.secretRef = secretRef; return this; @@ -106,12 +106,12 @@ public CinderVolumeSource secretRef(io.kubernetes.client.models.V1LocalObjectRef @javax.annotation.Nullable @ApiModelProperty(value = "") - public io.kubernetes.client.models.V1LocalObjectReference getSecretRef() { + public io.kubernetes.client.openapi.models.V1LocalObjectReference getSecretRef() { return secretRef; } - public void setSecretRef(io.kubernetes.client.models.V1LocalObjectReference secretRef) { + public void setSecretRef(io.kubernetes.client.openapi.models.V1LocalObjectReference secretRef) { this.secretRef = secretRef; } diff --git a/src/main/java/io/argoproj/workflow/models/ClusterWorkflowTemplate.java b/src/main/java/io/argoproj/workflow/models/ClusterWorkflowTemplate.java index 5f48fa06..85f57568 100644 --- a/src/main/java/io/argoproj/workflow/models/ClusterWorkflowTemplate.java +++ b/src/main/java/io/argoproj/workflow/models/ClusterWorkflowTemplate.java @@ -41,7 +41,7 @@ public class ClusterWorkflowTemplate { public static final String SERIALIZED_NAME_METADATA = "metadata"; @SerializedName(SERIALIZED_NAME_METADATA) - private io.kubernetes.client.models.V1ObjectMeta metadata; + private io.kubernetes.client.openapi.models.V1ObjectMeta metadata; public static final String SERIALIZED_NAME_SPEC = "spec"; @SerializedName(SERIALIZED_NAME_SPEC) @@ -94,7 +94,7 @@ public void setKind(String kind) { } - public ClusterWorkflowTemplate metadata(io.kubernetes.client.models.V1ObjectMeta metadata) { + public ClusterWorkflowTemplate metadata(io.kubernetes.client.openapi.models.V1ObjectMeta metadata) { this.metadata = metadata; return this; @@ -106,12 +106,12 @@ public ClusterWorkflowTemplate metadata(io.kubernetes.client.models.V1ObjectMeta **/ @ApiModelProperty(required = true, value = "") - public io.kubernetes.client.models.V1ObjectMeta getMetadata() { + public io.kubernetes.client.openapi.models.V1ObjectMeta getMetadata() { return metadata; } - public void setMetadata(io.kubernetes.client.models.V1ObjectMeta metadata) { + public void setMetadata(io.kubernetes.client.openapi.models.V1ObjectMeta metadata) { this.metadata = metadata; } diff --git a/src/main/java/io/argoproj/workflow/models/ClusterWorkflowTemplateList.java b/src/main/java/io/argoproj/workflow/models/ClusterWorkflowTemplateList.java index 5cd53b88..3932542b 100644 --- a/src/main/java/io/argoproj/workflow/models/ClusterWorkflowTemplateList.java +++ b/src/main/java/io/argoproj/workflow/models/ClusterWorkflowTemplateList.java @@ -47,7 +47,7 @@ public class ClusterWorkflowTemplateList { public static final String SERIALIZED_NAME_METADATA = "metadata"; @SerializedName(SERIALIZED_NAME_METADATA) - private io.kubernetes.client.models.V1ListMeta metadata; + private io.kubernetes.client.openapi.models.V1ListMeta metadata; public ClusterWorkflowTemplateList apiVersion(String apiVersion) { @@ -123,7 +123,7 @@ public void setKind(String kind) { } - public ClusterWorkflowTemplateList metadata(io.kubernetes.client.models.V1ListMeta metadata) { + public ClusterWorkflowTemplateList metadata(io.kubernetes.client.openapi.models.V1ListMeta metadata) { this.metadata = metadata; return this; @@ -135,12 +135,12 @@ public ClusterWorkflowTemplateList metadata(io.kubernetes.client.models.V1ListMe **/ @ApiModelProperty(required = true, value = "") - public io.kubernetes.client.models.V1ListMeta getMetadata() { + public io.kubernetes.client.openapi.models.V1ListMeta getMetadata() { return metadata; } - public void setMetadata(io.kubernetes.client.models.V1ListMeta metadata) { + public void setMetadata(io.kubernetes.client.openapi.models.V1ListMeta metadata) { this.metadata = metadata; } diff --git a/src/main/java/io/argoproj/workflow/models/CronWorkflow.java b/src/main/java/io/argoproj/workflow/models/CronWorkflow.java index e286f159..a7f7a442 100644 --- a/src/main/java/io/argoproj/workflow/models/CronWorkflow.java +++ b/src/main/java/io/argoproj/workflow/models/CronWorkflow.java @@ -42,7 +42,7 @@ public class CronWorkflow { public static final String SERIALIZED_NAME_METADATA = "metadata"; @SerializedName(SERIALIZED_NAME_METADATA) - private io.kubernetes.client.models.V1ObjectMeta metadata; + private io.kubernetes.client.openapi.models.V1ObjectMeta metadata; public static final String SERIALIZED_NAME_SPEC = "spec"; @SerializedName(SERIALIZED_NAME_SPEC) @@ -99,7 +99,7 @@ public void setKind(String kind) { } - public CronWorkflow metadata(io.kubernetes.client.models.V1ObjectMeta metadata) { + public CronWorkflow metadata(io.kubernetes.client.openapi.models.V1ObjectMeta metadata) { this.metadata = metadata; return this; @@ -111,12 +111,12 @@ public CronWorkflow metadata(io.kubernetes.client.models.V1ObjectMeta metadata) **/ @ApiModelProperty(required = true, value = "") - public io.kubernetes.client.models.V1ObjectMeta getMetadata() { + public io.kubernetes.client.openapi.models.V1ObjectMeta getMetadata() { return metadata; } - public void setMetadata(io.kubernetes.client.models.V1ObjectMeta metadata) { + public void setMetadata(io.kubernetes.client.openapi.models.V1ObjectMeta metadata) { this.metadata = metadata; } diff --git a/src/main/java/io/argoproj/workflow/models/CronWorkflowList.java b/src/main/java/io/argoproj/workflow/models/CronWorkflowList.java index c1b2e56b..5284913e 100644 --- a/src/main/java/io/argoproj/workflow/models/CronWorkflowList.java +++ b/src/main/java/io/argoproj/workflow/models/CronWorkflowList.java @@ -47,7 +47,7 @@ public class CronWorkflowList { public static final String SERIALIZED_NAME_METADATA = "metadata"; @SerializedName(SERIALIZED_NAME_METADATA) - private io.kubernetes.client.models.V1ListMeta metadata; + private io.kubernetes.client.openapi.models.V1ListMeta metadata; public CronWorkflowList apiVersion(String apiVersion) { @@ -123,7 +123,7 @@ public void setKind(String kind) { } - public CronWorkflowList metadata(io.kubernetes.client.models.V1ListMeta metadata) { + public CronWorkflowList metadata(io.kubernetes.client.openapi.models.V1ListMeta metadata) { this.metadata = metadata; return this; @@ -135,12 +135,12 @@ public CronWorkflowList metadata(io.kubernetes.client.models.V1ListMeta metadata **/ @ApiModelProperty(required = true, value = "") - public io.kubernetes.client.models.V1ListMeta getMetadata() { + public io.kubernetes.client.openapi.models.V1ListMeta getMetadata() { return metadata; } - public void setMetadata(io.kubernetes.client.models.V1ListMeta metadata) { + public void setMetadata(io.kubernetes.client.openapi.models.V1ListMeta metadata) { this.metadata = metadata; } diff --git a/src/main/java/io/argoproj/workflow/models/CronWorkflowSpec.java b/src/main/java/io/argoproj/workflow/models/CronWorkflowSpec.java index 5e09b053..5cc10ac8 100644 --- a/src/main/java/io/argoproj/workflow/models/CronWorkflowSpec.java +++ b/src/main/java/io/argoproj/workflow/models/CronWorkflowSpec.java @@ -61,7 +61,7 @@ public class CronWorkflowSpec { public static final String SERIALIZED_NAME_WORKFLOW_METADATA = "workflowMetadata"; @SerializedName(SERIALIZED_NAME_WORKFLOW_METADATA) - private io.kubernetes.client.models.V1ObjectMeta workflowMetadata; + private io.kubernetes.client.openapi.models.V1ObjectMeta workflowMetadata; public static final String SERIALIZED_NAME_WORKFLOW_SPEC = "workflowSpec"; @SerializedName(SERIALIZED_NAME_WORKFLOW_SPEC) @@ -228,7 +228,7 @@ public void setTimezone(String timezone) { } - public CronWorkflowSpec workflowMetadata(io.kubernetes.client.models.V1ObjectMeta workflowMetadata) { + public CronWorkflowSpec workflowMetadata(io.kubernetes.client.openapi.models.V1ObjectMeta workflowMetadata) { this.workflowMetadata = workflowMetadata; return this; @@ -241,12 +241,12 @@ public CronWorkflowSpec workflowMetadata(io.kubernetes.client.models.V1ObjectMet @javax.annotation.Nullable @ApiModelProperty(value = "") - public io.kubernetes.client.models.V1ObjectMeta getWorkflowMetadata() { + public io.kubernetes.client.openapi.models.V1ObjectMeta getWorkflowMetadata() { return workflowMetadata; } - public void setWorkflowMetadata(io.kubernetes.client.models.V1ObjectMeta workflowMetadata) { + public void setWorkflowMetadata(io.kubernetes.client.openapi.models.V1ObjectMeta workflowMetadata) { this.workflowMetadata = workflowMetadata; } diff --git a/src/main/java/io/argoproj/workflow/models/CronWorkflowStatus.java b/src/main/java/io/argoproj/workflow/models/CronWorkflowStatus.java index 5ff57db2..d3179fc9 100644 --- a/src/main/java/io/argoproj/workflow/models/CronWorkflowStatus.java +++ b/src/main/java/io/argoproj/workflow/models/CronWorkflowStatus.java @@ -35,7 +35,7 @@ public class CronWorkflowStatus { public static final String SERIALIZED_NAME_ACTIVE = "active"; @SerializedName(SERIALIZED_NAME_ACTIVE) - private List active = null; + private List active = null; public static final String SERIALIZED_NAME_CONDITIONS = "conditions"; @SerializedName(SERIALIZED_NAME_CONDITIONS) @@ -46,15 +46,15 @@ public class CronWorkflowStatus { private org.joda.time.DateTime lastScheduledTime; - public CronWorkflowStatus active(List active) { + public CronWorkflowStatus active(List active) { this.active = active; return this; } - public CronWorkflowStatus addActiveItem(io.kubernetes.client.models.V1ObjectReference activeItem) { + public CronWorkflowStatus addActiveItem(io.kubernetes.client.openapi.models.V1ObjectReference activeItem) { if (this.active == null) { - this.active = new ArrayList(); + this.active = new ArrayList(); } this.active.add(activeItem); return this; @@ -67,12 +67,12 @@ public CronWorkflowStatus addActiveItem(io.kubernetes.client.models.V1ObjectRefe @javax.annotation.Nullable @ApiModelProperty(value = "Active is a list of active workflows stemming from this CronWorkflow") - public List getActive() { + public List getActive() { return active; } - public void setActive(List active) { + public void setActive(List active) { this.active = active; } diff --git a/src/main/java/io/argoproj/workflow/models/EnvVarSource.java b/src/main/java/io/argoproj/workflow/models/EnvVarSource.java index d9876226..91de5f14 100644 --- a/src/main/java/io/argoproj/workflow/models/EnvVarSource.java +++ b/src/main/java/io/argoproj/workflow/models/EnvVarSource.java @@ -34,7 +34,7 @@ public class EnvVarSource { public static final String SERIALIZED_NAME_CONFIG_MAP_KEY_REF = "configMapKeyRef"; @SerializedName(SERIALIZED_NAME_CONFIG_MAP_KEY_REF) - private io.kubernetes.client.models.V1ConfigMapKeySelector configMapKeyRef; + private io.kubernetes.client.openapi.models.V1ConfigMapKeySelector configMapKeyRef; public static final String SERIALIZED_NAME_FIELD_REF = "fieldRef"; @SerializedName(SERIALIZED_NAME_FIELD_REF) @@ -46,10 +46,10 @@ public class EnvVarSource { public static final String SERIALIZED_NAME_SECRET_KEY_REF = "secretKeyRef"; @SerializedName(SERIALIZED_NAME_SECRET_KEY_REF) - private io.kubernetes.client.models.V1SecretKeySelector secretKeyRef; + private io.kubernetes.client.openapi.models.V1SecretKeySelector secretKeyRef; - public EnvVarSource configMapKeyRef(io.kubernetes.client.models.V1ConfigMapKeySelector configMapKeyRef) { + public EnvVarSource configMapKeyRef(io.kubernetes.client.openapi.models.V1ConfigMapKeySelector configMapKeyRef) { this.configMapKeyRef = configMapKeyRef; return this; @@ -62,12 +62,12 @@ public EnvVarSource configMapKeyRef(io.kubernetes.client.models.V1ConfigMapKeySe @javax.annotation.Nullable @ApiModelProperty(value = "") - public io.kubernetes.client.models.V1ConfigMapKeySelector getConfigMapKeyRef() { + public io.kubernetes.client.openapi.models.V1ConfigMapKeySelector getConfigMapKeyRef() { return configMapKeyRef; } - public void setConfigMapKeyRef(io.kubernetes.client.models.V1ConfigMapKeySelector configMapKeyRef) { + public void setConfigMapKeyRef(io.kubernetes.client.openapi.models.V1ConfigMapKeySelector configMapKeyRef) { this.configMapKeyRef = configMapKeyRef; } @@ -118,7 +118,7 @@ public void setResourceFieldRef(ResourceFieldSelector resourceFieldRef) { } - public EnvVarSource secretKeyRef(io.kubernetes.client.models.V1SecretKeySelector secretKeyRef) { + public EnvVarSource secretKeyRef(io.kubernetes.client.openapi.models.V1SecretKeySelector secretKeyRef) { this.secretKeyRef = secretKeyRef; return this; @@ -131,12 +131,12 @@ public EnvVarSource secretKeyRef(io.kubernetes.client.models.V1SecretKeySelector @javax.annotation.Nullable @ApiModelProperty(value = "") - public io.kubernetes.client.models.V1SecretKeySelector getSecretKeyRef() { + public io.kubernetes.client.openapi.models.V1SecretKeySelector getSecretKeyRef() { return secretKeyRef; } - public void setSecretKeyRef(io.kubernetes.client.models.V1SecretKeySelector secretKeyRef) { + public void setSecretKeyRef(io.kubernetes.client.openapi.models.V1SecretKeySelector secretKeyRef) { this.secretKeyRef = secretKeyRef; } diff --git a/src/main/java/io/argoproj/workflow/models/FlexVolumeSource.java b/src/main/java/io/argoproj/workflow/models/FlexVolumeSource.java index 7141668e..1494f11f 100644 --- a/src/main/java/io/argoproj/workflow/models/FlexVolumeSource.java +++ b/src/main/java/io/argoproj/workflow/models/FlexVolumeSource.java @@ -51,7 +51,7 @@ public class FlexVolumeSource { public static final String SERIALIZED_NAME_SECRET_REF = "secretRef"; @SerializedName(SERIALIZED_NAME_SECRET_REF) - private io.kubernetes.client.models.V1LocalObjectReference secretRef; + private io.kubernetes.client.openapi.models.V1LocalObjectReference secretRef; public FlexVolumeSource driver(String driver) { @@ -153,7 +153,7 @@ public void setReadOnly(Boolean readOnly) { } - public FlexVolumeSource secretRef(io.kubernetes.client.models.V1LocalObjectReference secretRef) { + public FlexVolumeSource secretRef(io.kubernetes.client.openapi.models.V1LocalObjectReference secretRef) { this.secretRef = secretRef; return this; @@ -166,12 +166,12 @@ public FlexVolumeSource secretRef(io.kubernetes.client.models.V1LocalObjectRefer @javax.annotation.Nullable @ApiModelProperty(value = "") - public io.kubernetes.client.models.V1LocalObjectReference getSecretRef() { + public io.kubernetes.client.openapi.models.V1LocalObjectReference getSecretRef() { return secretRef; } - public void setSecretRef(io.kubernetes.client.models.V1LocalObjectReference secretRef) { + public void setSecretRef(io.kubernetes.client.openapi.models.V1LocalObjectReference secretRef) { this.secretRef = secretRef; } diff --git a/src/main/java/io/argoproj/workflow/models/GCSArtifact.java b/src/main/java/io/argoproj/workflow/models/GCSArtifact.java index 21e81f1f..52ad31dc 100644 --- a/src/main/java/io/argoproj/workflow/models/GCSArtifact.java +++ b/src/main/java/io/argoproj/workflow/models/GCSArtifact.java @@ -40,7 +40,7 @@ public class GCSArtifact { public static final String SERIALIZED_NAME_SERVICE_ACCOUNT_KEY_SECRET = "serviceAccountKeySecret"; @SerializedName(SERIALIZED_NAME_SERVICE_ACCOUNT_KEY_SECRET) - private io.kubernetes.client.models.V1SecretKeySelector serviceAccountKeySecret; + private io.kubernetes.client.openapi.models.V1SecretKeySelector serviceAccountKeySecret; public GCSArtifact bucket(String bucket) { @@ -87,7 +87,7 @@ public void setKey(String key) { } - public GCSArtifact serviceAccountKeySecret(io.kubernetes.client.models.V1SecretKeySelector serviceAccountKeySecret) { + public GCSArtifact serviceAccountKeySecret(io.kubernetes.client.openapi.models.V1SecretKeySelector serviceAccountKeySecret) { this.serviceAccountKeySecret = serviceAccountKeySecret; return this; @@ -100,12 +100,12 @@ public GCSArtifact serviceAccountKeySecret(io.kubernetes.client.models.V1SecretK @javax.annotation.Nullable @ApiModelProperty(value = "") - public io.kubernetes.client.models.V1SecretKeySelector getServiceAccountKeySecret() { + public io.kubernetes.client.openapi.models.V1SecretKeySelector getServiceAccountKeySecret() { return serviceAccountKeySecret; } - public void setServiceAccountKeySecret(io.kubernetes.client.models.V1SecretKeySelector serviceAccountKeySecret) { + public void setServiceAccountKeySecret(io.kubernetes.client.openapi.models.V1SecretKeySelector serviceAccountKeySecret) { this.serviceAccountKeySecret = serviceAccountKeySecret; } diff --git a/src/main/java/io/argoproj/workflow/models/GitArtifact.java b/src/main/java/io/argoproj/workflow/models/GitArtifact.java index d75e2a06..a67def04 100644 --- a/src/main/java/io/argoproj/workflow/models/GitArtifact.java +++ b/src/main/java/io/argoproj/workflow/models/GitArtifact.java @@ -46,7 +46,7 @@ public class GitArtifact { public static final String SERIALIZED_NAME_PASSWORD_SECRET = "passwordSecret"; @SerializedName(SERIALIZED_NAME_PASSWORD_SECRET) - private io.kubernetes.client.models.V1SecretKeySelector passwordSecret; + private io.kubernetes.client.openapi.models.V1SecretKeySelector passwordSecret; public static final String SERIALIZED_NAME_REPO = "repo"; @SerializedName(SERIALIZED_NAME_REPO) @@ -58,11 +58,11 @@ public class GitArtifact { public static final String SERIALIZED_NAME_SSH_PRIVATE_KEY_SECRET = "sshPrivateKeySecret"; @SerializedName(SERIALIZED_NAME_SSH_PRIVATE_KEY_SECRET) - private io.kubernetes.client.models.V1SecretKeySelector sshPrivateKeySecret; + private io.kubernetes.client.openapi.models.V1SecretKeySelector sshPrivateKeySecret; public static final String SERIALIZED_NAME_USERNAME_SECRET = "usernameSecret"; @SerializedName(SERIALIZED_NAME_USERNAME_SECRET) - private io.kubernetes.client.models.V1SecretKeySelector usernameSecret; + private io.kubernetes.client.openapi.models.V1SecretKeySelector usernameSecret; public GitArtifact depth(Long depth) { @@ -142,7 +142,7 @@ public void setInsecureIgnoreHostKey(Boolean insecureIgnoreHostKey) { } - public GitArtifact passwordSecret(io.kubernetes.client.models.V1SecretKeySelector passwordSecret) { + public GitArtifact passwordSecret(io.kubernetes.client.openapi.models.V1SecretKeySelector passwordSecret) { this.passwordSecret = passwordSecret; return this; @@ -155,12 +155,12 @@ public GitArtifact passwordSecret(io.kubernetes.client.models.V1SecretKeySelecto @javax.annotation.Nullable @ApiModelProperty(value = "") - public io.kubernetes.client.models.V1SecretKeySelector getPasswordSecret() { + public io.kubernetes.client.openapi.models.V1SecretKeySelector getPasswordSecret() { return passwordSecret; } - public void setPasswordSecret(io.kubernetes.client.models.V1SecretKeySelector passwordSecret) { + public void setPasswordSecret(io.kubernetes.client.openapi.models.V1SecretKeySelector passwordSecret) { this.passwordSecret = passwordSecret; } @@ -210,7 +210,7 @@ public void setRevision(String revision) { } - public GitArtifact sshPrivateKeySecret(io.kubernetes.client.models.V1SecretKeySelector sshPrivateKeySecret) { + public GitArtifact sshPrivateKeySecret(io.kubernetes.client.openapi.models.V1SecretKeySelector sshPrivateKeySecret) { this.sshPrivateKeySecret = sshPrivateKeySecret; return this; @@ -223,17 +223,17 @@ public GitArtifact sshPrivateKeySecret(io.kubernetes.client.models.V1SecretKeySe @javax.annotation.Nullable @ApiModelProperty(value = "") - public io.kubernetes.client.models.V1SecretKeySelector getSshPrivateKeySecret() { + public io.kubernetes.client.openapi.models.V1SecretKeySelector getSshPrivateKeySecret() { return sshPrivateKeySecret; } - public void setSshPrivateKeySecret(io.kubernetes.client.models.V1SecretKeySelector sshPrivateKeySecret) { + public void setSshPrivateKeySecret(io.kubernetes.client.openapi.models.V1SecretKeySelector sshPrivateKeySecret) { this.sshPrivateKeySecret = sshPrivateKeySecret; } - public GitArtifact usernameSecret(io.kubernetes.client.models.V1SecretKeySelector usernameSecret) { + public GitArtifact usernameSecret(io.kubernetes.client.openapi.models.V1SecretKeySelector usernameSecret) { this.usernameSecret = usernameSecret; return this; @@ -246,12 +246,12 @@ public GitArtifact usernameSecret(io.kubernetes.client.models.V1SecretKeySelecto @javax.annotation.Nullable @ApiModelProperty(value = "") - public io.kubernetes.client.models.V1SecretKeySelector getUsernameSecret() { + public io.kubernetes.client.openapi.models.V1SecretKeySelector getUsernameSecret() { return usernameSecret; } - public void setUsernameSecret(io.kubernetes.client.models.V1SecretKeySelector usernameSecret) { + public void setUsernameSecret(io.kubernetes.client.openapi.models.V1SecretKeySelector usernameSecret) { this.usernameSecret = usernameSecret; } diff --git a/src/main/java/io/argoproj/workflow/models/HDFSArtifact.java b/src/main/java/io/argoproj/workflow/models/HDFSArtifact.java index 86034c06..778d0c18 100644 --- a/src/main/java/io/argoproj/workflow/models/HDFSArtifact.java +++ b/src/main/java/io/argoproj/workflow/models/HDFSArtifact.java @@ -46,15 +46,15 @@ public class HDFSArtifact { public static final String SERIALIZED_NAME_KRB_C_CACHE_SECRET = "krbCCacheSecret"; @SerializedName(SERIALIZED_NAME_KRB_C_CACHE_SECRET) - private io.kubernetes.client.models.V1SecretKeySelector krbCCacheSecret; + private io.kubernetes.client.openapi.models.V1SecretKeySelector krbCCacheSecret; public static final String SERIALIZED_NAME_KRB_CONFIG_CONFIG_MAP = "krbConfigConfigMap"; @SerializedName(SERIALIZED_NAME_KRB_CONFIG_CONFIG_MAP) - private io.kubernetes.client.models.V1ConfigMapKeySelector krbConfigConfigMap; + private io.kubernetes.client.openapi.models.V1ConfigMapKeySelector krbConfigConfigMap; public static final String SERIALIZED_NAME_KRB_KEYTAB_SECRET = "krbKeytabSecret"; @SerializedName(SERIALIZED_NAME_KRB_KEYTAB_SECRET) - private io.kubernetes.client.models.V1SecretKeySelector krbKeytabSecret; + private io.kubernetes.client.openapi.models.V1SecretKeySelector krbKeytabSecret; public static final String SERIALIZED_NAME_KRB_REALM = "krbRealm"; @SerializedName(SERIALIZED_NAME_KRB_REALM) @@ -146,7 +146,7 @@ public void setHdfsUser(String hdfsUser) { } - public HDFSArtifact krbCCacheSecret(io.kubernetes.client.models.V1SecretKeySelector krbCCacheSecret) { + public HDFSArtifact krbCCacheSecret(io.kubernetes.client.openapi.models.V1SecretKeySelector krbCCacheSecret) { this.krbCCacheSecret = krbCCacheSecret; return this; @@ -159,17 +159,17 @@ public HDFSArtifact krbCCacheSecret(io.kubernetes.client.models.V1SecretKeySelec @javax.annotation.Nullable @ApiModelProperty(value = "") - public io.kubernetes.client.models.V1SecretKeySelector getKrbCCacheSecret() { + public io.kubernetes.client.openapi.models.V1SecretKeySelector getKrbCCacheSecret() { return krbCCacheSecret; } - public void setKrbCCacheSecret(io.kubernetes.client.models.V1SecretKeySelector krbCCacheSecret) { + public void setKrbCCacheSecret(io.kubernetes.client.openapi.models.V1SecretKeySelector krbCCacheSecret) { this.krbCCacheSecret = krbCCacheSecret; } - public HDFSArtifact krbConfigConfigMap(io.kubernetes.client.models.V1ConfigMapKeySelector krbConfigConfigMap) { + public HDFSArtifact krbConfigConfigMap(io.kubernetes.client.openapi.models.V1ConfigMapKeySelector krbConfigConfigMap) { this.krbConfigConfigMap = krbConfigConfigMap; return this; @@ -182,17 +182,17 @@ public HDFSArtifact krbConfigConfigMap(io.kubernetes.client.models.V1ConfigMapKe @javax.annotation.Nullable @ApiModelProperty(value = "") - public io.kubernetes.client.models.V1ConfigMapKeySelector getKrbConfigConfigMap() { + public io.kubernetes.client.openapi.models.V1ConfigMapKeySelector getKrbConfigConfigMap() { return krbConfigConfigMap; } - public void setKrbConfigConfigMap(io.kubernetes.client.models.V1ConfigMapKeySelector krbConfigConfigMap) { + public void setKrbConfigConfigMap(io.kubernetes.client.openapi.models.V1ConfigMapKeySelector krbConfigConfigMap) { this.krbConfigConfigMap = krbConfigConfigMap; } - public HDFSArtifact krbKeytabSecret(io.kubernetes.client.models.V1SecretKeySelector krbKeytabSecret) { + public HDFSArtifact krbKeytabSecret(io.kubernetes.client.openapi.models.V1SecretKeySelector krbKeytabSecret) { this.krbKeytabSecret = krbKeytabSecret; return this; @@ -205,12 +205,12 @@ public HDFSArtifact krbKeytabSecret(io.kubernetes.client.models.V1SecretKeySelec @javax.annotation.Nullable @ApiModelProperty(value = "") - public io.kubernetes.client.models.V1SecretKeySelector getKrbKeytabSecret() { + public io.kubernetes.client.openapi.models.V1SecretKeySelector getKrbKeytabSecret() { return krbKeytabSecret; } - public void setKrbKeytabSecret(io.kubernetes.client.models.V1SecretKeySelector krbKeytabSecret) { + public void setKrbKeytabSecret(io.kubernetes.client.openapi.models.V1SecretKeySelector krbKeytabSecret) { this.krbKeytabSecret = krbKeytabSecret; } diff --git a/src/main/java/io/argoproj/workflow/models/ISCSIVolumeSource.java b/src/main/java/io/argoproj/workflow/models/ISCSIVolumeSource.java index fe3bbf9f..0cb2790c 100644 --- a/src/main/java/io/argoproj/workflow/models/ISCSIVolumeSource.java +++ b/src/main/java/io/argoproj/workflow/models/ISCSIVolumeSource.java @@ -70,7 +70,7 @@ public class ISCSIVolumeSource { public static final String SERIALIZED_NAME_SECRET_REF = "secretRef"; @SerializedName(SERIALIZED_NAME_SECRET_REF) - private io.kubernetes.client.models.V1LocalObjectReference secretRef; + private io.kubernetes.client.openapi.models.V1LocalObjectReference secretRef; public static final String SERIALIZED_NAME_TARGET_PORTAL = "targetPortal"; @SerializedName(SERIALIZED_NAME_TARGET_PORTAL) @@ -290,7 +290,7 @@ public void setReadOnly(Boolean readOnly) { } - public ISCSIVolumeSource secretRef(io.kubernetes.client.models.V1LocalObjectReference secretRef) { + public ISCSIVolumeSource secretRef(io.kubernetes.client.openapi.models.V1LocalObjectReference secretRef) { this.secretRef = secretRef; return this; @@ -303,12 +303,12 @@ public ISCSIVolumeSource secretRef(io.kubernetes.client.models.V1LocalObjectRefe @javax.annotation.Nullable @ApiModelProperty(value = "") - public io.kubernetes.client.models.V1LocalObjectReference getSecretRef() { + public io.kubernetes.client.openapi.models.V1LocalObjectReference getSecretRef() { return secretRef; } - public void setSecretRef(io.kubernetes.client.models.V1LocalObjectReference secretRef) { + public void setSecretRef(io.kubernetes.client.openapi.models.V1LocalObjectReference secretRef) { this.secretRef = secretRef; } diff --git a/src/main/java/io/argoproj/workflow/models/OSSArtifact.java b/src/main/java/io/argoproj/workflow/models/OSSArtifact.java index 97c572b0..cfe7bc89 100644 --- a/src/main/java/io/argoproj/workflow/models/OSSArtifact.java +++ b/src/main/java/io/argoproj/workflow/models/OSSArtifact.java @@ -32,7 +32,7 @@ public class OSSArtifact { public static final String SERIALIZED_NAME_ACCESS_KEY_SECRET = "accessKeySecret"; @SerializedName(SERIALIZED_NAME_ACCESS_KEY_SECRET) - private io.kubernetes.client.models.V1SecretKeySelector accessKeySecret; + private io.kubernetes.client.openapi.models.V1SecretKeySelector accessKeySecret; public static final String SERIALIZED_NAME_BUCKET = "bucket"; @SerializedName(SERIALIZED_NAME_BUCKET) @@ -48,10 +48,10 @@ public class OSSArtifact { public static final String SERIALIZED_NAME_SECRET_KEY_SECRET = "secretKeySecret"; @SerializedName(SERIALIZED_NAME_SECRET_KEY_SECRET) - private io.kubernetes.client.models.V1SecretKeySelector secretKeySecret; + private io.kubernetes.client.openapi.models.V1SecretKeySelector secretKeySecret; - public OSSArtifact accessKeySecret(io.kubernetes.client.models.V1SecretKeySelector accessKeySecret) { + public OSSArtifact accessKeySecret(io.kubernetes.client.openapi.models.V1SecretKeySelector accessKeySecret) { this.accessKeySecret = accessKeySecret; return this; @@ -63,12 +63,12 @@ public OSSArtifact accessKeySecret(io.kubernetes.client.models.V1SecretKeySelect **/ @ApiModelProperty(required = true, value = "") - public io.kubernetes.client.models.V1SecretKeySelector getAccessKeySecret() { + public io.kubernetes.client.openapi.models.V1SecretKeySelector getAccessKeySecret() { return accessKeySecret; } - public void setAccessKeySecret(io.kubernetes.client.models.V1SecretKeySelector accessKeySecret) { + public void setAccessKeySecret(io.kubernetes.client.openapi.models.V1SecretKeySelector accessKeySecret) { this.accessKeySecret = accessKeySecret; } @@ -139,7 +139,7 @@ public void setKey(String key) { } - public OSSArtifact secretKeySecret(io.kubernetes.client.models.V1SecretKeySelector secretKeySecret) { + public OSSArtifact secretKeySecret(io.kubernetes.client.openapi.models.V1SecretKeySelector secretKeySecret) { this.secretKeySecret = secretKeySecret; return this; @@ -151,12 +151,12 @@ public OSSArtifact secretKeySecret(io.kubernetes.client.models.V1SecretKeySelect **/ @ApiModelProperty(required = true, value = "") - public io.kubernetes.client.models.V1SecretKeySelector getSecretKeySecret() { + public io.kubernetes.client.openapi.models.V1SecretKeySelector getSecretKeySecret() { return secretKeySecret; } - public void setSecretKeySecret(io.kubernetes.client.models.V1SecretKeySelector secretKeySecret) { + public void setSecretKeySecret(io.kubernetes.client.openapi.models.V1SecretKeySelector secretKeySecret) { this.secretKeySecret = secretKeySecret; } diff --git a/src/main/java/io/argoproj/workflow/models/PersistentVolumeClaimSpec.java b/src/main/java/io/argoproj/workflow/models/PersistentVolumeClaimSpec.java index feaa4585..62442b03 100644 --- a/src/main/java/io/argoproj/workflow/models/PersistentVolumeClaimSpec.java +++ b/src/main/java/io/argoproj/workflow/models/PersistentVolumeClaimSpec.java @@ -44,7 +44,7 @@ public class PersistentVolumeClaimSpec { public static final String SERIALIZED_NAME_RESOURCES = "resources"; @SerializedName(SERIALIZED_NAME_RESOURCES) - private io.kubernetes.client.models.V1ResourceRequirements resources; + private io.kubernetes.client.openapi.models.V1ResourceRequirements resources; public static final String SERIALIZED_NAME_SELECTOR = "selector"; @SerializedName(SERIALIZED_NAME_SELECTOR) @@ -117,7 +117,7 @@ public void setDataSource(TypedLocalObjectReference dataSource) { } - public PersistentVolumeClaimSpec resources(io.kubernetes.client.models.V1ResourceRequirements resources) { + public PersistentVolumeClaimSpec resources(io.kubernetes.client.openapi.models.V1ResourceRequirements resources) { this.resources = resources; return this; @@ -130,12 +130,12 @@ public PersistentVolumeClaimSpec resources(io.kubernetes.client.models.V1Resourc @javax.annotation.Nullable @ApiModelProperty(value = "") - public io.kubernetes.client.models.V1ResourceRequirements getResources() { + public io.kubernetes.client.openapi.models.V1ResourceRequirements getResources() { return resources; } - public void setResources(io.kubernetes.client.models.V1ResourceRequirements resources) { + public void setResources(io.kubernetes.client.openapi.models.V1ResourceRequirements resources) { this.resources = resources; } diff --git a/src/main/java/io/argoproj/workflow/models/RBDVolumeSource.java b/src/main/java/io/argoproj/workflow/models/RBDVolumeSource.java index 21e22d6c..41b9ce2a 100644 --- a/src/main/java/io/argoproj/workflow/models/RBDVolumeSource.java +++ b/src/main/java/io/argoproj/workflow/models/RBDVolumeSource.java @@ -58,7 +58,7 @@ public class RBDVolumeSource { public static final String SERIALIZED_NAME_SECRET_REF = "secretRef"; @SerializedName(SERIALIZED_NAME_SECRET_REF) - private io.kubernetes.client.models.V1LocalObjectReference secretRef; + private io.kubernetes.client.openapi.models.V1LocalObjectReference secretRef; public static final String SERIALIZED_NAME_USER = "user"; @SerializedName(SERIALIZED_NAME_USER) @@ -206,7 +206,7 @@ public void setReadOnly(Boolean readOnly) { } - public RBDVolumeSource secretRef(io.kubernetes.client.models.V1LocalObjectReference secretRef) { + public RBDVolumeSource secretRef(io.kubernetes.client.openapi.models.V1LocalObjectReference secretRef) { this.secretRef = secretRef; return this; @@ -219,12 +219,12 @@ public RBDVolumeSource secretRef(io.kubernetes.client.models.V1LocalObjectRefere @javax.annotation.Nullable @ApiModelProperty(value = "") - public io.kubernetes.client.models.V1LocalObjectReference getSecretRef() { + public io.kubernetes.client.openapi.models.V1LocalObjectReference getSecretRef() { return secretRef; } - public void setSecretRef(io.kubernetes.client.models.V1LocalObjectReference secretRef) { + public void setSecretRef(io.kubernetes.client.openapi.models.V1LocalObjectReference secretRef) { this.secretRef = secretRef; } diff --git a/src/main/java/io/argoproj/workflow/models/S3Artifact.java b/src/main/java/io/argoproj/workflow/models/S3Artifact.java index 55143243..a58b6284 100644 --- a/src/main/java/io/argoproj/workflow/models/S3Artifact.java +++ b/src/main/java/io/argoproj/workflow/models/S3Artifact.java @@ -32,7 +32,7 @@ public class S3Artifact { public static final String SERIALIZED_NAME_ACCESS_KEY_SECRET = "accessKeySecret"; @SerializedName(SERIALIZED_NAME_ACCESS_KEY_SECRET) - private io.kubernetes.client.models.V1SecretKeySelector accessKeySecret; + private io.kubernetes.client.openapi.models.V1SecretKeySelector accessKeySecret; public static final String SERIALIZED_NAME_BUCKET = "bucket"; @SerializedName(SERIALIZED_NAME_BUCKET) @@ -60,14 +60,14 @@ public class S3Artifact { public static final String SERIALIZED_NAME_SECRET_KEY_SECRET = "secretKeySecret"; @SerializedName(SERIALIZED_NAME_SECRET_KEY_SECRET) - private io.kubernetes.client.models.V1SecretKeySelector secretKeySecret; + private io.kubernetes.client.openapi.models.V1SecretKeySelector secretKeySecret; public static final String SERIALIZED_NAME_USE_S_D_K_CREDS = "useSDKCreds"; @SerializedName(SERIALIZED_NAME_USE_S_D_K_CREDS) private Boolean useSDKCreds; - public S3Artifact accessKeySecret(io.kubernetes.client.models.V1SecretKeySelector accessKeySecret) { + public S3Artifact accessKeySecret(io.kubernetes.client.openapi.models.V1SecretKeySelector accessKeySecret) { this.accessKeySecret = accessKeySecret; return this; @@ -79,12 +79,12 @@ public S3Artifact accessKeySecret(io.kubernetes.client.models.V1SecretKeySelecto **/ @ApiModelProperty(required = true, value = "") - public io.kubernetes.client.models.V1SecretKeySelector getAccessKeySecret() { + public io.kubernetes.client.openapi.models.V1SecretKeySelector getAccessKeySecret() { return accessKeySecret; } - public void setAccessKeySecret(io.kubernetes.client.models.V1SecretKeySelector accessKeySecret) { + public void setAccessKeySecret(io.kubernetes.client.openapi.models.V1SecretKeySelector accessKeySecret) { this.accessKeySecret = accessKeySecret; } @@ -224,7 +224,7 @@ public void setRoleARN(String roleARN) { } - public S3Artifact secretKeySecret(io.kubernetes.client.models.V1SecretKeySelector secretKeySecret) { + public S3Artifact secretKeySecret(io.kubernetes.client.openapi.models.V1SecretKeySelector secretKeySecret) { this.secretKeySecret = secretKeySecret; return this; @@ -236,12 +236,12 @@ public S3Artifact secretKeySecret(io.kubernetes.client.models.V1SecretKeySelecto **/ @ApiModelProperty(required = true, value = "") - public io.kubernetes.client.models.V1SecretKeySelector getSecretKeySecret() { + public io.kubernetes.client.openapi.models.V1SecretKeySelector getSecretKeySecret() { return secretKeySecret; } - public void setSecretKeySecret(io.kubernetes.client.models.V1SecretKeySelector secretKeySecret) { + public void setSecretKeySecret(io.kubernetes.client.openapi.models.V1SecretKeySelector secretKeySecret) { this.secretKeySecret = secretKeySecret; } diff --git a/src/main/java/io/argoproj/workflow/models/ScaleIOVolumeSource.java b/src/main/java/io/argoproj/workflow/models/ScaleIOVolumeSource.java index bddfc274..17606d0d 100644 --- a/src/main/java/io/argoproj/workflow/models/ScaleIOVolumeSource.java +++ b/src/main/java/io/argoproj/workflow/models/ScaleIOVolumeSource.java @@ -48,7 +48,7 @@ public class ScaleIOVolumeSource { public static final String SERIALIZED_NAME_SECRET_REF = "secretRef"; @SerializedName(SERIALIZED_NAME_SECRET_REF) - private io.kubernetes.client.models.V1LocalObjectReference secretRef; + private io.kubernetes.client.openapi.models.V1LocalObjectReference secretRef; public static final String SERIALIZED_NAME_SSL_ENABLED = "sslEnabled"; @SerializedName(SERIALIZED_NAME_SSL_ENABLED) @@ -162,7 +162,7 @@ public void setReadOnly(Boolean readOnly) { } - public ScaleIOVolumeSource secretRef(io.kubernetes.client.models.V1LocalObjectReference secretRef) { + public ScaleIOVolumeSource secretRef(io.kubernetes.client.openapi.models.V1LocalObjectReference secretRef) { this.secretRef = secretRef; return this; @@ -174,12 +174,12 @@ public ScaleIOVolumeSource secretRef(io.kubernetes.client.models.V1LocalObjectRe **/ @ApiModelProperty(required = true, value = "") - public io.kubernetes.client.models.V1LocalObjectReference getSecretRef() { + public io.kubernetes.client.openapi.models.V1LocalObjectReference getSecretRef() { return secretRef; } - public void setSecretRef(io.kubernetes.client.models.V1LocalObjectReference secretRef) { + public void setSecretRef(io.kubernetes.client.openapi.models.V1LocalObjectReference secretRef) { this.secretRef = secretRef; } diff --git a/src/main/java/io/argoproj/workflow/models/ScriptTemplate.java b/src/main/java/io/argoproj/workflow/models/ScriptTemplate.java index 4084866b..c6b81138 100644 --- a/src/main/java/io/argoproj/workflow/models/ScriptTemplate.java +++ b/src/main/java/io/argoproj/workflow/models/ScriptTemplate.java @@ -42,11 +42,11 @@ public class ScriptTemplate { public static final String SERIALIZED_NAME_ENV = "env"; @SerializedName(SERIALIZED_NAME_ENV) - private List env = null; + private List env = null; public static final String SERIALIZED_NAME_ENV_FROM = "envFrom"; @SerializedName(SERIALIZED_NAME_ENV_FROM) - private List envFrom = null; + private List envFrom = null; public static final String SERIALIZED_NAME_IMAGE = "image"; @SerializedName(SERIALIZED_NAME_IMAGE) @@ -58,11 +58,11 @@ public class ScriptTemplate { public static final String SERIALIZED_NAME_LIFECYCLE = "lifecycle"; @SerializedName(SERIALIZED_NAME_LIFECYCLE) - private io.kubernetes.client.models.V1Lifecycle lifecycle; + private io.kubernetes.client.openapi.models.V1Lifecycle lifecycle; public static final String SERIALIZED_NAME_LIVENESS_PROBE = "livenessProbe"; @SerializedName(SERIALIZED_NAME_LIVENESS_PROBE) - private io.kubernetes.client.models.V1Probe livenessProbe; + private io.kubernetes.client.openapi.models.V1Probe livenessProbe; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -70,19 +70,19 @@ public class ScriptTemplate { public static final String SERIALIZED_NAME_PORTS = "ports"; @SerializedName(SERIALIZED_NAME_PORTS) - private List ports = null; + private List ports = null; public static final String SERIALIZED_NAME_READINESS_PROBE = "readinessProbe"; @SerializedName(SERIALIZED_NAME_READINESS_PROBE) - private io.kubernetes.client.models.V1Probe readinessProbe; + private io.kubernetes.client.openapi.models.V1Probe readinessProbe; public static final String SERIALIZED_NAME_RESOURCES = "resources"; @SerializedName(SERIALIZED_NAME_RESOURCES) - private io.kubernetes.client.models.V1ResourceRequirements resources; + private io.kubernetes.client.openapi.models.V1ResourceRequirements resources; public static final String SERIALIZED_NAME_SECURITY_CONTEXT = "securityContext"; @SerializedName(SERIALIZED_NAME_SECURITY_CONTEXT) - private io.kubernetes.client.models.V1SecurityContext securityContext; + private io.kubernetes.client.openapi.models.V1SecurityContext securityContext; public static final String SERIALIZED_NAME_SOURCE = "source"; @SerializedName(SERIALIZED_NAME_SOURCE) @@ -90,7 +90,7 @@ public class ScriptTemplate { public static final String SERIALIZED_NAME_STARTUP_PROBE = "startupProbe"; @SerializedName(SERIALIZED_NAME_STARTUP_PROBE) - private io.kubernetes.client.models.V1Probe startupProbe; + private io.kubernetes.client.openapi.models.V1Probe startupProbe; public static final String SERIALIZED_NAME_STDIN = "stdin"; @SerializedName(SERIALIZED_NAME_STDIN) @@ -114,11 +114,11 @@ public class ScriptTemplate { public static final String SERIALIZED_NAME_VOLUME_DEVICES = "volumeDevices"; @SerializedName(SERIALIZED_NAME_VOLUME_DEVICES) - private List volumeDevices = null; + private List volumeDevices = null; public static final String SERIALIZED_NAME_VOLUME_MOUNTS = "volumeMounts"; @SerializedName(SERIALIZED_NAME_VOLUME_MOUNTS) - private List volumeMounts = null; + private List volumeMounts = null; public static final String SERIALIZED_NAME_WORKING_DIR = "workingDir"; @SerializedName(SERIALIZED_NAME_WORKING_DIR) @@ -187,15 +187,15 @@ public void setCommand(List command) { } - public ScriptTemplate env(List env) { + public ScriptTemplate env(List env) { this.env = env; return this; } - public ScriptTemplate addEnvItem(io.kubernetes.client.models.V1EnvVar envItem) { + public ScriptTemplate addEnvItem(io.kubernetes.client.openapi.models.V1EnvVar envItem) { if (this.env == null) { - this.env = new ArrayList(); + this.env = new ArrayList(); } this.env.add(envItem); return this; @@ -208,25 +208,25 @@ public ScriptTemplate addEnvItem(io.kubernetes.client.models.V1EnvVar envItem) { @javax.annotation.Nullable @ApiModelProperty(value = "List of environment variables to set in the container. Cannot be updated.") - public List getEnv() { + public List getEnv() { return env; } - public void setEnv(List env) { + public void setEnv(List env) { this.env = env; } - public ScriptTemplate envFrom(List envFrom) { + public ScriptTemplate envFrom(List envFrom) { this.envFrom = envFrom; return this; } - public ScriptTemplate addEnvFromItem(io.kubernetes.client.models.V1EnvFromSource envFromItem) { + public ScriptTemplate addEnvFromItem(io.kubernetes.client.openapi.models.V1EnvFromSource envFromItem) { if (this.envFrom == null) { - this.envFrom = new ArrayList(); + this.envFrom = new ArrayList(); } this.envFrom.add(envFromItem); return this; @@ -239,12 +239,12 @@ public ScriptTemplate addEnvFromItem(io.kubernetes.client.models.V1EnvFromSource @javax.annotation.Nullable @ApiModelProperty(value = "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.") - public List getEnvFrom() { + public List getEnvFrom() { return envFrom; } - public void setEnvFrom(List envFrom) { + public void setEnvFrom(List envFrom) { this.envFrom = envFrom; } @@ -294,7 +294,7 @@ public void setImagePullPolicy(String imagePullPolicy) { } - public ScriptTemplate lifecycle(io.kubernetes.client.models.V1Lifecycle lifecycle) { + public ScriptTemplate lifecycle(io.kubernetes.client.openapi.models.V1Lifecycle lifecycle) { this.lifecycle = lifecycle; return this; @@ -307,17 +307,17 @@ public ScriptTemplate lifecycle(io.kubernetes.client.models.V1Lifecycle lifecycl @javax.annotation.Nullable @ApiModelProperty(value = "") - public io.kubernetes.client.models.V1Lifecycle getLifecycle() { + public io.kubernetes.client.openapi.models.V1Lifecycle getLifecycle() { return lifecycle; } - public void setLifecycle(io.kubernetes.client.models.V1Lifecycle lifecycle) { + public void setLifecycle(io.kubernetes.client.openapi.models.V1Lifecycle lifecycle) { this.lifecycle = lifecycle; } - public ScriptTemplate livenessProbe(io.kubernetes.client.models.V1Probe livenessProbe) { + public ScriptTemplate livenessProbe(io.kubernetes.client.openapi.models.V1Probe livenessProbe) { this.livenessProbe = livenessProbe; return this; @@ -330,12 +330,12 @@ public ScriptTemplate livenessProbe(io.kubernetes.client.models.V1Probe liveness @javax.annotation.Nullable @ApiModelProperty(value = "") - public io.kubernetes.client.models.V1Probe getLivenessProbe() { + public io.kubernetes.client.openapi.models.V1Probe getLivenessProbe() { return livenessProbe; } - public void setLivenessProbe(io.kubernetes.client.models.V1Probe livenessProbe) { + public void setLivenessProbe(io.kubernetes.client.openapi.models.V1Probe livenessProbe) { this.livenessProbe = livenessProbe; } @@ -363,15 +363,15 @@ public void setName(String name) { } - public ScriptTemplate ports(List ports) { + public ScriptTemplate ports(List ports) { this.ports = ports; return this; } - public ScriptTemplate addPortsItem(io.kubernetes.client.models.V1ContainerPort portsItem) { + public ScriptTemplate addPortsItem(io.kubernetes.client.openapi.models.V1ContainerPort portsItem) { if (this.ports == null) { - this.ports = new ArrayList(); + this.ports = new ArrayList(); } this.ports.add(portsItem); return this; @@ -384,17 +384,17 @@ public ScriptTemplate addPortsItem(io.kubernetes.client.models.V1ContainerPort p @javax.annotation.Nullable @ApiModelProperty(value = "List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated.") - public List getPorts() { + public List getPorts() { return ports; } - public void setPorts(List ports) { + public void setPorts(List ports) { this.ports = ports; } - public ScriptTemplate readinessProbe(io.kubernetes.client.models.V1Probe readinessProbe) { + public ScriptTemplate readinessProbe(io.kubernetes.client.openapi.models.V1Probe readinessProbe) { this.readinessProbe = readinessProbe; return this; @@ -407,17 +407,17 @@ public ScriptTemplate readinessProbe(io.kubernetes.client.models.V1Probe readine @javax.annotation.Nullable @ApiModelProperty(value = "") - public io.kubernetes.client.models.V1Probe getReadinessProbe() { + public io.kubernetes.client.openapi.models.V1Probe getReadinessProbe() { return readinessProbe; } - public void setReadinessProbe(io.kubernetes.client.models.V1Probe readinessProbe) { + public void setReadinessProbe(io.kubernetes.client.openapi.models.V1Probe readinessProbe) { this.readinessProbe = readinessProbe; } - public ScriptTemplate resources(io.kubernetes.client.models.V1ResourceRequirements resources) { + public ScriptTemplate resources(io.kubernetes.client.openapi.models.V1ResourceRequirements resources) { this.resources = resources; return this; @@ -430,17 +430,17 @@ public ScriptTemplate resources(io.kubernetes.client.models.V1ResourceRequiremen @javax.annotation.Nullable @ApiModelProperty(value = "") - public io.kubernetes.client.models.V1ResourceRequirements getResources() { + public io.kubernetes.client.openapi.models.V1ResourceRequirements getResources() { return resources; } - public void setResources(io.kubernetes.client.models.V1ResourceRequirements resources) { + public void setResources(io.kubernetes.client.openapi.models.V1ResourceRequirements resources) { this.resources = resources; } - public ScriptTemplate securityContext(io.kubernetes.client.models.V1SecurityContext securityContext) { + public ScriptTemplate securityContext(io.kubernetes.client.openapi.models.V1SecurityContext securityContext) { this.securityContext = securityContext; return this; @@ -453,12 +453,12 @@ public ScriptTemplate securityContext(io.kubernetes.client.models.V1SecurityCont @javax.annotation.Nullable @ApiModelProperty(value = "") - public io.kubernetes.client.models.V1SecurityContext getSecurityContext() { + public io.kubernetes.client.openapi.models.V1SecurityContext getSecurityContext() { return securityContext; } - public void setSecurityContext(io.kubernetes.client.models.V1SecurityContext securityContext) { + public void setSecurityContext(io.kubernetes.client.openapi.models.V1SecurityContext securityContext) { this.securityContext = securityContext; } @@ -485,7 +485,7 @@ public void setSource(String source) { } - public ScriptTemplate startupProbe(io.kubernetes.client.models.V1Probe startupProbe) { + public ScriptTemplate startupProbe(io.kubernetes.client.openapi.models.V1Probe startupProbe) { this.startupProbe = startupProbe; return this; @@ -498,12 +498,12 @@ public ScriptTemplate startupProbe(io.kubernetes.client.models.V1Probe startupPr @javax.annotation.Nullable @ApiModelProperty(value = "") - public io.kubernetes.client.models.V1Probe getStartupProbe() { + public io.kubernetes.client.openapi.models.V1Probe getStartupProbe() { return startupProbe; } - public void setStartupProbe(io.kubernetes.client.models.V1Probe startupProbe) { + public void setStartupProbe(io.kubernetes.client.openapi.models.V1Probe startupProbe) { this.startupProbe = startupProbe; } @@ -623,15 +623,15 @@ public void setTty(Boolean tty) { } - public ScriptTemplate volumeDevices(List volumeDevices) { + public ScriptTemplate volumeDevices(List volumeDevices) { this.volumeDevices = volumeDevices; return this; } - public ScriptTemplate addVolumeDevicesItem(io.kubernetes.client.models.V1VolumeDevice volumeDevicesItem) { + public ScriptTemplate addVolumeDevicesItem(io.kubernetes.client.openapi.models.V1VolumeDevice volumeDevicesItem) { if (this.volumeDevices == null) { - this.volumeDevices = new ArrayList(); + this.volumeDevices = new ArrayList(); } this.volumeDevices.add(volumeDevicesItem); return this; @@ -644,25 +644,25 @@ public ScriptTemplate addVolumeDevicesItem(io.kubernetes.client.models.V1VolumeD @javax.annotation.Nullable @ApiModelProperty(value = "volumeDevices is the list of block devices to be used by the container. This is a beta feature.") - public List getVolumeDevices() { + public List getVolumeDevices() { return volumeDevices; } - public void setVolumeDevices(List volumeDevices) { + public void setVolumeDevices(List volumeDevices) { this.volumeDevices = volumeDevices; } - public ScriptTemplate volumeMounts(List volumeMounts) { + public ScriptTemplate volumeMounts(List volumeMounts) { this.volumeMounts = volumeMounts; return this; } - public ScriptTemplate addVolumeMountsItem(io.kubernetes.client.models.V1VolumeMount volumeMountsItem) { + public ScriptTemplate addVolumeMountsItem(io.kubernetes.client.openapi.models.V1VolumeMount volumeMountsItem) { if (this.volumeMounts == null) { - this.volumeMounts = new ArrayList(); + this.volumeMounts = new ArrayList(); } this.volumeMounts.add(volumeMountsItem); return this; @@ -675,12 +675,12 @@ public ScriptTemplate addVolumeMountsItem(io.kubernetes.client.models.V1VolumeMo @javax.annotation.Nullable @ApiModelProperty(value = "Pod volumes to mount into the container's filesystem. Cannot be updated.") - public List getVolumeMounts() { + public List getVolumeMounts() { return volumeMounts; } - public void setVolumeMounts(List volumeMounts) { + public void setVolumeMounts(List volumeMounts) { this.volumeMounts = volumeMounts; } diff --git a/src/main/java/io/argoproj/workflow/models/SemaphoreRef.java b/src/main/java/io/argoproj/workflow/models/SemaphoreRef.java index 86bb3521..55bee03f 100644 --- a/src/main/java/io/argoproj/workflow/models/SemaphoreRef.java +++ b/src/main/java/io/argoproj/workflow/models/SemaphoreRef.java @@ -32,10 +32,10 @@ public class SemaphoreRef { public static final String SERIALIZED_NAME_CONFIG_MAP_KEY_REF = "configMapKeyRef"; @SerializedName(SERIALIZED_NAME_CONFIG_MAP_KEY_REF) - private io.kubernetes.client.models.V1ConfigMapKeySelector configMapKeyRef; + private io.kubernetes.client.openapi.models.V1ConfigMapKeySelector configMapKeyRef; - public SemaphoreRef configMapKeyRef(io.kubernetes.client.models.V1ConfigMapKeySelector configMapKeyRef) { + public SemaphoreRef configMapKeyRef(io.kubernetes.client.openapi.models.V1ConfigMapKeySelector configMapKeyRef) { this.configMapKeyRef = configMapKeyRef; return this; @@ -48,12 +48,12 @@ public SemaphoreRef configMapKeyRef(io.kubernetes.client.models.V1ConfigMapKeySe @javax.annotation.Nullable @ApiModelProperty(value = "") - public io.kubernetes.client.models.V1ConfigMapKeySelector getConfigMapKeyRef() { + public io.kubernetes.client.openapi.models.V1ConfigMapKeySelector getConfigMapKeyRef() { return configMapKeyRef; } - public void setConfigMapKeyRef(io.kubernetes.client.models.V1ConfigMapKeySelector configMapKeyRef) { + public void setConfigMapKeyRef(io.kubernetes.client.openapi.models.V1ConfigMapKeySelector configMapKeyRef) { this.configMapKeyRef = configMapKeyRef; } diff --git a/src/main/java/io/argoproj/workflow/models/Status.java b/src/main/java/io/argoproj/workflow/models/Status.java index c5f8fc18..c26ac1c5 100644 --- a/src/main/java/io/argoproj/workflow/models/Status.java +++ b/src/main/java/io/argoproj/workflow/models/Status.java @@ -53,7 +53,7 @@ public class Status { public static final String SERIALIZED_NAME_METADATA = "metadata"; @SerializedName(SERIALIZED_NAME_METADATA) - private io.kubernetes.client.models.V1ListMeta metadata; + private io.kubernetes.client.openapi.models.V1ListMeta metadata; public static final String SERIALIZED_NAME_REASON = "reason"; @SerializedName(SERIALIZED_NAME_REASON) @@ -179,7 +179,7 @@ public void setMessage(String message) { } - public Status metadata(io.kubernetes.client.models.V1ListMeta metadata) { + public Status metadata(io.kubernetes.client.openapi.models.V1ListMeta metadata) { this.metadata = metadata; return this; @@ -192,12 +192,12 @@ public Status metadata(io.kubernetes.client.models.V1ListMeta metadata) { @javax.annotation.Nullable @ApiModelProperty(value = "") - public io.kubernetes.client.models.V1ListMeta getMetadata() { + public io.kubernetes.client.openapi.models.V1ListMeta getMetadata() { return metadata; } - public void setMetadata(io.kubernetes.client.models.V1ListMeta metadata) { + public void setMetadata(io.kubernetes.client.openapi.models.V1ListMeta metadata) { this.metadata = metadata; } diff --git a/src/main/java/io/argoproj/workflow/models/StorageOSVolumeSource.java b/src/main/java/io/argoproj/workflow/models/StorageOSVolumeSource.java index 3e0c2f38..09c8b7f2 100644 --- a/src/main/java/io/argoproj/workflow/models/StorageOSVolumeSource.java +++ b/src/main/java/io/argoproj/workflow/models/StorageOSVolumeSource.java @@ -40,7 +40,7 @@ public class StorageOSVolumeSource { public static final String SERIALIZED_NAME_SECRET_REF = "secretRef"; @SerializedName(SERIALIZED_NAME_SECRET_REF) - private io.kubernetes.client.models.V1LocalObjectReference secretRef; + private io.kubernetes.client.openapi.models.V1LocalObjectReference secretRef; public static final String SERIALIZED_NAME_VOLUME_NAME = "volumeName"; @SerializedName(SERIALIZED_NAME_VOLUME_NAME) @@ -97,7 +97,7 @@ public void setReadOnly(Boolean readOnly) { } - public StorageOSVolumeSource secretRef(io.kubernetes.client.models.V1LocalObjectReference secretRef) { + public StorageOSVolumeSource secretRef(io.kubernetes.client.openapi.models.V1LocalObjectReference secretRef) { this.secretRef = secretRef; return this; @@ -110,12 +110,12 @@ public StorageOSVolumeSource secretRef(io.kubernetes.client.models.V1LocalObject @javax.annotation.Nullable @ApiModelProperty(value = "") - public io.kubernetes.client.models.V1LocalObjectReference getSecretRef() { + public io.kubernetes.client.openapi.models.V1LocalObjectReference getSecretRef() { return secretRef; } - public void setSecretRef(io.kubernetes.client.models.V1LocalObjectReference secretRef) { + public void setSecretRef(io.kubernetes.client.openapi.models.V1LocalObjectReference secretRef) { this.secretRef = secretRef; } diff --git a/src/main/java/io/argoproj/workflow/models/Template.java b/src/main/java/io/argoproj/workflow/models/Template.java index c011a2ec..444ac90a 100644 --- a/src/main/java/io/argoproj/workflow/models/Template.java +++ b/src/main/java/io/argoproj/workflow/models/Template.java @@ -56,7 +56,7 @@ public class Template { public static final String SERIALIZED_NAME_AFFINITY = "affinity"; @SerializedName(SERIALIZED_NAME_AFFINITY) - private io.kubernetes.client.models.V1Affinity affinity; + private io.kubernetes.client.openapi.models.V1Affinity affinity; public static final String SERIALIZED_NAME_ARCHIVE_LOCATION = "archiveLocation"; @SerializedName(SERIALIZED_NAME_ARCHIVE_LOCATION) @@ -72,7 +72,7 @@ public class Template { public static final String SERIALIZED_NAME_CONTAINER = "container"; @SerializedName(SERIALIZED_NAME_CONTAINER) - private io.kubernetes.client.models.V1Container container; + private io.kubernetes.client.openapi.models.V1Container container; public static final String SERIALIZED_NAME_DAEMON = "daemon"; @SerializedName(SERIALIZED_NAME_DAEMON) @@ -88,7 +88,7 @@ public class Template { public static final String SERIALIZED_NAME_HOST_ALIASES = "hostAliases"; @SerializedName(SERIALIZED_NAME_HOST_ALIASES) - private List hostAliases = null; + private List hostAliases = null; public static final String SERIALIZED_NAME_INIT_CONTAINERS = "initContainers"; @SerializedName(SERIALIZED_NAME_INIT_CONTAINERS) @@ -156,7 +156,7 @@ public class Template { public static final String SERIALIZED_NAME_SECURITY_CONTEXT = "securityContext"; @SerializedName(SERIALIZED_NAME_SECURITY_CONTEXT) - private io.kubernetes.client.models.V1PodSecurityContext securityContext; + private io.kubernetes.client.openapi.models.V1PodSecurityContext securityContext; public static final String SERIALIZED_NAME_SERVICE_ACCOUNT_NAME = "serviceAccountName"; @SerializedName(SERIALIZED_NAME_SERVICE_ACCOUNT_NAME) @@ -188,11 +188,11 @@ public class Template { public static final String SERIALIZED_NAME_TOLERATIONS = "tolerations"; @SerializedName(SERIALIZED_NAME_TOLERATIONS) - private List tolerations = null; + private List tolerations = null; public static final String SERIALIZED_NAME_VOLUMES = "volumes"; @SerializedName(SERIALIZED_NAME_VOLUMES) - private List volumes = null; + private List volumes = null; public Template activeDeadlineSeconds(Long activeDeadlineSeconds) { @@ -218,7 +218,7 @@ public void setActiveDeadlineSeconds(Long activeDeadlineSeconds) { } - public Template affinity(io.kubernetes.client.models.V1Affinity affinity) { + public Template affinity(io.kubernetes.client.openapi.models.V1Affinity affinity) { this.affinity = affinity; return this; @@ -231,12 +231,12 @@ public Template affinity(io.kubernetes.client.models.V1Affinity affinity) { @javax.annotation.Nullable @ApiModelProperty(value = "") - public io.kubernetes.client.models.V1Affinity getAffinity() { + public io.kubernetes.client.openapi.models.V1Affinity getAffinity() { return affinity; } - public void setAffinity(io.kubernetes.client.models.V1Affinity affinity) { + public void setAffinity(io.kubernetes.client.openapi.models.V1Affinity affinity) { this.affinity = affinity; } @@ -310,7 +310,7 @@ public void setAutomountServiceAccountToken(Boolean automountServiceAccountToken } - public Template container(io.kubernetes.client.models.V1Container container) { + public Template container(io.kubernetes.client.openapi.models.V1Container container) { this.container = container; return this; @@ -323,12 +323,12 @@ public Template container(io.kubernetes.client.models.V1Container container) { @javax.annotation.Nullable @ApiModelProperty(value = "") - public io.kubernetes.client.models.V1Container getContainer() { + public io.kubernetes.client.openapi.models.V1Container getContainer() { return container; } - public void setContainer(io.kubernetes.client.models.V1Container container) { + public void setContainer(io.kubernetes.client.openapi.models.V1Container container) { this.container = container; } @@ -402,15 +402,15 @@ public void setExecutor(ExecutorConfig executor) { } - public Template hostAliases(List hostAliases) { + public Template hostAliases(List hostAliases) { this.hostAliases = hostAliases; return this; } - public Template addHostAliasesItem(io.kubernetes.client.models.V1HostAlias hostAliasesItem) { + public Template addHostAliasesItem(io.kubernetes.client.openapi.models.V1HostAlias hostAliasesItem) { if (this.hostAliases == null) { - this.hostAliases = new ArrayList(); + this.hostAliases = new ArrayList(); } this.hostAliases.add(hostAliasesItem); return this; @@ -423,12 +423,12 @@ public Template addHostAliasesItem(io.kubernetes.client.models.V1HostAlias hostA @javax.annotation.Nullable @ApiModelProperty(value = "HostAliases is an optional list of hosts and IPs that will be injected into the pod spec") - public List getHostAliases() { + public List getHostAliases() { return hostAliases; } - public void setHostAliases(List hostAliases) { + public void setHostAliases(List hostAliases) { this.hostAliases = hostAliases; } @@ -816,7 +816,7 @@ public void setScript(ScriptTemplate script) { } - public Template securityContext(io.kubernetes.client.models.V1PodSecurityContext securityContext) { + public Template securityContext(io.kubernetes.client.openapi.models.V1PodSecurityContext securityContext) { this.securityContext = securityContext; return this; @@ -829,12 +829,12 @@ public Template securityContext(io.kubernetes.client.models.V1PodSecurityContext @javax.annotation.Nullable @ApiModelProperty(value = "") - public io.kubernetes.client.models.V1PodSecurityContext getSecurityContext() { + public io.kubernetes.client.openapi.models.V1PodSecurityContext getSecurityContext() { return securityContext; } - public void setSecurityContext(io.kubernetes.client.models.V1PodSecurityContext securityContext) { + public void setSecurityContext(io.kubernetes.client.openapi.models.V1PodSecurityContext securityContext) { this.securityContext = securityContext; } @@ -1016,15 +1016,15 @@ public void setTemplateRef(TemplateRef templateRef) { } - public Template tolerations(List tolerations) { + public Template tolerations(List tolerations) { this.tolerations = tolerations; return this; } - public Template addTolerationsItem(io.kubernetes.client.models.V1Toleration tolerationsItem) { + public Template addTolerationsItem(io.kubernetes.client.openapi.models.V1Toleration tolerationsItem) { if (this.tolerations == null) { - this.tolerations = new ArrayList(); + this.tolerations = new ArrayList(); } this.tolerations.add(tolerationsItem); return this; @@ -1037,25 +1037,25 @@ public Template addTolerationsItem(io.kubernetes.client.models.V1Toleration tole @javax.annotation.Nullable @ApiModelProperty(value = "Tolerations to apply to workflow pods.") - public List getTolerations() { + public List getTolerations() { return tolerations; } - public void setTolerations(List tolerations) { + public void setTolerations(List tolerations) { this.tolerations = tolerations; } - public Template volumes(List volumes) { + public Template volumes(List volumes) { this.volumes = volumes; return this; } - public Template addVolumesItem(io.kubernetes.client.models.V1Volume volumesItem) { + public Template addVolumesItem(io.kubernetes.client.openapi.models.V1Volume volumesItem) { if (this.volumes == null) { - this.volumes = new ArrayList(); + this.volumes = new ArrayList(); } this.volumes.add(volumesItem); return this; @@ -1068,12 +1068,12 @@ public Template addVolumesItem(io.kubernetes.client.models.V1Volume volumesItem) @javax.annotation.Nullable @ApiModelProperty(value = "Volumes is a list of volumes that can be mounted by containers in a template.") - public List getVolumes() { + public List getVolumes() { return volumes; } - public void setVolumes(List volumes) { + public void setVolumes(List volumes) { this.volumes = volumes; } diff --git a/src/main/java/io/argoproj/workflow/models/UserContainer.java b/src/main/java/io/argoproj/workflow/models/UserContainer.java index 3ea81209..f2f0c78f 100644 --- a/src/main/java/io/argoproj/workflow/models/UserContainer.java +++ b/src/main/java/io/argoproj/workflow/models/UserContainer.java @@ -42,11 +42,11 @@ public class UserContainer { public static final String SERIALIZED_NAME_ENV = "env"; @SerializedName(SERIALIZED_NAME_ENV) - private List env = null; + private List env = null; public static final String SERIALIZED_NAME_ENV_FROM = "envFrom"; @SerializedName(SERIALIZED_NAME_ENV_FROM) - private List envFrom = null; + private List envFrom = null; public static final String SERIALIZED_NAME_IMAGE = "image"; @SerializedName(SERIALIZED_NAME_IMAGE) @@ -58,11 +58,11 @@ public class UserContainer { public static final String SERIALIZED_NAME_LIFECYCLE = "lifecycle"; @SerializedName(SERIALIZED_NAME_LIFECYCLE) - private io.kubernetes.client.models.V1Lifecycle lifecycle; + private io.kubernetes.client.openapi.models.V1Lifecycle lifecycle; public static final String SERIALIZED_NAME_LIVENESS_PROBE = "livenessProbe"; @SerializedName(SERIALIZED_NAME_LIVENESS_PROBE) - private io.kubernetes.client.models.V1Probe livenessProbe; + private io.kubernetes.client.openapi.models.V1Probe livenessProbe; public static final String SERIALIZED_NAME_MIRROR_VOLUME_MOUNTS = "mirrorVolumeMounts"; @SerializedName(SERIALIZED_NAME_MIRROR_VOLUME_MOUNTS) @@ -74,23 +74,23 @@ public class UserContainer { public static final String SERIALIZED_NAME_PORTS = "ports"; @SerializedName(SERIALIZED_NAME_PORTS) - private List ports = null; + private List ports = null; public static final String SERIALIZED_NAME_READINESS_PROBE = "readinessProbe"; @SerializedName(SERIALIZED_NAME_READINESS_PROBE) - private io.kubernetes.client.models.V1Probe readinessProbe; + private io.kubernetes.client.openapi.models.V1Probe readinessProbe; public static final String SERIALIZED_NAME_RESOURCES = "resources"; @SerializedName(SERIALIZED_NAME_RESOURCES) - private io.kubernetes.client.models.V1ResourceRequirements resources; + private io.kubernetes.client.openapi.models.V1ResourceRequirements resources; public static final String SERIALIZED_NAME_SECURITY_CONTEXT = "securityContext"; @SerializedName(SERIALIZED_NAME_SECURITY_CONTEXT) - private io.kubernetes.client.models.V1SecurityContext securityContext; + private io.kubernetes.client.openapi.models.V1SecurityContext securityContext; public static final String SERIALIZED_NAME_STARTUP_PROBE = "startupProbe"; @SerializedName(SERIALIZED_NAME_STARTUP_PROBE) - private io.kubernetes.client.models.V1Probe startupProbe; + private io.kubernetes.client.openapi.models.V1Probe startupProbe; public static final String SERIALIZED_NAME_STDIN = "stdin"; @SerializedName(SERIALIZED_NAME_STDIN) @@ -114,11 +114,11 @@ public class UserContainer { public static final String SERIALIZED_NAME_VOLUME_DEVICES = "volumeDevices"; @SerializedName(SERIALIZED_NAME_VOLUME_DEVICES) - private List volumeDevices = null; + private List volumeDevices = null; public static final String SERIALIZED_NAME_VOLUME_MOUNTS = "volumeMounts"; @SerializedName(SERIALIZED_NAME_VOLUME_MOUNTS) - private List volumeMounts = null; + private List volumeMounts = null; public static final String SERIALIZED_NAME_WORKING_DIR = "workingDir"; @SerializedName(SERIALIZED_NAME_WORKING_DIR) @@ -187,15 +187,15 @@ public void setCommand(List command) { } - public UserContainer env(List env) { + public UserContainer env(List env) { this.env = env; return this; } - public UserContainer addEnvItem(io.kubernetes.client.models.V1EnvVar envItem) { + public UserContainer addEnvItem(io.kubernetes.client.openapi.models.V1EnvVar envItem) { if (this.env == null) { - this.env = new ArrayList(); + this.env = new ArrayList(); } this.env.add(envItem); return this; @@ -208,25 +208,25 @@ public UserContainer addEnvItem(io.kubernetes.client.models.V1EnvVar envItem) { @javax.annotation.Nullable @ApiModelProperty(value = "List of environment variables to set in the container. Cannot be updated.") - public List getEnv() { + public List getEnv() { return env; } - public void setEnv(List env) { + public void setEnv(List env) { this.env = env; } - public UserContainer envFrom(List envFrom) { + public UserContainer envFrom(List envFrom) { this.envFrom = envFrom; return this; } - public UserContainer addEnvFromItem(io.kubernetes.client.models.V1EnvFromSource envFromItem) { + public UserContainer addEnvFromItem(io.kubernetes.client.openapi.models.V1EnvFromSource envFromItem) { if (this.envFrom == null) { - this.envFrom = new ArrayList(); + this.envFrom = new ArrayList(); } this.envFrom.add(envFromItem); return this; @@ -239,12 +239,12 @@ public UserContainer addEnvFromItem(io.kubernetes.client.models.V1EnvFromSource @javax.annotation.Nullable @ApiModelProperty(value = "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.") - public List getEnvFrom() { + public List getEnvFrom() { return envFrom; } - public void setEnvFrom(List envFrom) { + public void setEnvFrom(List envFrom) { this.envFrom = envFrom; } @@ -295,7 +295,7 @@ public void setImagePullPolicy(String imagePullPolicy) { } - public UserContainer lifecycle(io.kubernetes.client.models.V1Lifecycle lifecycle) { + public UserContainer lifecycle(io.kubernetes.client.openapi.models.V1Lifecycle lifecycle) { this.lifecycle = lifecycle; return this; @@ -308,17 +308,17 @@ public UserContainer lifecycle(io.kubernetes.client.models.V1Lifecycle lifecycle @javax.annotation.Nullable @ApiModelProperty(value = "") - public io.kubernetes.client.models.V1Lifecycle getLifecycle() { + public io.kubernetes.client.openapi.models.V1Lifecycle getLifecycle() { return lifecycle; } - public void setLifecycle(io.kubernetes.client.models.V1Lifecycle lifecycle) { + public void setLifecycle(io.kubernetes.client.openapi.models.V1Lifecycle lifecycle) { this.lifecycle = lifecycle; } - public UserContainer livenessProbe(io.kubernetes.client.models.V1Probe livenessProbe) { + public UserContainer livenessProbe(io.kubernetes.client.openapi.models.V1Probe livenessProbe) { this.livenessProbe = livenessProbe; return this; @@ -331,12 +331,12 @@ public UserContainer livenessProbe(io.kubernetes.client.models.V1Probe livenessP @javax.annotation.Nullable @ApiModelProperty(value = "") - public io.kubernetes.client.models.V1Probe getLivenessProbe() { + public io.kubernetes.client.openapi.models.V1Probe getLivenessProbe() { return livenessProbe; } - public void setLivenessProbe(io.kubernetes.client.models.V1Probe livenessProbe) { + public void setLivenessProbe(io.kubernetes.client.openapi.models.V1Probe livenessProbe) { this.livenessProbe = livenessProbe; } @@ -386,15 +386,15 @@ public void setName(String name) { } - public UserContainer ports(List ports) { + public UserContainer ports(List ports) { this.ports = ports; return this; } - public UserContainer addPortsItem(io.kubernetes.client.models.V1ContainerPort portsItem) { + public UserContainer addPortsItem(io.kubernetes.client.openapi.models.V1ContainerPort portsItem) { if (this.ports == null) { - this.ports = new ArrayList(); + this.ports = new ArrayList(); } this.ports.add(portsItem); return this; @@ -407,17 +407,17 @@ public UserContainer addPortsItem(io.kubernetes.client.models.V1ContainerPort po @javax.annotation.Nullable @ApiModelProperty(value = "List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated.") - public List getPorts() { + public List getPorts() { return ports; } - public void setPorts(List ports) { + public void setPorts(List ports) { this.ports = ports; } - public UserContainer readinessProbe(io.kubernetes.client.models.V1Probe readinessProbe) { + public UserContainer readinessProbe(io.kubernetes.client.openapi.models.V1Probe readinessProbe) { this.readinessProbe = readinessProbe; return this; @@ -430,17 +430,17 @@ public UserContainer readinessProbe(io.kubernetes.client.models.V1Probe readines @javax.annotation.Nullable @ApiModelProperty(value = "") - public io.kubernetes.client.models.V1Probe getReadinessProbe() { + public io.kubernetes.client.openapi.models.V1Probe getReadinessProbe() { return readinessProbe; } - public void setReadinessProbe(io.kubernetes.client.models.V1Probe readinessProbe) { + public void setReadinessProbe(io.kubernetes.client.openapi.models.V1Probe readinessProbe) { this.readinessProbe = readinessProbe; } - public UserContainer resources(io.kubernetes.client.models.V1ResourceRequirements resources) { + public UserContainer resources(io.kubernetes.client.openapi.models.V1ResourceRequirements resources) { this.resources = resources; return this; @@ -453,17 +453,17 @@ public UserContainer resources(io.kubernetes.client.models.V1ResourceRequirement @javax.annotation.Nullable @ApiModelProperty(value = "") - public io.kubernetes.client.models.V1ResourceRequirements getResources() { + public io.kubernetes.client.openapi.models.V1ResourceRequirements getResources() { return resources; } - public void setResources(io.kubernetes.client.models.V1ResourceRequirements resources) { + public void setResources(io.kubernetes.client.openapi.models.V1ResourceRequirements resources) { this.resources = resources; } - public UserContainer securityContext(io.kubernetes.client.models.V1SecurityContext securityContext) { + public UserContainer securityContext(io.kubernetes.client.openapi.models.V1SecurityContext securityContext) { this.securityContext = securityContext; return this; @@ -476,17 +476,17 @@ public UserContainer securityContext(io.kubernetes.client.models.V1SecurityConte @javax.annotation.Nullable @ApiModelProperty(value = "") - public io.kubernetes.client.models.V1SecurityContext getSecurityContext() { + public io.kubernetes.client.openapi.models.V1SecurityContext getSecurityContext() { return securityContext; } - public void setSecurityContext(io.kubernetes.client.models.V1SecurityContext securityContext) { + public void setSecurityContext(io.kubernetes.client.openapi.models.V1SecurityContext securityContext) { this.securityContext = securityContext; } - public UserContainer startupProbe(io.kubernetes.client.models.V1Probe startupProbe) { + public UserContainer startupProbe(io.kubernetes.client.openapi.models.V1Probe startupProbe) { this.startupProbe = startupProbe; return this; @@ -499,12 +499,12 @@ public UserContainer startupProbe(io.kubernetes.client.models.V1Probe startupPro @javax.annotation.Nullable @ApiModelProperty(value = "") - public io.kubernetes.client.models.V1Probe getStartupProbe() { + public io.kubernetes.client.openapi.models.V1Probe getStartupProbe() { return startupProbe; } - public void setStartupProbe(io.kubernetes.client.models.V1Probe startupProbe) { + public void setStartupProbe(io.kubernetes.client.openapi.models.V1Probe startupProbe) { this.startupProbe = startupProbe; } @@ -624,15 +624,15 @@ public void setTty(Boolean tty) { } - public UserContainer volumeDevices(List volumeDevices) { + public UserContainer volumeDevices(List volumeDevices) { this.volumeDevices = volumeDevices; return this; } - public UserContainer addVolumeDevicesItem(io.kubernetes.client.models.V1VolumeDevice volumeDevicesItem) { + public UserContainer addVolumeDevicesItem(io.kubernetes.client.openapi.models.V1VolumeDevice volumeDevicesItem) { if (this.volumeDevices == null) { - this.volumeDevices = new ArrayList(); + this.volumeDevices = new ArrayList(); } this.volumeDevices.add(volumeDevicesItem); return this; @@ -645,25 +645,25 @@ public UserContainer addVolumeDevicesItem(io.kubernetes.client.models.V1VolumeDe @javax.annotation.Nullable @ApiModelProperty(value = "volumeDevices is the list of block devices to be used by the container. This is a beta feature.") - public List getVolumeDevices() { + public List getVolumeDevices() { return volumeDevices; } - public void setVolumeDevices(List volumeDevices) { + public void setVolumeDevices(List volumeDevices) { this.volumeDevices = volumeDevices; } - public UserContainer volumeMounts(List volumeMounts) { + public UserContainer volumeMounts(List volumeMounts) { this.volumeMounts = volumeMounts; return this; } - public UserContainer addVolumeMountsItem(io.kubernetes.client.models.V1VolumeMount volumeMountsItem) { + public UserContainer addVolumeMountsItem(io.kubernetes.client.openapi.models.V1VolumeMount volumeMountsItem) { if (this.volumeMounts == null) { - this.volumeMounts = new ArrayList(); + this.volumeMounts = new ArrayList(); } this.volumeMounts.add(volumeMountsItem); return this; @@ -676,12 +676,12 @@ public UserContainer addVolumeMountsItem(io.kubernetes.client.models.V1VolumeMou @javax.annotation.Nullable @ApiModelProperty(value = "Pod volumes to mount into the container's filesystem. Cannot be updated.") - public List getVolumeMounts() { + public List getVolumeMounts() { return volumeMounts; } - public void setVolumeMounts(List volumeMounts) { + public void setVolumeMounts(List volumeMounts) { this.volumeMounts = volumeMounts; } diff --git a/src/main/java/io/argoproj/workflow/models/Workflow.java b/src/main/java/io/argoproj/workflow/models/Workflow.java index 64ac7c91..2c571847 100644 --- a/src/main/java/io/argoproj/workflow/models/Workflow.java +++ b/src/main/java/io/argoproj/workflow/models/Workflow.java @@ -42,7 +42,7 @@ public class Workflow { public static final String SERIALIZED_NAME_METADATA = "metadata"; @SerializedName(SERIALIZED_NAME_METADATA) - private io.kubernetes.client.models.V1ObjectMeta metadata; + private io.kubernetes.client.openapi.models.V1ObjectMeta metadata; public static final String SERIALIZED_NAME_SPEC = "spec"; @SerializedName(SERIALIZED_NAME_SPEC) @@ -99,7 +99,7 @@ public void setKind(String kind) { } - public Workflow metadata(io.kubernetes.client.models.V1ObjectMeta metadata) { + public Workflow metadata(io.kubernetes.client.openapi.models.V1ObjectMeta metadata) { this.metadata = metadata; return this; @@ -111,12 +111,12 @@ public Workflow metadata(io.kubernetes.client.models.V1ObjectMeta metadata) { **/ @ApiModelProperty(required = true, value = "") - public io.kubernetes.client.models.V1ObjectMeta getMetadata() { + public io.kubernetes.client.openapi.models.V1ObjectMeta getMetadata() { return metadata; } - public void setMetadata(io.kubernetes.client.models.V1ObjectMeta metadata) { + public void setMetadata(io.kubernetes.client.openapi.models.V1ObjectMeta metadata) { this.metadata = metadata; } diff --git a/src/main/java/io/argoproj/workflow/models/WorkflowList.java b/src/main/java/io/argoproj/workflow/models/WorkflowList.java index 810dc6d7..b4c0c474 100644 --- a/src/main/java/io/argoproj/workflow/models/WorkflowList.java +++ b/src/main/java/io/argoproj/workflow/models/WorkflowList.java @@ -47,7 +47,7 @@ public class WorkflowList { public static final String SERIALIZED_NAME_METADATA = "metadata"; @SerializedName(SERIALIZED_NAME_METADATA) - private io.kubernetes.client.models.V1ListMeta metadata; + private io.kubernetes.client.openapi.models.V1ListMeta metadata; public WorkflowList apiVersion(String apiVersion) { @@ -123,7 +123,7 @@ public void setKind(String kind) { } - public WorkflowList metadata(io.kubernetes.client.models.V1ListMeta metadata) { + public WorkflowList metadata(io.kubernetes.client.openapi.models.V1ListMeta metadata) { this.metadata = metadata; return this; @@ -135,12 +135,12 @@ public WorkflowList metadata(io.kubernetes.client.models.V1ListMeta metadata) { **/ @ApiModelProperty(required = true, value = "") - public io.kubernetes.client.models.V1ListMeta getMetadata() { + public io.kubernetes.client.openapi.models.V1ListMeta getMetadata() { return metadata; } - public void setMetadata(io.kubernetes.client.models.V1ListMeta metadata) { + public void setMetadata(io.kubernetes.client.openapi.models.V1ListMeta metadata) { this.metadata = metadata; } diff --git a/src/main/java/io/argoproj/workflow/models/WorkflowSpec.java b/src/main/java/io/argoproj/workflow/models/WorkflowSpec.java index 7a47d46c..9b04164f 100644 --- a/src/main/java/io/argoproj/workflow/models/WorkflowSpec.java +++ b/src/main/java/io/argoproj/workflow/models/WorkflowSpec.java @@ -50,7 +50,7 @@ public class WorkflowSpec { public static final String SERIALIZED_NAME_AFFINITY = "affinity"; @SerializedName(SERIALIZED_NAME_AFFINITY) - private io.kubernetes.client.models.V1Affinity affinity; + private io.kubernetes.client.openapi.models.V1Affinity affinity; public static final String SERIALIZED_NAME_ARGUMENTS = "arguments"; @SerializedName(SERIALIZED_NAME_ARGUMENTS) @@ -66,7 +66,7 @@ public class WorkflowSpec { public static final String SERIALIZED_NAME_DNS_CONFIG = "dnsConfig"; @SerializedName(SERIALIZED_NAME_DNS_CONFIG) - private io.kubernetes.client.models.V1PodDNSConfig dnsConfig; + private io.kubernetes.client.openapi.models.V1PodDNSConfig dnsConfig; public static final String SERIALIZED_NAME_DNS_POLICY = "dnsPolicy"; @SerializedName(SERIALIZED_NAME_DNS_POLICY) @@ -82,7 +82,7 @@ public class WorkflowSpec { public static final String SERIALIZED_NAME_HOST_ALIASES = "hostAliases"; @SerializedName(SERIALIZED_NAME_HOST_ALIASES) - private List hostAliases = null; + private List hostAliases = null; public static final String SERIALIZED_NAME_HOST_NETWORK = "hostNetwork"; @SerializedName(SERIALIZED_NAME_HOST_NETWORK) @@ -90,7 +90,7 @@ public class WorkflowSpec { public static final String SERIALIZED_NAME_IMAGE_PULL_SECRETS = "imagePullSecrets"; @SerializedName(SERIALIZED_NAME_IMAGE_PULL_SECRETS) - private List imagePullSecrets = null; + private List imagePullSecrets = null; public static final String SERIALIZED_NAME_METRICS = "metrics"; @SerializedName(SERIALIZED_NAME_METRICS) @@ -138,7 +138,7 @@ public class WorkflowSpec { public static final String SERIALIZED_NAME_SECURITY_CONTEXT = "securityContext"; @SerializedName(SERIALIZED_NAME_SECURITY_CONTEXT) - private io.kubernetes.client.models.V1PodSecurityContext securityContext; + private io.kubernetes.client.openapi.models.V1PodSecurityContext securityContext; public static final String SERIALIZED_NAME_SERVICE_ACCOUNT_NAME = "serviceAccountName"; @SerializedName(SERIALIZED_NAME_SERVICE_ACCOUNT_NAME) @@ -162,7 +162,7 @@ public class WorkflowSpec { public static final String SERIALIZED_NAME_TOLERATIONS = "tolerations"; @SerializedName(SERIALIZED_NAME_TOLERATIONS) - private List tolerations = null; + private List tolerations = null; public static final String SERIALIZED_NAME_TTL_SECONDS_AFTER_FINISHED = "ttlSecondsAfterFinished"; @SerializedName(SERIALIZED_NAME_TTL_SECONDS_AFTER_FINISHED) @@ -174,11 +174,11 @@ public class WorkflowSpec { public static final String SERIALIZED_NAME_VOLUME_CLAIM_TEMPLATES = "volumeClaimTemplates"; @SerializedName(SERIALIZED_NAME_VOLUME_CLAIM_TEMPLATES) - private List volumeClaimTemplates = null; + private List volumeClaimTemplates = null; public static final String SERIALIZED_NAME_VOLUMES = "volumes"; @SerializedName(SERIALIZED_NAME_VOLUMES) - private List volumes = null; + private List volumes = null; public static final String SERIALIZED_NAME_WORKFLOW_TEMPLATE_REF = "workflowTemplateRef"; @SerializedName(SERIALIZED_NAME_WORKFLOW_TEMPLATE_REF) @@ -208,7 +208,7 @@ public void setActiveDeadlineSeconds(Long activeDeadlineSeconds) { } - public WorkflowSpec affinity(io.kubernetes.client.models.V1Affinity affinity) { + public WorkflowSpec affinity(io.kubernetes.client.openapi.models.V1Affinity affinity) { this.affinity = affinity; return this; @@ -221,12 +221,12 @@ public WorkflowSpec affinity(io.kubernetes.client.models.V1Affinity affinity) { @javax.annotation.Nullable @ApiModelProperty(value = "") - public io.kubernetes.client.models.V1Affinity getAffinity() { + public io.kubernetes.client.openapi.models.V1Affinity getAffinity() { return affinity; } - public void setAffinity(io.kubernetes.client.models.V1Affinity affinity) { + public void setAffinity(io.kubernetes.client.openapi.models.V1Affinity affinity) { this.affinity = affinity; } @@ -300,7 +300,7 @@ public void setAutomountServiceAccountToken(Boolean automountServiceAccountToken } - public WorkflowSpec dnsConfig(io.kubernetes.client.models.V1PodDNSConfig dnsConfig) { + public WorkflowSpec dnsConfig(io.kubernetes.client.openapi.models.V1PodDNSConfig dnsConfig) { this.dnsConfig = dnsConfig; return this; @@ -313,12 +313,12 @@ public WorkflowSpec dnsConfig(io.kubernetes.client.models.V1PodDNSConfig dnsConf @javax.annotation.Nullable @ApiModelProperty(value = "") - public io.kubernetes.client.models.V1PodDNSConfig getDnsConfig() { + public io.kubernetes.client.openapi.models.V1PodDNSConfig getDnsConfig() { return dnsConfig; } - public void setDnsConfig(io.kubernetes.client.models.V1PodDNSConfig dnsConfig) { + public void setDnsConfig(io.kubernetes.client.openapi.models.V1PodDNSConfig dnsConfig) { this.dnsConfig = dnsConfig; } @@ -392,15 +392,15 @@ public void setExecutor(ExecutorConfig executor) { } - public WorkflowSpec hostAliases(List hostAliases) { + public WorkflowSpec hostAliases(List hostAliases) { this.hostAliases = hostAliases; return this; } - public WorkflowSpec addHostAliasesItem(io.kubernetes.client.models.V1HostAlias hostAliasesItem) { + public WorkflowSpec addHostAliasesItem(io.kubernetes.client.openapi.models.V1HostAlias hostAliasesItem) { if (this.hostAliases == null) { - this.hostAliases = new ArrayList(); + this.hostAliases = new ArrayList(); } this.hostAliases.add(hostAliasesItem); return this; @@ -413,12 +413,12 @@ public WorkflowSpec addHostAliasesItem(io.kubernetes.client.models.V1HostAlias h @javax.annotation.Nullable @ApiModelProperty(value = "") - public List getHostAliases() { + public List getHostAliases() { return hostAliases; } - public void setHostAliases(List hostAliases) { + public void setHostAliases(List hostAliases) { this.hostAliases = hostAliases; } @@ -446,15 +446,15 @@ public void setHostNetwork(Boolean hostNetwork) { } - public WorkflowSpec imagePullSecrets(List imagePullSecrets) { + public WorkflowSpec imagePullSecrets(List imagePullSecrets) { this.imagePullSecrets = imagePullSecrets; return this; } - public WorkflowSpec addImagePullSecretsItem(io.kubernetes.client.models.V1LocalObjectReference imagePullSecretsItem) { + public WorkflowSpec addImagePullSecretsItem(io.kubernetes.client.openapi.models.V1LocalObjectReference imagePullSecretsItem) { if (this.imagePullSecrets == null) { - this.imagePullSecrets = new ArrayList(); + this.imagePullSecrets = new ArrayList(); } this.imagePullSecrets.add(imagePullSecretsItem); return this; @@ -467,12 +467,12 @@ public WorkflowSpec addImagePullSecretsItem(io.kubernetes.client.models.V1LocalO @javax.annotation.Nullable @ApiModelProperty(value = "ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod") - public List getImagePullSecrets() { + public List getImagePullSecrets() { return imagePullSecrets; } - public void setImagePullSecrets(List imagePullSecrets) { + public void setImagePullSecrets(List imagePullSecrets) { this.imagePullSecrets = imagePullSecrets; } @@ -738,7 +738,7 @@ public void setSchedulerName(String schedulerName) { } - public WorkflowSpec securityContext(io.kubernetes.client.models.V1PodSecurityContext securityContext) { + public WorkflowSpec securityContext(io.kubernetes.client.openapi.models.V1PodSecurityContext securityContext) { this.securityContext = securityContext; return this; @@ -751,12 +751,12 @@ public WorkflowSpec securityContext(io.kubernetes.client.models.V1PodSecurityCon @javax.annotation.Nullable @ApiModelProperty(value = "") - public io.kubernetes.client.models.V1PodSecurityContext getSecurityContext() { + public io.kubernetes.client.openapi.models.V1PodSecurityContext getSecurityContext() { return securityContext; } - public void setSecurityContext(io.kubernetes.client.models.V1PodSecurityContext securityContext) { + public void setSecurityContext(io.kubernetes.client.openapi.models.V1PodSecurityContext securityContext) { this.securityContext = securityContext; } @@ -884,15 +884,15 @@ public void setTemplates(List