/* 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 { IoArgoprojWorkflowV1alpha1ArtifactLocation } from './io-argoproj-workflow-v1alpha1-artifact-location'; import { IoArgoprojWorkflowV1alpha1ContainerSetTemplate } from './io-argoproj-workflow-v1alpha1-container-set-template'; import { IoArgoprojWorkflowV1alpha1DAGTemplate } from './io-argoproj-workflow-v1alpha1-dagtemplate'; import { IoArgoprojWorkflowV1alpha1Data } from './io-argoproj-workflow-v1alpha1-data'; import { IoArgoprojWorkflowV1alpha1ExecutorConfig } from './io-argoproj-workflow-v1alpha1-executor-config'; import { IoArgoprojWorkflowV1alpha1HTTP } from './io-argoproj-workflow-v1alpha1-http'; import { IoArgoprojWorkflowV1alpha1Inputs } from './io-argoproj-workflow-v1alpha1-inputs'; import { IoArgoprojWorkflowV1alpha1Memoize } from './io-argoproj-workflow-v1alpha1-memoize'; import { IoArgoprojWorkflowV1alpha1Metadata } from './io-argoproj-workflow-v1alpha1-metadata'; import { IoArgoprojWorkflowV1alpha1Metrics } from './io-argoproj-workflow-v1alpha1-metrics'; import { IoArgoprojWorkflowV1alpha1Outputs } from './io-argoproj-workflow-v1alpha1-outputs'; import { IoArgoprojWorkflowV1alpha1ParallelSteps } from './io-argoproj-workflow-v1alpha1-parallel-steps'; import { IoArgoprojWorkflowV1alpha1Plugin } from './io-argoproj-workflow-v1alpha1-plugin'; import { IoArgoprojWorkflowV1alpha1ResourceTemplate } from './io-argoproj-workflow-v1alpha1-resource-template'; import { IoArgoprojWorkflowV1alpha1RetryStrategy } from './io-argoproj-workflow-v1alpha1-retry-strategy'; import { IoArgoprojWorkflowV1alpha1ScriptTemplate } from './io-argoproj-workflow-v1alpha1-script-template'; import { IoArgoprojWorkflowV1alpha1SuspendTemplate } from './io-argoproj-workflow-v1alpha1-suspend-template'; import { IoArgoprojWorkflowV1alpha1Synchronization } from './io-argoproj-workflow-v1alpha1-synchronization'; import { IoArgoprojWorkflowV1alpha1UserContainer } from './io-argoproj-workflow-v1alpha1-user-container'; import { IoK8sApiCoreV1Affinity } from './io-k8s-api-core-v1-affinity'; import { IoK8sApiCoreV1Container } from './io-k8s-api-core-v1-container'; import { IoK8sApiCoreV1HostAlias } from './io-k8s-api-core-v1-host-alias'; 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 { IoK8sApimachineryPkgUtilIntstrIntOrString } from './io-k8s-apimachinery-pkg-util-intstr-int-or-string'; /** * Template is a reusable and composable unit of execution in a workflow * @export * @interface IoArgoprojWorkflowV1alpha1Template */ export interface IoArgoprojWorkflowV1alpha1Template { /** * * @type {IoK8sApimachineryPkgUtilIntstrIntOrString} * @memberof IoArgoprojWorkflowV1alpha1Template */ activeDeadlineSeconds?: IoK8sApimachineryPkgUtilIntstrIntOrString; /** * * @type {IoK8sApiCoreV1Affinity} * @memberof IoArgoprojWorkflowV1alpha1Template */ affinity?: IoK8sApiCoreV1Affinity; /** * * @type {IoArgoprojWorkflowV1alpha1ArtifactLocation} * @memberof IoArgoprojWorkflowV1alpha1Template */ archiveLocation?: IoArgoprojWorkflowV1alpha1ArtifactLocation; /** * 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 IoArgoprojWorkflowV1alpha1Template */ automountServiceAccountToken?: boolean; /** * * @type {IoK8sApiCoreV1Container} * @memberof IoArgoprojWorkflowV1alpha1Template */ container?: IoK8sApiCoreV1Container; /** * * @type {IoArgoprojWorkflowV1alpha1ContainerSetTemplate} * @memberof IoArgoprojWorkflowV1alpha1Template */ containerSet?: IoArgoprojWorkflowV1alpha1ContainerSetTemplate; /** * Deamon will allow a workflow to proceed to the next step so long as the container reaches readiness * @type {boolean} * @memberof IoArgoprojWorkflowV1alpha1Template */ daemon?: boolean; /** * * @type {IoArgoprojWorkflowV1alpha1DAGTemplate} * @memberof IoArgoprojWorkflowV1alpha1Template */ dag?: IoArgoprojWorkflowV1alpha1DAGTemplate; /** * * @type {IoArgoprojWorkflowV1alpha1Data} * @memberof IoArgoprojWorkflowV1alpha1Template */ data?: IoArgoprojWorkflowV1alpha1Data; /** * * @type {IoArgoprojWorkflowV1alpha1ExecutorConfig} * @memberof IoArgoprojWorkflowV1alpha1Template */ executor?: IoArgoprojWorkflowV1alpha1ExecutorConfig; /** * FailFast, if specified, will fail this template if any of its child pods has failed. This is useful for when this template is expanded with `withItems`, etc. * @type {boolean} * @memberof IoArgoprojWorkflowV1alpha1Template */ failFast?: boolean; /** * HostAliases is an optional list of hosts and IPs that will be injected into the pod spec * @type {Array} * @memberof IoArgoprojWorkflowV1alpha1Template */ hostAliases?: Array; /** * * @type {IoArgoprojWorkflowV1alpha1HTTP} * @memberof IoArgoprojWorkflowV1alpha1Template */ http?: IoArgoprojWorkflowV1alpha1HTTP; /** * InitContainers is a list of containers which run before the main container. * @type {Array} * @memberof IoArgoprojWorkflowV1alpha1Template */ initContainers?: Array; /** * * @type {IoArgoprojWorkflowV1alpha1Inputs} * @memberof IoArgoprojWorkflowV1alpha1Template */ inputs?: IoArgoprojWorkflowV1alpha1Inputs; /** * * @type {IoArgoprojWorkflowV1alpha1Memoize} * @memberof IoArgoprojWorkflowV1alpha1Template */ memoize?: IoArgoprojWorkflowV1alpha1Memoize; /** * * @type {IoArgoprojWorkflowV1alpha1Metadata} * @memberof IoArgoprojWorkflowV1alpha1Template */ metadata?: IoArgoprojWorkflowV1alpha1Metadata; /** * * @type {IoArgoprojWorkflowV1alpha1Metrics} * @memberof IoArgoprojWorkflowV1alpha1Template */ metrics?: IoArgoprojWorkflowV1alpha1Metrics; /** * Name is the name of the template * @type {string} * @memberof IoArgoprojWorkflowV1alpha1Template */ name?: string; /** * NodeSelector is a selector to schedule this step of the workflow to be run on the selected node(s). Overrides the selector set at the workflow level. * @type {{ [key: string]: string; }} * @memberof IoArgoprojWorkflowV1alpha1Template */ nodeSelector?: { [key: string]: string; }; /** * * @type {IoArgoprojWorkflowV1alpha1Outputs} * @memberof IoArgoprojWorkflowV1alpha1Template */ outputs?: IoArgoprojWorkflowV1alpha1Outputs; /** * Parallelism limits the max total parallel pods that can execute at the same time within the boundaries of this template invocation. If additional steps/dag templates are invoked, the pods created by those templates will not be counted towards this total. * @type {number} * @memberof IoArgoprojWorkflowV1alpha1Template */ parallelism?: number; /** * * @type {IoArgoprojWorkflowV1alpha1Plugin} * @memberof IoArgoprojWorkflowV1alpha1Template */ plugin?: IoArgoprojWorkflowV1alpha1Plugin; /** * 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 IoArgoprojWorkflowV1alpha1Template */ podSpecPatch?: string; /** * Priority to apply to workflow pods. * @type {number} * @memberof IoArgoprojWorkflowV1alpha1Template */ priority?: number; /** * PriorityClassName to apply to workflow pods. * @type {string} * @memberof IoArgoprojWorkflowV1alpha1Template */ priorityClassName?: string; /** * * @type {IoArgoprojWorkflowV1alpha1ResourceTemplate} * @memberof IoArgoprojWorkflowV1alpha1Template */ resource?: IoArgoprojWorkflowV1alpha1ResourceTemplate; /** * * @type {IoArgoprojWorkflowV1alpha1RetryStrategy} * @memberof IoArgoprojWorkflowV1alpha1Template */ retryStrategy?: IoArgoprojWorkflowV1alpha1RetryStrategy; /** * 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. * @type {string} * @memberof IoArgoprojWorkflowV1alpha1Template */ schedulerName?: string; /** * * @type {IoArgoprojWorkflowV1alpha1ScriptTemplate} * @memberof IoArgoprojWorkflowV1alpha1Template */ script?: IoArgoprojWorkflowV1alpha1ScriptTemplate; /** * * @type {IoK8sApiCoreV1PodSecurityContext} * @memberof IoArgoprojWorkflowV1alpha1Template */ securityContext?: IoK8sApiCoreV1PodSecurityContext; /** * ServiceAccountName to apply to workflow pods * @type {string} * @memberof IoArgoprojWorkflowV1alpha1Template */ serviceAccountName?: string; /** * Sidecars is a list of containers which run alongside the main container Sidecars are automatically killed when the main container completes * @type {Array} * @memberof IoArgoprojWorkflowV1alpha1Template */ sidecars?: Array; /** * Steps define a series of sequential/parallel workflow steps * @type {Array} * @memberof IoArgoprojWorkflowV1alpha1Template */ steps?: Array; /** * * @type {IoArgoprojWorkflowV1alpha1SuspendTemplate} * @memberof IoArgoprojWorkflowV1alpha1Template */ suspend?: IoArgoprojWorkflowV1alpha1SuspendTemplate; /** * * @type {IoArgoprojWorkflowV1alpha1Synchronization} * @memberof IoArgoprojWorkflowV1alpha1Template */ synchronization?: IoArgoprojWorkflowV1alpha1Synchronization; /** * Timeout allows to set the total node execution timeout duration counting from the node's start time. This duration also includes time in which the node spends in Pending state. This duration may not be applied to Step or DAG templates. * @type {string} * @memberof IoArgoprojWorkflowV1alpha1Template */ timeout?: string; /** * Tolerations to apply to workflow pods. * @type {Array} * @memberof IoArgoprojWorkflowV1alpha1Template */ tolerations?: Array; /** * Volumes is a list of volumes that can be mounted by containers in a template. * @type {Array} * @memberof IoArgoprojWorkflowV1alpha1Template */ volumes?: Array; }