/* tslint:disable */ /* eslint-disable */ /** * Argo Workflows API * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ * * OpenAPI spec version: VERSION * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ import { IoArgoprojWorkflowV1alpha1Arguments } from './io-argoproj-workflow-v1alpha1-arguments'; import { IoArgoprojWorkflowV1alpha1ArtifactGC } from './io-argoproj-workflow-v1alpha1-artifact-gc'; import { IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef } from './io-argoproj-workflow-v1alpha1-artifact-repository-ref'; import { IoArgoprojWorkflowV1alpha1ExecutorConfig } from './io-argoproj-workflow-v1alpha1-executor-config'; import { IoArgoprojWorkflowV1alpha1LifecycleHook } from './io-argoproj-workflow-v1alpha1-lifecycle-hook'; import { IoArgoprojWorkflowV1alpha1Metadata } from './io-argoproj-workflow-v1alpha1-metadata'; import { IoArgoprojWorkflowV1alpha1Metrics } from './io-argoproj-workflow-v1alpha1-metrics'; import { IoArgoprojWorkflowV1alpha1PodGC } from './io-argoproj-workflow-v1alpha1-pod-gc'; import { IoArgoprojWorkflowV1alpha1RetryStrategy } from './io-argoproj-workflow-v1alpha1-retry-strategy'; import { IoArgoprojWorkflowV1alpha1Synchronization } from './io-argoproj-workflow-v1alpha1-synchronization'; import { IoArgoprojWorkflowV1alpha1TTLStrategy } from './io-argoproj-workflow-v1alpha1-ttlstrategy'; import { IoArgoprojWorkflowV1alpha1Template } from './io-argoproj-workflow-v1alpha1-template'; import { IoArgoprojWorkflowV1alpha1VolumeClaimGC } from './io-argoproj-workflow-v1alpha1-volume-claim-gc'; import { IoArgoprojWorkflowV1alpha1WorkflowMetadata } from './io-argoproj-workflow-v1alpha1-workflow-metadata'; import { IoArgoprojWorkflowV1alpha1WorkflowTemplateRef } from './io-argoproj-workflow-v1alpha1-workflow-template-ref'; import { IoK8sApiCoreV1Affinity } from './io-k8s-api-core-v1-affinity'; import { IoK8sApiCoreV1HostAlias } from './io-k8s-api-core-v1-host-alias'; import { IoK8sApiCoreV1LocalObjectReference } from './io-k8s-api-core-v1-local-object-reference'; import { IoK8sApiCoreV1PersistentVolumeClaim } from './io-k8s-api-core-v1-persistent-volume-claim'; import { IoK8sApiCoreV1PodDNSConfig } from './io-k8s-api-core-v1-pod-dnsconfig'; import { IoK8sApiCoreV1PodSecurityContext } from './io-k8s-api-core-v1-pod-security-context'; import { IoK8sApiCoreV1Toleration } from './io-k8s-api-core-v1-toleration'; import { IoK8sApiCoreV1Volume } from './io-k8s-api-core-v1-volume'; import { IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec } from './io-k8s-api-policy-v1beta1-pod-disruption-budget-spec'; /** * WorkflowSpec is the specification of a Workflow. * @export * @interface IoArgoprojWorkflowV1alpha1WorkflowSpec */ export interface IoArgoprojWorkflowV1alpha1WorkflowSpec { /** * Optional duration in seconds relative to the workflow start time which the workflow is allowed to run before the controller terminates the io.argoproj.workflow.v1alpha1. A value of zero is used to terminate a Running workflow * @type {number} * @memberof IoArgoprojWorkflowV1alpha1WorkflowSpec */ activeDeadlineSeconds?: number; /** * * @type {IoK8sApiCoreV1Affinity} * @memberof IoArgoprojWorkflowV1alpha1WorkflowSpec */ affinity?: IoK8sApiCoreV1Affinity; /** * ArchiveLogs indicates if the container logs should be archived * @type {boolean} * @memberof IoArgoprojWorkflowV1alpha1WorkflowSpec */ archiveLogs?: boolean; /** * * @type {IoArgoprojWorkflowV1alpha1Arguments} * @memberof IoArgoprojWorkflowV1alpha1WorkflowSpec */ arguments?: IoArgoprojWorkflowV1alpha1Arguments; /** * * @type {IoArgoprojWorkflowV1alpha1ArtifactGC} * @memberof IoArgoprojWorkflowV1alpha1WorkflowSpec */ artifactGC?: IoArgoprojWorkflowV1alpha1ArtifactGC; /** * * @type {IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef} * @memberof IoArgoprojWorkflowV1alpha1WorkflowSpec */ artifactRepositoryRef?: IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef; /** * AutomountServiceAccountToken indicates whether a service account token should be automatically mounted in pods. ServiceAccountName of ExecutorConfig must be specified if this value is false. * @type {boolean} * @memberof IoArgoprojWorkflowV1alpha1WorkflowSpec */ automountServiceAccountToken?: boolean; /** * * @type {IoK8sApiCoreV1PodDNSConfig} * @memberof IoArgoprojWorkflowV1alpha1WorkflowSpec */ dnsConfig?: IoK8sApiCoreV1PodDNSConfig; /** * 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'. * @type {string} * @memberof IoArgoprojWorkflowV1alpha1WorkflowSpec */ dnsPolicy?: string; /** * Entrypoint is a template reference to the starting point of the io.argoproj.workflow.v1alpha1. * @type {string} * @memberof IoArgoprojWorkflowV1alpha1WorkflowSpec */ entrypoint?: string; /** * * @type {IoArgoprojWorkflowV1alpha1ExecutorConfig} * @memberof IoArgoprojWorkflowV1alpha1WorkflowSpec */ executor?: IoArgoprojWorkflowV1alpha1ExecutorConfig; /** * Hooks holds the lifecycle hook which is invoked at lifecycle of step, irrespective of the success, failure, or error status of the primary step * @type {{ [key: string]: IoArgoprojWorkflowV1alpha1LifecycleHook; }} * @memberof IoArgoprojWorkflowV1alpha1WorkflowSpec */ hooks?: { [key: string]: IoArgoprojWorkflowV1alpha1LifecycleHook; }; /** * * @type {Array} * @memberof IoArgoprojWorkflowV1alpha1WorkflowSpec */ hostAliases?: Array; /** * Host networking requested for this workflow pod. Default to false. * @type {boolean} * @memberof IoArgoprojWorkflowV1alpha1WorkflowSpec */ hostNetwork?: boolean; /** * 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 * @type {Array} * @memberof IoArgoprojWorkflowV1alpha1WorkflowSpec */ imagePullSecrets?: Array; /** * * @type {IoArgoprojWorkflowV1alpha1Metrics} * @memberof IoArgoprojWorkflowV1alpha1WorkflowSpec */ metrics?: IoArgoprojWorkflowV1alpha1Metrics; /** * 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. * @type {{ [key: string]: string; }} * @memberof IoArgoprojWorkflowV1alpha1WorkflowSpec */ nodeSelector?: { [key: string]: 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 io.argoproj.workflow.v1alpha1. * @type {string} * @memberof IoArgoprojWorkflowV1alpha1WorkflowSpec */ onExit?: string; /** * Parallelism limits the max total parallel pods that can execute at the same time in a workflow * @type {number} * @memberof IoArgoprojWorkflowV1alpha1WorkflowSpec */ parallelism?: number; /** * * @type {IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec} * @memberof IoArgoprojWorkflowV1alpha1WorkflowSpec */ podDisruptionBudget?: IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec; /** * * @type {IoArgoprojWorkflowV1alpha1PodGC} * @memberof IoArgoprojWorkflowV1alpha1WorkflowSpec */ podGC?: IoArgoprojWorkflowV1alpha1PodGC; /** * * @type {IoArgoprojWorkflowV1alpha1Metadata} * @memberof IoArgoprojWorkflowV1alpha1WorkflowSpec */ podMetadata?: IoArgoprojWorkflowV1alpha1Metadata; /** * Priority to apply to workflow pods. DEPRECATED: Use PodPriorityClassName instead. * @type {number} * @memberof IoArgoprojWorkflowV1alpha1WorkflowSpec */ podPriority?: number; /** * PriorityClassName to apply to workflow pods. * @type {string} * @memberof IoArgoprojWorkflowV1alpha1WorkflowSpec */ podPriorityClassName?: 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). * @type {string} * @memberof IoArgoprojWorkflowV1alpha1WorkflowSpec */ podSpecPatch?: string; /** * Priority is used if controller is configured to process limited number of workflows in parallel. Workflows with higher priority are processed first. * @type {number} * @memberof IoArgoprojWorkflowV1alpha1WorkflowSpec */ priority?: number; /** * * @type {IoArgoprojWorkflowV1alpha1RetryStrategy} * @memberof IoArgoprojWorkflowV1alpha1WorkflowSpec */ retryStrategy?: IoArgoprojWorkflowV1alpha1RetryStrategy; /** * 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. * @type {string} * @memberof IoArgoprojWorkflowV1alpha1WorkflowSpec */ schedulerName?: string; /** * * @type {IoK8sApiCoreV1PodSecurityContext} * @memberof IoArgoprojWorkflowV1alpha1WorkflowSpec */ securityContext?: IoK8sApiCoreV1PodSecurityContext; /** * ServiceAccountName is the name of the ServiceAccount to run all pods of the workflow as. * @type {string} * @memberof IoArgoprojWorkflowV1alpha1WorkflowSpec */ serviceAccountName?: string; /** * Shutdown will shutdown the workflow according to its ShutdownStrategy * @type {string} * @memberof IoArgoprojWorkflowV1alpha1WorkflowSpec */ shutdown?: string; /** * Suspend will suspend the workflow and prevent execution of any future steps in the workflow * @type {boolean} * @memberof IoArgoprojWorkflowV1alpha1WorkflowSpec */ suspend?: boolean; /** * * @type {IoArgoprojWorkflowV1alpha1Synchronization} * @memberof IoArgoprojWorkflowV1alpha1WorkflowSpec */ synchronization?: IoArgoprojWorkflowV1alpha1Synchronization; /** * * @type {IoArgoprojWorkflowV1alpha1Template} * @memberof IoArgoprojWorkflowV1alpha1WorkflowSpec */ templateDefaults?: IoArgoprojWorkflowV1alpha1Template; /** * Templates is a list of workflow templates used in a workflow * @type {Array} * @memberof IoArgoprojWorkflowV1alpha1WorkflowSpec */ templates?: Array; /** * Tolerations to apply to workflow pods. * @type {Array} * @memberof IoArgoprojWorkflowV1alpha1WorkflowSpec */ tolerations?: Array; /** * * @type {IoArgoprojWorkflowV1alpha1TTLStrategy} * @memberof IoArgoprojWorkflowV1alpha1WorkflowSpec */ ttlStrategy?: IoArgoprojWorkflowV1alpha1TTLStrategy; /** * * @type {IoArgoprojWorkflowV1alpha1VolumeClaimGC} * @memberof IoArgoprojWorkflowV1alpha1WorkflowSpec */ volumeClaimGC?: IoArgoprojWorkflowV1alpha1VolumeClaimGC; /** * 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 * @type {Array} * @memberof IoArgoprojWorkflowV1alpha1WorkflowSpec */ volumeClaimTemplates?: Array; /** * Volumes is a list of volumes that can be mounted by containers in a io.argoproj.workflow.v1alpha1. * @type {Array} * @memberof IoArgoprojWorkflowV1alpha1WorkflowSpec */ volumes?: Array; /** * * @type {IoArgoprojWorkflowV1alpha1WorkflowMetadata} * @memberof IoArgoprojWorkflowV1alpha1WorkflowSpec */ workflowMetadata?: IoArgoprojWorkflowV1alpha1WorkflowMetadata; /** * * @type {IoArgoprojWorkflowV1alpha1WorkflowTemplateRef} * @memberof IoArgoprojWorkflowV1alpha1WorkflowSpec */ workflowTemplateRef?: IoArgoprojWorkflowV1alpha1WorkflowTemplateRef; }