/* 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 { IoArgoprojWorkflowV1alpha1ManifestFrom } from './io-argoproj-workflow-v1alpha1-manifest-from'; /** * ResourceTemplate is a template subtype to manipulate kubernetes resources * @export * @interface IoArgoprojWorkflowV1alpha1ResourceTemplate */ export interface IoArgoprojWorkflowV1alpha1ResourceTemplate { /** * Action is the action to perform to the resource. Must be one of: get, create, apply, delete, replace, patch * @type {string} * @memberof IoArgoprojWorkflowV1alpha1ResourceTemplate */ action: string; /** * FailureCondition is a label selector expression which describes the conditions of the k8s resource in which the step was considered failed * @type {string} * @memberof IoArgoprojWorkflowV1alpha1ResourceTemplate */ failureCondition?: string; /** * Flags is a set of additional options passed to kubectl before submitting a resource I.e. to disable resource validation: flags: [ \"--validate=false\" # disable resource validation ] * @type {Array} * @memberof IoArgoprojWorkflowV1alpha1ResourceTemplate */ flags?: Array; /** * Manifest contains the kubernetes manifest * @type {string} * @memberof IoArgoprojWorkflowV1alpha1ResourceTemplate */ manifest?: string; /** * * @type {IoArgoprojWorkflowV1alpha1ManifestFrom} * @memberof IoArgoprojWorkflowV1alpha1ResourceTemplate */ manifestFrom?: IoArgoprojWorkflowV1alpha1ManifestFrom; /** * MergeStrategy is the strategy used to merge a patch. It defaults to \"strategic\" Must be one of: strategic, merge, json * @type {string} * @memberof IoArgoprojWorkflowV1alpha1ResourceTemplate */ mergeStrategy?: string; /** * SetOwnerReference sets the reference to the workflow on the OwnerReference of generated resource. * @type {boolean} * @memberof IoArgoprojWorkflowV1alpha1ResourceTemplate */ setOwnerReference?: boolean; /** * SuccessCondition is a label selector expression which describes the conditions of the k8s resource in which it is acceptable to proceed to the following step * @type {string} * @memberof IoArgoprojWorkflowV1alpha1ResourceTemplate */ successCondition?: string; }